⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 assemblydump.txt

📁 This is a sample bomb that has been solved from the bomb lab. Could be helpful
💻 TXT
📖 第 1 页 / 共 5 页
字号:
 8049413:	89 44 24 10          	mov    %eax,0x10(%esp) 8049417:	a1 a0 b1 04 08       	mov    0x804b1a0,%eax 804941c:	89 44 24 0c          	mov    %eax,0xc(%esp) 8049420:	c7 44 24 08 c0 b1 04 	movl   $0x804b1c0,0x8(%esp) 8049427:	08  8049428:	c7 44 24 04 7e 9d 04 	movl   $0x8049d7e,0x4(%esp) 804942f:	08  8049430:	89 34 24             	mov    %esi,(%esp) 8049433:	e8 4c f3 ff ff       	call   8048784 <fprintf@plt> 8049438:	ba 00 00 00 00       	mov    $0x0,%edx 804943d:	3b 15 8c b8 04 08    	cmp    0x804b88c,%edx 8049443:	7d 48                	jge    804948d <send_msg+0x158> 8049445:	8d 04 92             	lea    (%edx,%edx,4),%eax 8049448:	c1 e0 04             	shl    $0x4,%eax 804944b:	05 a0 b8 04 08       	add    $0x804b8a0,%eax 8049450:	89 44 24 18          	mov    %eax,0x18(%esp) 8049454:	8d 5a 01             	lea    0x1(%edx),%ebx 8049457:	89 5c 24 14          	mov    %ebx,0x14(%esp) 804945b:	8d 45 98             	lea    0xffffff98(%ebp),%eax 804945e:	89 44 24 10          	mov    %eax,0x10(%esp) 8049462:	a1 a0 b1 04 08       	mov    0x804b1a0,%eax 8049467:	89 44 24 0c          	mov    %eax,0xc(%esp) 804946b:	c7 44 24 08 c0 b1 04 	movl   $0x804b1c0,0x8(%esp) 8049472:	08  8049473:	c7 44 24 04 9a 9d 04 	movl   $0x8049d9a,0x4(%esp) 804947a:	08  804947b:	89 34 24             	mov    %esi,(%esp) 804947e:	e8 01 f3 ff ff       	call   8048784 <fprintf@plt> 8049483:	89 da                	mov    %ebx,%edx 8049485:	3b 1d 8c b8 04 08    	cmp    0x804b88c,%ebx 804948b:	7c b8                	jl     8049445 <send_msg+0x110> 804948d:	89 34 24             	mov    %esi,(%esp) 8049490:	e8 4f f3 ff ff       	call   80487e4 <rewind@plt> 8049495:	c7 44 24 10 2e 9c 04 	movl   $0x8049c2e,0x10(%esp) 804949c:	08  804949d:	c7 44 24 0c b6 9d 04 	movl   $0x8049db6,0xc(%esp) 80494a4:	08  80494a5:	c7 44 24 08 be 9d 04 	movl   $0x8049dbe,0x8(%esp) 80494ac:	08  80494ad:	c7 44 24 04 d5 9d 04 	movl   $0x8049dd5,0x4(%esp) 80494b4:	08  80494b5:	c7 04 24 e0 be 04 08 	movl   $0x804bee0,(%esp) 80494bc:	e8 43 f4 ff ff       	call   8048904 <sprintf@plt> 80494c1:	c7 04 24 e0 be 04 08 	movl   $0x804bee0,(%esp) 80494c8:	e8 27 f3 ff ff       	call   80487f4 <system@plt> 80494cd:	85 c0                	test   %eax,%eax 80494cf:	74 09                	je     80494da <send_msg+0x1a5> 80494d1:	c7 04 24 de 9d 04 08 	movl   $0x8049dde,(%esp) 80494d8:	eb 3d                	jmp    8049517 <send_msg+0x1e2> 80494da:	89 34 24             	mov    %esi,(%esp) 80494dd:	e8 92 f3 ff ff       	call   8048874 <fclose@plt> 80494e2:	85 c0                	test   %eax,%eax 80494e4:	74 09                	je     80494ef <send_msg+0x1ba> 80494e6:	c7 04 24 f8 9d 04 08 	movl   $0x8049df8,(%esp) 80494ed:	eb 28                	jmp    8049517 <send_msg+0x1e2> 80494ef:	89 3c 24             	mov    %edi,(%esp) 80494f2:	e8 fd f3 ff ff       	call   80488f4 <dup@plt> 80494f7:	85 c0                	test   %eax,%eax 80494f9:	74 09                	je     8049504 <send_msg+0x1cf> 80494fb:	c7 04 24 11 9e 04 08 	movl   $0x8049e11,(%esp) 8049502:	eb 13                	jmp    8049517 <send_msg+0x1e2> 8049504:	89 3c 24             	mov    %edi,(%esp) 8049507:	e8 68 f2 ff ff       	call   8048774 <close@plt> 804950c:	85 c0                	test   %eax,%eax 804950e:	74 18                	je     8049528 <send_msg+0x1f3> 8049510:	c7 04 24 2c 9e 04 08 	movl   $0x8049e2c,(%esp) 8049517:	e8 e8 f2 ff ff       	call   8048804 <puts@plt> 804951c:	c7 04 24 08 00 00 00 	movl   $0x8,(%esp) 8049523:	e8 8c f3 ff ff       	call   80488b4 <exit@plt> 8049528:	83 c4 7c             	add    $0x7c,%esp 804952b:	5b                   	pop    %ebx 804952c:	5e                   	pop    %esi 804952d:	5f                   	pop    %edi 804952e:	5d                   	pop    %ebp 804952f:	c3                   	ret    08049530 <explode_bomb>: 8049530:	55                   	push   %ebp 8049531:	89 e5                	mov    %esp,%ebp 8049533:	83 ec 08             	sub    $0x8,%esp 8049536:	c7 04 24 43 9e 04 08 	movl   $0x8049e43,(%esp) 804953d:	e8 c2 f2 ff ff       	call   8048804 <puts@plt> 8049542:	c7 04 24 4c 9e 04 08 	movl   $0x8049e4c,(%esp) 8049549:	e8 b6 f2 ff ff       	call   8048804 <puts@plt> 804954e:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp) 8049555:	e8 db fd ff ff       	call   8049335 <send_msg> 804955a:	c7 04 24 a0 9f 04 08 	movl   $0x8049fa0,(%esp) 8049561:	e8 9e f2 ff ff       	call   8048804 <puts@plt> 8049566:	c7 04 24 08 00 00 00 	movl   $0x8,(%esp) 804956d:	e8 42 f3 ff ff       	call   80488b4 <exit@plt>08049572 <phase_defused>: 8049572:	55                   	push   %ebp 8049573:	89 e5                	mov    %esp,%ebp 8049575:	83 ec 78             	sub    $0x78,%esp 8049578:	89 5d fc             	mov    %ebx,0xfffffffc(%ebp) 804957b:	c7 04 24 01 00 00 00 	movl   $0x1,(%esp) 8049582:	e8 ae fd ff ff       	call   8049335 <send_msg> 8049587:	83 3d 8c b8 04 08 06 	cmpl   $0x6,0x804b88c 804958e:	75 70                	jne    8049600 <phase_defused+0x8e> 8049590:	8d 5d a8             	lea    0xffffffa8(%ebp),%ebx 8049593:	89 5c 24 0c          	mov    %ebx,0xc(%esp) 8049597:	8d 45 a4             	lea    0xffffffa4(%ebp),%eax 804959a:	89 44 24 08          	mov    %eax,0x8(%esp) 804959e:	c7 44 24 04 63 9e 04 	movl   $0x8049e63,0x4(%esp) 80495a5:	08  80495a6:	c7 04 24 90 b9 04 08 	movl   $0x804b990,(%esp) 80495ad:	e8 12 f3 ff ff       	call   80488c4 <sscanf@plt> 80495b2:	83 f8 02             	cmp    $0x2,%eax 80495b5:	75 31                	jne    80495e8 <phase_defused+0x76> 80495b7:	c7 44 24 04 69 9e 04 	movl   $0x8049e69,0x4(%esp) 80495be:	08  80495bf:	89 1c 24             	mov    %ebx,(%esp) 80495c2:	e8 43 fa ff ff       	call   804900a <strings_not_equal> 80495c7:	85 c0                	test   %eax,%eax 80495c9:	75 1d                	jne    80495e8 <phase_defused+0x76> 80495cb:	c7 04 24 e0 9f 04 08 	movl   $0x8049fe0,(%esp) 80495d2:	e8 2d f2 ff ff       	call   8048804 <puts@plt> 80495d7:	c7 04 24 20 a0 04 08 	movl   $0x804a020,(%esp) 80495de:	e8 21 f2 ff ff       	call   8048804 <puts@plt> 80495e3:	e8 c5 f8 ff ff       	call   8048ead <secret_phase> 80495e8:	c7 04 24 60 a0 04 08 	movl   $0x804a060,(%esp) 80495ef:	e8 10 f2 ff ff       	call   8048804 <puts@plt> 80495f4:	c7 04 24 a0 a0 04 08 	movl   $0x804a0a0,(%esp) 80495fb:	e8 04 f2 ff ff       	call   8048804 <puts@plt> 8049600:	8b 5d fc             	mov    0xfffffffc(%ebp),%ebx 8049603:	89 ec                	mov    %ebp,%esp 8049605:	5d                   	pop    %ebp 8049606:	c3                   	ret     8049607:	90                   	nop     8049608:	90                   	nop     8049609:	90                   	nop     804960a:	90                   	nop     804960b:	90                   	nop     804960c:	90                   	nop     804960d:	90                   	nop     804960e:	90                   	nop     804960f:	90                   	nop    08049610 <__libc_csu_init>: 8049610:	55                   	push   %ebp 8049611:	89 e5                	mov    %esp,%ebp 8049613:	83 ec 18             	sub    $0x18,%esp 8049616:	89 5d f4             	mov    %ebx,0xfffffff4(%ebp) 8049619:	e8 bf 00 00 00       	call   80496dd <__i686.get_pc_thunk.bx> 804961e:	81 c3 c2 1a 00 00    	add    $0x1ac2,%ebx 8049624:	89 75 f8             	mov    %esi,0xfffffff8(%ebp) 8049627:	89 7d fc             	mov    %edi,0xfffffffc(%ebp) 804962a:	e8 1d f1 ff ff       	call   804874c <_init> 804962f:	8d 83 20 ff ff ff    	lea    0xffffff20(%ebx),%eax 8049635:	8d 93 20 ff ff ff    	lea    0xffffff20(%ebx),%edx 804963b:	29 d0                	sub    %edx,%eax 804963d:	c1 f8 02             	sar    $0x2,%eax 8049640:	89 45 f0             	mov    %eax,0xfffffff0(%ebp) 8049643:	75 0d                	jne    8049652 <__libc_csu_init+0x42> 8049645:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx 8049648:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi 804964b:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi 804964e:	89 ec                	mov    %ebp,%esp 8049650:	5d                   	pop    %ebp 8049651:	c3                   	ret     8049652:	31 ff                	xor    %edi,%edi 8049654:	89 d6                	mov    %edx,%esi 8049656:	8d 76 00             	lea    0x0(%esi),%esi 8049659:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi 8049660:	47                   	inc    %edi 8049661:	ff 16                	call   *(%esi) 8049663:	83 c6 04             	add    $0x4,%esi 8049666:	3b 7d f0             	cmp    0xfffffff0(%ebp),%edi 8049669:	72 f5                	jb     8049660 <__libc_csu_init+0x50> 804966b:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx 804966e:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi 8049671:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi 8049674:	89 ec                	mov    %ebp,%esp 8049676:	5d                   	pop    %ebp 8049677:	c3                   	ret     8049678:	90                   	nop     8049679:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi08049680 <__libc_csu_fini>: 8049680:	55                   	push   %ebp 8049681:	89 e5                	mov    %esp,%ebp 8049683:	83 ec 18             	sub    $0x18,%esp 8049686:	89 5d f4             	mov    %ebx,0xfffffff4(%ebp) 8049689:	e8 4f 00 00 00       	call   80496dd <__i686.get_pc_thunk.bx> 804968e:	81 c3 52 1a 00 00    	add    $0x1a52,%ebx 8049694:	89 75 f8             	mov    %esi,0xfffffff8(%ebp) 8049697:	89 7d fc             	mov    %edi,0xfffffffc(%ebp) 804969a:	8d 83 20 ff ff ff    	lea    0xffffff20(%ebx),%eax 80496a0:	8d 93 20 ff ff ff    	lea    0xffffff20(%ebx),%edx 80496a6:	29 d0                	sub    %edx,%eax 80496a8:	c1 f8 02             	sar    $0x2,%eax 80496ab:	89 45 f0             	mov    %eax,0xfffffff0(%ebp) 80496ae:	48                   	dec    %eax 80496af:	83 f8 ff             	cmp    $0xffffffff,%eax 80496b2:	74 17                	je     80496cb <__libc_csu_fini+0x4b> 80496b4:	8d 34 82             	lea    (%edx,%eax,4),%esi 80496b7:	31 ff                	xor    %edi,%edi 80496b9:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi 80496c0:	47                   	inc    %edi 80496c1:	ff 16                	call   *(%esi) 80496c3:	83 ee 04             	sub    $0x4,%esi 80496c6:	39 7d f0             	cmp    %edi,0xfffffff0(%ebp) 80496c9:	75 f5                	jne    80496c0 <__libc_csu_fini+0x40> 80496cb:	e8 50 00 00 00       	call   8049720 <_fini> 80496d0:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx 80496d3:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi 80496d6:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi 80496d9:	89 ec                	mov    %ebp,%esp 80496db:	5d                   	pop    %ebp 80496dc:	c3                   	ret    080496dd <__i686.get_pc_thunk.bx>: 80496dd:	8b 1c 24             	mov    (%esp),%ebx 80496e0:	c3                   	ret     80496e1:	90                   	nop     80496e2:	90                   	nop     80496e3:	90                   	nop     80496e4:	90                   	nop     80496e5:	90                   	nop     80496e6:	90                   	nop     80496e7:	90                   	nop     80496e8:	90                   	nop     80496e9:	90                   	nop     80496ea:	90                   	nop     80496eb:	90                   	nop     80496ec:	90                   	nop     80496ed:	90                   	nop     80496ee:	90                   	nop     80496ef:	90                   	nop    080496f0 <__do_global_ctors_aux>: 80496f0:	55                   	push   %ebp 80496f1:	89 e5                	mov    %esp,%ebp 80496f3:	53                   	push   %ebx 80496f4:	83 ec 04             	sub    $0x4,%esp 80496f7:	bb 00 b0 04 08       	mov    $0x804b000,%ebx 80496fc:	a1 00 b0 04 08       	mov    0x804b000,%eax 8049701:	83 f8 ff             	cmp    $0xffffffff,%eax 8049704:	74 16                	je     804971c <__do_global_ctors_aux+0x2c> 8049706:	8d 76 00             	lea    0x0(%esi),%esi 8049709:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi 8049710:	83 eb 04             	sub    $0x4,%ebx 8049713:	ff d0                	call   *%eax 8049715:	8b 03                	mov    (%ebx),%eax 8049717:	83 f8 ff             	cmp    $0xffffffff,%eax 804971a:	75 f4                	jne    8049710 <__do_global_ctors_aux+0x20> 804971c:	58                   	pop    %eax 804971d:	5b                   	pop    %ebx 804971e:	5d                   	pop    %ebp 804971f:	c3                   	ret    Disassembly of section .fini:08049720 <_fini>: 8049720:	55                   	push   %ebp 8049721:	89 e5                	mov    %esp,%ebp 8049723:	53                   	push   %ebx 8049724:	50                   	push   %eax 8049725:	e8 00 00 00 00       	call   804972a <_fini+0xa> 804972a:	5b                   	pop    %ebx 804972b:	81 c3 b6 19 00 00    	add    $0x19b6,%ebx 8049731:	e8 9a f2 ff ff       	call   80489d0 <__do_global_dtors_aux> 8049736:	58                   	pop    %eax 8049737:	5b                   	pop    %ebx 8049738:	c9                   	leave   8049739:	c3                   	ret    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -