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

📄 assemblydump.txt

📁 This is a sample bomb that has been solved from the bomb lab. Could be helpful
💻 TXT
📖 第 1 页 / 共 5 页
字号:
 8048da1:	83 fa 0a             	cmp    $0xa,%edx 8048da4:	75 05                	jne    8048dab <phase_5+0x67> 8048da6:	3b 4d f8             	cmp    0xfffffff8(%ebp),%ecx 8048da9:	74 05                	je     8048db0 <phase_5+0x6c> 8048dab:	e8 80 07 00 00       	call   8049530 <explode_bomb> 8048db0:	83 c4 24             	add    $0x24,%esp 8048db3:	5b                   	pop    %ebx 8048db4:	5d                   	pop    %ebp 8048db5:	c3                   	ret    08048db6 <fun6>: 8048db6:	55                   	push   %ebp 8048db7:	89 e5                	mov    %esp,%ebp 8048db9:	56                   	push   %esi 8048dba:	53                   	push   %ebx 8048dbb:	8b 75 08             	mov    0x8(%ebp),%esi 8048dbe:	8b 5e 08             	mov    0x8(%esi),%ebx 8048dc1:	c7 46 08 00 00 00 00 	movl   $0x0,0x8(%esi) 8048dc8:	85 db                	test   %ebx,%ebx 8048dca:	74 34                	je     8048e00 <fun6+0x4a> 8048dcc:	89 f2                	mov    %esi,%edx 8048dce:	89 f1                	mov    %esi,%ecx 8048dd0:	85 f6                	test   %esi,%esi 8048dd2:	74 15                	je     8048de9 <fun6+0x33> 8048dd4:	8b 06                	mov    (%esi),%eax 8048dd6:	3b 03                	cmp    (%ebx),%eax 8048dd8:	7e 0f                	jle    8048de9 <fun6+0x33> 8048dda:	89 d1                	mov    %edx,%ecx 8048ddc:	8b 52 08             	mov    0x8(%edx),%edx 8048ddf:	85 d2                	test   %edx,%edx 8048de1:	74 06                	je     8048de9 <fun6+0x33> 8048de3:	8b 02                	mov    (%edx),%eax 8048de5:	3b 03                	cmp    (%ebx),%eax 8048de7:	7f f1                	jg     8048dda <fun6+0x24> 8048de9:	39 d1                	cmp    %edx,%ecx 8048deb:	74 05                	je     8048df2 <fun6+0x3c> 8048ded:	89 59 08             	mov    %ebx,0x8(%ecx) 8048df0:	eb 02                	jmp    8048df4 <fun6+0x3e> 8048df2:	89 de                	mov    %ebx,%esi 8048df4:	8b 4b 08             	mov    0x8(%ebx),%ecx 8048df7:	89 53 08             	mov    %edx,0x8(%ebx) 8048dfa:	89 cb                	mov    %ecx,%ebx 8048dfc:	85 c9                	test   %ecx,%ecx 8048dfe:	75 cc                	jne    8048dcc <fun6+0x16> 8048e00:	89 f0                	mov    %esi,%eax 8048e02:	5b                   	pop    %ebx 8048e03:	5e                   	pop    %esi 8048e04:	5d                   	pop    %ebp 8048e05:	c3                   	ret    08048e06 <phase_6>: 8048e06:	55                   	push   %ebp 8048e07:	89 e5                	mov    %esp,%ebp 8048e09:	83 ec 18             	sub    $0x18,%esp 8048e0c:	c7 44 24 0c 00 00 00 	movl   $0x0,0xc(%esp) 8048e13:	00  8048e14:	c7 44 24 08 0a 00 00 	movl   $0xa,0x8(%esp) 8048e1b:	00  8048e1c:	c7 44 24 04 00 00 00 	movl   $0x0,0x4(%esp) 8048e23:	00  8048e24:	8b 45 08             	mov    0x8(%ebp),%eax 8048e27:	89 04 24             	mov    %eax,(%esp) 8048e2a:	e8 05 fa ff ff       	call   8048834 <__strtol_internal@plt> 8048e2f:	a3 6c b6 04 08       	mov    %eax,0x804b66c 8048e34:	c7 04 24 6c b6 04 08 	movl   $0x804b66c,(%esp) 8048e3b:	e8 76 ff ff ff       	call   8048db6 <fun6> 8048e40:	ba 01 00 00 00       	mov    $0x1,%edx 8048e45:	8b 40 08             	mov    0x8(%eax),%eax 8048e48:	42                   	inc    %edx 8048e49:	83 fa 04             	cmp    $0x4,%edx 8048e4c:	7e f7                	jle    8048e45 <phase_6+0x3f> 8048e4e:	8b 00                	mov    (%eax),%eax 8048e50:	3b 05 6c b6 04 08    	cmp    0x804b66c,%eax 8048e56:	74 05                	je     8048e5d <phase_6+0x57> 8048e58:	e8 d3 06 00 00       	call   8049530 <explode_bomb> 8048e5d:	c9                   	leave   8048e5e:	c3                   	ret    08048e5f <fun7>: 8048e5f:	55                   	push   %ebp 8048e60:	89 e5                	mov    %esp,%ebp 8048e62:	83 ec 08             	sub    $0x8,%esp 8048e65:	8b 55 08             	mov    0x8(%ebp),%edx 8048e68:	8b 4d 0c             	mov    0xc(%ebp),%ecx 8048e6b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax 8048e70:	85 d2                	test   %edx,%edx 8048e72:	74 35                	je     8048ea9 <fun7+0x4a> 8048e74:	3b 0a                	cmp    (%edx),%ecx 8048e76:	7d 13                	jge    8048e8b <fun7+0x2c> 8048e78:	89 4c 24 04          	mov    %ecx,0x4(%esp) 8048e7c:	8b 42 04             	mov    0x4(%edx),%eax 8048e7f:	89 04 24             	mov    %eax,(%esp) 8048e82:	e8 d8 ff ff ff       	call   8048e5f <fun7> 8048e87:	01 c0                	add    %eax,%eax 8048e89:	eb 1e                	jmp    8048ea9 <fun7+0x4a> 8048e8b:	3b 0a                	cmp    (%edx),%ecx 8048e8d:	75 07                	jne    8048e96 <fun7+0x37> 8048e8f:	b8 00 00 00 00       	mov    $0x0,%eax 8048e94:	eb 13                	jmp    8048ea9 <fun7+0x4a> 8048e96:	89 4c 24 04          	mov    %ecx,0x4(%esp) 8048e9a:	8b 42 08             	mov    0x8(%edx),%eax 8048e9d:	89 04 24             	mov    %eax,(%esp) 8048ea0:	e8 ba ff ff ff       	call   8048e5f <fun7> 8048ea5:	8d 44 00 01          	lea    0x1(%eax,%eax,1),%eax 8048ea9:	89 ec                	mov    %ebp,%esp 8048eab:	5d                   	pop    %ebp 8048eac:	c3                   	ret    08048ead <secret_phase>: 8048ead:	55                   	push   %ebp 8048eae:	89 e5                	mov    %esp,%ebp 8048eb0:	83 ec 18             	sub    $0x18,%esp 8048eb3:	89 5d fc             	mov    %ebx,0xfffffffc(%ebp) 8048eb6:	e8 c1 03 00 00       	call   804927c <read_line> 8048ebb:	c7 44 24 0c 00 00 00 	movl   $0x0,0xc(%esp) 8048ec2:	00  8048ec3:	c7 44 24 08 0a 00 00 	movl   $0xa,0x8(%esp) 8048eca:	00  8048ecb:	c7 44 24 04 00 00 00 	movl   $0x0,0x4(%esp) 8048ed2:	00  8048ed3:	89 04 24             	mov    %eax,(%esp) 8048ed6:	e8 59 f9 ff ff       	call   8048834 <__strtol_internal@plt> 8048edb:	89 c3                	mov    %eax,%ebx 8048edd:	8d 40 ff             	lea    0xffffffff(%eax),%eax 8048ee0:	3d e8 03 00 00       	cmp    $0x3e8,%eax 8048ee5:	76 05                	jbe    8048eec <secret_phase+0x3f> 8048ee7:	e8 44 06 00 00       	call   8049530 <explode_bomb> 8048eec:	89 5c 24 04          	mov    %ebx,0x4(%esp) 8048ef0:	c7 04 24 20 b7 04 08 	movl   $0x804b720,(%esp) 8048ef7:	e8 63 ff ff ff       	call   8048e5f <fun7> 8048efc:	83 f8 01             	cmp    $0x1,%eax 8048eff:	74 05                	je     8048f06 <secret_phase+0x59> 8048f01:	e8 2a 06 00 00       	call   8049530 <explode_bomb> 8048f06:	c7 04 24 20 99 04 08 	movl   $0x8049920,(%esp) 8048f0d:	e8 f2 f8 ff ff       	call   8048804 <puts@plt> 8048f12:	e8 5b 06 00 00       	call   8049572 <phase_defused> 8048f17:	8b 5d fc             	mov    0xfffffffc(%ebp),%ebx 8048f1a:	89 ec                	mov    %ebp,%esp 8048f1c:	5d                   	pop    %ebp 8048f1d:	c3                   	ret     8048f1e:	90                   	nop     8048f1f:	90                   	nop    08048f20 <sig_handler>: 8048f20:	55                   	push   %ebp 8048f21:	89 e5                	mov    %esp,%ebp 8048f23:	83 ec 08             	sub    $0x8,%esp 8048f26:	c7 04 24 60 9f 04 08 	movl   $0x8049f60,(%esp) 8048f2d:	e8 d2 f8 ff ff       	call   8048804 <puts@plt> 8048f32:	c7 04 24 03 00 00 00 	movl   $0x3,(%esp) 8048f39:	e8 e6 f8 ff ff       	call   8048824 <sleep@plt> 8048f3e:	c7 04 24 4b 9c 04 08 	movl   $0x8049c4b,(%esp) 8048f45:	e8 1a f9 ff ff       	call   8048864 <printf@plt> 8048f4a:	a1 80 b8 04 08       	mov    0x804b880,%eax 8048f4f:	89 04 24             	mov    %eax,(%esp) 8048f52:	e8 6d f8 ff ff       	call   80487c4 <fflush@plt> 8048f57:	c7 04 24 01 00 00 00 	movl   $0x1,(%esp) 8048f5e:	e8 c1 f8 ff ff       	call   8048824 <sleep@plt> 8048f63:	c7 04 24 53 9c 04 08 	movl   $0x8049c53,(%esp) 8048f6a:	e8 95 f8 ff ff       	call   8048804 <puts@plt> 8048f6f:	c7 04 24 10 00 00 00 	movl   $0x10,(%esp) 8048f76:	e8 39 f9 ff ff       	call   80488b4 <exit@plt>08048f7b <invalid_phase>: 8048f7b:	55                   	push   %ebp 8048f7c:	89 e5                	mov    %esp,%ebp 8048f7e:	83 ec 08             	sub    $0x8,%esp 8048f81:	8b 45 08             	mov    0x8(%ebp),%eax 8048f84:	89 44 24 04          	mov    %eax,0x4(%esp) 8048f88:	c7 04 24 5b 9c 04 08 	movl   $0x8049c5b,(%esp) 8048f8f:	e8 d0 f8 ff ff       	call   8048864 <printf@plt> 8048f94:	c7 04 24 08 00 00 00 	movl   $0x8,(%esp) 8048f9b:	e8 14 f9 ff ff       	call   80488b4 <exit@plt>08048fa0 <read_six_numbers>: 8048fa0:	55                   	push   %ebp 8048fa1:	89 e5                	mov    %esp,%ebp 8048fa3:	83 ec 28             	sub    $0x28,%esp 8048fa6:	8b 55 0c             	mov    0xc(%ebp),%edx 8048fa9:	8d 42 14             	lea    0x14(%edx),%eax 8048fac:	89 44 24 1c          	mov    %eax,0x1c(%esp) 8048fb0:	8d 42 10             	lea    0x10(%edx),%eax 8048fb3:	89 44 24 18          	mov    %eax,0x18(%esp) 8048fb7:	8d 42 0c             	lea    0xc(%edx),%eax 8048fba:	89 44 24 14          	mov    %eax,0x14(%esp) 8048fbe:	8d 42 08             	lea    0x8(%edx),%eax 8048fc1:	89 44 24 10          	mov    %eax,0x10(%esp) 8048fc5:	8d 42 04             	lea    0x4(%edx),%eax 8048fc8:	89 44 24 0c          	mov    %eax,0xc(%esp) 8048fcc:	89 54 24 08          	mov    %edx,0x8(%esp) 8048fd0:	c7 44 24 04 6c 9c 04 	movl   $0x8049c6c,0x4(%esp) 8048fd7:	08  8048fd8:	8b 45 08             	mov    0x8(%ebp),%eax 8048fdb:	89 04 24             	mov    %eax,(%esp) 8048fde:	e8 e1 f8 ff ff       	call   80488c4 <sscanf@plt> 8048fe3:	83 f8 05             	cmp    $0x5,%eax 8048fe6:	7f 05                	jg     8048fed <read_six_numbers+0x4d> 8048fe8:	e8 43 05 00 00       	call   8049530 <explode_bomb> 8048fed:	89 ec                	mov    %ebp,%esp 8048fef:	5d                   	pop    %ebp 8048ff0:	c3                   	ret    08048ff1 <string_length>: 8048ff1:	55                   	push   %ebp 8048ff2:	89 e5                	mov    %esp,%ebp 8048ff4:	8b 55 08             	mov    0x8(%ebp),%edx 8048ff7:	b8 00 00 00 00       	mov    $0x0,%eax 8048ffc:	80 3a 00             	cmpb   $0x0,(%edx) 8048fff:	74 07                	je     8049008 <string_length+0x17> 8049001:	42                   	inc    %edx 8049002:	40                   	inc    %eax 8049003:	80 3a 00             	cmpb   $0x0,(%edx) 8049006:	75 f9                	jne    8049001 <string_length+0x10> 8049008:	5d                   	pop    %ebp 8049009:	c3                   	ret    0804900a <strings_not_equal>: 804900a:	55                   	push   %ebp 804900b:	89 e5                	mov    %esp,%ebp 804900d:	83 ec 18             	sub    $0x18,%esp 8049010:	89 5d f4             	mov    %ebx,0xfffffff4(%ebp) 8049013:	89 75 f8             	mov    %esi,0xfffffff8(%ebp) 8049016:	89 7d fc             	mov    %edi,0xfffffffc(%ebp) 8049019:	8b 75 08             	mov    0x8(%ebp),%esi 804901c:	8b 7d 0c             	mov    0xc(%ebp),%edi 804901f:	89 34 24             	mov    %esi,(%esp) 8049022:	e8 ca ff ff ff       	call   8048ff1 <string_length> 8049027:	89 c3                	mov    %eax,%ebx 8049029:	89 3c 24             	mov    %edi,(%esp) 804902c:	e8 c0 ff ff ff       	call   8048ff1 <string_length> 8049031:	ba 01 00 00 00       	mov    $0x1,%edx 8049036:	39 c3                	cmp    %eax,%ebx 8049038:	75 25                	jne    804905f <strings_not_equal+0x55> 804903a:	eb 07                	jmp    8049043 <strings_not_equal+0x39> 804903c:	ba 01 00 00 00       	mov    $0x1,%edx 8049041:	eb 1c                	jmp    804905f <strings_not_equal+0x55> 8049043:	89 f2                	mov    %esi,%edx 8049045:	89 f9                	mov    %edi,%ecx 8049047:	80 3e 00             	cmpb   $0x0,(%esi) 804904a:	74 0e                	je     804905a <strings_not_equal+0x50> 804904c:	0f b6 02             	movzbl (%edx),%eax 804904f:	3a 01                	cmp    (%ecx),%al 8049051:	75 e9                	jne    804903c <strings_not_equal+0x32> 8049053:	42                   	inc    %edx 8049054:	41                   	inc    %ecx 8049055:	80 3a 00             	cmpb   $0x0,(%edx) 8049058:	75 f2                	jne    804904c <strings_not_equal+0x42> 804905a:	ba 00 00 00 00       	mov    $0x0,%edx 804905f:	89 d0                	mov    %edx,%eax 8049061:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx 8049064:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi 8049067:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi 804906a:	89 ec                	mov    %ebp,%esp 804906c:	5d                   	pop    %ebp 804906d:	c3                   	ret    0804906e <open_clientfd>: 804906e:	55                   	push   %ebp 804906f:	89 e5                	mov    %esp,%ebp 8049071:	57                   	push   %edi 8049072:	53                   	push   %ebx 8049073:	83 ec 20             	sub    $0x20,%esp 8049076:	c7 44 24 08 00 00 00 	movl   $0x0,0x8(%esp) 804907d:	00  804907e:	c7 44 24 04 01 00 00 	movl   $0x1,0x4(%esp) 8049085:	00  8049086:	c7 04 24 02 00 00 00 	movl   $0x2,(%esp)

⌨️ 快捷键说明

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