4056ba:	c1 fb 04             	sar    $0x4,%ebx
4056bd:	6a 3f                	push   $0x3f
4056bf:	89 75 0c             	mov    %esi,0xc(%ebp)
4056c2:	4b                   	dec    %ebx
4056c3:	5e                   	pop    %esi
4056c4:	3b de                	cmp    %esi,%ebx
4056c6:	76 02                	jbe    0x4056ca
4056c8:	8b de                	mov    %esi,%ebx
4056ca:	03 4d f8             	add    -0x8(%ebp),%ecx
4056cd:	8b d1                	mov    %ecx,%edx
4056cf:	c1 fa 04             	sar    $0x4,%edx
4056d2:	4a                   	dec    %edx
4056d3:	89 4d fc             	mov    %ecx,-0x4(%ebp)
4056d6:	3b d6                	cmp    %esi,%edx
4056d8:	76 02                	jbe    0x4056dc
4056da:	8b d6                	mov    %esi,%edx
4056dc:	3b da                	cmp    %edx,%ebx
4056de:	74 5e                	je     0x40573e
4056e0:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4056e3:	8b 71 04             	mov    0x4(%ecx),%esi
4056e6:	3b 71 08             	cmp    0x8(%ecx),%esi
4056e9:	75 3b                	jne    0x405726
4056eb:	be 00 00 00 80       	mov    $0x80000000,%esi
4056f0:	83 fb 20             	cmp    $0x20,%ebx
4056f3:	73 17                	jae    0x40570c
4056f5:	8b cb                	mov    %ebx,%ecx
4056f7:	d3 ee                	shr    %cl,%esi
4056f9:	f7 d6                	not    %esi
4056fb:	21 74 b8 44          	and    %esi,0x44(%eax,%edi,4)
4056ff:	fe 4c 03 04          	decb   0x4(%ebx,%eax,1)
405703:	75 21                	jne    0x405726
405705:	8b 4d 08             	mov    0x8(%ebp),%ecx
405708:	21 31                	and    %esi,(%ecx)
40570a:	eb 1a                	jmp    0x405726
40570c:	8d 4b e0             	lea    -0x20(%ebx),%ecx
40570f:	d3 ee                	shr    %cl,%esi
405711:	f7 d6                	not    %esi
405713:	21 b4 b8 c4 00 00 00 	and    %esi,0xc4(%eax,%edi,4)
40571a:	fe 4c 03 04          	decb   0x4(%ebx,%eax,1)
40571e:	75 06                	jne    0x405726
405720:	8b 4d 08             	mov    0x8(%ebp),%ecx
405723:	21 71 04             	and    %esi,0x4(%ecx)
405726:	8b 4d 0c             	mov    0xc(%ebp),%ecx
405729:	8b 71 08             	mov    0x8(%ecx),%esi
40572c:	8b 49 04             	mov    0x4(%ecx),%ecx
40572f:	89 4e 04             	mov    %ecx,0x4(%esi)
405732:	8b 4d 0c             	mov    0xc(%ebp),%ecx
405735:	8b 71 04             	mov    0x4(%ecx),%esi
405738:	8b 49 08             	mov    0x8(%ecx),%ecx
40573b:	89 4e 08             	mov    %ecx,0x8(%esi)
40573e:	8b 75 0c             	mov    0xc(%ebp),%esi
405741:	eb 03                	jmp    0x405746
405743:	8b 5d 08             	mov    0x8(%ebp),%ebx
405746:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)
40574a:	75 08                	jne    0x405754
40574c:	3b da                	cmp    %edx,%ebx
40574e:	0f 84 80 00 00 00    	je     0x4057d4
405754:	8b 4d f0             	mov    -0x10(%ebp),%ecx
405757:	8d 0c d1             	lea    (%ecx,%edx,8),%ecx
40575a:	8b 59 04             	mov    0x4(%ecx),%ebx
40575d:	89 4e 08             	mov    %ecx,0x8(%esi)
405760:	89 5e 04             	mov    %ebx,0x4(%esi)
405763:	89 71 04             	mov    %esi,0x4(%ecx)
405766:	8b 4e 04             	mov    0x4(%esi),%ecx
405769:	89 71 08             	mov    %esi,0x8(%ecx)
40576c:	8b 4e 04             	mov    0x4(%esi),%ecx
40576f:	3b 4e 08             	cmp    0x8(%esi),%ecx
405772:	75 60                	jne    0x4057d4
405774:	8a 4c 02 04          	mov    0x4(%edx,%eax,1),%cl
405778:	88 4d 0f             	mov    %cl,0xf(%ebp)
40577b:	fe c1                	inc    %cl
40577d:	88 4c 02 04          	mov    %cl,0x4(%edx,%eax,1)
405781:	83 fa 20             	cmp    $0x20,%edx
405784:	73 25                	jae    0x4057ab
405786:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
40578a:	75 0e                	jne    0x40579a
40578c:	8b ca                	mov    %edx,%ecx
40578e:	bb 00 00 00 80       	mov    $0x80000000,%ebx
405793:	d3 eb                	shr    %cl,%ebx
405795:	8b 4d 08             	mov    0x8(%ebp),%ecx
405798:	09 19                	or     %ebx,(%ecx)
40579a:	bb 00 00 00 80       	mov    $0x80000000,%ebx
40579f:	8b ca                	mov    %edx,%ecx
4057a1:	d3 eb                	shr    %cl,%ebx
4057a3:	8d 44 b8 44          	lea    0x44(%eax,%edi,4),%eax
4057a7:	09 18                	or     %ebx,(%eax)
4057a9:	eb 29                	jmp    0x4057d4
4057ab:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
4057af:	75 10                	jne    0x4057c1
4057b1:	8d 4a e0             	lea    -0x20(%edx),%ecx
4057b4:	bb 00 00 00 80       	mov    $0x80000000,%ebx
4057b9:	d3 eb                	shr    %cl,%ebx
4057bb:	8b 4d 08             	mov    0x8(%ebp),%ecx
4057be:	09 59 04             	or     %ebx,0x4(%ecx)
4057c1:	8d 4a e0             	lea    -0x20(%edx),%ecx
4057c4:	ba 00 00 00 80       	mov    $0x80000000,%edx
4057c9:	d3 ea                	shr    %cl,%edx
4057cb:	8d 84 b8 c4 00 00 00 	lea    0xc4(%eax,%edi,4),%eax
4057d2:	09 10                	or     %edx,(%eax)
4057d4:	8b 45 fc             	mov    -0x4(%ebp),%eax
4057d7:	89 06                	mov    %eax,(%esi)
4057d9:	89 44 30 fc          	mov    %eax,-0x4(%eax,%esi,1)
4057dd:	8b 45 f0             	mov    -0x10(%ebp),%eax
4057e0:	ff 08                	decl   (%eax)
4057e2:	0f 85 f3 00 00 00    	jne    0x4058db
4057e8:	a1 10 10 43 00       	mov    0x431010,%eax
4057ed:	85 c0                	test   %eax,%eax
4057ef:	0f 84 d8 00 00 00    	je     0x4058cd
4057f5:	8b 0d 8c 2d de 02    	mov    0x2de2d8c,%ecx
4057fb:	8b 35 cc d0 41 00    	mov    0x41d0cc,%esi
405801:	68 00 40 00 00       	push   $0x4000
405806:	c1 e1 0f             	shl    $0xf,%ecx
405809:	03 48 0c             	add    0xc(%eax),%ecx
40580c:	bb 00 80 00 00       	mov    $0x8000,%ebx
405811:	53                   	push   %ebx
405812:	51                   	push   %ecx
405813:	ff d6                	call   *%esi
405815:	8b 0d 8c 2d de 02    	mov    0x2de2d8c,%ecx
40581b:	a1 10 10 43 00       	mov    0x431010,%eax
405820:	ba 00 00 00 80       	mov    $0x80000000,%edx
405825:	d3 ea                	shr    %cl,%edx
405827:	09 50 08             	or     %edx,0x8(%eax)
40582a:	a1 10 10 43 00       	mov    0x431010,%eax
40582f:	8b 40 10             	mov    0x10(%eax),%eax
405832:	8b 0d 8c 2d de 02    	mov    0x2de2d8c,%ecx
405838:	83 a4 88 c4 00 00 00 	andl   $0x0,0xc4(%eax,%ecx,4)
40583f:	00
405840:	a1 10 10 43 00       	mov    0x431010,%eax
405845:	8b 40 10             	mov    0x10(%eax),%eax
405848:	fe 48 43             	decb   0x43(%eax)
40584b:	a1 10 10 43 00       	mov    0x431010,%eax
405850:	8b 48 10             	mov    0x10(%eax),%ecx
405853:	80 79 43 00          	cmpb   $0x0,0x43(%ecx)
405857:	75 09                	jne    0x405862
405859:	83 60 04 fe          	andl   $0xfffffffe,0x4(%eax)
40585d:	a1 10 10 43 00       	mov    0x431010,%eax
405862:	83 78 08 ff          	cmpl   $0xffffffff,0x8(%eax)
405866:	75 65                	jne    0x4058cd
405868:	53                   	push   %ebx
405869:	6a 00                	push   $0x0
40586b:	ff 70 0c             	push   0xc(%eax)
40586e:	ff d6                	call   *%esi
405870:	a1 10 10 43 00       	mov    0x431010,%eax
405875:	ff 70 10             	push   0x10(%eax)
405878:	6a 00                	push   $0x0
40587a:	ff 35 24 0e 43 00    	push   0x430e24
405880:	ff 15 d0 d0 41 00    	call   *0x41d0d0
405886:	8b 0d 78 2d de 02    	mov    0x2de2d78,%ecx
40588c:	a1 10 10 43 00       	mov    0x431010,%eax
405891:	6b c9 14             	imul   $0x14,%ecx,%ecx
405894:	8b 15 7c 2d de 02    	mov    0x2de2d7c,%edx
40589a:	2b c8                	sub    %eax,%ecx
40589c:	8d 4c 11 ec          	lea    -0x14(%ecx,%edx,1),%ecx
4058a0:	51                   	push   %ecx
4058a1:	8d 48 14             	lea    0x14(%eax),%ecx
4058a4:	51                   	push   %ecx
4058a5:	50                   	push   %eax
4058a6:	e8 85 26 00 00       	call   0x407f30
4058ab:	8b 45 08             	mov    0x8(%ebp),%eax
4058ae:	83 c4 0c             	add    $0xc,%esp
4058b1:	ff 0d 78 2d de 02    	decl   0x2de2d78
4058b7:	3b 05 10 10 43 00    	cmp    0x431010,%eax
4058bd:	76 04                	jbe    0x4058c3
4058bf:	83 6d 08 14          	subl   $0x14,0x8(%ebp)
4058c3:	a1 7c 2d de 02       	mov    0x2de2d7c,%eax
4058c8:	a3 84 2d de 02       	mov    %eax,0x2de2d84
4058cd:	8b 45 08             	mov    0x8(%ebp),%eax
4058d0:	a3 10 10 43 00       	mov    %eax,0x431010
4058d5:	89 3d 8c 2d de 02    	mov    %edi,0x2de2d8c
4058db:	5b                   	pop    %ebx
4058dc:	5f                   	pop    %edi
4058dd:	5e                   	pop    %esi
4058de:	c9                   	leave
4058df:	c3                   	ret
4058e0:	a1 88 2d de 02       	mov    0x2de2d88,%eax
4058e5:	56                   	push   %esi
4058e6:	8b 35 78 2d de 02    	mov    0x2de2d78,%esi
4058ec:	57                   	push   %edi
4058ed:	33 ff                	xor    %edi,%edi
4058ef:	3b f0                	cmp    %eax,%esi
4058f1:	75 34                	jne    0x405927
4058f3:	83 c0 10             	add    $0x10,%eax
4058f6:	6b c0 14             	imul   $0x14,%eax,%eax
4058f9:	50                   	push   %eax
4058fa:	ff 35 7c 2d de 02    	push   0x2de2d7c
405900:	57                   	push   %edi
405901:	ff 35 24 0e 43 00    	push   0x430e24
405907:	ff 15 08 d1 41 00    	call   *0x41d108
40590d:	3b c7                	cmp    %edi,%eax
40590f:	75 04                	jne    0x405915
405911:	33 c0                	xor    %eax,%eax
405913:	eb 78                	jmp    0x40598d
405915:	83 05 88 2d de 02 10 	addl   $0x10,0x2de2d88
40591c:	8b 35 78 2d de 02    	mov    0x2de2d78,%esi
405922:	a3 7c 2d de 02       	mov    %eax,0x2de2d7c
405927:	6b f6 14             	imul   $0x14,%esi,%esi
40592a:	03 35 7c 2d de 02    	add    0x2de2d7c,%esi
405930:	68 c4 41 00 00       	push   $0x41c4
405935:	6a 08                	push   $0x8
405937:	ff 35 24 0e 43 00    	push   0x430e24
40593d:	ff 15 50 d0 41 00    	call   *0x41d050
405943:	89 46 10             	mov    %eax,0x10(%esi)
405946:	3b c7                	cmp    %edi,%eax
405948:	74 c7                	je     0x405911
40594a:	6a 04                	push   $0x4
40594c:	68 00 20 00 00       	push   $0x2000
405951:	68 00 00 10 00       	push   $0x100000
405956:	57                   	push   %edi
405957:	ff 15 04 d1 41 00    	call   *0x41d104
40595d:	89 46 0c             	mov    %eax,0xc(%esi)
405960:	3b c7                	cmp    %edi,%eax
405962:	75 12                	jne    0x405976
405964:	ff 76 10             	push   0x10(%esi)
405967:	57                   	push   %edi
405968:	ff 35 24 0e 43 00    	push   0x430e24
40596e:	ff 15 d0 d0 41 00    	call   *0x41d0d0
405974:	eb 9b                	jmp    0x405911
405976:	83 4e 08 ff          	orl    $0xffffffff,0x8(%esi)
40597a:	89 3e                	mov    %edi,(%esi)
40597c:	89 7e 04             	mov    %edi,0x4(%esi)
40597f:	ff 05 78 2d de 02    	incl   0x2de2d78
405985:	8b 46 10             	mov    0x10(%esi),%eax
405988:	83 08 ff             	orl    $0xffffffff,(%eax)
40598b:	8b c6                	mov    %esi,%eax
40598d:	5f                   	pop    %edi
40598e:	5e                   	pop    %esi
40598f:	c3                   	ret
405990:	8b ff                	mov    %edi,%edi
405992:	55                   	push   %ebp
405993:	8b ec                	mov    %esp,%ebp
405995:	51                   	push   %ecx
405996:	51                   	push   %ecx
405997:	8b 4d 08             	mov    0x8(%ebp),%ecx
40599a:	8b 41 08             	mov    0x8(%ecx),%eax
40599d:	53                   	push   %ebx
40599e:	56                   	push   %esi
40599f:	8b 71 10             	mov    0x10(%ecx),%esi
4059a2:	57                   	push   %edi
4059a3:	33 db                	xor    %ebx,%ebx
4059a5:	eb 03                	jmp    0x4059aa
4059a7:	03 c0                	add    %eax,%eax
4059a9:	43                   	inc    %ebx
4059aa:	85 c0                	test   %eax,%eax
4059ac:	7d f9                	jge    0x4059a7
4059ae:	8b c3                	mov    %ebx,%eax
4059b0:	69 c0 04 02 00 00    	imul   $0x204,%eax,%eax
4059b6:	8d 84 30 44 01 00 00 	lea    0x144(%eax,%esi,1),%eax
4059bd:	6a 3f                	push   $0x3f
4059bf:	89 45 f8             	mov    %eax,-0x8(%ebp)
4059c2:	5a                   	pop    %edx
4059c3:	89 40 08             	mov    %eax,0x8(%eax)
4059c6:	89 40 04             	mov    %eax,0x4(%eax)
4059c9:	83 c0 08             	add    $0x8,%eax
4059cc:	4a                   	dec    %edx
4059cd:	75 f4                	jne    0x4059c3
4059cf:	6a 04                	push   $0x4
4059d1:	8b fb                	mov    %ebx,%edi
4059d3:	68 00 10 00 00       	push   $0x1000
4059d8:	c1 e7 0f             	shl    $0xf,%edi
4059db:	03 79 0c             	add    0xc(%ecx),%edi
4059de:	68 00 80 00 00       	push   $0x8000
4059e3:	57                   	push   %edi
4059e4:	ff 15 04 d1 41 00    	call   *0x41d104
4059ea:	85 c0                	test   %eax,%eax
4059ec:	75 08                	jne    0x4059f6
4059ee:	83 c8 ff             	or     $0xffffffff,%eax
4059f1:	e9 9d 00 00 00       	jmp    0x405a93
4059f6:	8d 97 00 70 00 00    	lea    0x7000(%edi),%edx
4059fc:	89 55 fc             	mov    %edx,-0x4(%ebp)
4059ff:	3b fa                	cmp    %edx,%edi
405a01:	77 43                	ja     0x405a46
405a03:	8b ca                	mov    %edx,%ecx
405a05:	2b cf                	sub    %edi,%ecx
405a07:	c1 e9 0c             	shr    $0xc,%ecx
405a0a:	8d 47 10             	lea    0x10(%edi),%eax
405a0d:	41                   	inc    %ecx
405a0e:	83 48 f8 ff          	orl    $0xffffffff,-0x8(%eax)
405a12:	83 88 ec 0f 00 00 ff 	orl    $0xffffffff,0xfec(%eax)
405a19:	8d 90 fc 0f 00 00    	lea    0xffc(%eax),%edx
405a1f:	89 10                	mov    %edx,(%eax)
405a21:	8d 90 fc ef ff ff    	lea    -0x1004(%eax),%edx
405a27:	c7 40 fc f0 0f 00 00 	movl   $0xff0,-0x4(%eax)
405a2e:	89 50 04             	mov    %edx,0x4(%eax)
405a31:	c7 80 e8 0f 00 00 f0 	movl   $0xff0,0xfe8(%eax)
405a38:	0f 00 00
405a3b:	05 00 10 00 00       	add    $0x1000,%eax
405a40:	49                   	dec    %ecx
405a41:	75 cb                	jne    0x405a0e
405a43:	8b 55 fc             	mov    -0x4(%ebp),%edx
405a46:	8b 45 f8             	mov    -0x8(%ebp),%eax
405a49:	05 f8 01 00 00       	add    $0x1f8,%eax
405a4e:	8d 4f 0c             	lea    0xc(%edi),%ecx
405a51:	89 48 04             	mov    %ecx,0x4(%eax)
405a54:	89 41 08             	mov    %eax,0x8(%ecx)
405a57:	8d 4a 0c             	lea    0xc(%edx),%ecx
405a5a:	89 48 08             	mov    %ecx,0x8(%eax)
405a5d:	89 41 04             	mov    %eax,0x4(%ecx)
405a60:	83 64 9e 44 00       	andl   $0x0,0x44(%esi,%ebx,4)
405a65:	33 ff                	xor    %edi,%edi
405a67:	47                   	inc    %edi
405a68:	89 bc 9e c4 00 00 00 	mov    %edi,0xc4(%esi,%ebx,4)
405a6f:	8a 46 43             	mov    0x43(%esi),%al
405a72:	8a c8                	mov    %al,%cl
405a74:	fe c1                	inc    %cl
405a76:	84 c0                	test   %al,%al
405a78:	8b 45 08             	mov    0x8(%ebp),%eax
405a7b:	88 4e 43             	mov    %cl,0x43(%esi)
405a7e:	75 03                	jne    0x405a83
405a80:	09 78 04             	or     %edi,0x4(%eax)
405a83:	ba 00 00 00 80       	mov    $0x80000000,%edx
405a88:	8b cb                	mov    %ebx,%ecx
405a8a:	d3 ea                	shr    %cl,%edx
405a8c:	f7 d2                	not    %edx
405a8e:	21 50 08             	and    %edx,0x8(%eax)
405a91:	8b c3                	mov    %ebx,%eax
405a93:	5f                   	pop    %edi
405a94:	5e                   	pop    %esi
405a95:	5b                   	pop    %ebx
405a96:	c9                   	leave
405a97:	c3                   	ret
405a98:	8b ff                	mov    %edi,%edi
405a9a:	55                   	push   %ebp
405a9b:	8b ec                	mov    %esp,%ebp
405a9d:	83 ec 0c             	sub    $0xc,%esp
405aa0:	8b 4d 08             	mov    0x8(%ebp),%ecx
405aa3:	8b 41 10             	mov    0x10(%ecx),%eax
405aa6:	53                   	push   %ebx
405aa7:	56                   	push   %esi
405aa8:	8b 75 10             	mov    0x10(%ebp),%esi
405aab:	57                   	push   %edi
405aac:	8b 7d 0c             	mov    0xc(%ebp),%edi
405aaf:	8b d7                	mov    %edi,%edx
405ab1:	2b 51 0c             	sub    0xc(%ecx),%edx
405ab4:	83 c6 17             	add    $0x17,%esi
405ab7:	c1 ea 0f             	shr    $0xf,%edx
405aba:	8b ca                	mov    %edx,%ecx
405abc:	69 c9 04 02 00 00    	imul   $0x204,%ecx,%ecx
405ac2:	8d 8c 01 44 01 00 00 	lea    0x144(%ecx,%eax,1),%ecx
405ac9:	89 4d f4             	mov    %ecx,-0xc(%ebp)
405acc:	8b 4f fc             	mov    -0x4(%edi),%ecx
405acf:	83 e6 f0             	and    $0xfffffff0,%esi
405ad2:	49                   	dec    %ecx
405ad3:	3b f1                	cmp    %ecx,%esi
405ad5:	8d 7c 39 fc          	lea    -0x4(%ecx,%edi,1),%edi
405ad9:	8b 1f                	mov    (%edi),%ebx
405adb:	89 4d 10             	mov    %ecx,0x10(%ebp)
405ade:	89 5d fc             	mov    %ebx,-0x4(%ebp)
405ae1:	0f 8e 55 01 00 00    	jle    0x405c3c
405ae7:	f6 c3 01             	test   $0x1,%bl
405aea:	0f 85 45 01 00 00    	jne    0x405c35