406efc:	8d 79 02             	lea    0x2(%ecx),%edi
406eff:	66 8b 01             	mov    (%ecx),%ax
406f02:	83 c1 02             	add    $0x2,%ecx
406f05:	66 3b c3             	cmp    %bx,%ax
406f08:	75 f5                	jne    0x406eff
406f0a:	2b cf                	sub    %edi,%ecx
406f0c:	d1 f9                	sar    $1,%ecx
406f0e:	81 f9 ff 00 00 00    	cmp    $0xff,%ecx
406f14:	76 05                	jbe    0x406f1b
406f16:	6a 57                	push   $0x57
406f18:	58                   	pop    %eax
406f19:	eb 6c                	jmp    0x406f87
406f1b:	8b 5a 0c             	mov    0xc(%edx),%ebx
406f1e:	83 fe 04             	cmp    $0x4,%esi
406f21:	7e 23                	jle    0x406f46
406f23:	8b 7a 10             	mov    0x10(%edx),%edi
406f26:	6a 2a                	push   $0x2a
406f28:	58                   	pop    %eax
406f29:	66 39 07             	cmp    %ax,(%edi)
406f2c:	75 02                	jne    0x406f30
406f2e:	33 ff                	xor    %edi,%edi
406f30:	83 fe 05             	cmp    $0x5,%esi
406f33:	7e 13                	jle    0x406f48
406f35:	8b 4a 14             	mov    0x14(%edx),%ecx
406f38:	66 39 01             	cmp    %ax,(%ecx)
406f3b:	74 0b                	je     0x406f48
406f3d:	e8 34 cd ff ff       	call   0x403c76
406f42:	8b f0                	mov    %eax,%esi
406f44:	eb 05                	jmp    0x406f4b
406f46:	33 ff                	xor    %edi,%edi
406f48:	83 ce ff             	or     $0xffffffff,%esi
406f4b:	ff b5 f4 fb ff ff    	push   -0x40c(%ebp)
406f51:	ba 00 01 00 00       	mov    $0x100,%edx
406f56:	8d 8d f8 fd ff ff    	lea    -0x208(%ebp),%ecx
406f5c:	e8 ff b7 ff ff       	call   0x402760
406f61:	8b cb                	mov    %ebx,%ecx
406f63:	e8 0e cd ff ff       	call   0x403c76
406f68:	66 89 45 f8          	mov    %ax,-0x8(%ebp)
406f6c:	8d 85 f8 fb ff ff    	lea    -0x408(%ebp),%eax
406f72:	50                   	push   %eax
406f73:	56                   	push   %esi
406f74:	57                   	push   %edi
406f75:	ff 15 30 f0 40 00    	call   *0x40f030
406f7b:	eb 0a                	jmp    0x406f87
406f7d:	6a 05                	push   $0x5
406f7f:	59                   	pop    %ecx
406f80:	e8 da ba ff ff       	call   0x402a5f
406f85:	33 c0                	xor    %eax,%eax
406f87:	8b 4d fc             	mov    -0x4(%ebp),%ecx
406f8a:	5f                   	pop    %edi
406f8b:	5e                   	pop    %esi
406f8c:	33 cd                	xor    %ebp,%ecx
406f8e:	5b                   	pop    %ebx
406f8f:	e8 3c 1b 00 00       	call   0x408ad0
406f94:	c9                   	leave
406f95:	c3                   	ret
406f96:	8b ff                	mov    %edi,%edi
406f98:	55                   	push   %ebp
406f99:	8b ec                	mov    %esp,%ebp
406f9b:	81 ec dc 00 00 00    	sub    $0xdc,%esp
406fa1:	a1 04 a0 40 00       	mov    0x40a004,%eax
406fa6:	33 c5                	xor    %ebp,%eax
406fa8:	89 45 fc             	mov    %eax,-0x4(%ebp)
406fab:	53                   	push   %ebx
406fac:	56                   	push   %esi
406fad:	57                   	push   %edi
406fae:	6a 40                	push   $0x40
406fb0:	33 f6                	xor    %esi,%esi
406fb2:	8d 45 b8             	lea    -0x48(%ebp),%eax
406fb5:	56                   	push   %esi
406fb6:	50                   	push   %eax
406fb7:	e8 28 21 00 00       	call   0x4090e4
406fbc:	83 c4 0c             	add    $0xc,%esp
406fbf:	8d 85 78 ff ff ff    	lea    -0x88(%ebp),%eax
406fc5:	6a 40                	push   $0x40
406fc7:	56                   	push   %esi
406fc8:	50                   	push   %eax
406fc9:	e8 16 21 00 00       	call   0x4090e4
406fce:	83 c4 0c             	add    $0xc,%esp
406fd1:	8d 85 38 ff ff ff    	lea    -0xc8(%ebp),%eax
406fd7:	6a 40                	push   $0x40
406fd9:	56                   	push   %esi
406fda:	50                   	push   %eax
406fdb:	e8 04 21 00 00       	call   0x4090e4
406fe0:	83 c4 0c             	add    $0xc,%esp
406fe3:	89 b5 34 ff ff ff    	mov    %esi,-0xcc(%ebp)
406fe9:	8d 85 30 ff ff ff    	lea    -0xd0(%ebp),%eax
406fef:	56                   	push   %esi
406ff0:	50                   	push   %eax
406ff1:	8d 85 34 ff ff ff    	lea    -0xcc(%ebp),%eax
406ff7:	50                   	push   %eax
406ff8:	ff 15 60 f0 40 00    	call   *0x40f060
406ffe:	8b d8                	mov    %eax,%ebx
407000:	83 fb 7a             	cmp    $0x7a,%ebx
407003:	0f 85 c5 01 00 00    	jne    0x4071ce
407009:	ff b5 30 ff ff ff    	push   -0xd0(%ebp)
40700f:	ff 15 a4 f0 40 00    	call   *0x40f0a4
407015:	8b f8                	mov    %eax,%edi
407017:	89 bd 28 ff ff ff    	mov    %edi,-0xd8(%ebp)
40701d:	85 ff                	test   %edi,%edi
40701f:	0f 84 a9 01 00 00    	je     0x4071ce
407025:	57                   	push   %edi
407026:	8d 85 30 ff ff ff    	lea    -0xd0(%ebp),%eax
40702c:	50                   	push   %eax
40702d:	8d 85 34 ff ff ff    	lea    -0xcc(%ebp),%eax
407033:	50                   	push   %eax
407034:	ff 15 60 f0 40 00    	call   *0x40f060
40703a:	8b d8                	mov    %eax,%ebx
40703c:	85 db                	test   %ebx,%ebx
40703e:	0f 85 83 01 00 00    	jne    0x4071c7
407044:	ff b5 34 ff ff ff    	push   -0xcc(%ebp)
40704a:	68 88 04 00 00       	push   $0x488
40704f:	e8 3b b9 ff ff       	call   0x40298f
407054:	59                   	pop    %ecx
407055:	59                   	pop    %ecx
407056:	89 b5 2c ff ff ff    	mov    %esi,-0xd4(%ebp)
40705c:	39 b5 34 ff ff ff    	cmp    %esi,-0xcc(%ebp)
407062:	0f 86 5f 01 00 00    	jbe    0x4071c7
407068:	8d b7 04 06 00 00    	lea    0x604(%edi),%esi
40706e:	8b bd 2c ff ff ff    	mov    -0xd4(%ebp),%edi
407074:	6a 20                	push   $0x20
407076:	8d 85 38 ff ff ff    	lea    -0xc8(%ebp),%eax
40707c:	50                   	push   %eax
40707d:	68 54 04 00 00       	push   $0x454
407082:	6a 00                	push   $0x0
407084:	ff 15 20 f1 40 00    	call   *0x40f120
40708a:	85 c0                	test   %eax,%eax
40708c:	75 07                	jne    0x407095
40708e:	66 89 85 38 ff ff ff 	mov    %ax,-0xc8(%ebp)
407095:	6a 20                	push   $0x20
407097:	8d 85 78 ff ff ff    	lea    -0x88(%ebp),%eax
40709d:	50                   	push   %eax
40709e:	68 6f 04 00 00       	push   $0x46f
4070a3:	6a 00                	push   $0x0
4070a5:	ff 15 20 f1 40 00    	call   *0x40f120
4070ab:	85 c0                	test   %eax,%eax
4070ad:	75 07                	jne    0x4070b6
4070af:	66 89 85 78 ff ff ff 	mov    %ax,-0x88(%ebp)
4070b6:	6a 20                	push   $0x20
4070b8:	8d 45 b8             	lea    -0x48(%ebp),%eax
4070bb:	50                   	push   %eax
4070bc:	68 67 04 00 00       	push   $0x467
4070c1:	6a 00                	push   $0x0
4070c3:	ff 15 20 f1 40 00    	call   *0x40f120
4070c9:	85 c0                	test   %eax,%eax
4070cb:	75 04                	jne    0x4070d1
4070cd:	66 89 45 b8          	mov    %ax,-0x48(%ebp)
4070d1:	8d 86 fc f9 ff ff    	lea    -0x604(%esi),%eax
4070d7:	50                   	push   %eax
4070d8:	8d 85 38 ff ff ff    	lea    -0xc8(%ebp),%eax
4070de:	50                   	push   %eax
4070df:	8d 86 00 fc ff ff    	lea    -0x400(%esi),%eax
4070e5:	50                   	push   %eax
4070e6:	8d 85 78 ff ff ff    	lea    -0x88(%ebp),%eax
4070ec:	50                   	push   %eax
4070ed:	0f b7 06             	movzwl (%esi),%eax
4070f0:	50                   	push   %eax
4070f1:	8d 86 00 fe ff ff    	lea    -0x200(%esi),%eax
4070f7:	50                   	push   %eax
4070f8:	8d 45 b8             	lea    -0x48(%ebp),%eax
4070fb:	50                   	push   %eax
4070fc:	68 30 1d 40 00       	push   $0x401d30
407101:	e8 b4 b7 ff ff       	call   0x4028ba
407106:	83 c4 20             	add    $0x20,%esp
407109:	83 be fc fb ff ff ff 	cmpl   $0xffffffff,-0x404(%esi)
407110:	6a 20                	push   $0x20
407112:	75 4c                	jne    0x407160
407114:	8d 85 78 ff ff ff    	lea    -0x88(%ebp),%eax
40711a:	50                   	push   %eax
40711b:	68 6c 04 00 00       	push   $0x46c
407120:	6a 00                	push   $0x0
407122:	ff 15 20 f1 40 00    	call   *0x40f120
407128:	85 c0                	test   %eax,%eax
40712a:	75 07                	jne    0x407133
40712c:	66 89 85 78 ff ff ff 	mov    %ax,-0x88(%ebp)
407133:	6a 20                	push   $0x20
407135:	8d 45 b8             	lea    -0x48(%ebp),%eax
407138:	50                   	push   %eax
407139:	68 6b 04 00 00       	push   $0x46b
40713e:	6a 00                	push   $0x0
407140:	ff 15 20 f1 40 00    	call   *0x40f120
407146:	85 c0                	test   %eax,%eax
407148:	75 04                	jne    0x40714e
40714a:	66 89 45 b8          	mov    %ax,-0x48(%ebp)
40714e:	8d 85 78 ff ff ff    	lea    -0x88(%ebp),%eax
407154:	50                   	push   %eax
407155:	8d 45 b8             	lea    -0x48(%ebp),%eax
407158:	50                   	push   %eax
407159:	68 ac 1d 40 00       	push   $0x401dac
40715e:	eb 28                	jmp    0x407188
407160:	8d 45 b8             	lea    -0x48(%ebp),%eax
407163:	50                   	push   %eax
407164:	68 6b 04 00 00       	push   $0x46b
407169:	6a 00                	push   $0x0
40716b:	ff 15 20 f1 40 00    	call   *0x40f120
407171:	85 c0                	test   %eax,%eax
407173:	75 04                	jne    0x407179
407175:	66 89 45 b8          	mov    %ax,-0x48(%ebp)
407179:	ff b6 fc fb ff ff    	push   -0x404(%esi)
40717f:	8d 45 b8             	lea    -0x48(%ebp),%eax
407182:	50                   	push   %eax
407183:	68 e0 1d 40 00       	push   $0x401de0
407188:	e8 2d b7 ff ff       	call   0x4028ba
40718d:	83 c4 0c             	add    $0xc,%esp
407190:	ff 76 08             	push   0x8(%esi)
407193:	ff 76 04             	push   0x4(%esi)
407196:	e8 f0 be ff ff       	call   0x40308b
40719b:	8d 56 0c             	lea    0xc(%esi),%edx
40719e:	e8 61 c4 ff ff       	call   0x403604
4071a3:	68 c4 13 40 00       	push   $0x4013c4
4071a8:	e8 0d b7 ff ff       	call   0x4028ba
4071ad:	47                   	inc    %edi
4071ae:	81 c6 48 06 00 00    	add    $0x648,%esi
4071b4:	59                   	pop    %ecx
4071b5:	3b bd 34 ff ff ff    	cmp    -0xcc(%ebp),%edi
4071bb:	0f 82 b3 fe ff ff    	jb     0x407074
4071c1:	8b bd 28 ff ff ff    	mov    -0xd8(%ebp),%edi
4071c7:	57                   	push   %edi
4071c8:	ff 15 b0 f0 40 00    	call   *0x40f0b0
4071ce:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4071d1:	8b c3                	mov    %ebx,%eax
4071d3:	5f                   	pop    %edi
4071d4:	5e                   	pop    %esi
4071d5:	33 cd                	xor    %ebp,%ecx
4071d7:	5b                   	pop    %ebx
4071d8:	e8 f3 18 00 00       	call   0x408ad0
4071dd:	c9                   	leave
4071de:	c3                   	ret
4071df:	8b ff                	mov    %edi,%edi
4071e1:	55                   	push   %ebp
4071e2:	8b ec                	mov    %esp,%ebp
4071e4:	81 ec 0c 04 00 00    	sub    $0x40c,%esp
4071ea:	a1 04 a0 40 00       	mov    0x40a004,%eax
4071ef:	33 c5                	xor    %ebp,%eax
4071f1:	89 45 fc             	mov    %eax,-0x4(%ebp)
4071f4:	53                   	push   %ebx
4071f5:	56                   	push   %esi
4071f6:	8b f1                	mov    %ecx,%esi
4071f8:	57                   	push   %edi
4071f9:	8d 46 fc             	lea    -0x4(%esi),%eax
4071fc:	83 f8 02             	cmp    $0x2,%eax
4071ff:	0f 87 8e 00 00 00    	ja     0x407293
407205:	8b 42 08             	mov    0x8(%edx),%eax
407208:	33 db                	xor    %ebx,%ebx
40720a:	8b c8                	mov    %eax,%ecx
40720c:	89 85 f4 fb ff ff    	mov    %eax,-0x40c(%ebp)
407212:	8d 79 02             	lea    0x2(%ecx),%edi
407215:	66 8b 01             	mov    (%ecx),%ax
407218:	83 c1 02             	add    $0x2,%ecx
40721b:	66 3b c3             	cmp    %bx,%ax
40721e:	75 f5                	jne    0x407215
407220:	2b cf                	sub    %edi,%ecx
407222:	d1 f9                	sar    $1,%ecx
407224:	81 f9 ff 00 00 00    	cmp    $0xff,%ecx
40722a:	76 05                	jbe    0x407231
40722c:	6a 57                	push   $0x57
40722e:	58                   	pop    %eax
40722f:	eb 6c                	jmp    0x40729d
407231:	8b 5a 0c             	mov    0xc(%edx),%ebx
407234:	83 fe 04             	cmp    $0x4,%esi
407237:	7e 23                	jle    0x40725c
407239:	8b 7a 10             	mov    0x10(%edx),%edi
40723c:	6a 2a                	push   $0x2a
40723e:	58                   	pop    %eax
40723f:	66 39 07             	cmp    %ax,(%edi)
407242:	75 02                	jne    0x407246
407244:	33 ff                	xor    %edi,%edi
407246:	83 fe 05             	cmp    $0x5,%esi
407249:	7e 13                	jle    0x40725e
40724b:	8b 4a 14             	mov    0x14(%edx),%ecx
40724e:	66 39 01             	cmp    %ax,(%ecx)
407251:	74 0b                	je     0x40725e
407253:	e8 1e ca ff ff       	call   0x403c76
407258:	8b f0                	mov    %eax,%esi
40725a:	eb 05                	jmp    0x407261
40725c:	33 ff                	xor    %edi,%edi
40725e:	83 ce ff             	or     $0xffffffff,%esi
407261:	ff b5 f4 fb ff ff    	push   -0x40c(%ebp)
407267:	ba 00 01 00 00       	mov    $0x100,%edx
40726c:	8d 8d f8 fd ff ff    	lea    -0x208(%ebp),%ecx
407272:	e8 e9 b4 ff ff       	call   0x402760
407277:	8b cb                	mov    %ebx,%ecx
407279:	e8 f8 c9 ff ff       	call   0x403c76
40727e:	66 89 45 f8          	mov    %ax,-0x8(%ebp)
407282:	8d 85 f8 fb ff ff    	lea    -0x408(%ebp),%eax
407288:	50                   	push   %eax
407289:	56                   	push   %esi
40728a:	57                   	push   %edi
40728b:	ff 15 84 f0 40 00    	call   *0x40f084
407291:	eb 0a                	jmp    0x40729d
407293:	6a 04                	push   $0x4
407295:	59                   	pop    %ecx
407296:	e8 c4 b7 ff ff       	call   0x402a5f
40729b:	33 c0                	xor    %eax,%eax
40729d:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4072a0:	5f                   	pop    %edi
4072a1:	5e                   	pop    %esi
4072a2:	33 cd                	xor    %ebp,%ecx
4072a4:	5b                   	pop    %ebx
4072a5:	e8 26 18 00 00       	call   0x408ad0
4072aa:	c9                   	leave
4072ab:	c3                   	ret
4072ac:	8b ff                	mov    %edi,%edi
4072ae:	55                   	push   %ebp
4072af:	8b ec                	mov    %esp,%ebp
4072b1:	81 ec 5c 04 00 00    	sub    $0x45c,%esp
4072b7:	a1 04 a0 40 00       	mov    0x40a004,%eax
4072bc:	33 c5                	xor    %ebp,%eax
4072be:	89 45 fc             	mov    %eax,-0x4(%ebp)
4072c1:	53                   	push   %ebx
4072c2:	56                   	push   %esi
4072c3:	57                   	push   %edi
4072c4:	8b fa                	mov    %edx,%edi
4072c6:	33 f6                	xor    %esi,%esi
4072c8:	8b d1                	mov    %ecx,%edx
4072ca:	89 b5 e4 fb ff ff    	mov    %esi,-0x41c(%ebp)
4072d0:	89 95 e0 fb ff ff    	mov    %edx,-0x420(%ebp)
4072d6:	89 b5 e8 fb ff ff    	mov    %esi,-0x418(%ebp)
4072dc:	83 fa 04             	cmp    $0x4,%edx
4072df:	74 12                	je     0x4072f3
4072e1:	83 fa 10             	cmp    $0x10,%edx
4072e4:	7d 0d                	jge    0x4072f3
4072e6:	6a 03                	push   $0x3
4072e8:	59                   	pop    %ecx
4072e9:	e8 71 b7 ff ff       	call   0x402a5f
4072ee:	e9 fa 00 00 00       	jmp    0x4073ed
4072f3:	8b 47 08             	mov    0x8(%edi),%eax
4072f6:	8b c8                	mov    %eax,%ecx
4072f8:	89 85 dc fb ff ff    	mov    %eax,-0x424(%ebp)
4072fe:	8d 59 02             	lea    0x2(%ecx),%ebx
407301:	66 8b 01             	mov    (%ecx),%ax
407304:	83 c1 02             	add    $0x2,%ecx
407307:	66 3b c6             	cmp    %si,%ax
40730a:	75 f5                	jne    0x407301
40730c:	2b cb                	sub    %ebx,%ecx
40730e:	d1 f9                	sar    $1,%ecx
407310:	81 f9 ff 00 00 00    	cmp    $0xff,%ecx
407316:	76 08                	jbe    0x407320
407318:	6a 57                	push   $0x57
40731a:	58                   	pop    %eax
40731b:	e9 cf 00 00 00       	jmp    0x4073ef
407320:	8b 47 0c             	mov    0xc(%edi),%eax
407323:	89 85 d8 fb ff ff    	mov    %eax,-0x428(%ebp)
407329:	83 fa 04             	cmp    $0x4,%edx
40732c:	7e 65                	jle    0x407393
40732e:	8b 47 10             	mov    0x10(%edi),%eax
407331:	6a 2a                	push   $0x2a
407333:	5b                   	pop    %ebx
407334:	89 85 ec fb ff ff    	mov    %eax,-0x414(%ebp)
40733a:	66 39 18             	cmp    %bx,(%eax)