5944bd:	8d 14 55 ff ff ff ff 	lea    -0x1(,%edx,2),%edx
5944c4:	85 d2                	test   %edx,%edx
5944c6:	8b 54 24 28          	mov    0x28(%esp),%edx
5944ca:	7e 94                	jle    0x594460
5944cc:	8d 44 24 10          	lea    0x10(%esp),%eax
5944d0:	50                   	push   %eax
5944d1:	56                   	push   %esi
5944d2:	57                   	push   %edi
5944d3:	e8 b8 04 00 00       	call   0x594990
5944d8:	8b 4c 24 30          	mov    0x30(%esp),%ecx
5944dc:	83 c4 0c             	add    $0xc,%esp
5944df:	8b 54 24 28          	mov    0x28(%esp),%edx
5944e3:	85 c0                	test   %eax,%eax
5944e5:	0f 84 75 ff ff ff    	je     0x594460
5944eb:	8b de                	mov    %esi,%ebx
5944ed:	e9 6e ff ff ff       	jmp    0x594460
5944f2:	85 c9                	test   %ecx,%ecx
5944f4:	75 47                	jne    0x59453d
5944f6:	85 db                	test   %ebx,%ebx
5944f8:	0f 84 ed fe ff ff    	je     0x5943eb
5944fe:	39 8f 4c 04 00 00    	cmp    %ecx,0x44c(%edi)
594504:	74 16                	je     0x59451c
594506:	81 fb 04 03 00 00    	cmp    $0x304,%ebx
59450c:	0f 85 d9 fe ff ff    	jne    0x5943eb
594512:	5f                   	pop    %edi
594513:	5e                   	pop    %esi
594514:	5d                   	pop    %ebp
594515:	33 c0                	xor    %eax,%eax
594517:	5b                   	pop    %ebx
594518:	83 c4 10             	add    $0x10,%esp
59451b:	c3                   	ret
59451c:	ff 74 24 2c          	push   0x2c(%esp)
594520:	53                   	push   %ebx
594521:	57                   	push   %edi
594522:	e8 e9 ef ff ff       	call   0x593510
594527:	8b 44 24 1c          	mov    0x1c(%esp),%eax
59452b:	83 c4 0c             	add    $0xc,%esp
59452e:	89 1f                	mov    %ebx,(%edi)
594530:	89 47 04             	mov    %eax,0x4(%edi)
594533:	33 c0                	xor    %eax,%eax
594535:	5f                   	pop    %edi
594536:	5e                   	pop    %esi
594537:	5d                   	pop    %ebp
594538:	5b                   	pop    %ebx
594539:	83 c4 10             	add    $0x10,%esp
59453c:	c3                   	ret
59453d:	5f                   	pop    %edi
59453e:	5e                   	pop    %esi
59453f:	5d                   	pop    %ebp
594540:	b8 9f 00 00 00       	mov    $0x9f,%eax
594545:	5b                   	pop    %ebx
594546:	83 c4 10             	add    $0x10,%esp
594549:	c3                   	ret
59454a:	b9 00 ff 00 00       	mov    $0xff00,%ecx
59454f:	81 fd 04 03 00 00    	cmp    $0x304,%ebp
594555:	74 36                	je     0x59458d
594557:	8b 42 64             	mov    0x64(%edx),%eax
59455a:	f6 40 30 08          	testb  $0x8,0x30(%eax)
59455e:	75 0d                	jne    0x59456d
594560:	33 c9                	xor    %ecx,%ecx
594562:	81 fd 04 03 00 00    	cmp    $0x304,%ebp
594568:	0f 9d c1             	setge  %cl
59456b:	eb 15                	jmp    0x594582
59456d:	81 fd 00 01 00 00    	cmp    $0x100,%ebp
594573:	8b c5                	mov    %ebp,%eax
594575:	0f 44 c1             	cmove  %ecx,%eax
594578:	33 c9                	xor    %ecx,%ecx
59457a:	3d 04 03 00 00       	cmp    $0x304,%eax
59457f:	0f 9e c1             	setle  %cl
594582:	8d 0c 4d ff ff ff ff 	lea    -0x1(,%ecx,2),%ecx
594589:	85 c9                	test   %ecx,%ecx
59458b:	78 05                	js     0x594592
59458d:	bd 03 03 00 00       	mov    $0x303,%ebp
594592:	39 1e                	cmp    %ebx,(%esi)
594594:	74 76                	je     0x59460c
594596:	8b 5e 08             	mov    0x8(%esi),%ebx
594599:	85 db                	test   %ebx,%ebx
59459b:	74 63                	je     0x594600
59459d:	8b 16                	mov    (%esi),%edx
59459f:	3b ea                	cmp    %edx,%ebp
5945a1:	74 40                	je     0x5945e3
5945a3:	8b 47 04             	mov    0x4(%edi),%eax
5945a6:	8b 40 64             	mov    0x64(%eax),%eax
5945a9:	f6 40 30 08          	testb  $0x8,0x30(%eax)
5945ad:	75 09                	jne    0x5945b8
5945af:	33 c9                	xor    %ecx,%ecx
5945b1:	3b ea                	cmp    %edx,%ebp
5945b3:	0f 9d c1             	setge  %cl
5945b6:	eb 20                	jmp    0x5945d8
5945b8:	81 fa 00 01 00 00    	cmp    $0x100,%edx
5945be:	b9 00 ff 00 00       	mov    $0xff00,%ecx
5945c3:	8b c5                	mov    %ebp,%eax
5945c5:	0f 44 d1             	cmove  %ecx,%edx
5945c8:	81 fd 00 01 00 00    	cmp    $0x100,%ebp
5945ce:	0f 44 c1             	cmove  %ecx,%eax
5945d1:	33 c9                	xor    %ecx,%ecx
5945d3:	3b c2                	cmp    %edx,%eax
5945d5:	0f 9e c1             	setle  %cl
5945d8:	8d 0c 4d ff ff ff ff 	lea    -0x1(,%ecx,2),%ecx
5945df:	85 c9                	test   %ecx,%ecx
5945e1:	78 1d                	js     0x594600
5945e3:	ff d3                	call   *%ebx
5945e5:	8b d8                	mov    %eax,%ebx
5945e7:	53                   	push   %ebx
5945e8:	57                   	push   %edi
5945e9:	e8 22 02 00 00       	call   0x594810
5945ee:	83 c4 08             	add    $0x8,%esp
5945f1:	85 c0                	test   %eax,%eax
5945f3:	74 2e                	je     0x594623
5945f5:	bb 01 00 00 00       	mov    $0x1,%ebx
5945fa:	89 5c 24 28          	mov    %ebx,0x28(%esp)
5945fe:	eb 04                	jmp    0x594604
594600:	8b 5c 24 28          	mov    0x28(%esp),%ebx
594604:	83 c6 0c             	add    $0xc,%esi
594607:	83 3e 00             	cmpl   $0x0,(%esi)
59460a:	75 8a                	jne    0x594596
59460c:	5f                   	pop    %edi
59460d:	5e                   	pop    %esi
59460e:	85 db                	test   %ebx,%ebx
594610:	b8 8c 01 00 00       	mov    $0x18c,%eax
594615:	b9 02 01 00 00       	mov    $0x102,%ecx
59461a:	5d                   	pop    %ebp
59461b:	0f 45 c1             	cmovne %ecx,%eax
59461e:	5b                   	pop    %ebx
59461f:	83 c4 10             	add    $0x10,%esp
594622:	c3                   	ret
594623:	ff 74 24 2c          	push   0x2c(%esp)
594627:	ff 36                	push   (%esi)
594629:	57                   	push   %edi
59462a:	e8 e1 ee ff ff       	call   0x593510
59462f:	8b 06                	mov    (%esi),%eax
594631:	83 c4 0c             	add    $0xc,%esp
594634:	89 07                	mov    %eax,(%edi)
594636:	33 c0                	xor    %eax,%eax
594638:	89 5f 04             	mov    %ebx,0x4(%edi)
59463b:	5f                   	pop    %edi
59463c:	5e                   	pop    %esi
59463d:	5d                   	pop    %ebp
59463e:	5b                   	pop    %ebx
59463f:	83 c4 10             	add    $0x10,%esp
594642:	c3                   	ret
594643:	cc                   	int3
594644:	cc                   	int3
594645:	cc                   	int3
594646:	cc                   	int3
594647:	cc                   	int3
594648:	cc                   	int3
594649:	cc                   	int3
59464a:	cc                   	int3
59464b:	cc                   	int3
59464c:	cc                   	int3
59464d:	cc                   	int3
59464e:	cc                   	int3
59464f:	cc                   	int3
594650:	b8 08 00 00 00       	mov    $0x8,%eax
594655:	e8 56 d1 03 00       	call   0x5d17b0
59465a:	55                   	push   %ebp
59465b:	56                   	push   %esi
59465c:	8b 74 24 14          	mov    0x14(%esp),%esi
594660:	8b 46 04             	mov    0x4(%esi),%eax
594663:	8b 00                	mov    (%eax),%eax
594665:	3d 00 00 01 00       	cmp    $0x10000,%eax
59466a:	74 32                	je     0x59469e
59466c:	3d ff ff 01 00       	cmp    $0x1ffff,%eax
594671:	74 24                	je     0x594697
594673:	83 7c 24 20 00       	cmpl   $0x0,0x20(%esp)
594678:	8b 44 24 1c          	mov    0x1c(%esp),%eax
59467c:	8b 0e                	mov    (%esi),%ecx
59467e:	89 08                	mov    %ecx,(%eax)
594680:	8b 44 24 18          	mov    0x18(%esp),%eax
594684:	89 08                	mov    %ecx,(%eax)
594686:	0f 84 7c 01 00 00    	je     0x594808
59468c:	5e                   	pop    %esi
59468d:	b8 44 00 00 00       	mov    $0x44,%eax
594692:	5d                   	pop    %ebp
594693:	83 c4 08             	add    $0x8,%esp
594696:	c3                   	ret
594697:	bd 90 71 66 00       	mov    $0x667190,%ebp
59469c:	eb 05                	jmp    0x5946a3
59469e:	bd 48 71 66 00       	mov    $0x667148,%ebp
5946a3:	8b 44 24 18          	mov    0x18(%esp),%eax
5946a7:	33 c9                	xor    %ecx,%ecx
5946a9:	8b 54 24 20          	mov    0x20(%esp),%edx
5946ad:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
5946b1:	c7 44 24 08 01 00 00 	movl   $0x1,0x8(%esp)
5946b8:	00
5946b9:	89 08                	mov    %ecx,(%eax)
5946bb:	85 d2                	test   %edx,%edx
5946bd:	74 02                	je     0x5946c1
5946bf:	89 0a                	mov    %ecx,(%edx)
5946c1:	57                   	push   %edi
5946c2:	33 ff                	xor    %edi,%edi
5946c4:	89 7c 24 18          	mov    %edi,0x18(%esp)
5946c8:	39 4d 00             	cmp    %ecx,0x0(%ebp)
5946cb:	0f 84 21 01 00 00    	je     0x5947f2
5946d1:	53                   	push   %ebx
5946d2:	8b 45 04             	mov    0x4(%ebp),%eax
5946d5:	85 c0                	test   %eax,%eax
5946d7:	75 0b                	jne    0x5946e4
5946d9:	33 ff                	xor    %edi,%edi
5946db:	89 7c 24 1c          	mov    %edi,0x1c(%esp)
5946df:	e9 f4 00 00 00       	jmp    0x5947d8
5946e4:	ff d0                	call   *%eax
5946e6:	83 7c 24 10 01       	cmpl   $0x1,0x10(%esp)
5946eb:	8b d8                	mov    %eax,%ebx
5946ed:	75 0b                	jne    0x5946fa
5946ef:	85 ff                	test   %edi,%edi
5946f1:	75 07                	jne    0x5946fa
5946f3:	8b 45 00             	mov    0x0(%ebp),%eax
5946f6:	89 44 24 1c          	mov    %eax,0x1c(%esp)
5946fa:	8b 96 f4 04 00 00    	mov    0x4f4(%esi),%edx
594700:	8b 3b                	mov    (%ebx),%edi
594702:	85 d2                	test   %edx,%edx
594704:	74 48                	je     0x59474e
594706:	3b fa                	cmp    %edx,%edi
594708:	74 44                	je     0x59474e
59470a:	8b 46 04             	mov    0x4(%esi),%eax
59470d:	8b 40 64             	mov    0x64(%eax),%eax
594710:	f6 40 30 08          	testb  $0x8,0x30(%eax)
594714:	75 09                	jne    0x59471f
594716:	33 c9                	xor    %ecx,%ecx
594718:	3b fa                	cmp    %edx,%edi
59471a:	0f 9d c1             	setge  %cl
59471d:	eb 20                	jmp    0x59473f
59471f:	81 fa 00 01 00 00    	cmp    $0x100,%edx
594725:	b9 00 ff 00 00       	mov    $0xff00,%ecx
59472a:	8b c7                	mov    %edi,%eax
59472c:	0f 44 d1             	cmove  %ecx,%edx
59472f:	81 ff 00 01 00 00    	cmp    $0x100,%edi
594735:	0f 44 c1             	cmove  %ecx,%eax
594738:	33 c9                	xor    %ecx,%ecx
59473a:	3b c2                	cmp    %edx,%eax
59473c:	0f 9e c1             	setle  %cl
59473f:	8d 0c 4d ff ff ff ff 	lea    -0x1(,%ecx,2),%ecx
594746:	85 c9                	test   %ecx,%ecx
594748:	0f 88 86 00 00 00    	js     0x5947d4
59474e:	6a 00                	push   $0x0
594750:	57                   	push   %edi
594751:	6a 00                	push   $0x0
594753:	6a 09                	push   $0x9
594755:	56                   	push   %esi
594756:	e8 25 6e ff ff       	call   0x58b580
59475b:	83 c4 14             	add    $0x14,%esp
59475e:	85 c0                	test   %eax,%eax
594760:	74 72                	je     0x5947d4
594762:	8b 86 f8 04 00 00    	mov    0x4f8(%esi),%eax
594768:	85 c0                	test   %eax,%eax
59476a:	74 0f                	je     0x59477b
59476c:	50                   	push   %eax
59476d:	57                   	push   %edi
59476e:	56                   	push   %esi
59476f:	e8 3c 1b 00 00       	call   0x5962b0
594774:	83 c4 0c             	add    $0xc,%esp
594777:	85 c0                	test   %eax,%eax
594779:	7f 59                	jg     0x5947d4
59477b:	8b 86 ec 04 00 00    	mov    0x4ec(%esi),%eax
594781:	85 43 08             	test   %eax,0x8(%ebx)
594784:	75 4e                	jne    0x5947d4
594786:	f6 43 04 02          	testb  $0x2,0x4(%ebx)
59478a:	74 0f                	je     0x59479b
59478c:	8b 86 04 04 00 00    	mov    0x404(%esi),%eax
594792:	f7 40 10 00 00 03 00 	testl  $0x30000,0x10(%eax)
594799:	75 39                	jne    0x5947d4
59479b:	83 7c 24 10 00       	cmpl   $0x0,0x10(%esp)
5947a0:	8b 7c 24 1c          	mov    0x1c(%esp),%edi
5947a4:	75 0a                	jne    0x5947b0
5947a6:	8b 4c 24 20          	mov    0x20(%esp),%ecx
5947aa:	8b 03                	mov    (%ebx),%eax
5947ac:	89 01                	mov    %eax,(%ecx)
5947ae:	eb 30                	jmp    0x5947e0
5947b0:	8b 54 24 28          	mov    0x28(%esp),%edx
5947b4:	85 d2                	test   %edx,%edx
5947b6:	74 06                	je     0x5947be
5947b8:	85 ff                	test   %edi,%edi
5947ba:	74 02                	je     0x5947be
5947bc:	89 3a                	mov    %edi,(%edx)
5947be:	8b 44 24 20          	mov    0x20(%esp),%eax
5947c2:	8b 0b                	mov    (%ebx),%ecx
5947c4:	89 4c 24 14          	mov    %ecx,0x14(%esp)
5947c8:	c7 44 24 10 00 00 00 	movl   $0x0,0x10(%esp)
5947cf:	00
5947d0:	89 08                	mov    %ecx,(%eax)
5947d2:	eb 10                	jmp    0x5947e4
5947d4:	8b 7c 24 1c          	mov    0x1c(%esp),%edi
5947d8:	c7 44 24 10 01 00 00 	movl   $0x1,0x10(%esp)
5947df:	00
5947e0:	8b 4c 24 14          	mov    0x14(%esp),%ecx
5947e4:	83 c5 0c             	add    $0xc,%ebp
5947e7:	83 7d 00 00          	cmpl   $0x0,0x0(%ebp)
5947eb:	0f 85 e1 fe ff ff    	jne    0x5946d2
5947f1:	5b                   	pop    %ebx
5947f2:	8b 44 24 20          	mov    0x20(%esp),%eax
5947f6:	5f                   	pop    %edi
5947f7:	89 08                	mov    %ecx,(%eax)
5947f9:	85 c9                	test   %ecx,%ecx
5947fb:	75 0b                	jne    0x594808
5947fd:	5e                   	pop    %esi
5947fe:	b8 bf 00 00 00       	mov    $0xbf,%eax
594803:	5d                   	pop    %ebp
594804:	83 c4 08             	add    $0x8,%esp
594807:	c3                   	ret
594808:	5e                   	pop    %esi
594809:	33 c0                	xor    %eax,%eax
59480b:	5d                   	pop    %ebp
59480c:	83 c4 08             	add    $0x8,%esp
59480f:	c3                   	ret
594810:	53                   	push   %ebx
594811:	56                   	push   %esi
594812:	8b 74 24 0c          	mov    0xc(%esp),%esi
594816:	57                   	push   %edi
594817:	8b 7c 24 14          	mov    0x14(%esp),%edi
59481b:	8b 86 f4 04 00 00    	mov    0x4f4(%esi),%eax
594821:	8b 1f                	mov    (%edi),%ebx
594823:	85 c0                	test   %eax,%eax
594825:	74 0f                	je     0x594836
594827:	50                   	push   %eax
594828:	53                   	push   %ebx
594829:	56                   	push   %esi
59482a:	e8 81 1a 00 00       	call   0x5962b0
59482f:	83 c4 0c             	add    $0xc,%esp
594832:	85 c0                	test   %eax,%eax
594834:	78 14                	js     0x59484a
594836:	6a 00                	push   $0x0
594838:	53                   	push   %ebx
594839:	6a 00                	push   $0x0
59483b:	6a 09                	push   $0x9
59483d:	56                   	push   %esi
59483e:	e8 3d 6d ff ff       	call   0x58b580
594843:	83 c4 14             	add    $0x14,%esp
594846:	85 c0                	test   %eax,%eax
594848:	75 09                	jne    0x594853
59484a:	5f                   	pop    %edi
59484b:	5e                   	pop    %esi
59484c:	b8 8c 01 00 00       	mov    $0x18c,%eax
594851:	5b                   	pop    %ebx
594852:	c3                   	ret
594853:	8b 86 f8 04 00 00    	mov    0x4f8(%esi),%eax
594859:	85 c0                	test   %eax,%eax
59485b:	74 18                	je     0x594875
59485d:	50                   	push   %eax
59485e:	53                   	push   %ebx
59485f:	56                   	push   %esi
594860:	e8 4b 1a 00 00       	call   0x5962b0
594865:	83 c4 0c             	add    $0xc,%esp
594868:	85 c0                	test   %eax,%eax
59486a:	7e 09                	jle    0x594875
59486c:	5f                   	pop    %edi
59486d:	5e                   	pop    %esi
59486e:	b8 a6 00 00 00       	mov    $0xa6,%eax
594873:	5b                   	pop    %ebx