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
4819aa:	a1 4c fc 49 00       	mov    0x49fc4c,%eax
4819af:	57                   	push   %edi
4819b0:	48                   	dec    %eax
4819b1:	50                   	push   %eax
4819b2:	68 38 fb 49 00       	push   $0x49fb38
4819b7:	e8 34 ff ff ff       	call   0x4818f0
4819bc:	8b 45 ec             	mov    -0x14(%ebp),%eax
4819bf:	83 c4 0c             	add    $0xc,%esp
4819c2:	33 d2                	xor    %edx,%edx
4819c4:	89 55 f0             	mov    %edx,-0x10(%ebp)
4819c7:	8b 00                	mov    (%eax),%eax
4819c9:	85 c0                	test   %eax,%eax
4819cb:	74 6e                	je     0x481a3b
4819cd:	66 39 10             	cmp    %dx,(%eax)
4819d0:	74 69                	je     0x481a3b
4819d2:	8b 07                	mov    (%edi),%eax
4819d4:	85 c0                	test   %eax,%eax
4819d6:	74 10                	je     0x4819e8
4819d8:	66 39 10             	cmp    %dx,(%eax)
4819db:	74 0b                	je     0x4819e8
4819dd:	8d 45 f0             	lea    -0x10(%ebp),%eax
4819e0:	50                   	push   %eax
4819e1:	e8 f2 f8 ff ff       	call   0x4812d8
4819e6:	eb 09                	jmp    0x4819f1
4819e8:	8d 45 f0             	lea    -0x10(%ebp),%eax
4819eb:	50                   	push   %eax
4819ec:	e8 82 f9 ff ff       	call   0x481373
4819f1:	83 7d f0 00          	cmpl   $0x0,-0x10(%ebp)
4819f5:	59                   	pop    %ecx
4819f6:	0f 85 84 00 00 00    	jne    0x481a80
4819fc:	a1 34 fb 49 00       	mov    0x49fb34,%eax
481a01:	ff 75 ec             	push   -0x14(%ebp)
481a04:	48                   	dec    %eax
481a05:	50                   	push   %eax
481a06:	68 28 f8 49 00       	push   $0x49f828
481a0b:	e8 e0 fe ff ff       	call   0x4818f0
481a10:	83 c4 0c             	add    $0xc,%esp
481a13:	84 c0                	test   %al,%al
481a15:	74 4e                	je     0x481a65
481a17:	8b 07                	mov    (%edi),%eax
481a19:	33 ff                	xor    %edi,%edi
481a1b:	85 c0                	test   %eax,%eax
481a1d:	74 10                	je     0x481a2f
481a1f:	66 39 38             	cmp    %di,(%eax)
481a22:	74 0b                	je     0x481a2f
481a24:	8d 45 f0             	lea    -0x10(%ebp),%eax
481a27:	50                   	push   %eax
481a28:	e8 ab f8 ff ff       	call   0x4812d8
481a2d:	eb 09                	jmp    0x481a38
481a2f:	8d 45 f0             	lea    -0x10(%ebp),%eax
481a32:	50                   	push   %eax
481a33:	e8 3b f9 ff ff       	call   0x481373
481a38:	59                   	pop    %ecx
481a39:	eb 2c                	jmp    0x481a67
481a3b:	8b 07                	mov    (%edi),%eax
481a3d:	85 c0                	test   %eax,%eax
481a3f:	74 11                	je     0x481a52
481a41:	66 39 10             	cmp    %dx,(%eax)
481a44:	74 0c                	je     0x481a52
481a46:	8d 45 f0             	lea    -0x10(%ebp),%eax
481a49:	50                   	push   %eax
481a4a:	e8 20 f8 ff ff       	call   0x48126f
481a4f:	59                   	pop    %ecx
481a50:	eb 13                	jmp    0x481a65
481a52:	c7 45 f0 04 01 00 00 	movl   $0x104,-0x10(%ebp)
481a59:	ff 15 68 40 49 00    	call   *0x494068
481a5f:	89 45 f8             	mov    %eax,-0x8(%ebp)
481a62:	89 45 f4             	mov    %eax,-0xc(%ebp)
481a65:	33 ff                	xor    %edi,%edi
481a67:	83 7d f0 00          	cmpl   $0x0,-0x10(%ebp)
481a6b:	75 15                	jne    0x481a82
481a6d:	33 c0                	xor    %eax,%eax
481a6f:	8b 4d fc             	mov    -0x4(%ebp),%ecx
481a72:	5f                   	pop    %edi
481a73:	5e                   	pop    %esi
481a74:	33 cd                	xor    %ebp,%ecx
481a76:	5b                   	pop    %ebx
481a77:	e8 86 df fb ff       	call   0x43fa02
481a7c:	8b e5                	mov    %ebp,%esp
481a7e:	5d                   	pop    %ebp
481a7f:	c3                   	ret
481a80:	33 ff                	xor    %edi,%edi
481a82:	8d 45 f0             	lea    -0x10(%ebp),%eax
481a85:	50                   	push   %eax
481a86:	8d 86 00 01 00 00    	lea    0x100(%esi),%eax
481a8c:	f7 de                	neg    %esi
481a8e:	1b f6                	sbb    %esi,%esi
481a90:	23 f0                	and    %eax,%esi
481a92:	56                   	push   %esi
481a93:	e8 e1 fc ff ff       	call   0x481779
481a98:	8b f0                	mov    %eax,%esi
481a9a:	59                   	pop    %ecx
481a9b:	59                   	pop    %ecx
481a9c:	85 f6                	test   %esi,%esi
481a9e:	74 cd                	je     0x481a6d
481aa0:	81 fe e8 fd 00 00    	cmp    $0xfde8,%esi
481aa6:	74 c5                	je     0x481a6d
481aa8:	81 fe e9 fd 00 00    	cmp    $0xfde9,%esi
481aae:	74 bd                	je     0x481a6d
481ab0:	0f b7 c6             	movzwl %si,%eax
481ab3:	50                   	push   %eax
481ab4:	ff 15 30 40 49 00    	call   *0x494030
481aba:	85 c0                	test   %eax,%eax
481abc:	74 af                	je     0x481a6d
481abe:	6a 01                	push   $0x1
481ac0:	ff 75 f4             	push   -0xc(%ebp)
481ac3:	ff 15 6c 40 49 00    	call   *0x49406c
481ac9:	85 c0                	test   %eax,%eax
481acb:	74 a0                	je     0x481a6d
481acd:	8b 45 e8             	mov    -0x18(%ebp),%eax
481ad0:	85 c0                	test   %eax,%eax
481ad2:	74 02                	je     0x481ad6
481ad4:	89 30                	mov    %esi,(%eax)
481ad6:	8b 45 ec             	mov    -0x14(%ebp),%eax
481ad9:	57                   	push   %edi
481ada:	6a 55                	push   $0x55
481adc:	05 50 02 00 00       	add    $0x250,%eax
481ae1:	50                   	push   %eax
481ae2:	ff 75 f4             	push   -0xc(%ebp)
481ae5:	e8 cb 38 ff ff       	call   0x4753b5
481aea:	85 db                	test   %ebx,%ebx
481aec:	74 5e                	je     0x481b4c
481aee:	57                   	push   %edi
481aef:	6a 55                	push   $0x55
481af1:	8d 83 20 01 00 00    	lea    0x120(%ebx),%eax
481af7:	50                   	push   %eax
481af8:	ff 75 f4             	push   -0xc(%ebp)
481afb:	e8 b5 38 ff ff       	call   0x4753b5
481b00:	6a 40                	push   $0x40
481b02:	53                   	push   %ebx
481b03:	68 01 10 00 00       	push   $0x1001
481b08:	ff 75 f4             	push   -0xc(%ebp)
481b0b:	ff 15 e0 40 49 00    	call   *0x4940e0
481b11:	85 c0                	test   %eax,%eax
481b13:	0f 84 54 ff ff ff    	je     0x481a6d
481b19:	6a 40                	push   $0x40
481b1b:	8d 83 80 00 00 00    	lea    0x80(%ebx),%eax
481b21:	50                   	push   %eax
481b22:	68 02 10 00 00       	push   $0x1002
481b27:	ff 75 f8             	push   -0x8(%ebp)
481b2a:	ff 15 e0 40 49 00    	call   *0x4940e0
481b30:	85 c0                	test   %eax,%eax
481b32:	0f 84 35 ff ff ff    	je     0x481a6d
481b38:	6a 0a                	push   $0xa
481b3a:	6a 10                	push   $0x10
481b3c:	8d 8b 00 01 00 00    	lea    0x100(%ebx),%ecx
481b42:	51                   	push   %ecx
481b43:	56                   	push   %esi
481b44:	e8 98 67 00 00       	call   0x4882e1
481b49:	83 c4 10             	add    $0x10,%esp
481b4c:	33 c0                	xor    %eax,%eax
481b4e:	40                   	inc    %eax
481b4f:	e9 1b ff ff ff       	jmp    0x481a6f
481b54:	8b ff                	mov    %edi,%edi
481b56:	55                   	push   %ebp
481b57:	8b ec                	mov    %esp,%ebp
481b59:	8b 4d 08             	mov    0x8(%ebp),%ecx
481b5c:	33 c0                	xor    %eax,%eax
481b5e:	84 c9                	test   %cl,%cl
481b60:	79 03                	jns    0x481b65
481b62:	6a 10                	push   $0x10
481b64:	58                   	pop    %eax
481b65:	53                   	push   %ebx
481b66:	56                   	push   %esi
481b67:	57                   	push   %edi
481b68:	bf 00 02 00 00       	mov    $0x200,%edi
481b6d:	85 cf                	test   %ecx,%edi
481b6f:	74 03                	je     0x481b74
481b71:	83 c8 08             	or     $0x8,%eax
481b74:	f7 c1 00 04 00 00    	test   $0x400,%ecx
481b7a:	74 03                	je     0x481b7f
481b7c:	83 c8 04             	or     $0x4,%eax
481b7f:	f7 c1 00 08 00 00    	test   $0x800,%ecx
481b85:	74 03                	je     0x481b8a
481b87:	83 c8 02             	or     $0x2,%eax