402d62:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
402d66:	74 08                	je     0x402d70
402d68:	ff 75 f8             	push   -0x8(%ebp)
402d6b:	e8 7f 27 04 00       	call   0x4454ef
402d70:	8b c6                	mov    %esi,%eax
402d72:	5e                   	pop    %esi
402d73:	8b e5                	mov    %ebp,%esp
402d75:	5d                   	pop    %ebp
402d76:	c2 0c 00             	ret    $0xc
402d79:	55                   	push   %ebp
402d7a:	8b ec                	mov    %esp,%ebp
402d7c:	53                   	push   %ebx
402d7d:	56                   	push   %esi
402d7e:	8b 75 0c             	mov    0xc(%ebp),%esi
402d81:	33 db                	xor    %ebx,%ebx
402d83:	57                   	push   %edi
402d84:	85 f6                	test   %esi,%esi
402d86:	74 45                	je     0x402dcd
402d88:	66 39 1e             	cmp    %bx,(%esi)
402d8b:	74 40                	je     0x402dcd
402d8d:	8b 7d 08             	mov    0x8(%ebp),%edi
402d90:	85 ff                	test   %edi,%edi
402d92:	74 35                	je     0x402dc9
402d94:	66 39 1f             	cmp    %bx,(%edi)
402d97:	74 30                	je     0x402dc9
402d99:	56                   	push   %esi
402d9a:	e8 c9 07 00 00       	call   0x403568
402d9f:	85 c0                	test   %eax,%eax
402da1:	75 26                	jne    0x402dc9
402da3:	53                   	push   %ebx
402da4:	57                   	push   %edi
402da5:	ff 75 10             	push   0x10(%ebp)
402da8:	e8 f8 f3 ff ff       	call   0x4021a5
402dad:	85 c0                	test   %eax,%eax
402daf:	78 28                	js     0x402dd9
402db1:	ff 75 10             	push   0x10(%ebp)
402db4:	e8 75 fd ff ff       	call   0x402b2e
402db9:	85 c0                	test   %eax,%eax
402dbb:	78 1c                	js     0x402dd9
402dbd:	53                   	push   %ebx
402dbe:	56                   	push   %esi
402dbf:	ff 75 10             	push   0x10(%ebp)
402dc2:	e8 2b f1 ff ff       	call   0x401ef2
402dc7:	eb 10                	jmp    0x402dd9
402dc9:	53                   	push   %ebx
402dca:	56                   	push   %esi
402dcb:	eb 04                	jmp    0x402dd1
402dcd:	53                   	push   %ebx
402dce:	ff 75 08             	push   0x8(%ebp)
402dd1:	ff 75 10             	push   0x10(%ebp)
402dd4:	e8 cc f3 ff ff       	call   0x4021a5
402dd9:	5f                   	pop    %edi
402dda:	5e                   	pop    %esi
402ddb:	5b                   	pop    %ebx
402ddc:	5d                   	pop    %ebp
402ddd:	c2 0c 00             	ret    $0xc
402de0:	55                   	push   %ebp
402de1:	8b ec                	mov    %esp,%ebp
402de3:	81 ec 38 02 00 00    	sub    $0x238,%esp
402de9:	a1 08 a0 46 00       	mov    0x46a008,%eax
402dee:	33 c5                	xor    %ebp,%eax
402df0:	89 45 fc             	mov    %eax,-0x4(%ebp)
402df3:	8b 45 10             	mov    0x10(%ebp),%eax
402df6:	53                   	push   %ebx
402df7:	8b 5d 0c             	mov    0xc(%ebp),%ebx
402dfa:	89 85 d4 fd ff ff    	mov    %eax,-0x22c(%ebp)
402e00:	8b 45 14             	mov    0x14(%ebp),%eax
402e03:	56                   	push   %esi
402e04:	8b 75 08             	mov    0x8(%ebp),%esi
402e07:	89 85 d0 fd ff ff    	mov    %eax,-0x230(%ebp)
402e0d:	8b 45 18             	mov    0x18(%ebp),%eax
402e10:	57                   	push   %edi
402e11:	89 85 cc fd ff ff    	mov    %eax,-0x234(%ebp)
402e17:	33 ff                	xor    %edi,%edi
402e19:	8b 45 1c             	mov    0x1c(%ebp),%eax
402e1c:	68 08 02 00 00       	push   $0x208
402e21:	89 85 c8 fd ff ff    	mov    %eax,-0x238(%ebp)
402e27:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
402e2d:	57                   	push   %edi
402e2e:	50                   	push   %eax
402e2f:	e8 3c c8 02 00       	call   0x42f670
402e34:	89 bd e0 fd ff ff    	mov    %edi,-0x220(%ebp)
402e3a:	33 c0                	xor    %eax,%eax
402e3c:	89 bd d8 fd ff ff    	mov    %edi,-0x228(%ebp)
402e42:	83 c4 0c             	add    $0xc,%esp
402e45:	8d bd e4 fd ff ff    	lea    -0x21c(%ebp),%edi
402e4b:	ab                   	stos   %eax,%es:(%edi)
402e4c:	ab                   	stos   %eax,%es:(%edi)
402e4d:	ab                   	stos   %eax,%es:(%edi)
402e4e:	ab                   	stos   %eax,%es:(%edi)
402e4f:	33 c0                	xor    %eax,%eax
402e51:	83 cf ff             	or     $0xffffffff,%edi
402e54:	89 85 dc fd ff ff    	mov    %eax,-0x224(%ebp)
402e5a:	85 f6                	test   %esi,%esi
402e5c:	74 10                	je     0x402e6e
402e5e:	66 39 06             	cmp    %ax,(%esi)
402e61:	74 0b                	je     0x402e6e
402e63:	8d 85 e0 fd ff ff    	lea    -0x220(%ebp),%eax
402e69:	50                   	push   %eax
402e6a:	53                   	push   %ebx
402e6b:	56                   	push   %esi
402e6c:	eb 58                	jmp    0x402ec6
402e6e:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
402e74:	50                   	push   %eax
402e75:	68 04 01 00 00       	push   $0x104
402e7a:	ff 15 18 b1 44 00    	call   *0x44b118
402e80:	85 c0                	test   %eax,%eax
402e82:	75 33                	jne    0x402eb7
402e84:	ff 15 e8 b0 44 00    	call   *0x44b0e8
402e8a:	0f b7 f0             	movzwl %ax,%esi
402e8d:	81 ce 00 00 07 80    	or     $0x80070000,%esi
402e93:	85 c0                	test   %eax,%eax
402e95:	0f 4e f0             	cmovle %eax,%esi
402e98:	b8 05 40 00 80       	mov    $0x80004005,%eax
402e9d:	85 f6                	test   %esi,%esi
402e9f:	0f 49 f0             	cmovns %eax,%esi
402ea2:	56                   	push   %esi
402ea3:	68 83 02 00 00       	push   $0x283
402ea8:	68 64 b7 44 00       	push   $0x44b764
402ead:	e8 21 09 00 00       	call   0x4037d3
402eb2:	e9 7b 01 00 00       	jmp    0x403032
402eb7:	8d 85 e0 fd ff ff    	lea    -0x220(%ebp),%eax
402ebd:	50                   	push   %eax
402ebe:	53                   	push   %ebx
402ebf:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
402ec5:	50                   	push   %eax
402ec6:	e8 ae fe ff ff       	call   0x402d79
402ecb:	8b f0                	mov    %eax,%esi
402ecd:	85 f6                	test   %esi,%esi
402ecf:	0f 88 5d 01 00 00    	js     0x403032
402ed5:	8d 85 d8 fd ff ff    	lea    -0x228(%ebp),%eax
402edb:	50                   	push   %eax
402edc:	ff b5 e0 fd ff ff    	push   -0x220(%ebp)
402ee2:	e8 5f 05 00 00       	call   0x403446
402ee7:	85 c0                	test   %eax,%eax
402ee9:	75 16                	jne    0x402f01
402eeb:	50                   	push   %eax
402eec:	ff b5 d8 fd ff ff    	push   -0x228(%ebp)
402ef2:	e8 1c 11 00 00       	call   0x404013
402ef7:	8b f0                	mov    %eax,%esi
402ef9:	85 f6                	test   %esi,%esi
402efb:	0f 88 31 01 00 00    	js     0x403032
402f01:	8b 85 d4 fd ff ff    	mov    -0x22c(%ebp),%eax
402f07:	bb 24 b5 44 00       	mov    $0x44b524,%ebx
402f0c:	85 c0                	test   %eax,%eax
402f0e:	0f 45 d8             	cmovne %eax,%ebx
402f11:	83 a5 d4 fd ff ff 00 	andl   $0x0,-0x22c(%ebp)
402f18:	8d 85 e4 fd ff ff    	lea    -0x21c(%ebp),%eax
402f1e:	50                   	push   %eax
402f1f:	ff 15 0c b1 44 00    	call   *0x44b10c
402f25:	8b 8d d0 fd ff ff    	mov    -0x230(%ebp),%ecx
402f2b:	ba 94 b7 44 00       	mov    $0x44b794,%edx
402f30:	51                   	push   %ecx
402f31:	6a 2e                	push   $0x2e
402f33:	5e                   	pop    %esi
402f34:	66 3b 31             	cmp    (%ecx),%si
402f37:	b8 24 b5 44 00       	mov    $0x44b524,%eax
402f3c:	0f 45 c2             	cmovne %edx,%eax
402f3f:	50                   	push   %eax
402f40:	0f b7 85 f0 fd ff ff 	movzwl -0x210(%ebp),%eax
402f47:	53                   	push   %ebx
402f48:	50                   	push   %eax
402f49:	0f b7 85 ee fd ff ff 	movzwl -0x212(%ebp),%eax
402f50:	50                   	push   %eax
402f51:	0f b7 85 ec fd ff ff 	movzwl -0x214(%ebp),%eax
402f58:	50                   	push   %eax
402f59:	0f b7 85 ea fd ff ff 	movzwl -0x216(%ebp),%eax
402f60:	50                   	push   %eax
402f61:	0f b7 85 e6 fd ff ff 	movzwl -0x21a(%ebp),%eax
402f68:	50                   	push   %eax
402f69:	0f b7 85 e4 fd ff ff 	movzwl -0x21c(%ebp),%eax
402f70:	50                   	push   %eax
402f71:	ff b5 e0 fd ff ff    	push   -0x220(%ebp)
402f77:	8d 85 dc fd ff ff    	lea    -0x224(%ebp),%eax
402f7d:	68 98 b7 44 00       	push   $0x44b798
402f82:	50                   	push   %eax
402f83:	e8 98 ef ff ff       	call   0x401f20
402f88:	8b f0                	mov    %eax,%esi
402f8a:	83 c4 30             	add    $0x30,%esp
402f8d:	85 f6                	test   %esi,%esi
402f8f:	0f 88 91 00 00 00    	js     0x403026
402f95:	33 c0                	xor    %eax,%eax
402f97:	50                   	push   %eax
402f98:	68 80 00 00 00       	push   $0x80
402f9d:	6a 01                	push   $0x1
402f9f:	50                   	push   %eax
402fa0:	6a 01                	push   $0x1
402fa2:	68 00 00 00 40       	push   $0x40000000
402fa7:	ff b5 dc fd ff ff    	push   -0x224(%ebp)
402fad:	ff 15 d8 b0 44 00    	call   *0x44b0d8
402fb3:	8b f8                	mov    %eax,%edi
402fb5:	83 ff ff             	cmp    $0xffffffff,%edi
402fb8:	75 3f                	jne    0x402ff9
402fba:	ff 15 e8 b0 44 00    	call   *0x44b0e8
402fc0:	83 f8 50             	cmp    $0x50,%eax
402fc3:	74 05                	je     0x402fca
402fc5:	83 f8 05             	cmp    $0x5,%eax
402fc8:	75 0f                	jne    0x402fd9
402fca:	6a 64                	push   $0x64
402fcc:	ff 15 08 b1 44 00    	call   *0x44b108
402fd2:	33 c9                	xor    %ecx,%ecx
402fd4:	33 c0                	xor    %eax,%eax
402fd6:	41                   	inc    %ecx
402fd7:	eb 06                	jmp    0x402fdf
402fd9:	8b 8d d4 fd ff ff    	mov    -0x22c(%ebp),%ecx
402fdf:	0f b7 f0             	movzwl %ax,%esi
402fe2:	81 ce 00 00 07 80    	or     $0x80070000,%esi
402fe8:	85 c0                	test   %eax,%eax
402fea:	0f 4e f0             	cmovle %eax,%esi
402fed:	85 f6                	test   %esi,%esi
402fef:	78 41                	js     0x403032
402ff1:	85 c9                	test   %ecx,%ecx
402ff3:	0f 85 18 ff ff ff    	jne    0x402f11
402ff9:	8b 85 cc fd ff ff    	mov    -0x234(%ebp),%eax
402fff:	85 c0                	test   %eax,%eax
403001:	74 14                	je     0x403017
403003:	6a 00                	push   $0x0
403005:	ff b5 dc fd ff ff    	push   -0x224(%ebp)
40300b:	50                   	push   %eax
40300c:	e8 94 f1 ff ff       	call   0x4021a5
403011:	8b f0                	mov    %eax,%esi
403013:	85 f6                	test   %esi,%esi
403015:	78 0f                	js     0x403026
403017:	8b 85 c8 fd ff ff    	mov    -0x238(%ebp),%eax
40301d:	85 c0                	test   %eax,%eax
40301f:	74 05                	je     0x403026
403021:	89 38                	mov    %edi,(%eax)
403023:	83 cf ff             	or     $0xffffffff,%edi
403026:	83 ff ff             	cmp    $0xffffffff,%edi
403029:	74 07                	je     0x403032
40302b:	57                   	push   %edi
40302c:	ff 15 d4 b0 44 00    	call   *0x44b0d4
403032:	83 bd dc fd ff ff 00 	cmpl   $0x0,-0x224(%ebp)
403039:	74 0b                	je     0x403046
40303b:	ff b5 dc fd ff ff    	push   -0x224(%ebp)
403041:	e8 a9 24 04 00       	call   0x4454ef
403046:	83 bd d8 fd ff ff 00 	cmpl   $0x0,-0x228(%ebp)
40304d:	74 0b                	je     0x40305a
40304f:	ff b5 d8 fd ff ff    	push   -0x228(%ebp)
403055:	e8 95 24 04 00       	call   0x4454ef
40305a:	83 bd e0 fd ff ff 00 	cmpl   $0x0,-0x220(%ebp)
403061:	74 0b                	je     0x40306e
403063:	ff b5 e0 fd ff ff    	push   -0x220(%ebp)
403069:	e8 81 24 04 00       	call   0x4454ef
40306e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
403071:	8b c6                	mov    %esi,%eax
403073:	5f                   	pop    %edi
403074:	5e                   	pop    %esi
403075:	33 cd                	xor    %ebp,%ecx
403077:	5b                   	pop    %ebx
403078:	e8 b9 ad 02 00       	call   0x42de36
40307d:	8b e5                	mov    %ebp,%esp
40307f:	5d                   	pop    %ebp
403080:	c2 18 00             	ret    $0x18
403083:	55                   	push   %ebp
403084:	8b ec                	mov    %esp,%ebp
403086:	83 ec 0c             	sub    $0xc,%esp
403089:	53                   	push   %ebx
40308a:	8b 5d 0c             	mov    0xc(%ebp),%ebx
40308d:	33 c0                	xor    %eax,%eax
40308f:	21 45 f8             	and    %eax,-0x8(%ebp)
403092:	33 c9                	xor    %ecx,%ecx
403094:	f6 45 10 01          	testb  $0x1,0x10(%ebp)
403098:	56                   	push   %esi
403099:	57                   	push   %edi
40309a:	6a 40                	push   $0x40
40309c:	89 45 fc             	mov    %eax,-0x4(%ebp)
40309f:	89 4d f4             	mov    %ecx,-0xc(%ebp)
4030a2:	5f                   	pop    %edi
4030a3:	0f 84 07 01 00 00    	je     0x4031b0
4030a9:	57                   	push   %edi
4030aa:	8d 45 fc             	lea    -0x4(%ebp),%eax
4030ad:	89 7d f4             	mov    %edi,-0xc(%ebp)
4030b0:	50                   	push   %eax
4030b1:	e8 28 ee ff ff       	call   0x401ede
4030b6:	8b f0                	mov    %eax,%esi
4030b8:	85 f6                	test   %esi,%esi
4030ba:	0f 88 0a 02 00 00    	js     0x4032ca
4030c0:	ff 75 f4             	push   -0xc(%ebp)
4030c3:	ff 75 fc             	push   -0x4(%ebp)
4030c6:	53                   	push   %ebx
4030c7:	ff 15 14 b1 44 00    	call   *0x44b114
4030cd:	85 c0                	test   %eax,%eax
4030cf:	75 33                	jne    0x403104
4030d1:	ff 15 e8 b0 44 00    	call   *0x44b0e8
4030d7:	0f b7 f0             	movzwl %ax,%esi
4030da:	81 ce 00 00 07 80    	or     $0x80070000,%esi
4030e0:	85 c0                	test   %eax,%eax
4030e2:	0f 4e f0             	cmovle %eax,%esi
4030e5:	b8 05 40 00 80       	mov    $0x80004005,%eax
4030ea:	85 f6                	test   %esi,%esi
4030ec:	0f 49 f0             	cmovns %eax,%esi
4030ef:	56                   	push   %esi
4030f0:	68 08 01 00 00       	push   $0x108
4030f5:	68 64 b7 44 00       	push   $0x44b764
4030fa:	e8 d4 06 00 00       	call   0x4037d3
4030ff:	e9 c6 01 00 00       	jmp    0x4032ca
403104:	8b 4d f4             	mov    -0xc(%ebp),%ecx
403107:	3b c8                	cmp    %eax,%ecx
403109:	73 64                	jae    0x40316f
40310b:	50                   	push   %eax
40310c:	89 45 f4             	mov    %eax,-0xc(%ebp)
40310f:	8d 45 fc             	lea    -0x4(%ebp),%eax
403112:	50                   	push   %eax
403113:	e8 c6 ed ff ff       	call   0x401ede
403118:	8b f0                	mov    %eax,%esi
40311a:	85 f6                	test   %esi,%esi
40311c:	0f 88 a8 01 00 00    	js     0x4032ca
403122:	ff 75 f4             	push   -0xc(%ebp)
403125:	ff 75 fc             	push   -0x4(%ebp)
403128:	53                   	push   %ebx
403129:	ff 15 14 b1 44 00    	call   *0x44b114
40312f:	85 c0                	test   %eax,%eax
403131:	75 26                	jne    0x403159
403133:	ff 15 e8 b0 44 00    	call   *0x44b0e8
403139:	0f b7 f0             	movzwl %ax,%esi
40313c:	81 ce 00 00 07 80    	or     $0x80070000,%esi
403142:	85 c0                	test   %eax,%eax
403144:	0f 4e f0             	cmovle %eax,%esi
403147:	b8 05 40 00 80       	mov    $0x80004005,%eax
40314c:	85 f6                	test   %esi,%esi
40314e:	0f 49 f0             	cmovns %eax,%esi
403151:	56                   	push   %esi
403152:	68 13 01 00 00       	push   $0x113
403157:	eb 9c                	jmp    0x4030f5
403159:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40315c:	3b c8                	cmp    %eax,%ecx
40315e:	73 0f                	jae    0x40316f
403160:	b8 7a 00 07 80       	mov    $0x8007007a,%eax
403165:	50                   	push   %eax
403166:	8b f0                	mov    %eax,%esi
403168:	68 18 01 00 00       	push   $0x118
40316d:	eb 86                	jmp    0x4030f5
40316f:	3d 04 01 00 00       	cmp    $0x104,%eax
403174:	76 37                	jbe    0x4031ad
403176:	8d 45 fc             	lea    -0x4(%ebp),%eax
403179:	50                   	push   %eax
40317a:	e8 14 04 00 00       	call   0x403593
40317f:	8b f0                	mov    %eax,%esi
403181:	33 c0                	xor    %eax,%eax
403183:	81 fe 57 00 07 80    	cmp    $0x80070057,%esi
403189:	0f 44 f0             	cmove  %eax,%esi
40318c:	85 f6                	test   %esi,%esi
40318e:	0f 88 36 01 00 00    	js     0x4032ca
403194:	8d 45 f4             	lea    -0xc(%ebp),%eax
403197:	50                   	push   %eax
403198:	ff 75 fc             	push   -0x4(%ebp)
40319b:	e8 bd f5 ff ff       	call   0x40275d
4031a0:	8b f0                	mov    %eax,%esi
4031a2:	85 f6                	test   %esi,%esi