52b3f0:	80 7f 51 00          	cmpb   $0x0,0x51(%edi)
52b3f4:	89 45 bc             	mov    %eax,-0x44(%ebp)
52b3f7:	0f 85 80 00 00 00    	jne    0x52b47d
52b3fd:	53                   	push   %ebx
52b3fe:	50                   	push   %eax
52b3ff:	52                   	push   %edx
52b400:	e8 4b 9e ff ff       	call   0x525250
52b405:	83 c4 0c             	add    $0xc,%esp
52b408:	89 45 a0             	mov    %eax,-0x60(%ebp)
52b40b:	3b c3                	cmp    %ebx,%eax
52b40d:	74 6e                	je     0x52b47d
52b40f:	8b 4d dc             	mov    -0x24(%ebp),%ecx
52b412:	8b 79 08             	mov    0x8(%ecx),%edi
52b415:	85 ff                	test   %edi,%edi
52b417:	74 61                	je     0x52b47a
52b419:	8b 55 bc             	mov    -0x44(%ebp),%edx
52b41c:	8b 4f 6c             	mov    0x6c(%edi),%ecx
52b41f:	8b 52 04             	mov    0x4(%edx),%edx
52b422:	81 e2 00 00 20 00    	and    $0x200000,%edx
52b428:	f7 da                	neg    %edx
52b42a:	1b d2                	sbb    %edx,%edx
52b42c:	83 c2 4e             	add    $0x4e,%edx
52b42f:	39 4f 70             	cmp    %ecx,0x70(%edi)
52b432:	7f 10                	jg     0x52b444
52b434:	6a 00                	push   $0x0
52b436:	53                   	push   %ebx
52b437:	50                   	push   %eax
52b438:	52                   	push   %edx
52b439:	57                   	push   %edi
52b43a:	e8 c1 b0 fd ff       	call   0x506500
52b43f:	83 c4 14             	add    $0x14,%esp
52b442:	eb 36                	jmp    0x52b47a
52b444:	8d 41 01             	lea    0x1(%ecx),%eax
52b447:	89 47 6c             	mov    %eax,0x6c(%edi)
52b44a:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx
52b44d:	8b 47 68             	mov    0x68(%edi),%eax
52b450:	88 14 88             	mov    %dl,(%eax,%ecx,4)
52b453:	33 d2                	xor    %edx,%edx
52b455:	66 89 54 88 02       	mov    %dx,0x2(%eax,%ecx,4)
52b45a:	8b 55 a0             	mov    -0x60(%ebp),%edx
52b45d:	89 54 88 04          	mov    %edx,0x4(%eax,%ecx,4)
52b461:	89 5c 88 08          	mov    %ebx,0x8(%eax,%ecx,4)
52b465:	c7 44 88 0c 00 00 00 	movl   $0x0,0xc(%eax,%ecx,4)
52b46c:	00
52b46d:	c7 44 88 10 00 00 00 	movl   $0x0,0x10(%eax,%ecx,4)
52b474:	00
52b475:	c6 44 88 01 00       	movb   $0x0,0x1(%eax,%ecx,4)
52b47a:	8b 7d c0             	mov    -0x40(%ebp),%edi
52b47d:	8b 45 bc             	mov    -0x44(%ebp),%eax
52b480:	85 c0                	test   %eax,%eax
52b482:	74 0a                	je     0x52b48e
52b484:	50                   	push   %eax
52b485:	57                   	push   %edi
52b486:	e8 25 b3 ff ff       	call   0x5267b0
52b48b:	83 c4 08             	add    $0x8,%esp
52b48e:	8b 55 dc             	mov    -0x24(%ebp),%edx
52b491:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)
52b498:	e9 a7 00 00 00       	jmp    0x52b544
52b49d:	83 f9 ff             	cmp    $0xffffffff,%ecx
52b4a0:	74 56                	je     0x52b4f8
52b4a2:	8b 45 d8             	mov    -0x28(%ebp),%eax
52b4a5:	0f bf 40 28          	movswl 0x28(%eax),%eax
52b4a9:	3b c8                	cmp    %eax,%ecx
52b4ab:	74 4b                	je     0x52b4f8
52b4ad:	51                   	push   %ecx
52b4ae:	ff 75 d8             	push   -0x28(%ebp)
52b4b1:	e8 9a 29 01 00       	call   0x53de50
52b4b6:	8b 55 1c             	mov    0x1c(%ebp),%edx
52b4b9:	83 c4 08             	add    $0x8,%esp
52b4bc:	8b 4e 6c             	mov    0x6c(%esi),%ecx
52b4bf:	42                   	inc    %edx
52b4c0:	98                   	cwtl
52b4c1:	03 d0                	add    %eax,%edx
52b4c3:	39 4e 70             	cmp    %ecx,0x70(%esi)
52b4c6:	7f 14                	jg     0x52b4dc
52b4c8:	6a 00                	push   $0x0
52b4ca:	53                   	push   %ebx
52b4cb:	52                   	push   %edx
52b4cc:	6a 4e                	push   $0x4e
52b4ce:	56                   	push   %esi
52b4cf:	e8 2c b0 fd ff       	call   0x506500
52b4d4:	8b 55 dc             	mov    -0x24(%ebp),%edx
52b4d7:	83 c4 14             	add    $0x14,%esp
52b4da:	eb 6b                	jmp    0x52b547
52b4dc:	8d 41 01             	lea    0x1(%ecx),%eax
52b4df:	89 46 6c             	mov    %eax,0x6c(%esi)
52b4e2:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx
52b4e5:	8b 46 68             	mov    0x68(%esi),%eax
52b4e8:	89 54 88 04          	mov    %edx,0x4(%eax,%ecx,4)
52b4ec:	8b 55 dc             	mov    -0x24(%ebp),%edx
52b4ef:	c7 04 88 4e 00 00 00 	movl   $0x4e,(%eax,%ecx,4)
52b4f6:	eb 38                	jmp    0x52b530
52b4f8:	8b 4e 6c             	mov    0x6c(%esi),%ecx
52b4fb:	39 4e 70             	cmp    %ecx,0x70(%esi)
52b4fe:	7f 16                	jg     0x52b516
52b500:	6a 00                	push   $0x0
52b502:	53                   	push   %ebx
52b503:	ff 75 1c             	push   0x1c(%ebp)
52b506:	6a 4f                	push   $0x4f
52b508:	56                   	push   %esi
52b509:	e8 f2 af fd ff       	call   0x506500
52b50e:	8b 55 dc             	mov    -0x24(%ebp),%edx
52b511:	83 c4 14             	add    $0x14,%esp
52b514:	eb 31                	jmp    0x52b547
52b516:	8b 7d 1c             	mov    0x1c(%ebp),%edi
52b519:	8d 41 01             	lea    0x1(%ecx),%eax
52b51c:	89 46 6c             	mov    %eax,0x6c(%esi)
52b51f:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx
52b522:	8b 46 68             	mov    0x68(%esi),%eax
52b525:	c7 04 88 4f 00 00 00 	movl   $0x4f,(%eax,%ecx,4)
52b52c:	89 7c 88 04          	mov    %edi,0x4(%eax,%ecx,4)
52b530:	c7 44 88 10 00 00 00 	movl   $0x0,0x10(%eax,%ecx,4)
52b537:	00
52b538:	c7 44 88 0c 00 00 00 	movl   $0x0,0xc(%eax,%ecx,4)
52b53f:	00
52b540:	89 5c 88 08          	mov    %ebx,0x8(%eax,%ecx,4)
52b544:	8b 7d c4             	mov    -0x3c(%ebp),%edi
52b547:	8b 45 d0             	mov    -0x30(%ebp),%eax
52b54a:	83 c7 14             	add    $0x14,%edi
52b54d:	8b 4d b4             	mov    -0x4c(%ebp),%ecx
52b550:	43                   	inc    %ebx
52b551:	41                   	inc    %ecx
52b552:	89 7d c4             	mov    %edi,-0x3c(%ebp)
52b555:	89 4d b4             	mov    %ecx,-0x4c(%ebp)
52b558:	0f b7 40 34          	movzwl 0x34(%eax),%eax
52b55c:	3b c8                	cmp    %eax,%ecx
52b55e:	8b 45 d0             	mov    -0x30(%ebp),%eax
52b561:	0f 8c 49 fe ff ff    	jl     0x52b3b0
52b567:	8b 5d cc             	mov    -0x34(%ebp),%ebx
52b56a:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
52b56d:	8b 55 b8             	mov    -0x48(%ebp),%edx
52b570:	0f b7 78 34          	movzwl 0x34(%eax),%edi
52b574:	8b 14 8a             	mov    (%edx,%ecx,4),%edx
52b577:	8b 4e 6c             	mov    0x6c(%esi),%ecx
52b57a:	39 4e 70             	cmp    %ecx,0x70(%esi)
52b57d:	7f 10                	jg     0x52b58f
52b57f:	52                   	push   %edx
52b580:	57                   	push   %edi
52b581:	53                   	push   %ebx
52b582:	6a 5b                	push   $0x5b
52b584:	56                   	push   %esi
52b585:	e8 76 af fd ff       	call   0x506500
52b58a:	83 c4 14             	add    $0x14,%esp
52b58d:	eb 2a                	jmp    0x52b5b9
52b58f:	8d 41 01             	lea    0x1(%ecx),%eax
52b592:	89 46 6c             	mov    %eax,0x6c(%esi)
52b595:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx
52b598:	8b 46 68             	mov    0x68(%esi),%eax
52b59b:	8b 75 90             	mov    -0x70(%ebp),%esi
52b59e:	c7 04 88 5b 00 00 00 	movl   $0x5b,(%eax,%ecx,4)
52b5a5:	89 5c 88 04          	mov    %ebx,0x4(%eax,%ecx,4)
52b5a9:	89 7c 88 08          	mov    %edi,0x8(%eax,%ecx,4)
52b5ad:	89 54 88 0c          	mov    %edx,0xc(%eax,%ecx,4)
52b5b1:	c7 44 88 10 00 00 00 	movl   $0x0,0x10(%eax,%ecx,4)
52b5b8:	00
52b5b9:	83 7d 20 00          	cmpl   $0x0,0x20(%ebp)
52b5bd:	8b 4d d0             	mov    -0x30(%ebp),%ecx
52b5c0:	8b 45 b0             	mov    -0x50(%ebp),%eax
52b5c3:	74 38                	je     0x52b5fd
52b5c5:	3b c1                	cmp    %ecx,%eax
52b5c7:	75 34                	jne    0x52b5fd
52b5c9:	80 7d 24 00          	cmpb   $0x0,0x24(%ebp)
52b5cd:	75 2e                	jne    0x52b5fd
52b5cf:	8b 4e 0c             	mov    0xc(%esi),%ecx
52b5d2:	8b 55 a4             	mov    -0x5c(%ebp),%edx
52b5d5:	f7 d2                	not    %edx
52b5d7:	8b 41 3c             	mov    0x3c(%ecx),%eax
52b5da:	03 41 38             	add    0x38(%ecx),%eax
52b5dd:	79 10                	jns    0x52b5ef
52b5df:	52                   	push   %edx
52b5e0:	56                   	push   %esi
52b5e1:	51                   	push   %ecx
52b5e2:	e8 b9 81 fe ff       	call   0x5137a0
52b5e7:	83 c4 0c             	add    $0xc,%esp
52b5ea:	e9 2b 0b 00 00       	jmp    0x52c11a
52b5ef:	8b 49 40             	mov    0x40(%ecx),%ecx
52b5f2:	8b 46 6c             	mov    0x6c(%esi),%eax
52b5f5:	89 04 91             	mov    %eax,(%ecx,%edx,4)
52b5f8:	e9 1d 0b 00 00       	jmp    0x52c11a
52b5fd:	0f b6 59 36          	movzbl 0x36(%ecx),%ebx
52b601:	85 db                	test   %ebx,%ebx
52b603:	75 20                	jne    0x52b625
52b605:	8b 4e 0c             	mov    0xc(%esi),%ecx
52b608:	8b 55 a4             	mov    -0x5c(%ebp),%edx
52b60b:	f7 d2                	not    %edx
52b60d:	8b 41 3c             	mov    0x3c(%ecx),%eax
52b610:	03 41 38             	add    0x38(%ecx),%eax
52b613:	79 da                	jns    0x52b5ef
52b615:	52                   	push   %edx
52b616:	56                   	push   %esi
52b617:	51                   	push   %ecx
52b618:	e8 83 81 fe ff       	call   0x5137a0
52b61d:	83 c4 0c             	add    $0xc,%esp
52b620:	e9 f5 0a 00 00       	jmp    0x52c11a
52b625:	8a 55 28             	mov    0x28(%ebp),%dl
52b628:	80 fa 0b             	cmp    $0xb,%dl
52b62b:	74 05                	je     0x52b632
52b62d:	0f b6 da             	movzbl %dl,%ebx
52b630:	eb 0b                	jmp    0x52b63d
52b632:	83 fb 0b             	cmp    $0xb,%ebx
52b635:	ba 02 00 00 00       	mov    $0x2,%edx
52b63a:	0f 44 da             	cmove  %edx,%ebx
52b63d:	89 5d c0             	mov    %ebx,-0x40(%ebp)
52b640:	39 8d 78 ff ff ff    	cmp    %ecx,-0x88(%ebp)
52b646:	75 18                	jne    0x52b660
52b648:	8b 95 7c ff ff ff    	mov    -0x84(%ebp),%edx
52b64e:	33 db                	xor    %ebx,%ebx
52b650:	39 5a 08             	cmp    %ebx,0x8(%edx)
52b653:	0f 95 c3             	setne  %bl
52b656:	8d 1c 5d 04 00 00 00 	lea    0x4(,%ebx,2),%ebx
52b65d:	89 5d c0             	mov    %ebx,-0x40(%ebp)
52b660:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)
52b664:	0f 85 e8 00 00 00    	jne    0x52b752
52b66a:	83 79 14 00          	cmpl   $0x0,0x14(%ecx)
52b66e:	0f 85 de 00 00 00    	jne    0x52b752
52b674:	3b c1                	cmp    %ecx,%eax
52b676:	0f 85 d6 00 00 00    	jne    0x52b752
52b67c:	83 fb 05             	cmp    $0x5,%ebx
52b67f:	0f 85 cd 00 00 00    	jne    0x52b752
52b685:	8b 85 6c ff ff ff    	mov    -0x94(%ebp),%eax
52b68b:	8b 40 20             	mov    0x20(%eax),%eax
52b68e:	25 00 20 00 00       	and    $0x2000,%eax
52b693:	89 85 54 ff ff ff    	mov    %eax,-0xac(%ebp)
52b699:	8d 43 fb             	lea    -0x5(%ebx),%eax
52b69c:	75 04                	jne    0x52b6a2
52b69e:	85 c0                	test   %eax,%eax
52b6a0:	74 4c                	je     0x52b6ee
52b6a2:	8b 4d dc             	mov    -0x24(%ebp),%ecx
52b6a5:	33 d2                	xor    %edx,%edx
52b6a7:	33 ff                	xor    %edi,%edi
52b6a9:	8b 01                	mov    (%ecx),%eax
52b6ab:	8b 40 20             	mov    0x20(%eax),%eax
52b6ae:	25 00 00 04 00       	and    $0x40000,%eax
52b6b3:	0b c2                	or     %edx,%eax
52b6b5:	74 0e                	je     0x52b6c5
52b6b7:	ff 75 d8             	push   -0x28(%ebp)
52b6ba:	51                   	push   %ecx
52b6bb:	e8 a0 2d 01 00       	call   0x53e460
52b6c0:	83 c4 08             	add    $0x8,%esp
52b6c3:	8b d0                	mov    %eax,%edx
52b6c5:	8b ca                	mov    %edx,%ecx
52b6c7:	85 d2                	test   %edx,%edx
52b6c9:	74 18                	je     0x52b6e3
52b6cb:	0f 1f 44 00 00       	nopl   0x0(%eax,%eax,1)
52b6d0:	80 79 08 7e          	cmpb   $0x7e,0x8(%ecx)
52b6d4:	75 06                	jne    0x52b6dc
52b6d6:	0f b6 41 09          	movzbl 0x9(%ecx),%eax
52b6da:	0b f8                	or     %eax,%edi
52b6dc:	8b 49 20             	mov    0x20(%ecx),%ecx
52b6df:	85 c9                	test   %ecx,%ecx
52b6e1:	75 ed                	jne    0x52b6d0
52b6e3:	33 c0                	xor    %eax,%eax
52b6e5:	85 ff                	test   %edi,%edi
52b6e7:	0f 45 c2             	cmovne %edx,%eax
52b6ea:	85 c0                	test   %eax,%eax
52b6ec:	75 64                	jne    0x52b752
52b6ee:	8b 85 6c ff ff ff    	mov    -0x94(%ebp),%eax
52b6f4:	8b 40 20             	mov    0x20(%eax),%eax
52b6f7:	25 00 40 00 00       	and    $0x4000,%eax
52b6fc:	89 85 54 ff ff ff    	mov    %eax,-0xac(%ebp)
52b702:	b8 00 00 00 00       	mov    $0x0,%eax
52b707:	75 04                	jne    0x52b70d
52b709:	85 c0                	test   %eax,%eax
52b70b:	74 21                	je     0x52b72e
52b70d:	8b 4d d8             	mov    -0x28(%ebp),%ecx
52b710:	39 41 10             	cmp    %eax,0x10(%ecx)
52b713:	75 3d                	jne    0x52b752
52b715:	8b 41 48             	mov    0x48(%ecx),%eax
52b718:	6a 00                	push   $0x0
52b71a:	ff 31                	push   (%ecx)
52b71c:	83 c0 38             	add    $0x38,%eax
52b71f:	50                   	push   %eax
52b720:	e8 ab 68 fd ff       	call   0x501fd0
52b725:	83 c4 0c             	add    $0xc,%esp
52b728:	83 78 08 00          	cmpl   $0x0,0x8(%eax)
52b72c:	75 24                	jne    0x52b752
52b72e:	8b 4e 0c             	mov    0xc(%esi),%ecx
52b731:	8b 55 a4             	mov    -0x5c(%ebp),%edx
52b734:	f7 d2                	not    %edx
52b736:	8b 41 3c             	mov    0x3c(%ecx),%eax
52b739:	03 41 38             	add    0x38(%ecx),%eax
52b73c:	0f 89 ad fe ff ff    	jns    0x52b5ef
52b742:	52                   	push   %edx
52b743:	56                   	push   %esi
52b744:	51                   	push   %ecx
52b745:	e8 56 80 fe ff       	call   0x5137a0
52b74a:	83 c4 0c             	add    $0xc,%esp
52b74d:	e9 c8 09 00 00       	jmp    0x52c11a
52b752:	8b 45 d0             	mov    -0x30(%ebp),%eax
52b755:	8b 56 6c             	mov    0x6c(%esi),%edx
52b758:	89 55 bc             	mov    %edx,-0x44(%ebp)
52b75b:	0f b7 78 32          	movzwl 0x32(%eax),%edi
52b75f:	39 56 70             	cmp    %edx,0x70(%esi)
52b762:	7f 20                	jg     0x52b784
52b764:	8b 55 cc             	mov    -0x34(%ebp),%edx
52b767:	8b 45 d4             	mov    -0x2c(%ebp),%eax
52b76a:	03 45 18             	add    0x18(%ebp),%eax
52b76d:	52                   	push   %edx
52b76e:	ff 75 a4             	push   -0x5c(%ebp)
52b771:	50                   	push   %eax
52b772:	6a 1c                	push   $0x1c
52b774:	56                   	push   %esi
52b775:	e8 86 ad fd ff       	call   0x506500
52b77a:	8b d0                	mov    %eax,%edx
52b77c:	83 c4 14             	add    $0x14,%esp
52b77f:	89 55 bc             	mov    %edx,-0x44(%ebp)
52b782:	eb 3c                	jmp    0x52b7c0
52b784:	8b 5d c0             	mov    -0x40(%ebp),%ebx
52b787:	8d 42 01             	lea    0x1(%edx),%eax
52b78a:	8d 0c 92             	lea    (%edx,%edx,4),%ecx
52b78d:	89 46 6c             	mov    %eax,0x6c(%esi)
52b790:	8b 46 68             	mov    0x68(%esi),%eax
52b793:	8b 55 d4             	mov    -0x2c(%ebp),%edx
52b796:	03 55 18             	add    0x18(%ebp),%edx
52b799:	8b 75 90             	mov    -0x70(%ebp),%esi
52b79c:	89 54 88 04          	mov    %edx,0x4(%eax,%ecx,4)
52b7a0:	8b 55 a4             	mov    -0x5c(%ebp),%edx
52b7a3:	89 54 88 08          	mov    %edx,0x8(%eax,%ecx,4)
52b7a7:	8b 55 cc             	mov    -0x34(%ebp),%edx
52b7aa:	89 54 88 0c          	mov    %edx,0xc(%eax,%ecx,4)
52b7ae:	8b 55 bc             	mov    -0x44(%ebp),%edx
52b7b1:	c7 04 88 1c 00 00 00 	movl   $0x1c,(%eax,%ecx,4)
52b7b8:	c7 44 88 10 00 00 00 	movl   $0x0,0x10(%eax,%ecx,4)
52b7bf:	00
52b7c0:	8b 06                	mov    (%esi),%eax
52b7c2:	80 78 51 00          	cmpb   $0x0,0x51(%eax)
52b7c6:	75 0f                	jne    0x52b7d7
52b7c8:	8b 46 68             	mov    0x68(%esi),%eax
52b7cb:	8d 0c 92             	lea    (%edx,%edx,4),%ecx
52b7ce:	c6 44 88 01 fd       	movb   $0xfd,0x1(%eax,%ecx,4)
52b7d3:	89 7c 88 10          	mov    %edi,0x10(%eax,%ecx,4)
52b7d7:	8b 55 d0             	mov    -0x30(%ebp),%edx
52b7da:	3b 55 b0             	cmp    -0x50(%ebp),%edx
52b7dd:	75 08                	jne    0x52b7e7
52b7df:	8b 7d cc             	mov    -0x34(%ebp),%edi
52b7e2:	89 7d 98             	mov    %edi,-0x68(%ebp)
52b7e5:	eb 57                	jmp    0x52b83e
52b7e7:	8b 45 84             	mov    -0x7c(%ebp),%eax
52b7ea:	8b 55 dc             	mov    -0x24(%ebp),%edx
52b7ed:	83 f8 01             	cmp    $0x1,%eax
52b7f0:	75 20                	jne    0x52b812
52b7f2:	8a 42 13             	mov    0x13(%edx),%al
52b7f5:	84 c0                	test   %al,%al
52b7f7:	75 08                	jne    0x52b801
52b7f9:	ff 42 2c             	incl   0x2c(%edx)
52b7fc:	8b 7a 2c             	mov    0x2c(%edx),%edi
52b7ff:	eb 37                	jmp    0x52b838
52b801:	fe c8                	dec    %al
52b803:	88 42 13             	mov    %al,0x13(%edx)
52b806:	0f b6 c0             	movzbl %al,%eax