401e3f:	cc                   	int3
401e40:	80 3d dc 53 40 00 00 	cmpb   $0x0,0x4053dc
401e47:	56                   	push   %esi
401e48:	be f0 53 40 00       	mov    $0x4053f0,%esi
401e4d:	75 16                	jne    0x401e65
401e4f:	6a 40                	push   $0x40
401e51:	56                   	push   %esi
401e52:	6a 00                	push   $0x0
401e54:	68 20 1d 40 00       	push   $0x401d20
401e59:	e8 00 ff ff ff       	call   0x401d5e
401e5e:	c6 05 dc 53 40 00 01 	movb   $0x1,0x4053dc
401e65:	8b c6                	mov    %esi,%eax
401e67:	5e                   	pop    %esi
401e68:	c3                   	ret
401e69:	cc                   	int3
401e6a:	cc                   	int3
401e6b:	cc                   	int3
401e6c:	cc                   	int3
401e6d:	cc                   	int3
401e6e:	cc                   	int3
401e6f:	cc                   	int3
401e70:	ff 25 60 60 40 00    	jmp    *0x406060
401e76:	cc                   	int3
401e77:	cc                   	int3
401e78:	cc                   	int3
401e79:	cc                   	int3
401e7a:	cc                   	int3
401e7b:	cc                   	int3
401e7c:	cc                   	int3
401e7d:	cc                   	int3
401e7e:	cc                   	int3
401e7f:	cc                   	int3
401e80:	8b ff                	mov    %edi,%edi
401e82:	55                   	push   %ebp
401e83:	8b ec                	mov    %esp,%ebp
401e85:	56                   	push   %esi
401e86:	68 84 13 40 00       	push   $0x401384
401e8b:	ff 15 5c 60 40 00    	call   *0x40605c
401e91:	68 a4 13 40 00       	push   $0x4013a4
401e96:	50                   	push   %eax
401e97:	ff 15 4c 60 40 00    	call   *0x40604c
401e9d:	8b f0                	mov    %eax,%esi
401e9f:	85 f6                	test   %esi,%esi
401ea1:	74 13                	je     0x401eb6
401ea3:	ff 75 10             	push   0x10(%ebp)
401ea6:	8b ce                	mov    %esi,%ecx
401ea8:	ff 75 0c             	push   0xc(%ebp)
401eab:	ff 75 08             	push   0x8(%ebp)
401eae:	ff 15 90 61 40 00    	call   *0x406190
401eb4:	ff d6                	call   *%esi
401eb6:	5e                   	pop    %esi
401eb7:	5d                   	pop    %ebp
401eb8:	c2 0c 00             	ret    $0xc
401ebb:	8b ff                	mov    %edi,%edi
401ebd:	55                   	push   %ebp
401ebe:	8b ec                	mov    %esp,%ebp
401ec0:	56                   	push   %esi
401ec1:	57                   	push   %edi
401ec2:	8b f2                	mov    %edx,%esi
401ec4:	8b f9                	mov    %ecx,%edi
401ec6:	ff 15 2c 60 40 00    	call   *0x40602c
401ecc:	85 c0                	test   %eax,%eax
401ece:	75 1d                	jne    0x401eed
401ed0:	68 9c 02 07 80       	push   $0x8007029c
401ed5:	6a 02                	push   $0x2
401ed7:	ff 75 14             	push   0x14(%ebp)
401eda:	8b d6                	mov    %esi,%edx
401edc:	8b cf                	mov    %edi,%ecx
401ede:	50                   	push   %eax
401edf:	50                   	push   %eax
401ee0:	ff 75 08             	push   0x8(%ebp)
401ee3:	e8 ce 03 00 00       	call   0x4022b6
401ee8:	b8 9c 02 00 00       	mov    $0x29c,%eax
401eed:	5f                   	pop    %edi
401eee:	5e                   	pop    %esi
401eef:	5d                   	pop    %ebp
401ef0:	c2 10 00             	ret    $0x10
401ef3:	8b ff                	mov    %edi,%edi
401ef5:	55                   	push   %ebp
401ef6:	8b ec                	mov    %esp,%ebp
401ef8:	ff 75 04             	push   0x4(%ebp)
401efb:	33 d2                	xor    %edx,%edx
401efd:	51                   	push   %ecx
401efe:	51                   	push   %ecx
401eff:	6a 00                	push   $0x0
401f01:	33 c9                	xor    %ecx,%ecx
401f03:	e8 b3 ff ff ff       	call   0x401ebb
401f08:	85 c0                	test   %eax,%eax
401f0a:	7e 08                	jle    0x401f14
401f0c:	0f b7 c0             	movzwl %ax,%eax
401f0f:	0d 00 00 07 80       	or     $0x80070000,%eax
401f14:	5d                   	pop    %ebp
401f15:	c3                   	ret
401f16:	85 c9                	test   %ecx,%ecx
401f18:	75 04                	jne    0x401f1e
401f1a:	6a 02                	push   $0x2
401f1c:	58                   	pop    %eax
401f1d:	c3                   	ret
401f1e:	8d 51 02             	lea    0x2(%ecx),%edx
401f21:	66 8b 01             	mov    (%ecx),%ax
401f24:	83 c1 02             	add    $0x2,%ecx
401f27:	66 85 c0             	test   %ax,%ax
401f2a:	75 f5                	jne    0x401f21
401f2c:	2b ca                	sub    %edx,%ecx
401f2e:	d1 f9                	sar    $1,%ecx
401f30:	8d 04 4d 02 00 00 00 	lea    0x2(,%ecx,2),%eax
401f37:	c3                   	ret
401f38:	8b ff                	mov    %edi,%edi
401f3a:	56                   	push   %esi
401f3b:	8b 35 c0 53 40 00    	mov    0x4053c0,%esi
401f41:	85 f6                	test   %esi,%esi
401f43:	74 0b                	je     0x401f50
401f45:	51                   	push   %ecx
401f46:	8b ce                	mov    %esi,%ecx
401f48:	ff 15 90 61 40 00    	call   *0x406190
401f4e:	ff d6                	call   *%esi
401f50:	5e                   	pop    %esi
401f51:	c3                   	ret
401f52:	8b ff                	mov    %edi,%edi
401f54:	55                   	push   %ebp
401f55:	8b ec                	mov    %esp,%ebp
401f57:	83 ec 0c             	sub    $0xc,%esp
401f5a:	53                   	push   %ebx
401f5b:	8b 5d 28             	mov    0x28(%ebp),%ebx
401f5e:	33 c0                	xor    %eax,%eax
401f60:	56                   	push   %esi
401f61:	57                   	push   %edi
401f62:	8b 7d 1c             	mov    0x1c(%ebp),%edi
401f65:	66 89 03             	mov    %ax,(%ebx)
401f68:	8b 45 30             	mov    0x30(%ebp),%eax
401f6b:	89 55 f8             	mov    %edx,-0x8(%ebp)
401f6e:	89 4d f4             	mov    %ecx,-0xc(%ebp)
401f71:	c6 00 00             	movb   $0x0,(%eax)
401f74:	33 c0                	xor    %eax,%eax
401f76:	89 45 fc             	mov    %eax,-0x4(%ebp)
401f79:	8b 45 18             	mov    0x18(%ebp),%eax
401f7c:	83 e8 00             	sub    $0x0,%eax
401f7f:	74 46                	je     0x401fc7
401f81:	83 e8 01             	sub    $0x1,%eax
401f84:	74 38                	je     0x401fbe
401f86:	83 e8 01             	sub    $0x1,%eax
401f89:	74 0d                	je     0x401f98
401f8b:	83 e8 01             	sub    $0x1,%eax
401f8e:	75 41                	jne    0x401fd1
401f90:	57                   	push   %edi
401f91:	e8 8a fd ff ff       	call   0x401d20
401f96:	eb 36                	jmp    0x401fce
401f98:	85 ff                	test   %edi,%edi
401f9a:	78 19                	js     0x401fb5
401f9c:	bf 9c 02 07 80       	mov    $0x8007029c,%edi
401fa1:	57                   	push   %edi
401fa2:	6a 02                	push   $0x2
401fa4:	ff 75 14             	push   0x14(%ebp)
401fa7:	ff 75 10             	push   0x10(%ebp)
401faa:	ff 75 0c             	push   0xc(%ebp)
401fad:	ff 75 08             	push   0x8(%ebp)
401fb0:	e8 01 03 00 00       	call   0x4022b6
401fb5:	8b cf                	mov    %edi,%ecx
401fb7:	e8 51 fd ff ff       	call   0x401d0d
401fbc:	eb 10                	jmp    0x401fce
401fbe:	8b cf                	mov    %edi,%ecx
401fc0:	e8 35 fd ff ff       	call   0x401cfa
401fc5:	eb 07                	jmp    0x401fce
401fc7:	8b cf                	mov    %edi,%ecx
401fc9:	e8 19 fd ff ff       	call   0x401ce7
401fce:	89 45 fc             	mov    %eax,-0x4(%ebp)
401fd1:	8b 75 38             	mov    0x38(%ebp),%esi
401fd4:	8b 45 18             	mov    0x18(%ebp),%eax
401fd7:	89 06                	mov    %eax,(%esi)
401fd9:	33 c0                	xor    %eax,%eax
401fdb:	89 7e 04             	mov    %edi,0x4(%esi)
401fde:	40                   	inc    %eax
401fdf:	f0 0f c1 05 3c 54 40 	lock xadd %eax,0x40543c
401fe6:	00
401fe7:	40                   	inc    %eax
401fe8:	89 46 08             	mov    %eax,0x8(%esi)
401feb:	8b 45 20             	mov    0x20(%ebp),%eax
401fee:	85 c0                	test   %eax,%eax
401ff0:	74 07                	je     0x401ff9
401ff2:	33 c9                	xor    %ecx,%ecx
401ff4:	66 39 08             	cmp    %cx,(%eax)
401ff7:	75 02                	jne    0x401ffb
401ff9:	33 c0                	xor    %eax,%eax
401ffb:	89 46 0c             	mov    %eax,0xc(%esi)
401ffe:	ff 15 1c 60 40 00    	call   *0x40601c
402004:	89 46 10             	mov    %eax,0x10(%esi)
402007:	8d 7e 2c             	lea    0x2c(%esi),%edi
40200a:	8b 45 08             	mov    0x8(%ebp),%eax
40200d:	33 d2                	xor    %edx,%edx
40200f:	89 46 1c             	mov    %eax,0x1c(%esi)
402012:	8b 45 f8             	mov    -0x8(%ebp),%eax
402015:	89 46 20             	mov    %eax,0x20(%esi)
402018:	8b 45 fc             	mov    -0x4(%ebp),%eax
40201b:	89 46 24             	mov    %eax,0x24(%esi)
40201e:	8b 45 10             	mov    0x10(%ebp),%eax
402021:	89 46 14             	mov    %eax,0x14(%esi)
402024:	8b 45 0c             	mov    0xc(%ebp),%eax
402027:	89 46 18             	mov    %eax,0x18(%esi)
40202a:	8b 45 14             	mov    0x14(%ebp),%eax
40202d:	89 46 48             	mov    %eax,0x48(%esi)
402030:	8b 45 f4             	mov    -0xc(%ebp),%eax
402033:	89 46 4c             	mov    %eax,0x4c(%esi)
402036:	33 c0                	xor    %eax,%eax
402038:	6a 06                	push   $0x6
40203a:	59                   	pop    %ecx
40203b:	89 56 28             	mov    %edx,0x28(%esi)
40203e:	f3 ab                	rep stos %eax,%es:(%edi)
402040:	8b 3d c8 53 40 00    	mov    0x4053c8,%edi
402046:	85 ff                	test   %edi,%edi
402048:	74 0a                	je     0x402054
40204a:	8b cf                	mov    %edi,%ecx
40204c:	ff 15 90 61 40 00    	call   *0x406190
402052:	ff d7                	call   *%edi
402054:	8b 3d a8 53 40 00    	mov    0x4053a8,%edi
40205a:	89 46 44             	mov    %eax,0x44(%esi)
40205d:	85 ff                	test   %edi,%edi
40205f:	74 13                	je     0x402074
402061:	68 00 04 00 00       	push   $0x400
402066:	ff 75 30             	push   0x30(%ebp)
402069:	8b cf                	mov    %edi,%ecx
40206b:	56                   	push   %esi
40206c:	ff 15 90 61 40 00    	call   *0x406190
402072:	ff d7                	call   *%edi
402074:	8b 3d a0 53 40 00    	mov    0x4053a0,%edi
40207a:	85 ff                	test   %edi,%edi
40207c:	74 0b                	je     0x402089
40207e:	56                   	push   %esi
40207f:	8b cf                	mov    %edi,%ecx
402081:	ff 15 90 61 40 00    	call   *0x406190
402087:	ff d7                	call   *%edi
402089:	8b 3d b8 53 40 00    	mov    0x4053b8,%edi
40208f:	85 ff                	test   %edi,%edi
402091:	74 0b                	je     0x40209e
402093:	56                   	push   %esi
402094:	8b cf                	mov    %edi,%ecx
402096:	ff 15 90 61 40 00    	call   *0x406190
40209c:	ff d7                	call   *%edi
40209e:	33 c0                	xor    %eax,%eax
4020a0:	39 46 04             	cmp    %eax,0x4(%esi)
4020a3:	7c 11                	jl     0x4020b6
4020a5:	83 7d 18 03          	cmpl   $0x3,0x18(%ebp)
4020a9:	0f 85 bc 00 00 00    	jne    0x40216b
4020af:	c7 46 04 ff ff 00 80 	movl   $0x8000ffff,0x4(%esi)
4020b6:	38 05 88 53 40 00    	cmp    %al,0x405388
4020bc:	75 4a                	jne    0x402108
4020be:	8b 3d 80 53 40 00    	mov    0x405380,%edi
4020c4:	85 ff                	test   %edi,%edi
4020c6:	74 0f                	je     0x4020d7
4020c8:	8b cf                	mov    %edi,%ecx
4020ca:	ff 15 90 61 40 00    	call   *0x406190
4020d0:	ff d7                	call   *%edi
4020d2:	0f b6 c0             	movzbl %al,%eax
4020d5:	eb 0c                	jmp    0x4020e3
4020d7:	ff 15 64 60 40 00    	call   *0x406064
4020dd:	f7 d8                	neg    %eax
4020df:	1b c0                	sbb    %eax,%eax
4020e1:	f7 d8                	neg    %eax
4020e3:	85 c0                	test   %eax,%eax
4020e5:	75 21                	jne    0x402108
4020e7:	8b 3d 8c 53 40 00    	mov    0x40538c,%edi
4020ed:	85 ff                	test   %edi,%edi
4020ef:	74 56                	je     0x402147
4020f1:	38 05 98 53 40 00    	cmp    %al,0x405398
4020f7:	75 4e                	jne    0x402147
4020f9:	50                   	push   %eax
4020fa:	50                   	push   %eax
4020fb:	56                   	push   %esi
4020fc:	8b cf                	mov    %edi,%ecx
4020fe:	ff 15 90 61 40 00    	call   *0x406190
402104:	ff d7                	call   *%edi
402106:	eb 3f                	jmp    0x402147
402108:	8b 3d 8c 53 40 00    	mov    0x40538c,%edi
40210e:	85 ff                	test   %edi,%edi
402110:	74 1a                	je     0x40212c
402112:	80 3d 98 53 40 00 00 	cmpb   $0x0,0x405398
402119:	75 11                	jne    0x40212c
40211b:	68 00 08 00 00       	push   $0x800
402120:	53                   	push   %ebx
402121:	56                   	push   %esi
402122:	8b cf                	mov    %edi,%ecx
402124:	ff 15 90 61 40 00    	call   *0x406190
40212a:	ff d7                	call   *%edi
40212c:	33 c0                	xor    %eax,%eax
40212e:	66 39 03             	cmp    %ax,(%ebx)
402131:	75 0d                	jne    0x402140
402133:	56                   	push   %esi
402134:	ba 00 08 00 00       	mov    $0x800,%edx
402139:	8b cb                	mov    %ebx,%ecx
40213b:	e8 61 f9 ff ff       	call   0x401aa1
402140:	53                   	push   %ebx
402141:	ff 15 30 60 40 00    	call   *0x406030
402147:	80 3d 90 53 40 00 00 	cmpb   $0x0,0x405390
40214e:	74 14                	je     0x402164
402150:	8b 35 b0 53 40 00    	mov    0x4053b0,%esi
402156:	85 f6                	test   %esi,%esi
402158:	74 0a                	je     0x402164
40215a:	8b ce                	mov    %esi,%ecx
40215c:	ff 15 90 61 40 00    	call   *0x406190
402162:	ff d6                	call   *%esi
402164:	5f                   	pop    %edi
402165:	5e                   	pop    %esi
402166:	5b                   	pop    %ebx
402167:	c9                   	leave
402168:	c2 34 00             	ret    $0x34
40216b:	e8 7c 02 00 00       	call   0x4023ec
402170:	cc                   	int3
402171:	8b ff                	mov    %edi,%edi
402173:	55                   	push   %ebp
402174:	8b ec                	mov    %esp,%ebp
402176:	83 ec 50             	sub    $0x50,%esp
402179:	56                   	push   %esi
40217a:	57                   	push   %edi
40217b:	8b 3d cc 53 40 00    	mov    0x4053cc,%edi
402181:	8b f1                	mov    %ecx,%esi
402183:	85 ff                	test   %edi,%edi
402185:	74 0b                	je     0x402192
402187:	56                   	push   %esi
402188:	8b cf                	mov    %edi,%ecx
40218a:	ff 15 90 61 40 00    	call   *0x406190
402190:	ff d7                	call   *%edi
402192:	6a 50                	push   $0x50
402194:	8d 45 b0             	lea    -0x50(%ebp),%eax
402197:	6a 00                	push   $0x0
402199:	50                   	push   %eax
40219a:	e8 ac 27 00 00       	call   0x40494b
40219f:	8b 4e 48             	mov    0x48(%esi),%ecx
4021a2:	33 c0                	xor    %eax,%eax
4021a4:	40                   	inc    %eax
4021a5:	c7 45 b0 09 04 00 c0 	movl   $0xc0000409,-0x50(%ebp)
4021ac:	83 c4 0c             	add    $0xc,%esp
4021af:	89 45 c0             	mov    %eax,-0x40(%ebp)
4021b2:	89 45 b4             	mov    %eax,-0x4c(%ebp)
4021b5:	c7 45 c4 07 00 00 00 	movl   $0x7,-0x3c(%ebp)
4021bc:	85 c9                	test   %ecx,%ecx
4021be:	75 09                	jne    0x4021c9
4021c0:	50                   	push   %eax
4021c1:	8d 4d b0             	lea    -0x50(%ebp),%ecx
4021c4:	e8 6b fb ff ff       	call   0x401d34
4021c9:	8b 46 04             	mov    0x4(%esi),%eax
4021cc:	89 45 c8             	mov    %eax,-0x38(%ebp)
4021cf:	8b 46 20             	mov    0x20(%esi),%eax
4021d2:	c7 45 c0 03 00 00 00 	movl   $0x3,-0x40(%ebp)
4021d9:	89 45 cc             	mov    %eax,-0x34(%ebp)
4021dc:	89 4d bc             	mov    %ecx,-0x44(%ebp)
4021df:	6a 00                	push   $0x0
4021e1:	eb de                	jmp    0x4021c1
4021e3:	8b ff                	mov    %edi,%edi
4021e5:	55                   	push   %ebp
4021e6:	8b ec                	mov    %esp,%ebp
4021e8:	83 e4 f8             	and    $0xfffffff8,%esp