4051af:	8b 45 10             	mov    0x10(%ebp),%eax
4051b2:	8b f8                	mov    %eax,%edi
4051b4:	81 e7 ff 01 00 00    	and    $0x1ff,%edi
4051ba:	2b c7                	sub    %edi,%eax
4051bc:	01 45 0c             	add    %eax,0xc(%ebp)
4051bf:	85 ff                	test   %edi,%edi
4051c1:	76 14                	jbe    0x4051d7
4051c3:	57                   	push   %edi
4051c4:	ff 75 0c             	push   0xc(%ebp)
4051c7:	8d 84 1e 48 09 00 00 	lea    0x948(%esi,%ebx,1),%eax
4051ce:	50                   	push   %eax
4051cf:	e8 9c 6a 01 00       	call   0x41bc70
4051d4:	83 c4 0c             	add    $0xc,%esp
4051d7:	03 f7                	add    %edi,%esi
4051d9:	5f                   	pop    %edi
4051da:	89 b3 48 0b 00 00    	mov    %esi,0xb48(%ebx)
4051e0:	5e                   	pop    %esi
4051e1:	5b                   	pop    %ebx
4051e2:	c9                   	leave
4051e3:	c2 0c 00             	ret    $0xc
4051e6:	55                   	push   %ebp
4051e7:	8b ec                	mov    %esp,%ebp
4051e9:	81 ec 04 01 00 00    	sub    $0x104,%esp
4051ef:	53                   	push   %ebx
4051f0:	56                   	push   %esi
4051f1:	8d 85 fc fe ff ff    	lea    -0x104(%ebp),%eax
4051f7:	57                   	push   %edi
4051f8:	8b 7d 08             	mov    0x8(%ebp),%edi
4051fb:	89 45 fc             	mov    %eax,-0x4(%ebp)
4051fe:	8d 87 48 09 00 00    	lea    0x948(%edi),%eax
405204:	33 db                	xor    %ebx,%ebx
405206:	8b f7                	mov    %edi,%esi
405208:	89 45 08             	mov    %eax,0x8(%ebp)
40520b:	8b 87 48 0b 00 00    	mov    0xb48(%edi),%eax
405211:	3b c3                	cmp    %ebx,%eax
405213:	76 13                	jbe    0x405228
405215:	2b c3                	sub    %ebx,%eax
405217:	83 f8 40             	cmp    $0x40,%eax
40521a:	76 03                	jbe    0x40521f
40521c:	6a 40                	push   $0x40
40521e:	58                   	pop    %eax
40521f:	50                   	push   %eax
405220:	ff 75 08             	push   0x8(%ebp)
405223:	e8 0c fc ff ff       	call   0x404e34
405228:	ff 75 fc             	push   -0x4(%ebp)
40522b:	e8 c3 fc ff ff       	call   0x404ef3
405230:	83 45 08 40          	addl   $0x40,0x8(%ebp)
405234:	83 45 fc 20          	addl   $0x20,-0x4(%ebp)
405238:	83 c3 40             	add    $0x40,%ebx
40523b:	81 c6 08 01 00 00    	add    $0x108,%esi
405241:	81 fb 00 02 00 00    	cmp    $0x200,%ebx
405247:	72 c2                	jb     0x40520b
405249:	6a 08                	push   $0x8
40524b:	8d b7 40 08 00 00    	lea    0x840(%edi),%esi
405251:	8d bd fc fe ff ff    	lea    -0x104(%ebp),%edi
405257:	5b                   	pop    %ebx
405258:	6a 20                	push   $0x20
40525a:	57                   	push   %edi
40525b:	e8 d4 fb ff ff       	call   0x404e34
405260:	83 c7 20             	add    $0x20,%edi
405263:	4b                   	dec    %ebx
405264:	75 f2                	jne    0x405258
405266:	ff 75 0c             	push   0xc(%ebp)
405269:	e8 85 fc ff ff       	call   0x404ef3
40526e:	5f                   	pop    %edi
40526f:	5e                   	pop    %esi
405270:	5b                   	pop    %ebx
405271:	c9                   	leave
405272:	c2 08 00             	ret    $0x8
405275:	55                   	push   %ebp
405276:	8b ec                	mov    %esp,%ebp
405278:	81 ec 2c 02 00 00    	sub    $0x22c,%esp
40527e:	8d 45 fc             	lea    -0x4(%ebp),%eax
405281:	50                   	push   %eax
405282:	ff 15 58 a2 42 00    	call   *0x42a258
405288:	85 c0                	test   %eax,%eax
40528a:	74 04                	je     0x405290
40528c:	32 c0                	xor    %al,%al
40528e:	eb 5d                	jmp    0x4052ed
405290:	8b 45 08             	mov    0x8(%ebp),%eax
405293:	83 65 e0 00          	andl   $0x0,-0x20(%ebp)
405297:	83 65 f0 00          	andl   $0x0,-0x10(%ebp)
40529b:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
40529f:	89 45 dc             	mov    %eax,-0x24(%ebp)
4052a2:	8d 85 d4 fd ff ff    	lea    -0x22c(%ebp),%eax
4052a8:	89 45 e4             	mov    %eax,-0x1c(%ebp)
4052ab:	8b 45 0c             	mov    0xc(%ebp),%eax
4052ae:	89 45 e8             	mov    %eax,-0x18(%ebp)
4052b1:	56                   	push   %esi
4052b2:	8d 45 dc             	lea    -0x24(%ebp),%eax
4052b5:	50                   	push   %eax
4052b6:	c7 45 ec 41 00 00 00 	movl   $0x41,-0x14(%ebp)
4052bd:	ff 15 70 a2 42 00    	call   *0x42a270
4052c3:	8b f0                	mov    %eax,%esi
4052c5:	85 f6                	test   %esi,%esi
4052c7:	75 04                	jne    0x4052cd
4052c9:	32 c0                	xor    %al,%al
4052cb:	eb 1f                	jmp    0x4052ec
4052cd:	57                   	push   %edi
4052ce:	ff 75 10             	push   0x10(%ebp)
4052d1:	56                   	push   %esi
4052d2:	ff 15 74 a2 42 00    	call   *0x42a274
4052d8:	8b f8                	mov    %eax,%edi
4052da:	8b 45 fc             	mov    -0x4(%ebp),%eax
4052dd:	8b 08                	mov    (%eax),%ecx
4052df:	56                   	push   %esi
4052e0:	50                   	push   %eax
4052e1:	ff 51 14             	call   *0x14(%ecx)
4052e4:	33 c0                	xor    %eax,%eax
4052e6:	85 ff                	test   %edi,%edi
4052e8:	0f 95 c0             	setne  %al
4052eb:	5f                   	pop    %edi
4052ec:	5e                   	pop    %esi
4052ed:	c9                   	leave
4052ee:	c2 0c 00             	ret    $0xc
4052f1:	55                   	push   %ebp
4052f2:	8b ec                	mov    %esp,%ebp
4052f4:	81 ec 58 04 00 00    	sub    $0x458,%esp
4052fa:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)
4052fe:	53                   	push   %ebx
4052ff:	56                   	push   %esi
405300:	57                   	push   %edi
405301:	8d b5 a8 fb ff ff    	lea    -0x458(%ebp),%esi
405307:	74 30                	je     0x405339
405309:	ff 75 14             	push   0x14(%ebp)
40530c:	8b c6                	mov    %esi,%eax
40530e:	50                   	push   %eax
40530f:	e8 bf 4e 01 00       	call   0x41a1d3
405314:	8b c6                	mov    %esi,%eax
405316:	50                   	push   %eax
405317:	e8 6f 4e 01 00       	call   0x41a18b
40531c:	ff 75 14             	push   0x14(%ebp)
40531f:	8d b4 45 aa fb ff ff 	lea    -0x456(%ebp,%eax,2),%esi
405326:	56                   	push   %esi
405327:	e8 a7 4e 01 00       	call   0x41a1d3
40532c:	56                   	push   %esi
40532d:	e8 59 4e 01 00       	call   0x41a18b
405332:	83 c4 18             	add    $0x18,%esp
405335:	8d 74 46 02          	lea    0x2(%esi,%eax,2),%esi
405339:	68 a2 00 00 00       	push   $0xa2
40533e:	e8 a9 6e 00 00       	call   0x40c1ec
405343:	50                   	push   %eax
405344:	56                   	push   %esi
405345:	e8 89 4e 01 00       	call   0x41a1d3
40534a:	56                   	push   %esi
40534b:	e8 3b 4e 01 00       	call   0x41a18b
405350:	8d 74 46 02          	lea    0x2(%esi,%eax,2),%esi
405354:	68 38 a5 42 00       	push   $0x42a538
405359:	56                   	push   %esi
40535a:	e8 74 4e 01 00       	call   0x41a1d3
40535f:	56                   	push   %esi
405360:	e8 26 4e 01 00       	call   0x41a18b
405365:	33 c9                	xor    %ecx,%ecx
405367:	6a 58                	push   $0x58
405369:	66 89 4c 46 02       	mov    %cx,0x2(%esi,%eax,2)
40536e:	5e                   	pop    %esi
40536f:	56                   	push   %esi
405370:	51                   	push   %ecx
405371:	8d 45 a8             	lea    -0x58(%ebp),%eax
405374:	50                   	push   %eax
405375:	e8 86 4e 01 00       	call   0x41a200
40537a:	8b 45 08             	mov    0x8(%ebp),%eax
40537d:	8b 1d 38 a0 42 00    	mov    0x42a038,%ebx
405383:	89 45 ac             	mov    %eax,-0x54(%ebp)
405386:	a1 70 2a 43 00       	mov    0x432a70,%eax
40538b:	89 45 b0             	mov    %eax,-0x50(%ebp)
40538e:	8d 85 a8 fb ff ff    	lea    -0x458(%ebp),%eax
405394:	89 45 b4             	mov    %eax,-0x4c(%ebp)
405397:	8b 45 0c             	mov    0xc(%ebp),%eax
40539a:	83 c4 24             	add    $0x24,%esp
40539d:	80 7d 18 00          	cmpb   $0x0,0x18(%ebp)
4053a1:	89 75 a8             	mov    %esi,-0x58(%ebp)
4053a4:	8b 75 10             	mov    0x10(%ebp),%esi
4053a7:	89 45 d8             	mov    %eax,-0x28(%ebp)
4053aa:	8d 45 a8             	lea    -0x58(%ebp),%eax
4053ad:	89 75 c4             	mov    %esi,-0x3c(%ebp)
4053b0:	c7 45 c8 00 08 00 00 	movl   $0x800,-0x38(%ebp)
4053b7:	c7 45 dc 0c 08 01 00 	movl   $0x1080c,-0x24(%ebp)
4053be:	50                   	push   %eax
4053bf:	74 08                	je     0x4053c9
4053c1:	ff 15 30 a0 42 00    	call   *0x42a030
4053c7:	eb 02                	jmp    0x4053cb
4053c9:	ff d3                	call   *%ebx
4053cb:	8b f8                	mov    %eax,%edi
4053cd:	85 ff                	test   %edi,%edi
4053cf:	75 2a                	jne    0x4053fb
4053d1:	ff 15 34 a0 42 00    	call   *0x42a034
4053d7:	3d 02 30 00 00       	cmp    $0x3002,%eax
4053dc:	75 1b                	jne    0x4053f9
4053de:	33 c0                	xor    %eax,%eax
4053e0:	80 7d 18 00          	cmpb   $0x0,0x18(%ebp)
4053e4:	66 89 06             	mov    %ax,(%esi)
4053e7:	8d 45 a8             	lea    -0x58(%ebp),%eax
4053ea:	50                   	push   %eax
4053eb:	74 08                	je     0x4053f5
4053ed:	ff 15 30 a0 42 00    	call   *0x42a030
4053f3:	eb 02                	jmp    0x4053f7
4053f5:	ff d3                	call   *%ebx
4053f7:	8b f8                	mov    %eax,%edi
4053f9:	85 ff                	test   %edi,%edi
4053fb:	5f                   	pop    %edi
4053fc:	5e                   	pop    %esi
4053fd:	0f 95 c0             	setne  %al
405400:	5b                   	pop    %ebx
405401:	c9                   	leave
405402:	c2 14 00             	ret    $0x14
405405:	55                   	push   %ebp
405406:	8b ec                	mov    %esp,%ebp
405408:	b8 08 20 00 00       	mov    $0x2008,%eax
40540d:	e8 be 50 01 00       	call   0x41a4d0
405412:	56                   	push   %esi
405413:	57                   	push   %edi
405414:	6a 00                	push   $0x0
405416:	ff 75 10             	push   0x10(%ebp)
405419:	e8 c5 4e 00 00       	call   0x40a2e3
40541e:	8b 4d 08             	mov    0x8(%ebp),%ecx
405421:	89 45 10             	mov    %eax,0x10(%ebp)
405424:	e8 4b b6 00 00       	call   0x410a74
405429:	be 00 08 00 00       	mov    $0x800,%esi
40542e:	e9 b9 00 00 00       	jmp    0x4054ec
405433:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
405439:	50                   	push   %eax
40543a:	e8 5d 4b 00 00       	call   0x409f9c
40543f:	8b f8                	mov    %eax,%edi
405441:	0f b7 07             	movzwl (%edi),%eax
405444:	50                   	push   %eax
405445:	e8 8d 4b 00 00       	call   0x409fd7
40544a:	80 7d 0c 00          	cmpb   $0x0,0xc(%ebp)
40544e:	74 23                	je     0x405473
405450:	84 c0                	test   %al,%al
405452:	74 07                	je     0x40545b
405454:	33 c0                	xor    %eax,%eax
405456:	66 89 07             	mov    %ax,(%edi)
405459:	eb 2f                	jmp    0x40548a
40545b:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
405461:	50                   	push   %eax
405462:	e8 3f 4e 00 00       	call   0x40a2a6
405467:	50                   	push   %eax
405468:	e8 49 4b 00 00       	call   0x409fb6
40546d:	84 c0                	test   %al,%al
40546f:	75 7b                	jne    0x4054ec
405471:	eb 17                	jmp    0x40548a
405473:	84 c0                	test   %al,%al
405475:	74 13                	je     0x40548a
405477:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
40547d:	68 38 a5 42 00       	push   $0x42a538
405482:	50                   	push   %eax
405483:	e8 1d 4d 01 00       	call   0x41a1a5
405488:	59                   	pop    %ecx
405489:	59                   	pop    %ecx
40548a:	66 83 bd fc ef ff ff 	cmpw   $0x2a,-0x1004(%ebp)
405491:	2a
405492:	8b 7d 10             	mov    0x10(%ebp),%edi
405495:	75 39                	jne    0x4054d0
405497:	0f b7 85 fe ef ff ff 	movzwl -0x1002(%ebp),%eax
40549e:	50                   	push   %eax
40549f:	e8 33 4b 00 00       	call   0x409fd7
4054a4:	84 c0                	test   %al,%al
4054a6:	74 28                	je     0x4054d0
4054a8:	6a 2e                	push   $0x2e
4054aa:	58                   	pop    %eax
4054ab:	6a 5c                	push   $0x5c
4054ad:	66 89 85 f8 df ff ff 	mov    %ax,-0x2008(%ebp)
4054b4:	58                   	pop    %eax
4054b5:	56                   	push   %esi
4054b6:	66 89 85 fa df ff ff 	mov    %ax,-0x2006(%ebp)
4054bd:	57                   	push   %edi
4054be:	8d 85 fc df ff ff    	lea    -0x2004(%ebp),%eax
4054c4:	50                   	push   %eax
4054c5:	e8 55 b4 00 00       	call   0x41091f
4054ca:	8d bd f8 df ff ff    	lea    -0x2008(%ebp),%edi
4054d0:	ff 75 18             	push   0x18(%ebp)
4054d3:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
4054d9:	57                   	push   %edi
4054da:	6a 00                	push   $0x0
4054dc:	50                   	push   %eax
4054dd:	e8 01 4e 00 00       	call   0x40a2e3
4054e2:	50                   	push   %eax
4054e3:	e8 21 48 00 00       	call   0x409d09
4054e8:	84 c0                	test   %al,%al
4054ea:	75 1e                	jne    0x40550a
4054ec:	8b 4d 08             	mov    0x8(%ebp),%ecx
4054ef:	56                   	push   %esi
4054f0:	8d 85 fc ef ff ff    	lea    -0x1004(%ebp),%eax
4054f6:	50                   	push   %eax
4054f7:	e8 41 b6 00 00       	call   0x410b3d
4054fc:	84 c0                	test   %al,%al
4054fe:	0f 85 2f ff ff ff    	jne    0x405433
405504:	5f                   	pop    %edi
405505:	5e                   	pop    %esi
405506:	c9                   	leave
405507:	c2 14 00             	ret    $0x14
40550a:	b0 01                	mov    $0x1,%al
40550c:	eb f6                	jmp    0x405504
40550e:	81 c1 e8 93 00 00    	add    $0x93e8,%ecx
405514:	e9 93 b5 00 00       	jmp    0x410aac
405519:	81 c1 e8 93 00 00    	add    $0x93e8,%ecx
40551f:	e9 19 b6 00 00       	jmp    0x410b3d
405524:	56                   	push   %esi
405525:	8b f1                	mov    %ecx,%esi
405527:	e8 6b 49 00 00       	call   0x409e97
40552c:	33 c0                	xor    %eax,%eax
40552e:	8d 8e d4 92 00 00    	lea    0x92d4(%esi),%ecx
405534:	66 89 86 b2 72 00 00 	mov    %ax,0x72b2(%esi)
40553b:	66 89 86 d2 82 00 00 	mov    %ax,0x82d2(%esi)
405542:	88 86 a8 72 00 00    	mov    %al,0x72a8(%esi)
405548:	88 86 a9 72 00 00    	mov    %al,0x72a9(%esi)
40554e:	89 86 ac 72 00 00    	mov    %eax,0x72ac(%esi)
405554:	88 86 b0 72 00 00    	mov    %al,0x72b0(%esi)
40555a:	e8 37 b5 00 00       	call   0x410a96
40555f:	8d 8e 30 93 00 00    	lea    0x9330(%esi),%ecx
405565:	e8 2c b5 00 00       	call   0x410a96
40556a:	8d 8e 8c 93 00 00    	lea    0x938c(%esi),%ecx
405570:	e8 21 b5 00 00       	call   0x410a96
405575:	8d 8e 44 94 00 00    	lea    0x9444(%esi),%ecx
40557b:	e8 16 b5 00 00       	call   0x410a96
405580:	8d 8e e8 93 00 00    	lea    0x93e8(%esi),%ecx
405586:	e8 0b b5 00 00       	call   0x410a96
40558b:	8d 8e 68 51 00 00    	lea    0x5168(%esi),%ecx
405591:	5e                   	pop    %esi
405592:	e9 e2 b4 00 00       	jmp    0x410a79
405597:	55                   	push   %ebp
405598:	8b ec                	mov    %esp,%ebp
40559a:	56                   	push   %esi
40559b:	6a 05                	push   $0x5
40559d:	ff 75 10             	push   0x10(%ebp)
4055a0:	8b f1                	mov    %ecx,%esi
4055a2:	ff 75 08             	push   0x8(%ebp)
4055a5:	8d 86 30 93 00 00    	lea    0x9330(%esi),%eax
4055ab:	ff 75 0c             	push   0xc(%ebp)
4055ae:	50                   	push   %eax
4055af:	e8 51 fe ff ff       	call   0x405405
4055b4:	84 c0                	test   %al,%al
4055b6:	74 04                	je     0x4055bc
4055b8:	b0 01                	mov    $0x1,%al
4055ba:	eb 30                	jmp    0x4055ec
4055bc:	33 c0                	xor    %eax,%eax
4055be:	38 45 14             	cmp    %al,0x14(%ebp)
4055c1:	74 27                	je     0x4055ea
4055c3:	39 86 a0 93 00 00    	cmp    %eax,0x93a0(%esi)
4055c9:	74 1f                	je     0x4055ea
4055cb:	6a 05                	push   $0x5
4055cd:	50                   	push   %eax
4055ce:	ff 75 08             	push   0x8(%ebp)
4055d1:	8d 86 8c 93 00 00    	lea    0x938c(%esi),%eax
4055d7:	ff 75 0c             	push   0xc(%ebp)
4055da:	8b ce                	mov    %esi,%ecx
4055dc:	50                   	push   %eax
4055dd:	e8 23 fe ff ff       	call   0x405405
4055e2:	f6 d8                	neg    %al