415182:	33 c5                	xor    %ebp,%eax
415184:	89 45 f8             	mov    %eax,-0x8(%ebp)
415187:	8b 45 14             	mov    0x14(%ebp),%eax
41518a:	89 45 c8             	mov    %eax,-0x38(%ebp)
41518d:	8b 45 18             	mov    0x18(%ebp),%eax
415190:	89 45 c4             	mov    %eax,-0x3c(%ebp)
415193:	8b 45 1c             	mov    0x1c(%ebp),%eax
415196:	53                   	push   %ebx
415197:	8b 5d 10             	mov    0x10(%ebp),%ebx
41519a:	89 45 cc             	mov    %eax,-0x34(%ebp)
41519d:	8b 45 20             	mov    0x20(%ebp),%eax
4151a0:	56                   	push   %esi
4151a1:	89 45 c0             	mov    %eax,-0x40(%ebp)
4151a4:	0f b7 41 04          	movzwl 0x4(%ecx),%eax
4151a8:	57                   	push   %edi
4151a9:	8b 7d 08             	mov    0x8(%ebp),%edi
4151ac:	50                   	push   %eax
4151ad:	89 55 bc             	mov    %edx,-0x44(%ebp)
4151b0:	89 4d d4             	mov    %ecx,-0x2c(%ebp)
4151b3:	ff 15 18 a4 44 00    	call   *0x44a418
4151b9:	59                   	pop    %ecx
4151ba:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
4151bd:	83 c1 04             	add    $0x4,%ecx
4151c0:	0f b7 f0             	movzwl %ax,%esi
4151c3:	6a 02                	push   $0x2
4151c5:	5a                   	pop    %edx
4151c6:	8d 41 02             	lea    0x2(%ecx),%eax
4151c9:	89 45 d0             	mov    %eax,-0x30(%ebp)
4151cc:	66 8b 01             	mov    (%ecx),%ax
4151cf:	03 ca                	add    %edx,%ecx
4151d1:	66 85 c0             	test   %ax,%ax
4151d4:	75 f6                	jne    0x4151cc
4151d6:	2b 4d d0             	sub    -0x30(%ebp),%ecx
4151d9:	d1 f9                	sar    $1,%ecx
4151db:	83 f9 0e             	cmp    $0xe,%ecx
4151de:	0f 83 4b bd 00 00    	jae    0x420f2f
4151e4:	ff 75 d4             	push   -0x2c(%ebp)
4151e7:	8d 4d d8             	lea    -0x28(%ebp),%ecx
4151ea:	6a 10                	push   $0x10
4151ec:	5a                   	pop    %edx
4151ed:	e8 ae a1 ff ff       	call   0x40f3a0
4151f2:	8b 45 d4             	mov    -0x2c(%ebp),%eax
4151f5:	8d 4d d8             	lea    -0x28(%ebp),%ecx
4151f8:	83 c0 04             	add    $0x4,%eax
4151fb:	50                   	push   %eax
4151fc:	6a 10                	push   $0x10
4151fe:	5a                   	pop    %edx
4151ff:	e8 3c aa ff ff       	call   0x40fc40
415204:	8b 55 cc             	mov    -0x34(%ebp),%edx
415207:	8d 4d d8             	lea    -0x28(%ebp),%ecx
41520a:	e8 a0 f9 ff ff       	call   0x414baf
41520f:	85 c0                	test   %eax,%eax
415211:	74 11                	je     0x415224
415213:	8b 4d f8             	mov    -0x8(%ebp),%ecx
415216:	5f                   	pop    %edi
415217:	5e                   	pop    %esi
415218:	33 cd                	xor    %ebp,%ecx
41521a:	5b                   	pop    %ebx
41521b:	e8 10 19 00 00       	call   0x416b30
415220:	c9                   	leave
415221:	c2 1c 00             	ret    $0x1c
415224:	6a 02                	push   $0x2
415226:	5a                   	pop    %edx
415227:	e9 03 bd 00 00       	jmp    0x420f2f
41522c:	8b ff                	mov    %edi,%edi
41522e:	55                   	push   %ebp
41522f:	8b ec                	mov    %esp,%ebp
415231:	53                   	push   %ebx
415232:	56                   	push   %esi
415233:	57                   	push   %edi
415234:	6a 04                	push   $0x4
415236:	8b f9                	mov    %ecx,%edi
415238:	68 00 10 00 00       	push   $0x1000
41523d:	57                   	push   %edi
41523e:	6a 00                	push   $0x0
415240:	8b f7                	mov    %edi,%esi
415242:	ff 15 a8 a1 44 00    	call   *0x44a1a8
415248:	8b d8                	mov    %eax,%ebx
41524a:	85 db                	test   %ebx,%ebx
41524c:	0f 84 69 bd 00 00    	je     0x420fbb
415252:	8b 45 08             	mov    0x8(%ebp),%eax
415255:	8b 75 0c             	mov    0xc(%ebp),%esi
415258:	8b ce                	mov    %esi,%ecx
41525a:	89 38                	mov    %edi,(%eax)
41525c:	e8 89 c7 ff ff       	call   0x4119ea
415261:	89 1c b5 7c 67 43 00 	mov    %ebx,0x43677c(,%esi,4)
415268:	8b c3                	mov    %ebx,%eax
41526a:	5f                   	pop    %edi
41526b:	5e                   	pop    %esi
41526c:	5b                   	pop    %ebx
41526d:	5d                   	pop    %ebp
41526e:	c2 08 00             	ret    $0x8
415271:	8b ff                	mov    %edi,%edi
415273:	55                   	push   %ebp
415274:	8b ec                	mov    %esp,%ebp
415276:	83 ec 10             	sub    $0x10,%esp
415279:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
41527e:	33 c5                	xor    %ebp,%eax
415280:	89 45 fc             	mov    %eax,-0x4(%ebp)
415283:	56                   	push   %esi
415284:	57                   	push   %edi
415285:	8d 45 f0             	lea    -0x10(%ebp),%eax
415288:	8b f9                	mov    %ecx,%edi
41528a:	50                   	push   %eax
41528b:	8d 45 f4             	lea    -0xc(%ebp),%eax
41528e:	33 f6                	xor    %esi,%esi
415290:	50                   	push   %eax
415291:	6a 04                	push   $0x4
415293:	57                   	push   %edi
415294:	ff 15 a4 a0 44 00    	call   *0x44a0a4
41529a:	83 f8 03             	cmp    $0x3,%eax
41529d:	0f 84 76 bd 00 00    	je     0x421019
4152a3:	57                   	push   %edi
4152a4:	ff 15 c8 a0 44 00    	call   *0x44a0c8
4152aa:	85 c0                	test   %eax,%eax
4152ac:	0f 84 84 bd 00 00    	je     0x421036
4152b2:	8b c6                	mov    %esi,%eax
4152b4:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4152b7:	5f                   	pop    %edi
4152b8:	33 cd                	xor    %ebp,%ecx
4152ba:	5e                   	pop    %esi
4152bb:	e8 70 18 00 00       	call   0x416b30
4152c0:	c9                   	leave
4152c1:	c3                   	ret
4152c2:	8b ff                	mov    %edi,%edi
4152c4:	55                   	push   %ebp
4152c5:	8b ec                	mov    %esp,%ebp
4152c7:	0f b7 d2             	movzwl %dx,%edx
4152ca:	8b c2                	mov    %edx,%eax
4152cc:	83 e8 21             	sub    $0x21,%eax
4152cf:	0f 84 de bd 00 00    	je     0x4210b3
4152d5:	83 e8 0a             	sub    $0xa,%eax
4152d8:	74 16                	je     0x4152f0
4152da:	48                   	dec    %eax
4152db:	83 e8 01             	sub    $0x1,%eax
4152de:	0f 85 ad bd 00 00    	jne    0x421091
4152e4:	8b 45 08             	mov    0x8(%ebp),%eax
4152e7:	f7 d8                	neg    %eax
4152e9:	89 41 04             	mov    %eax,0x4(%ecx)
4152ec:	5d                   	pop    %ebp
4152ed:	c2 04 00             	ret    $0x4
4152f0:	8b 45 08             	mov    0x8(%ebp),%eax
4152f3:	eb f4                	jmp    0x4152e9
4152f5:	8b ff                	mov    %edi,%edi
4152f7:	55                   	push   %ebp
4152f8:	8b ec                	mov    %esp,%ebp
4152fa:	83 e4 f8             	and    $0xfffffff8,%esp
4152fd:	81 ec 9c 02 00 00    	sub    $0x29c,%esp
415303:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
415308:	33 c4                	xor    %esp,%eax
41530a:	89 84 24 98 02 00 00 	mov    %eax,0x298(%esp)
415311:	33 c0                	xor    %eax,%eax
415313:	c6 84 24 88 02 00 00 	movb   $0x1,0x288(%esp)
41531a:	01
41531b:	53                   	push   %ebx
41531c:	89 44 24 20          	mov    %eax,0x20(%esp)
415320:	8b d9                	mov    %ecx,%ebx
415322:	33 c9                	xor    %ecx,%ecx
415324:	66 89 44 24 28       	mov    %ax,0x28(%esp)
415329:	56                   	push   %esi
41532a:	57                   	push   %edi
41532b:	89 4c 24 18          	mov    %ecx,0x18(%esp)
41532f:	8d 7c 24 52          	lea    0x52(%esp),%edi
415333:	89 4c 24 24          	mov    %ecx,0x24(%esp)
415337:	89 4c 24 2c          	mov    %ecx,0x2c(%esp)
41533b:	89 4c 24 32          	mov    %ecx,0x32(%esp)
41533f:	89 4c 24 36          	mov    %ecx,0x36(%esp)
415343:	89 4c 24 3a          	mov    %ecx,0x3a(%esp)
415347:	89 4c 24 3e          	mov    %ecx,0x3e(%esp)
41534b:	89 4c 24 42          	mov    %ecx,0x42(%esp)
41534f:	89 4c 24 46          	mov    %ecx,0x46(%esp)
415353:	89 4c 24 4a          	mov    %ecx,0x4a(%esp)
415357:	89 4c 24 4e          	mov    %ecx,0x4e(%esp)
41535b:	ab                   	stos   %eax,%es:(%edi)
41535c:	89 4c 24 10          	mov    %ecx,0x10(%esp)
415360:	89 8c 24 90 02 00 00 	mov    %ecx,0x290(%esp)
415367:	ab                   	stos   %eax,%es:(%edi)
415368:	ab                   	stos   %eax,%es:(%edi)
415369:	66 ab                	stos   %ax,%es:(%edi)
41536b:	33 c0                	xor    %eax,%eax
41536d:	89 4c 24 64          	mov    %ecx,0x64(%esp)
415371:	8d 7c 24 7c          	lea    0x7c(%esp),%edi
415375:	89 4c 24 68          	mov    %ecx,0x68(%esp)
415379:	88 4c 24 6c          	mov    %cl,0x6c(%esp)
41537d:	89 4c 24 70          	mov    %ecx,0x70(%esp)
415381:	89 4c 24 78          	mov    %ecx,0x78(%esp)
415385:	ab                   	stos   %eax,%es:(%edi)
415386:	ab                   	stos   %eax,%es:(%edi)
415387:	ab                   	stos   %eax,%es:(%edi)
415388:	b8 04 01 00 00       	mov    $0x104,%eax
41538d:	50                   	push   %eax
41538e:	89 84 24 9c 02 00 00 	mov    %eax,0x29c(%esp)
415395:	8d 84 24 8c 00 00 00 	lea    0x8c(%esp),%eax
41539c:	51                   	push   %ecx
41539d:	50                   	push   %eax
41539e:	e8 1a 2c 00 00       	call   0x417fbd
4153a3:	83 c4 0c             	add    $0xc,%esp
4153a6:	8d 8c 24 88 00 00 00 	lea    0x88(%esp),%ecx
4153ad:	68 e9 7f 00 00       	push   $0x7fe9
4153b2:	e8 39 90 ff ff       	call   0x40e3f0
4153b7:	85 c0                	test   %eax,%eax
4153b9:	0f 88 2e 01 00 00    	js     0x4154ed
4153bf:	a1 78 67 43 00       	mov    0x436778,%eax
4153c4:	8d 54 24 18          	lea    0x18(%esp),%edx
4153c8:	33 ff                	xor    %edi,%edi
4153ca:	89 44 24 14          	mov    %eax,0x14(%esp)
4153ce:	8b cb                	mov    %ebx,%ecx
4153d0:	c7 44 24 1c 06 00 00 	movl   $0x6,0x1c(%esp)
4153d7:	00
4153d8:	8b f7                	mov    %edi,%esi
4153da:	89 7c 24 20          	mov    %edi,0x20(%esp)
4153de:	89 7c 24 60          	mov    %edi,0x60(%esp)
4153e2:	89 7c 24 74          	mov    %edi,0x74(%esp)
4153e6:	e8 07 01 00 00       	call   0x4154f2
4153eb:	83 f8 01             	cmp    $0x1,%eax
4153ee:	0f 84 f9 00 00 00    	je     0x4154ed
4153f4:	8b 8c 24 90 02 00 00 	mov    0x290(%esp),%ecx
4153fb:	85 c9                	test   %ecx,%ecx
4153fd:	0f 84 bd bc 00 00    	je     0x4210c0
415403:	8b 94 24 98 02 00 00 	mov    0x298(%esp),%edx
41540a:	57                   	push   %edi
41540b:	e8 8e 3a ff ff       	call   0x408e9e
415410:	8b 5c 24 60          	mov    0x60(%esp),%ebx
415414:	85 db                	test   %ebx,%ebx
415416:	0f 84 b0 bc 00 00    	je     0x4210cc
41541c:	8d 54 24 64          	lea    0x64(%esp),%edx
415420:	8b fb                	mov    %ebx,%edi
415422:	8b 0a                	mov    (%edx),%ecx
415424:	8d 41 02             	lea    0x2(%ecx),%eax
415427:	89 44 24 0c          	mov    %eax,0xc(%esp)
41542b:	66 8b 01             	mov    (%ecx),%ax
41542e:	83 c1 02             	add    $0x2,%ecx
415431:	66 3b 44 24 10       	cmp    0x10(%esp),%ax
415436:	75 f3                	jne    0x41542b
415438:	2b 4c 24 0c          	sub    0xc(%esp),%ecx
41543c:	d1 f9                	sar    $1,%ecx
41543e:	0f 84 ef bc 00 00    	je     0x421133
415444:	8b 52 0c             	mov    0xc(%edx),%edx
415447:	83 ef 01             	sub    $0x1,%edi
41544a:	75 d6                	jne    0x415422
41544c:	8b 44 24 18          	mov    0x18(%esp),%eax
415450:	8d 7c 24 64          	lea    0x64(%esp),%edi
415454:	83 e0 10             	and    $0x10,%eax
415457:	89 44 24 10          	mov    %eax,0x10(%esp)
41545b:	85 c0                	test   %eax,%eax
41545d:	0f 84 a8 bc 00 00    	je     0x42110b
415463:	f7 44 24 18 00 20 00 	testl  $0x2000,0x18(%esp)
41546a:	00
41546b:	0f 84 5e bc 00 00    	je     0x4210cf
415471:	8b 0f                	mov    (%edi),%ecx
415473:	8d 54 24 0c          	lea    0xc(%esp),%edx
415477:	e8 45 fa ff ff       	call   0x414ec1
41547c:	85 c0                	test   %eax,%eax
41547e:	0f 85 6d bc 00 00    	jne    0x4210f1
415484:	8b 7f 0c             	mov    0xc(%edi),%edi
415487:	8b 44 24 10          	mov    0x10(%esp),%eax
41548b:	83 eb 01             	sub    $0x1,%ebx
41548e:	75 cb                	jne    0x41545b
415490:	8b 84 24 90 02 00 00 	mov    0x290(%esp),%eax
415497:	85 c0                	test   %eax,%eax
415499:	74 49                	je     0x4154e4
41549b:	ff b4 24 98 02 00 00 	push   0x298(%esp)
4154a2:	50                   	push   %eax
4154a3:	e8 e3 ce ff ff       	call   0x41238b
4154a8:	8b 4c 24 14          	mov    0x14(%esp),%ecx
4154ac:	e8 de c4 ff ff       	call   0x41198f
4154b1:	8b 84 24 90 02 00 00 	mov    0x290(%esp),%eax
4154b8:	33 c9                	xor    %ecx,%ecx
4154ba:	89 8c 24 90 02 00 00 	mov    %ecx,0x290(%esp)
4154c1:	85 c0                	test   %eax,%eax
4154c3:	74 08                	je     0x4154cd
4154c5:	50                   	push   %eax
4154c6:	ff 15 e0 a3 44 00    	call   *0x44a3e0
4154cc:	59                   	pop    %ecx
4154cd:	8b 8c 24 a4 02 00 00 	mov    0x2a4(%esp),%ecx
4154d4:	8b c6                	mov    %esi,%eax
4154d6:	5f                   	pop    %edi
4154d7:	5e                   	pop    %esi
4154d8:	5b                   	pop    %ebx
4154d9:	33 cc                	xor    %esp,%ecx
4154db:	e8 50 16 00 00       	call   0x416b30
4154e0:	8b e5                	mov    %ebp,%esp
4154e2:	5d                   	pop    %ebp
4154e3:	c3                   	ret
4154e4:	8d 84 24 88 00 00 00 	lea    0x88(%esp),%eax
4154eb:	eb ae                	jmp    0x41549b
4154ed:	33 f6                	xor    %esi,%esi
4154ef:	46                   	inc    %esi
4154f0:	eb bf                	jmp    0x4154b1
4154f2:	8b ff                	mov    %edi,%edi
4154f4:	55                   	push   %ebp
4154f5:	8b ec                	mov    %esp,%ebp
4154f7:	83 ec 34             	sub    $0x34,%esp
4154fa:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
4154ff:	33 c5                	xor    %ebp,%eax
415501:	89 45 fc             	mov    %eax,-0x4(%ebp)
415504:	53                   	push   %ebx
415505:	56                   	push   %esi
415506:	57                   	push   %edi
415507:	6a 2f                	push   $0x2f
415509:	58                   	pop    %eax
41550a:	8b fa                	mov    %edx,%edi
41550c:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
415510:	33 c0                	xor    %eax,%eax
415512:	89 7d dc             	mov    %edi,-0x24(%ebp)
415515:	6a 02                	push   $0x2
415517:	8d 55 e8             	lea    -0x18(%ebp),%edx
41551a:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
41551e:	e8 0d 67 ff ff       	call   0x40bc30
415523:	8b f0                	mov    %eax,%esi
415525:	8d 5f 4c             	lea    0x4c(%edi),%ebx
415528:	33 c0                	xor    %eax,%eax
41552a:	89 5d e0             	mov    %ebx,-0x20(%ebp)
41552d:	89 45 d8             	mov    %eax,-0x28(%ebp)
415530:	39 47 48             	cmp    %eax,0x48(%edi)
415533:	0f 85 0e bc 00 00    	jne    0x421147
415539:	eb 32                	jmp    0x41556d
41553b:	48                   	dec    %eax
41553c:	83 e8 01             	sub    $0x1,%eax
41553f:	0f 85 68 bc 00 00    	jne    0x4211ad
415545:	38 45 e7             	cmp    %al,-0x19(%ebp)
415548:	0f 85 24 bc 00 00    	jne    0x421172
41554e:	83 0f 10             	orl    $0x10,(%edi)
415551:	8b 45 dc             	mov    -0x24(%ebp),%eax
415554:	33 c9                	xor    %ecx,%ecx
415556:	66 39 4c 46 06       	cmp    %cx,0x6(%esi,%eax,2)
41555b:	0f 85 74 bc 00 00    	jne    0x4211d5
415561:	8b 75 d4             	mov    -0x2c(%ebp),%esi
415564:	8b 45 d0             	mov    -0x30(%ebp),%eax
415567:	8d 34 46             	lea    (%esi,%eax,2),%esi
41556a:	83 c6 02             	add    $0x2,%esi
41556d:	0f b7 0e             	movzwl (%esi),%ecx
415570:	66 85 c9             	test   %cx,%cx
415573:	75 11                	jne    0x415586
415575:	33 c0                	xor    %eax,%eax
415577:	8b 4d fc             	mov    -0x4(%ebp),%ecx
41557a:	5f                   	pop    %edi
41557b:	5e                   	pop    %esi
41557c:	33 cd                	xor    %ebp,%ecx
41557e:	5b                   	pop    %ebx
41557f:	e8 ac 15 00 00       	call   0x416b30
415584:	c9                   	leave
415585:	c3                   	ret
415586:	8b d6                	mov    %esi,%edx
415588:	8d 5a 02             	lea    0x2(%edx),%ebx
41558b:	66 8b 02             	mov    (%edx),%ax
41558e:	83 c2 02             	add    $0x2,%edx
415591:	66 3b 45 d8          	cmp    -0x28(%ebp),%ax
415595:	75 f4                	jne    0x41558b
415597:	2b d3                	sub    %ebx,%edx