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

📄 assemblydump.txt

📁 This is a sample bomb that has been solved from the bomb lab. Could be helpful
💻 TXT
📖 第 1 页 / 共 5 页
字号:
08048a44 <main>: 8048a44:	55                   	push   %ebp 8048a45:	89 e5                	mov    %esp,%ebp 8048a47:	53                   	push   %ebx 8048a48:	83 ec 14             	sub    $0x14,%esp 8048a4b:	8b 45 08             	mov    0x8(%ebp),%eax 8048a4e:	8b 5d 0c             	mov    0xc(%ebp),%ebx 8048a51:	83 e4 f0             	and    $0xfffffff0,%esp 8048a54:	83 f8 01             	cmp    $0x1,%eax 8048a57:	75 0c                	jne    8048a65 <main+0x21> 8048a59:	a1 84 b8 04 08       	mov    0x804b884,%eax 8048a5e:	a3 90 b8 04 08       	mov    %eax,0x804b890 8048a63:	eb 5a                	jmp    8048abf <main+0x7b> 8048a65:	83 f8 02             	cmp    $0x2,%eax 8048a68:	75 37                	jne    8048aa1 <main+0x5d> 8048a6a:	c7 44 24 04 27 9d 04 	movl   $0x8049d27,0x4(%esp) 8048a71:	08  8048a72:	8b 43 04             	mov    0x4(%ebx),%eax 8048a75:	89 04 24             	mov    %eax,(%esp) 8048a78:	e8 67 fe ff ff       	call   80488e4 <fopen@plt> 8048a7d:	a3 90 b8 04 08       	mov    %eax,0x804b890 8048a82:	85 c0                	test   %eax,%eax 8048a84:	75 39                	jne    8048abf <main+0x7b> 8048a86:	8b 43 04             	mov    0x4(%ebx),%eax 8048a89:	89 44 24 08          	mov    %eax,0x8(%esp) 8048a8d:	8b 03                	mov    (%ebx),%eax 8048a8f:	89 44 24 04          	mov    %eax,0x4(%esp) 8048a93:	c7 04 24 48 97 04 08 	movl   $0x8049748,(%esp) 8048a9a:	e8 c5 fd ff ff       	call   8048864 <printf@plt> 8048a9f:	eb 12                	jmp    8048ab3 <main+0x6f> 8048aa1:	8b 03                	mov    (%ebx),%eax 8048aa3:	89 44 24 04          	mov    %eax,0x4(%esp) 8048aa7:	c7 04 24 65 97 04 08 	movl   $0x8049765,(%esp) 8048aae:	e8 b1 fd ff ff       	call   8048864 <printf@plt> 8048ab3:	c7 04 24 08 00 00 00 	movl   $0x8,(%esp) 8048aba:	e8 f5 fd ff ff       	call   80488b4 <exit@plt> 8048abf:	e8 70 06 00 00       	call   8049134 <initialize_bomb> 8048ac4:	c7 04 24 e0 97 04 08 	movl   $0x80497e0,(%esp) 8048acb:	e8 34 fd ff ff       	call   8048804 <puts@plt> 8048ad0:	c7 04 24 20 98 04 08 	movl   $0x8049820,(%esp) 8048ad7:	e8 28 fd ff ff       	call   8048804 <puts@plt> 8048adc:	e8 9b 07 00 00       	call   804927c <read_line> 8048ae1:	89 04 24             	mov    %eax,(%esp) 8048ae4:	e8 a7 00 00 00       	call   8048b90 <phase_1> 8048ae9:	e8 84 0a 00 00       	call   8049572 <phase_defused> 8048aee:	c7 04 24 60 98 04 08 	movl   $0x8049860,(%esp) 8048af5:	e8 0a fd ff ff       	call   8048804 <puts@plt> 8048afa:	e8 7d 07 00 00       	call   804927c <read_line> 8048aff:	89 04 24             	mov    %eax,(%esp) 8048b02:	e8 af 00 00 00       	call   8048bb6 <phase_2> 8048b07:	e8 66 0a 00 00       	call   8049572 <phase_defused> 8048b0c:	c7 04 24 7f 97 04 08 	movl   $0x804977f,(%esp) 8048b13:	e8 ec fc ff ff       	call   8048804 <puts@plt> 8048b18:	e8 5f 07 00 00       	call   804927c <read_line> 8048b1d:	89 04 24             	mov    %eax,(%esp) 8048b20:	e8 de 00 00 00       	call   8048c03 <phase_3> 8048b25:	e8 48 0a 00 00       	call   8049572 <phase_defused> 8048b2a:	c7 04 24 9d 97 04 08 	movl   $0x804979d,(%esp) 8048b31:	e8 ce fc ff ff       	call   8048804 <puts@plt> 8048b36:	e8 41 07 00 00       	call   804927c <read_line> 8048b3b:	89 04 24             	mov    %eax,(%esp) 8048b3e:	e8 b8 01 00 00       	call   8048cfb <phase_4> 8048b43:	e8 2a 0a 00 00       	call   8049572 <phase_defused> 8048b48:	c7 04 24 a0 98 04 08 	movl   $0x80498a0,(%esp) 8048b4f:	e8 b0 fc ff ff       	call   8048804 <puts@plt> 8048b54:	e8 23 07 00 00       	call   804927c <read_line> 8048b59:	89 04 24             	mov    %eax,(%esp) 8048b5c:	e8 e3 01 00 00       	call   8048d44 <phase_5> 8048b61:	e8 0c 0a 00 00       	call   8049572 <phase_defused> 8048b66:	c7 04 24 ac 97 04 08 	movl   $0x80497ac,(%esp) 8048b6d:	e8 92 fc ff ff       	call   8048804 <puts@plt> 8048b72:	e8 05 07 00 00       	call   804927c <read_line> 8048b77:	89 04 24             	mov    %eax,(%esp) 8048b7a:	e8 87 02 00 00       	call   8048e06 <phase_6> 8048b7f:	e8 ee 09 00 00       	call   8049572 <phase_defused> 8048b84:	b8 00 00 00 00       	mov    $0x0,%eax 8048b89:	8b 5d fc             	mov    0xfffffffc(%ebp),%ebx 8048b8c:	c9                   	leave   8048b8d:	c3                   	ret     8048b8e:	90                   	nop     8048b8f:	90                   	nop    08048b90 <phase_1>: 8048b90:	55                   	push   %ebp 8048b91:	89 e5                	mov    %esp,%ebp 8048b93:	83 ec 08             	sub    $0x8,%esp 8048b96:	c7 44 24 04 e0 98 04 	movl   $0x80498e0,0x4(%esp) 8048b9d:	08  8048b9e:	8b 45 08             	mov    0x8(%ebp),%eax 8048ba1:	89 04 24             	mov    %eax,(%esp) 8048ba4:	e8 61 04 00 00       	call   804900a <strings_not_equal> 8048ba9:	85 c0                	test   %eax,%eax 8048bab:	74 05                	je     8048bb2 <phase_1+0x22> 8048bad:	e8 7e 09 00 00       	call   8049530 <explode_bomb> 8048bb2:	89 ec                	mov    %ebp,%esp 8048bb4:	5d                   	pop    %ebp 8048bb5:	c3                   	ret    08048bb6 <phase_2>: 8048bb6:	55                   	push   %ebp 8048bb7:	89 e5                	mov    %esp,%ebp 8048bb9:	56                   	push   %esi 8048bba:	53                   	push   %ebx 8048bbb:	83 ec 30             	sub    $0x30,%esp 8048bbe:	be 00 00 00 00       	mov    $0x0,%esi 8048bc3:	8d 45 d8             	lea    0xffffffd8(%ebp),%eax 8048bc6:	89 44 24 04          	mov    %eax,0x4(%esp) 8048bca:	8b 45 08             	mov    0x8(%ebp),%eax 8048bcd:	89 04 24             	mov    %eax,(%esp) 8048bd0:	e8 cb 03 00 00       	call   8048fa0 <read_six_numbers> 8048bd5:	bb 00 00 00 00       	mov    $0x0,%ebx 8048bda:	8b 44 9d d8          	mov    0xffffffd8(%ebp,%ebx,4),%eax 8048bde:	3b 44 9d e4          	cmp    0xffffffe4(%ebp,%ebx,4),%eax 8048be2:	74 05                	je     8048be9 <phase_2+0x33> 8048be4:	e8 47 09 00 00       	call   8049530 <explode_bomb> 8048be9:	03 74 9d d8          	add    0xffffffd8(%ebp,%ebx,4),%esi 8048bed:	43                   	inc    %ebx 8048bee:	83 fb 02             	cmp    $0x2,%ebx 8048bf1:	7e e7                	jle    8048bda <phase_2+0x24> 8048bf3:	85 f6                	test   %esi,%esi 8048bf5:	75 05                	jne    8048bfc <phase_2+0x46> 8048bf7:	e8 34 09 00 00       	call   8049530 <explode_bomb> 8048bfc:	83 c4 30             	add    $0x30,%esp 8048bff:	5b                   	pop    %ebx 8048c00:	5e                   	pop    %esi 8048c01:	5d                   	pop    %ebp 8048c02:	c3                   	ret    08048c03 <phase_3>: 8048c03:	55                   	push   %ebp 8048c04:	89 e5                	mov    %esp,%ebp 8048c06:	83 ec 28             	sub    $0x28,%esp 8048c09:	89 5d fc             	mov    %ebx,0xfffffffc(%ebp) 8048c0c:	8d 45 f8             	lea    0xfffffff8(%ebp),%eax 8048c0f:	89 44 24 10          	mov    %eax,0x10(%esp) 8048c13:	8d 45 f7             	lea    0xfffffff7(%ebp),%eax 8048c16:	89 44 24 0c          	mov    %eax,0xc(%esp) 8048c1a:	8d 45 f0             	lea    0xfffffff0(%ebp),%eax 8048c1d:	89 44 24 08          	mov    %eax,0x8(%esp) 8048c21:	c7 44 24 04 46 99 04 	movl   $0x8049946,0x4(%esp) 8048c28:	08  8048c29:	8b 45 08             	mov    0x8(%ebp),%eax 8048c2c:	89 04 24             	mov    %eax,(%esp) 8048c2f:	e8 90 fc ff ff       	call   80488c4 <sscanf@plt> 8048c34:	83 f8 02             	cmp    $0x2,%eax 8048c37:	7f 05                	jg     8048c3e <phase_3+0x3b> 8048c39:	e8 f2 08 00 00       	call   8049530 <explode_bomb> 8048c3e:	83 7d f0 07          	cmpl   $0x7,0xfffffff0(%ebp) 8048c42:	77 61                	ja     8048ca5 <phase_3+0xa2> 8048c44:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax 8048c47:	ff 24 85 50 99 04 08 	jmp    *0x8049950(,%eax,4) 8048c4e:	b3 74                	mov    $0x74,%bl 8048c50:	81 7d f8 de 02 00 00 	cmpl   $0x2de,0xfffffff8(%ebp) 8048c57:	eb 48                	jmp    8048ca1 <phase_3+0x9e> 8048c59:	b3 67                	mov    $0x67,%bl 8048c5b:	81 7d f8 92 01 00 00 	cmpl   $0x192,0xfffffff8(%ebp) 8048c62:	eb 3d                	jmp    8048ca1 <phase_3+0x9e> 8048c64:	b3 76                	mov    $0x76,%bl 8048c66:	81 7d f8 89 03 00 00 	cmpl   $0x389,0xfffffff8(%ebp) 8048c6d:	eb 32                	jmp    8048ca1 <phase_3+0x9e> 8048c6f:	b3 76                	mov    $0x76,%bl 8048c71:	81 7d f8 e8 02 00 00 	cmpl   $0x2e8,0xfffffff8(%ebp) 8048c78:	eb 27                	jmp    8048ca1 <phase_3+0x9e> 8048c7a:	b3 77                	mov    $0x77,%bl 8048c7c:	83 7d f8 78          	cmpl   $0x78,0xfffffff8(%ebp) 8048c80:	eb 1f                	jmp    8048ca1 <phase_3+0x9e> 8048c82:	b3 7a                	mov    $0x7a,%bl 8048c84:	81 7d f8 50 01 00 00 	cmpl   $0x150,0xfffffff8(%ebp) 8048c8b:	eb 14                	jmp    8048ca1 <phase_3+0x9e> 8048c8d:	b3 6f                	mov    $0x6f,%bl 8048c8f:	81 7d f8 1a 03 00 00 	cmpl   $0x31a,0xfffffff8(%ebp) 8048c96:	eb 09                	jmp    8048ca1 <phase_3+0x9e> 8048c98:	b3 73                	mov    $0x73,%bl 8048c9a:	81 7d f8 f7 02 00 00 	cmpl   $0x2f7,0xfffffff8(%ebp) 8048ca1:	74 09                	je     8048cac <phase_3+0xa9> 8048ca3:	eb 02                	jmp    8048ca7 <phase_3+0xa4> 8048ca5:	b3 64                	mov    $0x64,%bl 8048ca7:	e8 84 08 00 00       	call   8049530 <explode_bomb> 8048cac:	3a 5d f7             	cmp    0xfffffff7(%ebp),%bl 8048caf:	74 05                	je     8048cb6 <phase_3+0xb3> 8048cb1:	e8 7a 08 00 00       	call   8049530 <explode_bomb> 8048cb6:	8b 5d fc             	mov    0xfffffffc(%ebp),%ebx 8048cb9:	89 ec                	mov    %ebp,%esp 8048cbb:	5d                   	pop    %ebp 8048cbc:	c3                   	ret    08048cbd <func4>: 8048cbd:	55                   	push   %ebp 8048cbe:	89 e5                	mov    %esp,%ebp 8048cc0:	83 ec 0c             	sub    $0xc,%esp 8048cc3:	89 5d f8             	mov    %ebx,0xfffffff8(%ebp) 8048cc6:	89 75 fc             	mov    %esi,0xfffffffc(%ebp) 8048cc9:	8b 75 08             	mov    0x8(%ebp),%esi 8048ccc:	b8 01 00 00 00       	mov    $0x1,%eax 8048cd1:	83 fe 01             	cmp    $0x1,%esi 8048cd4:	7e 1b                	jle    8048cf1 <func4+0x34> 8048cd6:	8d 46 ff             	lea    0xffffffff(%esi),%eax 8048cd9:	89 04 24             	mov    %eax,(%esp) 8048cdc:	e8 dc ff ff ff       	call   8048cbd <func4> 8048ce1:	89 c3                	mov    %eax,%ebx 8048ce3:	8d 46 fe             	lea    0xfffffffe(%esi),%eax 8048ce6:	89 04 24             	mov    %eax,(%esp) 8048ce9:	e8 cf ff ff ff       	call   8048cbd <func4> 8048cee:	8d 04 18             	lea    (%eax,%ebx,1),%eax 8048cf1:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx 8048cf4:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi 8048cf7:	89 ec                	mov    %ebp,%esp 8048cf9:	5d                   	pop    %ebp 8048cfa:	c3                   	ret    08048cfb <phase_4>: 8048cfb:	55                   	push   %ebp 8048cfc:	89 e5                	mov    %esp,%ebp 8048cfe:	83 ec 18             	sub    $0x18,%esp 8048d01:	8d 45 fc             	lea    0xfffffffc(%ebp),%eax 8048d04:	89 44 24 08          	mov    %eax,0x8(%esp) 8048d08:	c7 44 24 04 4c 99 04 	movl   $0x804994c,0x4(%esp) 8048d0f:	08  8048d10:	8b 45 08             	mov    0x8(%ebp),%eax 8048d13:	89 04 24             	mov    %eax,(%esp) 8048d16:	e8 a9 fb ff ff       	call   80488c4 <sscanf@plt> 8048d1b:	83 f8 01             	cmp    $0x1,%eax 8048d1e:	75 06                	jne    8048d26 <phase_4+0x2b> 8048d20:	83 7d fc 00          	cmpl   $0x0,0xfffffffc(%ebp) 8048d24:	7f 05                	jg     8048d2b <phase_4+0x30> 8048d26:	e8 05 08 00 00       	call   8049530 <explode_bomb> 8048d2b:	8b 45 fc             	mov    0xfffffffc(%ebp),%eax 8048d2e:	89 04 24             	mov    %eax,(%esp) 8048d31:	e8 87 ff ff ff       	call   8048cbd <func4> 8048d36:	83 f8 37             	cmp    $0x37,%eax 8048d39:	74 05                	je     8048d40 <phase_4+0x45> 8048d3b:	e8 f0 07 00 00       	call   8049530 <explode_bomb> 8048d40:	89 ec                	mov    %ebp,%esp 8048d42:	5d                   	pop    %ebp 8048d43:	c3                   	ret    08048d44 <phase_5>: 8048d44:	55                   	push   %ebp 8048d45:	89 e5                	mov    %esp,%ebp 8048d47:	53                   	push   %ebx 8048d48:	83 ec 24             	sub    $0x24,%esp 8048d4b:	8d 45 f8             	lea    0xfffffff8(%ebp),%eax 8048d4e:	89 44 24 0c          	mov    %eax,0xc(%esp) 8048d52:	8d 45 f4             	lea    0xfffffff4(%ebp),%eax 8048d55:	89 44 24 08          	mov    %eax,0x8(%esp) 8048d59:	c7 44 24 04 78 9c 04 	movl   $0x8049c78,0x4(%esp) 8048d60:	08  8048d61:	8b 45 08             	mov    0x8(%ebp),%eax 8048d64:	89 04 24             	mov    %eax,(%esp) 8048d67:	e8 58 fb ff ff       	call   80488c4 <sscanf@plt> 8048d6c:	83 f8 01             	cmp    $0x1,%eax 8048d6f:	7f 05                	jg     8048d76 <phase_5+0x32> 8048d71:	e8 ba 07 00 00       	call   8049530 <explode_bomb> 8048d76:	8b 45 f4             	mov    0xfffffff4(%ebp),%eax 8048d79:	83 e0 0f             	and    $0xf,%eax 8048d7c:	89 45 f4             	mov    %eax,0xfffffff4(%ebp) 8048d7f:	ba 00 00 00 00       	mov    $0x0,%edx 8048d84:	b9 00 00 00 00       	mov    $0x0,%ecx 8048d89:	83 f8 0f             	cmp    $0xf,%eax 8048d8c:	74 13                	je     8048da1 <phase_5+0x5d> 8048d8e:	bb c0 b5 04 08       	mov    $0x804b5c0,%ebx 8048d93:	42                   	inc    %edx 8048d94:	8b 04 83             	mov    (%ebx,%eax,4),%eax 8048d97:	01 c1                	add    %eax,%ecx 8048d99:	83 f8 0f             	cmp    $0xf,%eax 8048d9c:	75 f5                	jne    8048d93 <phase_5+0x4f> 8048d9e:	89 45 f4             	mov    %eax,0xfffffff4(%ebp)

⌨️ 快捷键说明

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