481645:	e8 b8 e3 fb ff       	call   0x43fa02
48164a:	8b e5                	mov    %ebp,%esp
48164c:	5d                   	pop    %ebp
48164d:	c2 04 00             	ret    $0x4
481650:	8b ff                	mov    %edi,%edi
481652:	55                   	push   %ebp
481653:	8b ec                	mov    %esp,%ebp
481655:	81 ec f4 00 00 00    	sub    $0xf4,%esp
48165b:	a1 94 80 4b 00       	mov    0x4b8094,%eax
481660:	33 c5                	xor    %ebp,%eax
481662:	89 45 fc             	mov    %eax,-0x4(%ebp)
481665:	53                   	push   %ebx
481666:	56                   	push   %esi
481667:	8b 75 08             	mov    0x8(%ebp),%esi
48166a:	57                   	push   %edi
48166b:	e8 90 09 ff ff       	call   0x472000
481670:	8b d8                	mov    %eax,%ebx
481672:	e8 89 09 ff ff       	call   0x472000
481677:	56                   	push   %esi
481678:	8b b8 4c 03 00 00    	mov    0x34c(%eax),%edi
48167e:	e8 a5 00 00 00       	call   0x481728
481683:	59                   	pop    %ecx
481684:	8b 4b 60             	mov    0x60(%ebx),%ecx
481687:	8b f0                	mov    %eax,%esi
481689:	f7 d9                	neg    %ecx
48168b:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
481691:	6a 78                	push   $0x78
481693:	1b c9                	sbb    %ecx,%ecx
481695:	81 e1 02 f0 ff ff    	and    $0xfffff002,%ecx
48169b:	50                   	push   %eax
48169c:	81 c1 01 10 00 00    	add    $0x1001,%ecx
4816a2:	51                   	push   %ecx
4816a3:	56                   	push   %esi
4816a4:	ff 15 e0 40 49 00    	call   *0x4940e0
4816aa:	85 c0                	test   %eax,%eax
4816ac:	75 05                	jne    0x4816b3
4816ae:	21 07                	and    %eax,(%edi)
4816b0:	40                   	inc    %eax
4816b1:	eb 62                	jmp    0x481715
4816b3:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
4816b9:	50                   	push   %eax
4816ba:	ff 73 50             	push   0x50(%ebx)
4816bd:	e8 45 5a fe ff       	call   0x467107
4816c2:	59                   	pop    %ecx
4816c3:	59                   	pop    %ecx
4816c4:	85 c0                	test   %eax,%eax
4816c6:	75 0a                	jne    0x4816d2
4816c8:	39 43 60             	cmp    %eax,0x60(%ebx)
4816cb:	75 35                	jne    0x481702
4816cd:	57                   	push   %edi
4816ce:	6a 01                	push   $0x1
4816d0:	eb 23                	jmp    0x4816f5
4816d2:	83 7b 60 00          	cmpl   $0x0,0x60(%ebx)
4816d6:	75 33                	jne    0x48170b
4816d8:	83 7b 5c 00          	cmpl   $0x0,0x5c(%ebx)
4816dc:	74 2d                	je     0x48170b
4816de:	8d 85 0c ff ff ff    	lea    -0xf4(%ebp),%eax
4816e4:	50                   	push   %eax
4816e5:	ff 73 50             	push   0x50(%ebx)
4816e8:	e8 1a 5a fe ff       	call   0x467107
4816ed:	59                   	pop    %ecx
4816ee:	59                   	pop    %ecx
4816ef:	85 c0                	test   %eax,%eax
4816f1:	75 18                	jne    0x48170b
4816f3:	57                   	push   %edi
4816f4:	50                   	push   %eax
4816f5:	56                   	push   %esi
4816f6:	e8 85 01 00 00       	call   0x481880
4816fb:	83 c4 0c             	add    $0xc,%esp
4816fe:	85 c0                	test   %eax,%eax
481700:	74 09                	je     0x48170b
481702:	83 0f 04             	orl    $0x4,(%edi)
481705:	89 77 04             	mov    %esi,0x4(%edi)
481708:	89 77 08             	mov    %esi,0x8(%edi)
48170b:	8b 07                	mov    (%edi),%eax
48170d:	c1 e8 02             	shr    $0x2,%eax
481710:	f7 d0                	not    %eax
481712:	83 e0 01             	and    $0x1,%eax
481715:	8b 4d fc             	mov    -0x4(%ebp),%ecx
481718:	5f                   	pop    %edi
481719:	5e                   	pop    %esi
48171a:	33 cd                	xor    %ebp,%ecx
48171c:	5b                   	pop    %ebx
48171d:	e8 e0 e2 fb ff       	call   0x43fa02
481722:	8b e5                	mov    %ebp,%esp
481724:	5d                   	pop    %ebp
481725:	c2 04 00             	ret    $0x4
481728:	8b ff                	mov    %edi,%edi
48172a:	55                   	push   %ebp
48172b:	8b ec                	mov    %esp,%ebp
48172d:	8b 55 08             	mov    0x8(%ebp),%edx
481730:	56                   	push   %esi
481731:	33 f6                	xor    %esi,%esi
481733:	0f b7 0a             	movzwl (%edx),%ecx
481736:	66 85 c9             	test   %cx,%cx
481739:	74 39                	je     0x481774
48173b:	57                   	push   %edi
48173c:	6a 05                	push   $0x5
48173e:	5f                   	pop    %edi
48173f:	8d 41 9f             	lea    -0x61(%ecx),%eax
481742:	8d 52 02             	lea    0x2(%edx),%edx
481745:	66 3b c7             	cmp    %di,%ax
481748:	77 08                	ja     0x481752
48174a:	81 c1 d9 ff 00 00    	add    $0xffd9,%ecx
481750:	eb 0e                	jmp    0x481760
481752:	8d 41 bf             	lea    -0x41(%ecx),%eax
481755:	66 3b c7             	cmp    %di,%ax
481758:	77 06                	ja     0x481760
48175a:	81 c1 f9 ff 00 00    	add    $0xfff9,%ecx
481760:	0f b7 c9             	movzwl %cx,%ecx
481763:	83 c1 d0             	add    $0xffffffd0,%ecx
481766:	c1 e6 04             	shl    $0x4,%esi
481769:	03 f1                	add    %ecx,%esi
48176b:	0f b7 0a             	movzwl (%edx),%ecx
48176e:	66 85 c9             	test   %cx,%cx
481771:	75 cc                	jne    0x48173f
481773:	5f                   	pop    %edi
481774:	8b c6                	mov    %esi,%eax
481776:	5e                   	pop    %esi
481777:	5d                   	pop    %ebp
481778:	c3                   	ret
481779:	8b ff                	mov    %edi,%edi
48177b:	55                   	push   %ebp
48177c:	8b ec                	mov    %esp,%ebp
48177e:	51                   	push   %ecx
48177f:	8b 4d 08             	mov    0x8(%ebp),%ecx
481782:	56                   	push   %esi
481783:	57                   	push   %edi
481784:	85 c9                	test   %ecx,%ecx
481786:	0f 84 9e 00 00 00    	je     0x48182a
48178c:	33 c0                	xor    %eax,%eax
48178e:	66 39 01             	cmp    %ax,(%ecx)
481791:	0f 84 93 00 00 00    	je     0x48182a
481797:	be 50 fc 49 00       	mov    $0x49fc50,%esi
48179c:	8b d1                	mov    %ecx,%edx
48179e:	66 8b 3a             	mov    (%edx),%di
4817a1:	66 3b 3e             	cmp    (%esi),%di
4817a4:	75 1e                	jne    0x4817c4
4817a6:	66 85 ff             	test   %di,%di
4817a9:	74 15                	je     0x4817c0
4817ab:	66 8b 7a 02          	mov    0x2(%edx),%di
4817af:	66 3b 7e 02          	cmp    0x2(%esi),%di
4817b3:	75 0f                	jne    0x4817c4
4817b5:	83 c2 04             	add    $0x4,%edx
4817b8:	83 c6 04             	add    $0x4,%esi
4817bb:	66 85 ff             	test   %di,%di
4817be:	75 de                	jne    0x48179e
4817c0:	8b d0                	mov    %eax,%edx
4817c2:	eb 05                	jmp    0x4817c9
4817c4:	1b d2                	sbb    %edx,%edx
4817c6:	83 ca 01             	or     $0x1,%edx
4817c9:	85 d2                	test   %edx,%edx
4817cb:	74 5d                	je     0x48182a
4817cd:	be 58 fc 49 00       	mov    $0x49fc58,%esi
4817d2:	8b d1                	mov    %ecx,%edx
4817d4:	66 8b 3a             	mov    (%edx),%di
4817d7:	66 3b 3e             	cmp    (%esi),%di
4817da:	75 1c                	jne    0x4817f8
4817dc:	66 85 ff             	test   %di,%di
4817df:	74 1c                	je     0x4817fd
4817e1:	66 8b 7a 02          	mov    0x2(%edx),%di
4817e5:	66 3b 7e 02          	cmp    0x2(%esi),%di
4817e9:	75 0d                	jne    0x4817f8
4817eb:	83 c2 04             	add    $0x4,%edx
4817ee:	83 c6 04             	add    $0x4,%esi
4817f1:	66 85 ff             	test   %di,%di
4817f4:	75 de                	jne    0x4817d4
4817f6:	eb 05                	jmp    0x4817fd
4817f8:	1b c0                	sbb    %eax,%eax
4817fa:	83 c8 01             	or     $0x1,%eax
4817fd:	85 c0                	test   %eax,%eax
4817ff:	75 20                	jne    0x481821
481801:	6a 02                	push   $0x2
481803:	8d 45 fc             	lea    -0x4(%ebp),%eax
481806:	50                   	push   %eax
481807:	8b 45 0c             	mov    0xc(%ebp),%eax
48180a:	68 0b 00 00 20       	push   $0x2000000b
48180f:	ff 70 08             	push   0x8(%eax)
481812:	ff 15 e0 40 49 00    	call   *0x4940e0
481818:	85 c0                	test   %eax,%eax
48181a:	74 29                	je     0x481845
48181c:	8b 45 fc             	mov    -0x4(%ebp),%eax
48181f:	eb 35                	jmp    0x481856
481821:	51                   	push   %ecx
481822:	e8 4c ff fe ff       	call   0x471773
481827:	59                   	pop    %ecx
481828:	eb 2c                	jmp    0x481856
48182a:	6a 02                	push   $0x2
48182c:	8d 45 fc             	lea    -0x4(%ebp),%eax
48182f:	50                   	push   %eax
481830:	8b 45 0c             	mov    0xc(%ebp),%eax
481833:	68 04 10 00 20       	push   $0x20001004
481838:	ff 70 08             	push   0x8(%eax)
48183b:	ff 15 e0 40 49 00    	call   *0x4940e0
481841:	85 c0                	test   %eax,%eax
481843:	75 04                	jne    0x481849
481845:	33 c0                	xor    %eax,%eax
481847:	eb 0d                	jmp    0x481856
481849:	8b 45 fc             	mov    -0x4(%ebp),%eax
48184c:	85 c0                	test   %eax,%eax
48184e:	75 06                	jne    0x481856
481850:	ff 15 88 40 49 00    	call   *0x494088
481856:	5f                   	pop    %edi
481857:	5e                   	pop    %esi
481858:	8b e5                	mov    %ebp,%esp
48185a:	5d                   	pop    %ebp
48185b:	c3                   	ret
48185c:	8b ff                	mov    %edi,%edi
48185e:	55                   	push   %ebp
48185f:	8b ec                	mov    %esp,%ebp
481861:	8b 4d 08             	mov    0x8(%ebp),%ecx
481864:	33 c0                	xor    %eax,%eax
481866:	66 3b 88 60 fc 49 00 	cmp    0x49fc60(%eax),%cx
48186d:	74 0d                	je     0x48187c
48186f:	83 c0 02             	add    $0x2,%eax
481872:	83 f8 14             	cmp    $0x14,%eax
481875:	72 ef                	jb     0x481866
481877:	33 c0                	xor    %eax,%eax
481879:	40                   	inc    %eax
48187a:	5d                   	pop    %ebp
48187b:	c3                   	ret
48187c:	33 c0                	xor    %eax,%eax
48187e:	5d                   	pop    %ebp
48187f:	c3                   	ret
481880:	8b ff                	mov    %edi,%edi
481882:	55                   	push   %ebp
481883:	8b ec                	mov    %esp,%ebp
481885:	51                   	push   %ecx
481886:	56                   	push   %esi
481887:	57                   	push   %edi
481888:	e8 73 07 ff ff       	call   0x472000
48188d:	8b 75 08             	mov    0x8(%ebp),%esi
481890:	8b f8                	mov    %eax,%edi
481892:	6a 02                	push   $0x2
481894:	8d 45 fc             	lea    -0x4(%ebp),%eax
481897:	8b ce                	mov    %esi,%ecx
481899:	50                   	push   %eax
48189a:	81 e1 ff 03 00 00    	and    $0x3ff,%ecx
4818a0:	68 01 00 00 20       	push   $0x20000001
4818a5:	81 c9 00 04 00 00    	or     $0x400,%ecx
4818ab:	51                   	push   %ecx
4818ac:	ff 15 e0 40 49 00    	call   *0x4940e0
4818b2:	85 c0                	test   %eax,%eax
4818b4:	75 04                	jne    0x4818ba
4818b6:	33 c0                	xor    %eax,%eax
4818b8:	eb 30                	jmp    0x4818ea
4818ba:	3b 75 fc             	cmp    -0x4(%ebp),%esi
4818bd:	74 28                	je     0x4818e7
4818bf:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
4818c3:	74 22                	je     0x4818e7
4818c5:	8b 77 50             	mov    0x50(%edi),%esi
4818c8:	8d 4e 02             	lea    0x2(%esi),%ecx
4818cb:	66 8b 06             	mov    (%esi),%ax
4818ce:	83 c6 02             	add    $0x2,%esi
4818d1:	66 85 c0             	test   %ax,%ax
4818d4:	75 f5                	jne    0x4818cb
4818d6:	ff 77 50             	push   0x50(%edi)
4818d9:	2b f1                	sub    %ecx,%esi
4818db:	d1 fe                	sar    $1,%esi
4818dd:	e8 f2 fa ff ff       	call   0x4813d4
4818e2:	59                   	pop    %ecx
4818e3:	3b c6                	cmp    %esi,%eax
4818e5:	74 cf                	je     0x4818b6
4818e7:	33 c0                	xor    %eax,%eax
4818e9:	40                   	inc    %eax
4818ea:	5f                   	pop    %edi
4818eb:	5e                   	pop    %esi
4818ec:	8b e5                	mov    %ebp,%esp
4818ee:	5d                   	pop    %ebp
4818ef:	c3                   	ret
4818f0:	8b ff                	mov    %edi,%edi
4818f2:	55                   	push   %ebp
4818f3:	8b ec                	mov    %esp,%ebp
4818f5:	53                   	push   %ebx
4818f6:	56                   	push   %esi
4818f7:	8b 75 0c             	mov    0xc(%ebp),%esi
4818fa:	33 db                	xor    %ebx,%ebx
4818fc:	57                   	push   %edi
4818fd:	85 f6                	test   %esi,%esi
4818ff:	78 31                	js     0x481932
481901:	8d 04 33             	lea    (%ebx,%esi,1),%eax
481904:	99                   	cltd
481905:	2b c2                	sub    %edx,%eax
481907:	8b f8                	mov    %eax,%edi
481909:	8b 45 08             	mov    0x8(%ebp),%eax
48190c:	d1 ff                	sar    $1,%edi
48190e:	6b cf 0c             	imul   $0xc,%edi,%ecx
481911:	ff 34 01             	push   (%ecx,%eax,1)
481914:	8b 45 10             	mov    0x10(%ebp),%eax
481917:	ff 30                	push   (%eax)
481919:	e8 e9 57 fe ff       	call   0x467107
48191e:	59                   	pop    %ecx
48191f:	59                   	pop    %ecx
481920:	85 c0                	test   %eax,%eax
481922:	74 15                	je     0x481939
481924:	79 05                	jns    0x48192b
481926:	8d 77 ff             	lea    -0x1(%edi),%esi
481929:	eb 03                	jmp    0x48192e
48192b:	8d 5f 01             	lea    0x1(%edi),%ebx
48192e:	3b de                	cmp    %esi,%ebx
481930:	7e cf                	jle    0x481901
481932:	32 c0                	xor    %al,%al
481934:	5f                   	pop    %edi
481935:	5e                   	pop    %esi
481936:	5b                   	pop    %ebx
481937:	5d                   	pop    %ebp
481938:	c3                   	ret
481939:	8b 4d 08             	mov    0x8(%ebp),%ecx
48193c:	6b c7 0c             	imul   $0xc,%edi,%eax
48193f:	83 c1 04             	add    $0x4,%ecx
481942:	03 c1                	add    %ecx,%eax
481944:	8b 4d 10             	mov    0x10(%ebp),%ecx
481947:	89 01                	mov    %eax,(%ecx)
481949:	b0 01                	mov    $0x1,%al
48194b:	eb e7                	jmp    0x481934
48194d:	8b ff                	mov    %edi,%edi
48194f:	55                   	push   %ebp
481950:	8b ec                	mov    %esp,%ebp
481952:	83 ec 18             	sub    $0x18,%esp
481955:	a1 94 80 4b 00       	mov    0x4b8094,%eax
48195a:	33 c5                	xor    %ebp,%eax
48195c:	89 45 fc             	mov    %eax,-0x4(%ebp)
48195f:	8b 45 0c             	mov    0xc(%ebp),%eax
481962:	53                   	push   %ebx
481963:	8b 5d 10             	mov    0x10(%ebp),%ebx
481966:	56                   	push   %esi
481967:	8b 75 08             	mov    0x8(%ebp),%esi
48196a:	57                   	push   %edi
48196b:	89 45 e8             	mov    %eax,-0x18(%ebp)
48196e:	e8 8d 06 ff ff       	call   0x472000
481973:	83 c0 50             	add    $0x50,%eax
481976:	8d 7d f0             	lea    -0x10(%ebp),%edi
481979:	89 45 ec             	mov    %eax,-0x14(%ebp)
48197c:	33 c0                	xor    %eax,%eax
48197e:	ab                   	stos   %eax,%es:(%edi)
48197f:	ab                   	stos   %eax,%es:(%edi)
481980:	ab                   	stos   %eax,%es:(%edi)
481981:	e8 7a 06 ff ff       	call   0x472000
481986:	8d 4d f0             	lea    -0x10(%ebp),%ecx
481989:	33 d2                	xor    %edx,%edx
48198b:	89 88 4c 03 00 00    	mov    %ecx,0x34c(%eax)
481991:	8d 8e 80 00 00 00    	lea    0x80(%esi),%ecx
481997:	8b 45 ec             	mov    -0x14(%ebp),%eax
48199a:	89 30                	mov    %esi,(%eax)
48199c:	8d 78 04             	lea    0x4(%eax),%edi
48199f:	89 0f                	mov    %ecx,(%edi)
4819a1:	85 c9                	test   %ecx,%ecx
4819a3:	74 1f                	je     0x4819c4
4819a5:	66 39 11             	cmp    %dx,(%ecx)
4819a8:	74 1a                	je     0x4819c4