405c85:	85 c0                	test   %eax,%eax
405c87:	0f 84 27 01 00 00    	je     0x405db4
405c8d:	3b c7                	cmp    %edi,%eax
405c8f:	0f 8f 1f 01 00 00    	jg     0x405db4
405c95:	be 98 1e 42 00       	mov    $0x421e98,%esi
405c9a:	57                   	push   %edi
405c9b:	56                   	push   %esi
405c9c:	ff 74 24 1c          	push   0x1c(%esp)
405ca0:	ff d3                	call   *%ebx
405ca2:	85 c0                	test   %eax,%eax
405ca4:	0f 84 0a 01 00 00    	je     0x405db4
405caa:	3b c7                	cmp    %edi,%eax
405cac:	0f 8f 02 01 00 00    	jg     0x405db4
405cb2:	56                   	push   %esi
405cb3:	55                   	push   %ebp
405cb4:	68 c8 93 40 00       	push   $0x4093c8
405cb9:	68 98 16 42 00       	push   $0x421698
405cbe:	ff 15 74 72 40 00    	call   *0x407274
405cc4:	8b d8                	mov    %eax,%ebx
405cc6:	a1 14 37 42 00       	mov    0x423714,%eax
405ccb:	83 c4 10             	add    $0x10,%esp
405cce:	ff b0 28 01 00 00    	push   0x128(%eax)
405cd4:	56                   	push   %esi
405cd5:	e8 22 03 00 00       	call   0x405ffc
405cda:	6a 04                	push   $0x4
405cdc:	68 00 00 00 c0       	push   $0xc0000000
405ce1:	56                   	push   %esi
405ce2:	e8 8c fe ff ff       	call   0x405b73
405ce7:	8b e8                	mov    %eax,%ebp
405ce9:	83 fd ff             	cmp    $0xffffffff,%ebp
405cec:	89 6c 24 18          	mov    %ebp,0x18(%esp)
405cf0:	0f 84 be 00 00 00    	je     0x405db4
405cf6:	6a 00                	push   $0x0
405cf8:	55                   	push   %ebp
405cf9:	ff 15 74 70 40 00    	call   *0x407074
405cff:	8b f8                	mov    %eax,%edi
405d01:	8d 44 1f 0a          	lea    0xa(%edi,%ebx,1),%eax
405d05:	50                   	push   %eax
405d06:	6a 40                	push   $0x40
405d08:	ff 15 58 71 40 00    	call   *0x407158
405d0e:	8b f0                	mov    %eax,%esi
405d10:	85 f6                	test   %esi,%esi
405d12:	0f 84 95 00 00 00    	je     0x405dad
405d18:	57                   	push   %edi
405d19:	56                   	push   %esi
405d1a:	55                   	push   %ebp
405d1b:	e8 cb fe ff ff       	call   0x405beb
405d20:	85 c0                	test   %eax,%eax
405d22:	0f 84 85 00 00 00    	je     0x405dad
405d28:	68 bc 93 40 00       	push   $0x4093bc
405d2d:	56                   	push   %esi
405d2e:	e8 a5 fd ff ff       	call   0x405ad8
405d33:	85 c0                	test   %eax,%eax
405d35:	75 14                	jne    0x405d4b
405d37:	8d 04 3e             	lea    (%esi,%edi,1),%eax
405d3a:	68 bc 93 40 00       	push   $0x4093bc
405d3f:	50                   	push   %eax
405d40:	ff 15 d8 70 40 00    	call   *0x4070d8
405d46:	83 c7 0a             	add    $0xa,%edi
405d49:	eb 35                	jmp    0x405d80
405d4b:	83 c0 0a             	add    $0xa,%eax
405d4e:	68 b8 93 40 00       	push   $0x4093b8
405d53:	50                   	push   %eax
405d54:	e8 7f fd ff ff       	call   0x405ad8
405d59:	8b e8                	mov    %eax,%ebp
405d5b:	85 ed                	test   %ebp,%ebp
405d5d:	74 1d                	je     0x405d7c
405d5f:	8d 0c 3e             	lea    (%esi,%edi,1),%ecx
405d62:	8d 04 19             	lea    (%ecx,%ebx,1),%eax
405d65:	eb 06                	jmp    0x405d6d
405d67:	8a 11                	mov    (%ecx),%dl
405d69:	88 10                	mov    %dl,(%eax)
405d6b:	48                   	dec    %eax
405d6c:	49                   	dec    %ecx
405d6d:	3b cd                	cmp    %ebp,%ecx
405d6f:	77 f6                	ja     0x405d67
405d71:	2b ee                	sub    %esi,%ebp
405d73:	45                   	inc    %ebp
405d74:	8b c5                	mov    %ebp,%eax
405d76:	8b 6c 24 18          	mov    0x18(%esp),%ebp
405d7a:	eb 06                	jmp    0x405d82
405d7c:	8b 6c 24 18          	mov    0x18(%esp),%ebp
405d80:	8b c7                	mov    %edi,%eax
405d82:	53                   	push   %ebx
405d83:	03 c6                	add    %esi,%eax
405d85:	68 98 16 42 00       	push   $0x421698
405d8a:	50                   	push   %eax
405d8b:	e8 9e fd ff ff       	call   0x405b2e
405d90:	33 c0                	xor    %eax,%eax
405d92:	50                   	push   %eax
405d93:	50                   	push   %eax
405d94:	50                   	push   %eax
405d95:	55                   	push   %ebp
405d96:	ff 15 38 71 40 00    	call   *0x407138
405d9c:	03 fb                	add    %ebx,%edi
405d9e:	57                   	push   %edi
405d9f:	56                   	push   %esi
405da0:	55                   	push   %ebp
405da1:	e8 74 fe ff ff       	call   0x405c1a
405da6:	56                   	push   %esi
405da7:	ff 15 5c 71 40 00    	call   *0x40715c
405dad:	55                   	push   %ebp
405dae:	ff 15 14 71 40 00    	call   *0x407114
405db4:	5f                   	pop    %edi
405db5:	5e                   	pop    %esi
405db6:	5d                   	pop    %ebp
405db7:	5b                   	pop    %ebx
405db8:	c3                   	ret
405db9:	6a 05                	push   $0x5
405dbb:	ff 74 24 0c          	push   0xc(%esp)
405dbf:	ff 74 24 0c          	push   0xc(%esp)
405dc3:	ff 15 dc 70 40 00    	call   *0x4070dc
405dc9:	85 c0                	test   %eax,%eax
405dcb:	75 0f                	jne    0x405ddc
405dcd:	ff 74 24 08          	push   0x8(%esp)
405dd1:	ff 74 24 08          	push   0x8(%esp)
405dd5:	e8 6f fe ff ff       	call   0x405c49
405dda:	59                   	pop    %ecx
405ddb:	59                   	pop    %ecx
405ddc:	ff 05 b0 37 42 00    	incl   0x4237b0
405de2:	c2 08 00             	ret    $0x8
405de5:	8b 15 0c 37 42 00    	mov    0x42370c,%edx
405deb:	53                   	push   %ebx
405dec:	8b 5c 24 08          	mov    0x8(%esp),%ebx
405df0:	57                   	push   %edi
405df1:	8b 7c 24 10          	mov    0x10(%esp),%edi
405df5:	f7 d2                	not    %edx
405df7:	8b 07                	mov    (%edi),%eax
405df9:	c1 ea 16             	shr    $0x16,%edx
405dfc:	81 e2 00 01 00 00    	and    $0x100,%edx
405e02:	a8 20                	test   $0x20,%al
405e04:	74 34                	je     0x405e3a
405e06:	f7 c3 00 00 00 60    	test   $0x60000000,%ebx
405e0c:	74 2c                	je     0x405e3a
405e0e:	8b cb                	mov    %ebx,%ecx
405e10:	56                   	push   %esi
405e11:	c1 e9 15             	shr    $0x15,%ecx
405e14:	be 00 03 00 00       	mov    $0x300,%esi
405e19:	23 ce                	and    %esi,%ecx
405e1b:	3b ce                	cmp    %esi,%ecx
405e1d:	5e                   	pop    %esi
405e1e:	75 0a                	jne    0x405e2a
405e20:	8b ca                	mov    %edx,%ecx
405e22:	f7 d1                	not    %ecx
405e24:	23 0d d0 37 42 00    	and    0x4237d0,%ecx
405e2a:	80 e4 fe             	and    $0xfe,%ah
405e2d:	0b c1                	or     %ecx,%eax
405e2f:	80 e4 fd             	and    $0xfd,%ah
405e32:	81 e3 ff ff ff 9f    	and    $0x9fffffff,%ebx
405e38:	eb 0d                	jmp    0x405e47
405e3a:	a9 00 00 10 00       	test   $0x100000,%eax
405e3f:	74 06                	je     0x405e47
405e41:	0b 05 d0 37 42 00    	or     0x4237d0,%eax
405e47:	8b c8                	mov    %eax,%ecx
405e49:	23 c2                	and    %edx,%eax
405e4b:	81 e1 df ff ef ff    	and    $0xffefffdf,%ecx
405e51:	f7 d8                	neg    %eax
405e53:	1b c0                	sbb    %eax,%eax
405e55:	89 0f                	mov    %ecx,(%edi)
405e57:	f7 d0                	not    %eax
405e59:	23 c3                	and    %ebx,%eax
405e5b:	5f                   	pop    %edi
405e5c:	5b                   	pop    %ebx
405e5d:	c2 08 00             	ret    $0x8
405e60:	55                   	push   %ebp
405e61:	8b ec                	mov    %esp,%ebp
405e63:	8d 45 10             	lea    0x10(%ebp),%eax
405e66:	50                   	push   %eax
405e67:	ff 75 08             	push   0x8(%ebp)
405e6a:	e8 76 ff ff ff       	call   0x405de5
405e6f:	85 c0                	test   %eax,%eax
405e71:	75 05                	jne    0x405e78
405e73:	6a 06                	push   $0x6
405e75:	58                   	pop    %eax
405e76:	eb 12                	jmp    0x405e8a
405e78:	ff 75 14             	push   0x14(%ebp)
405e7b:	ff 75 10             	push   0x10(%ebp)
405e7e:	6a 00                	push   $0x0
405e80:	ff 75 0c             	push   0xc(%ebp)
405e83:	50                   	push   %eax
405e84:	ff 15 08 70 40 00    	call   *0x407008
405e8a:	5d                   	pop    %ebp
405e8b:	c2 10 00             	ret    $0x10
405e8e:	55                   	push   %ebp
405e8f:	8b ec                	mov    %esp,%ebp
405e91:	8d 45 10             	lea    0x10(%ebp),%eax
405e94:	50                   	push   %eax
405e95:	ff 75 08             	push   0x8(%ebp)
405e98:	e8 48 ff ff ff       	call   0x405de5
405e9d:	33 c9                	xor    %ecx,%ecx
405e9f:	3b c1                	cmp    %ecx,%eax
405ea1:	75 05                	jne    0x405ea8
405ea3:	6a 06                	push   $0x6
405ea5:	58                   	pop    %eax
405ea6:	eb 15                	jmp    0x405ebd
405ea8:	51                   	push   %ecx
405ea9:	ff 75 14             	push   0x14(%ebp)
405eac:	51                   	push   %ecx
405ead:	ff 75 10             	push   0x10(%ebp)
405eb0:	51                   	push   %ecx
405eb1:	51                   	push   %ecx
405eb2:	51                   	push   %ecx
405eb3:	ff 75 0c             	push   0xc(%ebp)
405eb6:	50                   	push   %eax
405eb7:	ff 15 04 70 40 00    	call   *0x407004
405ebd:	5d                   	pop    %ebp
405ebe:	c2 10 00             	ret    $0x10
405ec1:	55                   	push   %ebp
405ec2:	8b ec                	mov    %esp,%ebp
405ec4:	51                   	push   %ecx
405ec5:	8d 45 18             	lea    0x18(%ebp),%eax
405ec8:	56                   	push   %esi
405ec9:	50                   	push   %eax
405eca:	8b 45 18             	mov    0x18(%ebp),%eax
405ecd:	f7 d8                	neg    %eax
405ecf:	1b c0                	sbb    %eax,%eax
405ed1:	c7 45 fc 00 04 00 00 	movl   $0x400,-0x4(%ebp)
405ed8:	25 00 01 00 00       	and    $0x100,%eax
405edd:	0d 19 00 02 00       	or     $0x20019,%eax
405ee2:	50                   	push   %eax
405ee3:	ff 75 0c             	push   0xc(%ebp)
405ee6:	ff 75 08             	push   0x8(%ebp)
405ee9:	e8 72 ff ff ff       	call   0x405e60
405eee:	8b 75 14             	mov    0x14(%ebp),%esi
405ef1:	85 c0                	test   %eax,%eax
405ef3:	75 3b                	jne    0x405f30
405ef5:	8d 45 fc             	lea    -0x4(%ebp),%eax
405ef8:	57                   	push   %edi
405ef9:	50                   	push   %eax
405efa:	8d 45 0c             	lea    0xc(%ebp),%eax
405efd:	56                   	push   %esi
405efe:	50                   	push   %eax
405eff:	6a 00                	push   $0x0
405f01:	ff 75 10             	push   0x10(%ebp)
405f04:	ff 75 18             	push   0x18(%ebp)
405f07:	ff 15 2c 70 40 00    	call   *0x40702c
405f0d:	ff 75 18             	push   0x18(%ebp)
405f10:	8b f8                	mov    %eax,%edi
405f12:	ff 15 24 70 40 00    	call   *0x407024
405f18:	80 a6 ff 03 00 00 00 	andb   $0x0,0x3ff(%esi)
405f1f:	85 ff                	test   %edi,%edi
405f21:	5f                   	pop    %edi
405f22:	75 0c                	jne    0x405f30
405f24:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)
405f28:	74 09                	je     0x405f33
405f2a:	83 7d 0c 02          	cmpl   $0x2,0xc(%ebp)
405f2e:	74 03                	je     0x405f33
405f30:	80 26 00             	andb   $0x0,(%esi)
405f33:	5e                   	pop    %esi
405f34:	c9                   	leave
405f35:	c2 14 00             	ret    $0x14
405f38:	ff 74 24 08          	push   0x8(%esp)
405f3c:	68 a4 73 40 00       	push   $0x4073a4
405f41:	ff 74 24 0c          	push   0xc(%esp)
405f45:	ff 15 74 72 40 00    	call   *0x407274
405f4b:	83 c4 0c             	add    $0xc,%esp
405f4e:	c2 08 00             	ret    $0x8
405f51:	55                   	push   %ebp
405f52:	8b ec                	mov    %esp,%ebp
405f54:	51                   	push   %ecx
405f55:	8b 4d 08             	mov    0x8(%ebp),%ecx
405f58:	53                   	push   %ebx
405f59:	56                   	push   %esi
405f5a:	57                   	push   %edi
405f5b:	33 ff                	xor    %edi,%edi
405f5d:	80 39 2d             	cmpb   $0x2d,(%ecx)
405f60:	c7 45 fc 01 00 00 00 	movl   $0x1,-0x4(%ebp)
405f67:	b0 0a                	mov    $0xa,%al
405f69:	b3 39                	mov    $0x39,%bl
405f6b:	75 05                	jne    0x405f72
405f6d:	41                   	inc    %ecx
405f6e:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
405f72:	80 39 30             	cmpb   $0x30,(%ecx)
405f75:	75 1c                	jne    0x405f93
405f77:	41                   	inc    %ecx
405f78:	8a 11                	mov    (%ecx),%dl
405f7a:	80 fa 30             	cmp    $0x30,%dl
405f7d:	7c 09                	jl     0x405f88
405f7f:	80 fa 37             	cmp    $0x37,%dl
405f82:	7f 04                	jg     0x405f88
405f84:	b0 08                	mov    $0x8,%al
405f86:	b3 37                	mov    $0x37,%bl
405f88:	80 e2 df             	and    $0xdf,%dl
405f8b:	80 fa 58             	cmp    $0x58,%dl
405f8e:	75 03                	jne    0x405f93
405f90:	b0 10                	mov    $0x10,%al
405f92:	41                   	inc    %ecx
405f93:	0f be 11             	movsbl (%ecx),%edx
405f96:	41                   	inc    %ecx
405f97:	83 fa 30             	cmp    $0x30,%edx
405f9a:	7c 0c                	jl     0x405fa8
405f9c:	0f be f3             	movsbl %bl,%esi
405f9f:	3b d6                	cmp    %esi,%edx
405fa1:	7f 05                	jg     0x405fa8
405fa3:	83 ea 30             	sub    $0x30,%edx
405fa6:	eb 19                	jmp    0x405fc1
405fa8:	3c 10                	cmp    $0x10,%al
405faa:	75 21                	jne    0x405fcd
405fac:	8b f2                	mov    %edx,%esi
405fae:	83 e6 df             	and    $0xffffffdf,%esi
405fb1:	83 fe 41             	cmp    $0x41,%esi
405fb4:	7c 17                	jl     0x405fcd
405fb6:	83 fe 46             	cmp    $0x46,%esi
405fb9:	7f 12                	jg     0x405fcd
405fbb:	83 e2 07             	and    $0x7,%edx
405fbe:	83 c2 09             	add    $0x9,%edx
405fc1:	0f be f0             	movsbl %al,%esi
405fc4:	0f af f7             	imul   %edi,%esi
405fc7:	03 f2                	add    %edx,%esi
405fc9:	8b fe                	mov    %esi,%edi
405fcb:	eb c6                	jmp    0x405f93
405fcd:	8b 45 fc             	mov    -0x4(%ebp),%eax
405fd0:	0f af c7             	imul   %edi,%eax
405fd3:	5f                   	pop    %edi
405fd4:	5e                   	pop    %esi
405fd5:	5b                   	pop    %ebx
405fd6:	c9                   	leave
405fd7:	c2 04 00             	ret    $0x4
405fda:	68 00 04 00 00       	push   $0x400
405fdf:	ff 74 24 0c          	push   0xc(%esp)
405fe3:	ff 74 24 0c          	push   0xc(%esp)
405fe7:	ff 15 a4 70 40 00    	call   *0x4070a4
405fed:	c2 08 00             	ret    $0x8
405ff0:	ff 25 98 70 40 00    	jmp    *0x407098
405ff6:	ff 25 e0 70 40 00    	jmp    *0x4070e0
405ffc:	55                   	push   %ebp
405ffd:	8b ec                	mov    %esp,%ebp
405fff:	83 ec 18             	sub    $0x18,%esp
406002:	8b 45 0c             	mov    0xc(%ebp),%eax
406005:	85 c0                	test   %eax,%eax
406007:	7d 11                	jge    0x40601a
406009:	8b 0d dc 2e 42 00    	mov    0x422edc,%ecx
40600f:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax
406016:	2b c8                	sub    %eax,%ecx
406018:	8b 01                	mov    (%ecx),%eax
40601a:	8b 0d 58 37 42 00    	mov    0x423758,%ecx
406020:	53                   	push   %ebx
406021:	56                   	push   %esi
406022:	57                   	push   %edi
406023:	8d 1c 08             	lea    (%eax,%ecx,1),%ebx
406026:	b8 a0 26 42 00       	mov    $0x4226a0,%eax
40602b:	39 45 08             	cmp    %eax,0x8(%ebp)
40602e:	8b f8                	mov    %eax,%edi
406030:	0f 82 eb 01 00 00    	jb     0x406221
406036:	8b 4d 08             	mov    0x8(%ebp),%ecx
406039:	2b c8                	sub    %eax,%ecx
40603b:	81 f9 00 08 00 00    	cmp    $0x800,%ecx
406041:	0f 83 da 01 00 00    	jae    0x406221
406047:	8b 7d 08             	mov    0x8(%ebp),%edi
40604a:	83 65 08 00          	andl   $0x0,0x8(%ebp)