47844b:	50                   	push   %eax
47844c:	8d 45 ec             	lea    -0x14(%ebp),%eax
47844f:	89 4d e0             	mov    %ecx,-0x20(%ebp)
478452:	50                   	push   %eax
478453:	e8 3d e0 00 00       	call   0x486495
478458:	83 c4 14             	add    $0x14,%esp
47845b:	85 c0                	test   %eax,%eax
47845d:	75 2c                	jne    0x47848b
47845f:	39 45 ec             	cmp    %eax,-0x14(%ebp)
478462:	74 27                	je     0x47848b
478464:	ff 76 08             	push   0x8(%esi)
478467:	8d 45 f4             	lea    -0xc(%ebp),%eax
47846a:	57                   	push   %edi
47846b:	ff 75 ec             	push   -0x14(%ebp)
47846e:	8d 8e 48 04 00 00    	lea    0x448(%esi),%ecx
478474:	50                   	push   %eax
478475:	e8 3d 0d 00 00       	call   0x4791b7
47847a:	8b 45 f0             	mov    -0x10(%ebp),%eax
47847d:	8b 4d e0             	mov    -0x20(%ebp),%ecx
478480:	40                   	inc    %eax
478481:	89 45 f0             	mov    %eax,-0x10(%ebp)
478484:	3b 46 34             	cmp    0x34(%esi),%eax
478487:	75 b0                	jne    0x478439
478489:	eb 16                	jmp    0x4784a1
47848b:	83 0f ff             	orl    $0xffffffff,(%edi)
47848e:	eb 11                	jmp    0x4784a1
478490:	ff 76 08             	push   0x8(%esi)
478493:	8b ca                	mov    %edx,%ecx
478495:	57                   	push   %edi
478496:	ff 76 34             	push   0x34(%esi)
478499:	ff 76 30             	push   0x30(%esi)
47849c:	e8 16 0d 00 00       	call   0x4791b7
4784a1:	8b 0f                	mov    (%edi),%ecx
4784a3:	85 c9                	test   %ecx,%ecx
4784a5:	78 50                	js     0x4784f7
4784a7:	8b 46 1c             	mov    0x1c(%esi),%eax
4784aa:	c1 e8 02             	shr    $0x2,%eax
4784ad:	a8 01                	test   $0x1,%al
4784af:	74 46                	je     0x4784f7
4784b1:	8b 75 e4             	mov    -0x1c(%ebp),%esi
4784b4:	85 f6                	test   %esi,%esi
4784b6:	7e 3f                	jle    0x4784f7
4784b8:	8b 45 e8             	mov    -0x18(%ebp),%eax
4784bb:	8b 10                	mov    (%eax),%edx
4784bd:	8b 42 08             	mov    0x8(%edx),%eax
4784c0:	3b 42 04             	cmp    0x4(%edx),%eax
4784c3:	75 10                	jne    0x4784d5
4784c5:	80 7a 0c 00          	cmpb   $0x0,0xc(%edx)
4784c9:	74 03                	je     0x4784ce
4784cb:	41                   	inc    %ecx
4784cc:	eb 03                	jmp    0x4784d1
4784ce:	83 c9 ff             	or     $0xffffffff,%ecx
4784d1:	89 0f                	mov    %ecx,(%edi)
4784d3:	eb 16                	jmp    0x4784eb
4784d5:	8d 41 01             	lea    0x1(%ecx),%eax
4784d8:	8b 4d e8             	mov    -0x18(%ebp),%ecx
4784db:	89 07                	mov    %eax,(%edi)
4784dd:	ff 42 08             	incl   0x8(%edx)
4784e0:	8b 01                	mov    (%ecx),%eax
4784e2:	8b 00                	mov    (%eax),%eax
4784e4:	c6 00 20             	movb   $0x20,(%eax)
4784e7:	8b 01                	mov    (%ecx),%eax
4784e9:	ff 00                	incl   (%eax)
4784eb:	8b 0f                	mov    (%edi),%ecx
4784ed:	83 f9 ff             	cmp    $0xffffffff,%ecx
4784f0:	74 05                	je     0x4784f7
4784f2:	43                   	inc    %ebx
4784f3:	3b de                	cmp    %esi,%ebx
4784f5:	7c c1                	jl     0x4784b8
4784f7:	b0 01                	mov    $0x1,%al
4784f9:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4784fc:	5f                   	pop    %edi
4784fd:	5e                   	pop    %esi
4784fe:	33 cd                	xor    %ebp,%ecx
478500:	5b                   	pop    %ebx
478501:	e8 c4 14 ff ff       	call   0x4699ca
478506:	c9                   	leave
478507:	c3                   	ret
478508:	8b ff                	mov    %edi,%edi
47850a:	55                   	push   %ebp
47850b:	8b ec                	mov    %esp,%ebp
47850d:	83 ec 28             	sub    $0x28,%esp
478510:	a1 14 40 4c 00       	mov    0x4c4014,%eax
478515:	33 c5                	xor    %ebp,%eax
478517:	89 45 fc             	mov    %eax,-0x4(%ebp)
47851a:	53                   	push   %ebx
47851b:	56                   	push   %esi
47851c:	57                   	push   %edi
47851d:	6a 41                	push   $0x41
47851f:	5f                   	pop    %edi
478520:	8b f1                	mov    %ecx,%esi
478522:	89 7d ec             	mov    %edi,-0x14(%ebp)
478525:	6a 02                	push   $0x2
478527:	59                   	pop    %ecx
478528:	33 db                	xor    %ebx,%ebx
47852a:	0f b7 46 2e          	movzwl 0x2e(%esi),%eax
47852e:	6a 58                	push   $0x58
478530:	5a                   	pop    %edx
478531:	83 f8 64             	cmp    $0x64,%eax
478534:	77 6a                	ja     0x4785a0
478536:	0f 84 8c 00 00 00    	je     0x4785c8
47853c:	83 f8 53             	cmp    $0x53,%eax
47853f:	77 2c                	ja     0x47856d
478541:	0f 84 ae 00 00 00    	je     0x4785f5
478547:	2b c7                	sub    %edi,%eax
478549:	74 16                	je     0x478561
47854b:	2b c1                	sub    %ecx,%eax
47854d:	74 33                	je     0x478582
47854f:	2b c1                	sub    %ecx,%eax
478551:	74 0e                	je     0x478561
478553:	83 e8 01             	sub    $0x1,%eax
478556:	74 09                	je     0x478561
478558:	83 e8 01             	sub    $0x1,%eax
47855b:	0f 85 a8 00 00 00    	jne    0x478609
478561:	8b ce                	mov    %esi,%ecx
478563:	e8 3f 06 00 00       	call   0x478ba7
478568:	e9 98 00 00 00       	jmp    0x478605
47856d:	2b c2                	sub    %edx,%eax
47856f:	74 24                	je     0x478595
478571:	2b c1                	sub    %ecx,%eax
478573:	74 17                	je     0x47858c
478575:	83 e8 07             	sub    $0x7,%eax
478578:	74 e7                	je     0x478561
47857a:	2b c1                	sub    %ecx,%eax
47857c:	0f 85 87 00 00 00    	jne    0x478609
478582:	53                   	push   %ebx
478583:	8b ce                	mov    %esi,%ecx
478585:	e8 59 08 00 00       	call   0x478de3
47858a:	eb 79                	jmp    0x478605
47858c:	8b ce                	mov    %esi,%ecx
47858e:	e8 20 04 00 00       	call   0x4789b3
478593:	eb 70                	jmp    0x478605
478595:	6a 01                	push   $0x1
478597:	8b ce                	mov    %esi,%ecx
478599:	e8 59 e4 ff ff       	call   0x4769f7
47859e:	eb 65                	jmp    0x478605
4785a0:	83 f8 6f             	cmp    $0x6f,%eax
4785a3:	77 3a                	ja     0x4785df
4785a5:	74 2f                	je     0x4785d6
4785a7:	83 e8 65             	sub    $0x65,%eax
4785aa:	74 b5                	je     0x478561
4785ac:	83 e8 01             	sub    $0x1,%eax
4785af:	74 b0                	je     0x478561
4785b1:	83 e8 01             	sub    $0x1,%eax
4785b4:	74 ab                	je     0x478561
4785b6:	2b c1                	sub    %ecx,%eax
4785b8:	74 0e                	je     0x4785c8
4785ba:	83 e8 05             	sub    $0x5,%eax
4785bd:	75 4a                	jne    0x478609
4785bf:	8b ce                	mov    %esi,%ecx
4785c1:	e8 c5 08 00 00       	call   0x478e8b
4785c6:	eb 3d                	jmp    0x478605
4785c8:	83 4e 1c 10          	orl    $0x10,0x1c(%esi)
4785cc:	53                   	push   %ebx
4785cd:	8b ce                	mov    %esi,%ecx
4785cf:	e8 04 e1 ff ff       	call   0x4766d8
4785d4:	eb 2f                	jmp    0x478605
4785d6:	8b ce                	mov    %esi,%ecx
4785d8:	e8 50 09 00 00       	call   0x478f2d
4785dd:	eb 26                	jmp    0x478605
4785df:	83 e8 70             	sub    $0x70,%eax
4785e2:	74 1a                	je     0x4785fe
4785e4:	83 e8 03             	sub    $0x3,%eax
4785e7:	74 0c                	je     0x4785f5
4785e9:	2b c1                	sub    %ecx,%eax
4785eb:	74 df                	je     0x4785cc
4785ed:	83 e8 03             	sub    $0x3,%eax
4785f0:	75 17                	jne    0x478609
4785f2:	53                   	push   %ebx
4785f3:	eb a2                	jmp    0x478597
4785f5:	8b ce                	mov    %esi,%ecx
4785f7:	e8 ec 09 00 00       	call   0x478fe8
4785fc:	eb 07                	jmp    0x478605
4785fe:	8b ce                	mov    %esi,%ecx
478600:	e8 5b 09 00 00       	call   0x478f60
478605:	84 c0                	test   %al,%al
478607:	75 07                	jne    0x478610
478609:	32 c0                	xor    %al,%al
47860b:	e9 dd 02 00 00       	jmp    0x4788ed
478610:	38 5e 2c             	cmp    %bl,0x2c(%esi)
478613:	0f 85 d2 02 00 00    	jne    0x4788eb
478619:	8b 46 1c             	mov    0x1c(%esi),%eax
47861c:	33 d2                	xor    %edx,%edx
47861e:	c1 e8 04             	shr    $0x4,%eax
478621:	42                   	inc    %edx
478622:	89 5d f4             	mov    %ebx,-0xc(%ebp)
478625:	8b cb                	mov    %ebx,%ecx
478627:	66 89 5d f8          	mov    %bx,-0x8(%ebp)
47862b:	89 4d f0             	mov    %ecx,-0x10(%ebp)
47862e:	6a 20                	push   $0x20
478630:	5f                   	pop    %edi
478631:	84 c2                	test   %al,%dl
478633:	74 33                	je     0x478668
478635:	8b 46 1c             	mov    0x1c(%esi),%eax
478638:	c1 e8 06             	shr    $0x6,%eax
47863b:	84 c2                	test   %al,%dl
47863d:	74 04                	je     0x478643
47863f:	6a 2d                	push   $0x2d
478641:	eb 07                	jmp    0x47864a
478643:	84 56 1c             	test   %dl,0x1c(%esi)
478646:	74 0e                	je     0x478656
478648:	6a 2b                	push   $0x2b
47864a:	58                   	pop    %eax
47864b:	8b ca                	mov    %edx,%ecx
47864d:	66 89 45 f4          	mov    %ax,-0xc(%ebp)
478651:	89 4d f0             	mov    %ecx,-0x10(%ebp)
478654:	eb 12                	jmp    0x478668
478656:	8b 46 1c             	mov    0x1c(%esi),%eax
478659:	d1 e8                	shr    $1,%eax
47865b:	84 c2                	test   %al,%dl
47865d:	74 09                	je     0x478668
47865f:	66 89 7d f4          	mov    %di,-0xc(%ebp)
478663:	8b ca                	mov    %edx,%ecx
478665:	89 55 f0             	mov    %edx,-0x10(%ebp)
478668:	0f b7 56 2e          	movzwl 0x2e(%esi),%edx
47866c:	6a 78                	push   $0x78
47866e:	5f                   	pop    %edi
47866f:	66 3b d7             	cmp    %di,%dx
478672:	74 08                	je     0x47867c
478674:	6a 58                	push   $0x58
478676:	58                   	pop    %eax
478677:	66 3b d0             	cmp    %ax,%dx
47867a:	75 0c                	jne    0x478688
47867c:	8b 46 1c             	mov    0x1c(%esi),%eax
47867f:	c1 e8 05             	shr    $0x5,%eax
478682:	b4 01                	mov    $0x1,%ah
478684:	a8 01                	test   $0x1,%al
478686:	75 02                	jne    0x47868a
478688:	8a e3                	mov    %bl,%ah
47868a:	83 fa 61             	cmp    $0x61,%edx
47868d:	74 08                	je     0x478697
47868f:	8a c3                	mov    %bl,%al
478691:	66 3b 55 ec          	cmp    -0x14(%ebp),%dx
478695:	75 02                	jne    0x478699
478697:	b0 01                	mov    $0x1,%al
478699:	c7 45 e8 30 00 00 00 	movl   $0x30,-0x18(%ebp)
4786a0:	84 e4                	test   %ah,%ah
4786a2:	75 04                	jne    0x4786a8
4786a4:	84 c0                	test   %al,%al
4786a6:	74 23                	je     0x4786cb
4786a8:	8b 45 e8             	mov    -0x18(%ebp),%eax
4786ab:	6a 58                	push   $0x58
4786ad:	66 89 44 4d f4       	mov    %ax,-0xc(%ebp,%ecx,2)
4786b2:	58                   	pop    %eax
4786b3:	66 3b d0             	cmp    %ax,%dx
4786b6:	74 06                	je     0x4786be
4786b8:	66 3b 55 ec          	cmp    -0x14(%ebp),%dx
4786bc:	75 02                	jne    0x4786c0
4786be:	8b f8                	mov    %eax,%edi
4786c0:	66 89 7c 4d f6       	mov    %di,-0xa(%ebp,%ecx,2)
4786c5:	83 c1 02             	add    $0x2,%ecx
4786c8:	89 4d f0             	mov    %ecx,-0x10(%ebp)
4786cb:	8b 56 20             	mov    0x20(%esi),%edx
4786ce:	2b 56 34             	sub    0x34(%esi),%edx
4786d1:	2b d1                	sub    %ecx,%edx
4786d3:	f6 46 1c 0c          	testb  $0xc,0x1c(%esi)
4786d7:	89 55 dc             	mov    %edx,-0x24(%ebp)
4786da:	75 5e                	jne    0x47873a
4786dc:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
4786df:	85 d2                	test   %edx,%edx
4786e1:	7e 57                	jle    0x47873a
4786e3:	8b 5e 14             	mov    0x14(%esi),%ebx
4786e6:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
4786e9:	8b be 48 04 00 00    	mov    0x448(%esi),%edi
4786ef:	8b 47 08             	mov    0x8(%edi),%eax
4786f2:	3b 47 04             	cmp    0x4(%edi),%eax
4786f5:	75 11                	jne    0x478708
4786f7:	80 7f 0c 00          	cmpb   $0x0,0xc(%edi)
4786fb:	74 03                	je     0x478700
4786fd:	43                   	inc    %ebx
4786fe:	eb 03                	jmp    0x478703
478700:	83 cb ff             	or     $0xffffffff,%ebx
478703:	89 5e 14             	mov    %ebx,0x14(%esi)
478706:	eb 20                	jmp    0x478728
478708:	8d 43 01             	lea    0x1(%ebx),%eax
47870b:	89 46 14             	mov    %eax,0x14(%esi)
47870e:	ff 47 08             	incl   0x8(%edi)
478711:	8b 86 48 04 00 00    	mov    0x448(%esi),%eax
478717:	6a 20                	push   $0x20
478719:	5b                   	pop    %ebx
47871a:	8b 00                	mov    (%eax),%eax
47871c:	66 89 18             	mov    %bx,(%eax)
47871f:	8b 86 48 04 00 00    	mov    0x448(%esi),%eax
478725:	83 00 02             	addl   $0x2,(%eax)
478728:	8b 5e 14             	mov    0x14(%esi),%ebx
47872b:	83 fb ff             	cmp    $0xffffffff,%ebx
47872e:	74 05                	je     0x478735
478730:	41                   	inc    %ecx
478731:	3b ca                	cmp    %edx,%ecx
478733:	7c b4                	jl     0x4786e9
478735:	8b 4d f0             	mov    -0x10(%ebp),%ecx
478738:	33 db                	xor    %ebx,%ebx
47873a:	ff 76 08             	push   0x8(%esi)
47873d:	8d 7e 14             	lea    0x14(%esi),%edi
478740:	57                   	push   %edi
478741:	51                   	push   %ecx
478742:	8d 86 48 04 00 00    	lea    0x448(%esi),%eax
478748:	8d 4d f4             	lea    -0xc(%ebp),%ecx
47874b:	89 45 e4             	mov    %eax,-0x1c(%ebp)
47874e:	51                   	push   %ecx
47874f:	8b c8                	mov    %eax,%ecx
478751:	e8 c8 0a 00 00       	call   0x47921e
478756:	8b 4e 1c             	mov    0x1c(%esi),%ecx
478759:	8d 96 48 04 00 00    	lea    0x448(%esi),%edx
47875f:	8b c1                	mov    %ecx,%eax
478761:	c1 e8 03             	shr    $0x3,%eax
478764:	a8 01                	test   $0x1,%al
478766:	74 5b                	je     0x4787c3
478768:	c1 e9 02             	shr    $0x2,%ecx
47876b:	f6 c1 01             	test   $0x1,%cl
47876e:	75 53                	jne    0x4787c3
478770:	8b 4d dc             	mov    -0x24(%ebp),%ecx
478773:	89 5d ec             	mov    %ebx,-0x14(%ebp)
478776:	85 c9                	test   %ecx,%ecx
478778:	7e 49                	jle    0x4787c3
47877a:	8b 02                	mov    (%edx),%eax
47877c:	89 45 f0             	mov    %eax,-0x10(%ebp)
47877f:	8b d8                	mov    %eax,%ebx
478781:	8b 40 08             	mov    0x8(%eax),%eax
478784:	3b 43 04             	cmp    0x4(%ebx),%eax
478787:	8b c3                	mov    %ebx,%eax
478789:	75 12                	jne    0x47879d
47878b:	80 78 0c 00          	cmpb   $0x0,0xc(%eax)
47878f:	74 05                	je     0x478796
478791:	8b 07                	mov    (%edi),%eax
478793:	40                   	inc    %eax
478794:	eb 03                	jmp    0x478799
478796:	83 c8 ff             	or     $0xffffffff,%eax
478799:	89 07                	mov    %eax,(%edi)
47879b:	eb 14                	jmp    0x4787b1
47879d:	ff 07                	incl   (%edi)
47879f:	ff 40 08             	incl   0x8(%eax)
4787a2:	8b 02                	mov    (%edx),%eax
4787a4:	8b 5d e8             	mov    -0x18(%ebp),%ebx
4787a7:	8b 00                	mov    (%eax),%eax
4787a9:	66 89 18             	mov    %bx,(%eax)
4787ac:	8b 02                	mov    (%edx),%eax
4787ae:	83 00 02             	addl   $0x2,(%eax)
4787b1:	83 3f ff             	cmpl   $0xffffffff,(%edi)
4787b4:	74 0b                	je     0x4787c1
4787b6:	8b 45 ec             	mov    -0x14(%ebp),%eax
4787b9:	40                   	inc    %eax
4787ba:	89 45 ec             	mov    %eax,-0x14(%ebp)
4787bd:	3b c1                	cmp    %ecx,%eax
4787bf:	7c b9                	jl     0x47877a
4787c1:	33 db                	xor    %ebx,%ebx
4787c3:	80 7e 38 00          	cmpb   $0x0,0x38(%esi)
4787c7:	0f 85 ad 00 00 00    	jne    0x47887a
4787cd:	39 5e 34             	cmp    %ebx,0x34(%esi)
4787d0:	0f 8e a4 00 00 00    	jle    0x47887a