41b742:	83 78 08 ff          	cmpl   $0xffffffff,0x8(%eax)
41b746:	75 4c                	jne    0x41b794
41b748:	83 3d 30 e1 4a 00 01 	cmpl   $0x1,0x4ae130
41b74f:	7e 43                	jle    0x41b794
41b751:	ff 70 10             	push   0x10(%eax)
41b754:	6a 00                	push   $0x0
41b756:	ff 35 48 e1 4a 00    	push   0x4ae148
41b75c:	ff 15 e8 01 4b 00    	call   *0x4b01e8
41b762:	a1 30 e1 4a 00       	mov    0x4ae130,%eax
41b767:	8b 15 34 e1 4a 00    	mov    0x4ae134,%edx
41b76d:	8d 04 80             	lea    (%eax,%eax,4),%eax
41b770:	c1 e0 02             	shl    $0x2,%eax
41b773:	8b c8                	mov    %eax,%ecx
41b775:	a1 2c e1 4a 00       	mov    0x4ae12c,%eax
41b77a:	2b c8                	sub    %eax,%ecx
41b77c:	8d 4c 11 ec          	lea    -0x14(%ecx,%edx,1),%ecx
41b780:	51                   	push   %ecx
41b781:	8d 48 14             	lea    0x14(%eax),%ecx
41b784:	51                   	push   %ecx
41b785:	50                   	push   %eax
41b786:	e8 95 b8 ff ff       	call   0x417020
41b78b:	83 c4 0c             	add    $0xc,%esp
41b78e:	ff 0d 30 e1 4a 00    	decl   0x4ae130
41b794:	83 25 2c e1 4a 00 00 	andl   $0x0,0x4ae12c
41b79b:	c3                   	ret
41b79c:	55                   	push   %ebp
41b79d:	8b ec                	mov    %esp,%ebp
41b79f:	81 ec 38 01 00 00    	sub    $0x138,%esp
41b7a5:	a1 30 e1 4a 00       	mov    0x4ae130,%eax
41b7aa:	8d 04 80             	lea    (%eax,%eax,4),%eax
41b7ad:	c1 e0 02             	shl    $0x2,%eax
41b7b0:	50                   	push   %eax
41b7b1:	ff 35 34 e1 4a 00    	push   0x4ae134
41b7b7:	ff 15 70 01 4b 00    	call   *0x4b0170
41b7bd:	85 c0                	test   %eax,%eax
41b7bf:	74 05                	je     0x41b7c6
41b7c1:	83 c8 ff             	or     $0xffffffff,%eax
41b7c4:	c9                   	leave
41b7c5:	c3                   	ret
41b7c6:	53                   	push   %ebx
41b7c7:	8b 1d 34 e1 4a 00    	mov    0x4ae134,%ebx
41b7cd:	56                   	push   %esi
41b7ce:	57                   	push   %edi
41b7cf:	33 ff                	xor    %edi,%edi
41b7d1:	39 3d 30 e1 4a 00    	cmp    %edi,0x4ae130
41b7d7:	89 5d cc             	mov    %ebx,-0x34(%ebp)
41b7da:	89 7d e4             	mov    %edi,-0x1c(%ebp)
41b7dd:	7f 09                	jg     0x41b7e8
41b7df:	33 c0                	xor    %eax,%eax
41b7e1:	5f                   	pop    %edi
41b7e2:	5e                   	pop    %esi
41b7e3:	5b                   	pop    %ebx
41b7e4:	c9                   	leave
41b7e5:	c3                   	ret
41b7e6:	33 ff                	xor    %edi,%edi
41b7e8:	8b 73 10             	mov    0x10(%ebx),%esi
41b7eb:	68 c4 41 00 00       	push   $0x41c4
41b7f0:	56                   	push   %esi
41b7f1:	ff 15 70 01 4b 00    	call   *0x4b0170
41b7f7:	85 c0                	test   %eax,%eax
41b7f9:	0f 85 76 02 00 00    	jne    0x41ba75
41b7ff:	8b 43 0c             	mov    0xc(%ebx),%eax
41b802:	89 45 f8             	mov    %eax,-0x8(%ebp)
41b805:	8d 86 44 01 00 00    	lea    0x144(%esi),%eax
41b80b:	89 45 dc             	mov    %eax,-0x24(%ebp)
41b80e:	8b 43 08             	mov    0x8(%ebx),%eax
41b811:	81 c6 c4 00 00 00    	add    $0xc4,%esi
41b817:	89 45 e0             	mov    %eax,-0x20(%ebp)
41b81a:	89 7d f0             	mov    %edi,-0x10(%ebp)
41b81d:	89 7d ec             	mov    %edi,-0x14(%ebp)
41b820:	89 7d f4             	mov    %edi,-0xc(%ebp)
41b823:	89 75 c8             	mov    %esi,-0x38(%ebp)
41b826:	eb 02                	jmp    0x41b82a
41b828:	33 ff                	xor    %edi,%edi
41b82a:	89 7d d8             	mov    %edi,-0x28(%ebp)
41b82d:	89 7d e8             	mov    %edi,-0x18(%ebp)
41b830:	89 7d fc             	mov    %edi,-0x4(%ebp)
41b833:	6a 40                	push   $0x40
41b835:	33 c0                	xor    %eax,%eax
41b837:	39 45 e0             	cmp    %eax,-0x20(%ebp)
41b83a:	59                   	pop    %ecx
41b83b:	8d bd c8 fe ff ff    	lea    -0x138(%ebp),%edi
41b841:	f3 ab                	rep stos %eax,%es:(%edi)
41b843:	0f 8c c5 01 00 00    	jl     0x41ba0e
41b849:	68 00 80 00 00       	push   $0x8000
41b84e:	ff 75 f8             	push   -0x8(%ebp)
41b851:	ff 15 70 01 4b 00    	call   *0x4b0170
41b857:	85 c0                	test   %eax,%eax
41b859:	0f 85 1e 02 00 00    	jne    0x41ba7d
41b85f:	8b 55 f8             	mov    -0x8(%ebp),%edx
41b862:	33 db                	xor    %ebx,%ebx
41b864:	81 c2 fc 0f 00 00    	add    $0xffc,%edx
41b86a:	83 ba 0c f0 ff ff ff 	cmpl   $0xffffffff,-0xff4(%edx)
41b871:	8d b2 10 f0 ff ff    	lea    -0xff0(%edx),%esi
41b877:	0f 85 10 02 00 00    	jne    0x41ba8d
41b87d:	83 3a ff             	cmpl   $0xffffffff,(%edx)
41b880:	0f 85 07 02 00 00    	jne    0x41ba8d
41b886:	8b 0e                	mov    (%esi),%ecx
41b888:	f6 c1 01             	test   $0x1,%cl
41b88b:	8b f9                	mov    %ecx,%edi
41b88d:	74 12                	je     0x41b8a1
41b88f:	49                   	dec    %ecx
41b890:	81 f9 00 04 00 00    	cmp    $0x400,%ecx
41b896:	0f 8f e5 01 00 00    	jg     0x41ba81
41b89c:	ff 45 fc             	incl   -0x4(%ebp)
41b89f:	eb 17                	jmp    0x41b8b8
41b8a1:	8b c1                	mov    %ecx,%eax
41b8a3:	c1 f8 04             	sar    $0x4,%eax
41b8a6:	48                   	dec    %eax
41b8a7:	83 f8 3f             	cmp    $0x3f,%eax
41b8aa:	7e 03                	jle    0x41b8af
41b8ac:	6a 3f                	push   $0x3f
41b8ae:	58                   	pop    %eax
41b8af:	8d 84 85 c8 fe ff ff 	lea    -0x138(%ebp,%eax,4),%eax
41b8b6:	ff 00                	incl   (%eax)
41b8b8:	83 f9 10             	cmp    $0x10,%ecx
41b8bb:	0f 8c c8 01 00 00    	jl     0x41ba89
41b8c1:	f6 c1 0f             	test   $0xf,%cl
41b8c4:	0f 85 bf 01 00 00    	jne    0x41ba89
41b8ca:	81 f9 f0 0f 00 00    	cmp    $0xff0,%ecx
41b8d0:	0f 8f b3 01 00 00    	jg     0x41ba89
41b8d6:	8d 04 31             	lea    (%ecx,%esi,1),%eax
41b8d9:	39 78 fc             	cmp    %edi,-0x4(%eax)
41b8dc:	0f 85 a3 01 00 00    	jne    0x41ba85
41b8e2:	8b f0                	mov    %eax,%esi
41b8e4:	3b f2                	cmp    %edx,%esi
41b8e6:	72 9e                	jb     0x41b886
41b8e8:	0f 85 97 01 00 00    	jne    0x41ba85
41b8ee:	81 c2 00 10 00 00    	add    $0x1000,%edx
41b8f4:	43                   	inc    %ebx
41b8f5:	83 fb 08             	cmp    $0x8,%ebx
41b8f8:	0f 8c 6c ff ff ff    	jl     0x41b86a
41b8fe:	8b 45 fc             	mov    -0x4(%ebp),%eax
41b901:	8b 7d dc             	mov    -0x24(%ebp),%edi
41b904:	39 07                	cmp    %eax,(%edi)
41b906:	0f 85 85 01 00 00    	jne    0x41ba91
41b90c:	33 f6                	xor    %esi,%esi
41b90e:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
41b912:	8d 5f 08             	lea    0x8(%edi),%ebx
41b915:	8b 43 fc             	mov    -0x4(%ebx),%eax
41b918:	3b c7                	cmp    %edi,%eax
41b91a:	89 7d d4             	mov    %edi,-0x2c(%ebp)
41b91d:	89 5d d0             	mov    %ebx,-0x30(%ebp)
41b920:	0f 84 b2 00 00 00    	je     0x41b9d8
41b926:	8b 4d fc             	mov    -0x4(%ebp),%ecx
41b929:	3b 8c b5 c8 fe ff ff 	cmp    -0x138(%ebp,%esi,4),%ecx
41b930:	74 7f                	je     0x41b9b1
41b932:	8b 4d f8             	mov    -0x8(%ebp),%ecx
41b935:	3b c1                	cmp    %ecx,%eax
41b937:	0f 82 64 01 00 00    	jb     0x41baa1
41b93d:	81 c1 00 80 00 00    	add    $0x8000,%ecx
41b943:	3b c1                	cmp    %ecx,%eax
41b945:	0f 83 56 01 00 00    	jae    0x41baa1
41b94b:	8b c8                	mov    %eax,%ecx
41b94d:	81 e1 00 f0 ff ff    	and    $0xfffff000,%ecx
41b953:	83 c1 0c             	add    $0xc,%ecx
41b956:	8d 91 f0 0f 00 00    	lea    0xff0(%ecx),%edx
41b95c:	3b ca                	cmp    %edx,%ecx
41b95e:	0f 84 31 01 00 00    	je     0x41ba95
41b964:	3b c8                	cmp    %eax,%ecx
41b966:	74 0e                	je     0x41b976
41b968:	8b 19                	mov    (%ecx),%ebx
41b96a:	83 e3 fe             	and    $0xfffffffe,%ebx
41b96d:	03 cb                	add    %ebx,%ecx
41b96f:	3b ca                	cmp    %edx,%ecx
41b971:	8b 5d d0             	mov    -0x30(%ebp),%ebx
41b974:	75 ee                	jne    0x41b964
41b976:	3b ca                	cmp    %edx,%ecx
41b978:	0f 84 17 01 00 00    	je     0x41ba95
41b97e:	8b 08                	mov    (%eax),%ecx
41b980:	c1 f9 04             	sar    $0x4,%ecx
41b983:	49                   	dec    %ecx
41b984:	83 f9 3f             	cmp    $0x3f,%ecx
41b987:	7e 03                	jle    0x41b98c
41b989:	6a 3f                	push   $0x3f
41b98b:	59                   	pop    %ecx
41b98c:	3b ce                	cmp    %esi,%ecx
41b98e:	0f 85 05 01 00 00    	jne    0x41ba99
41b994:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
41b997:	39 48 08             	cmp    %ecx,0x8(%eax)
41b99a:	0f 85 fd 00 00 00    	jne    0x41ba9d
41b9a0:	ff 45 fc             	incl   -0x4(%ebp)
41b9a3:	89 45 d4             	mov    %eax,-0x2c(%ebp)
41b9a6:	8b 40 04             	mov    0x4(%eax),%eax
41b9a9:	3b c7                	cmp    %edi,%eax
41b9ab:	0f 85 75 ff ff ff    	jne    0x41b926
41b9b1:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
41b9b5:	74 21                	je     0x41b9d8
41b9b7:	83 fe 20             	cmp    $0x20,%esi
41b9ba:	b8 00 00 00 80       	mov    $0x80000000,%eax
41b9bf:	7d 0c                	jge    0x41b9cd
41b9c1:	8b ce                	mov    %esi,%ecx
41b9c3:	d3 e8                	shr    %cl,%eax
41b9c5:	09 45 d8             	or     %eax,-0x28(%ebp)
41b9c8:	09 45 f0             	or     %eax,-0x10(%ebp)
41b9cb:	eb 0b                	jmp    0x41b9d8
41b9cd:	8d 4e e0             	lea    -0x20(%esi),%ecx
41b9d0:	d3 e8                	shr    %cl,%eax
41b9d2:	09 45 e8             	or     %eax,-0x18(%ebp)
41b9d5:	09 45 ec             	or     %eax,-0x14(%ebp)
41b9d8:	8b 45 d4             	mov    -0x2c(%ebp),%eax
41b9db:	39 78 04             	cmp    %edi,0x4(%eax)
41b9de:	0f 85 c5 00 00 00    	jne    0x41baa9
41b9e4:	8b 4d fc             	mov    -0x4(%ebp),%ecx
41b9e7:	3b 8c b5 c8 fe ff ff 	cmp    -0x138(%ebp,%esi,4),%ecx
41b9ee:	0f 85 b5 00 00 00    	jne    0x41baa9
41b9f4:	39 03                	cmp    %eax,(%ebx)
41b9f6:	0f 85 a9 00 00 00    	jne    0x41baa5
41b9fc:	46                   	inc    %esi
41b9fd:	83 fe 40             	cmp    $0x40,%esi
41ba00:	8b fb                	mov    %ebx,%edi
41ba02:	0f 8c 06 ff ff ff    	jl     0x41b90e
41ba08:	8b 75 c8             	mov    -0x38(%ebp),%esi
41ba0b:	8b 5d cc             	mov    -0x34(%ebp),%ebx
41ba0e:	8b 45 d8             	mov    -0x28(%ebp),%eax
41ba11:	3b 46 80             	cmp    -0x80(%esi),%eax
41ba14:	0f 85 93 00 00 00    	jne    0x41baad
41ba1a:	8b 45 e8             	mov    -0x18(%ebp),%eax
41ba1d:	3b 06                	cmp    (%esi),%eax
41ba1f:	0f 85 88 00 00 00    	jne    0x41baad
41ba25:	81 45 f8 00 80 00 00 	addl   $0x8000,-0x8(%ebp)
41ba2c:	81 45 dc 04 02 00 00 	addl   $0x204,-0x24(%ebp)
41ba33:	d1 65 e0             	shll   $1,-0x20(%ebp)
41ba36:	ff 45 f4             	incl   -0xc(%ebp)
41ba39:	83 c6 04             	add    $0x4,%esi
41ba3c:	83 7d f4 20          	cmpl   $0x20,-0xc(%ebp)
41ba40:	89 75 c8             	mov    %esi,-0x38(%ebp)
41ba43:	0f 8c df fd ff ff    	jl     0x41b828
41ba49:	8b 45 f0             	mov    -0x10(%ebp),%eax
41ba4c:	3b 03                	cmp    (%ebx),%eax
41ba4e:	75 61                	jne    0x41bab1
41ba50:	8b 45 ec             	mov    -0x14(%ebp),%eax
41ba53:	3b 43 04             	cmp    0x4(%ebx),%eax
41ba56:	75 59                	jne    0x41bab1
41ba58:	83 c3 14             	add    $0x14,%ebx
41ba5b:	ff 45 e4             	incl   -0x1c(%ebp)
41ba5e:	8b 45 e4             	mov    -0x1c(%ebp),%eax
41ba61:	3b 05 30 e1 4a 00    	cmp    0x4ae130,%eax
41ba67:	89 5d cc             	mov    %ebx,-0x34(%ebp)
41ba6a:	0f 8c 76 fd ff ff    	jl     0x41b7e6
41ba70:	e9 6a fd ff ff       	jmp    0x41b7df
41ba75:	6a fe                	push   $0xfffffffe
41ba77:	58                   	pop    %eax
41ba78:	e9 64 fd ff ff       	jmp    0x41b7e1
41ba7d:	6a fc                	push   $0xfffffffc
41ba7f:	eb f6                	jmp    0x41ba77
41ba81:	6a fa                	push   $0xfffffffa
41ba83:	eb f2                	jmp    0x41ba77
41ba85:	6a f8                	push   $0xfffffff8
41ba87:	eb ee                	jmp    0x41ba77
41ba89:	6a f9                	push   $0xfffffff9
41ba8b:	eb ea                	jmp    0x41ba77
41ba8d:	6a fb                	push   $0xfffffffb
41ba8f:	eb e6                	jmp    0x41ba77
41ba91:	6a f7                	push   $0xfffffff7
41ba93:	eb e2                	jmp    0x41ba77
41ba95:	6a f5                	push   $0xfffffff5
41ba97:	eb de                	jmp    0x41ba77
41ba99:	6a f4                	push   $0xfffffff4
41ba9b:	eb da                	jmp    0x41ba77
41ba9d:	6a f3                	push   $0xfffffff3
41ba9f:	eb d6                	jmp    0x41ba77
41baa1:	6a f6                	push   $0xfffffff6
41baa3:	eb d2                	jmp    0x41ba77
41baa5:	6a f1                	push   $0xfffffff1
41baa7:	eb ce                	jmp    0x41ba77
41baa9:	6a f2                	push   $0xfffffff2
41baab:	eb ca                	jmp    0x41ba77
41baad:	6a f0                	push   $0xfffffff0
41baaf:	eb c6                	jmp    0x41ba77
41bab1:	6a ef                	push   $0xffffffef
41bab3:	eb c2                	jmp    0x41ba77
41bab5:	a1 58 e1 4a 00       	mov    0x4ae158,%eax
41baba:	83 f8 03             	cmp    $0x3,%eax
41babd:	75 17                	jne    0x41bad6
41babf:	8b 44 24 04          	mov    0x4(%esp),%eax
41bac3:	3d f8 03 00 00       	cmp    $0x3f8,%eax
41bac8:	77 09                	ja     0x41bad3
41baca:	a3 38 e1 4a 00       	mov    %eax,0x4ae138
41bacf:	33 c0                	xor    %eax,%eax
41bad1:	40                   	inc    %eax
41bad2:	c3                   	ret
41bad3:	33 c0                	xor    %eax,%eax
41bad5:	c3                   	ret
41bad6:	83 f8 01             	cmp    $0x1,%eax
41bad9:	56                   	push   %esi
41bada:	75 30                	jne    0x41bb0c
41badc:	8b 74 24 08          	mov    0x8(%esp),%esi
41bae0:	85 f6                	test   %esi,%esi
41bae2:	76 28                	jbe    0x41bb0c
41bae4:	81 fe f8 03 00 00    	cmp    $0x3f8,%esi
41baea:	77 20                	ja     0x41bb0c
41baec:	56                   	push   %esi
41baed:	e8 b2 f3 ff ff       	call   0x41aea4
41baf2:	85 c0                	test   %eax,%eax
41baf4:	59                   	pop    %ecx
41baf5:	74 15                	je     0x41bb0c
41baf7:	33 c0                	xor    %eax,%eax
41baf9:	89 35 38 e1 4a 00    	mov    %esi,0x4ae138
41baff:	c7 05 58 e1 4a 00 03 	movl   $0x3,0x4ae158
41bb06:	00 00 00
41bb09:	40                   	inc    %eax
41bb0a:	5e                   	pop    %esi
41bb0b:	c3                   	ret
41bb0c:	33 c0                	xor    %eax,%eax
41bb0e:	5e                   	pop    %esi
41bb0f:	c3                   	ret
41bb10:	55                   	push   %ebp
41bb11:	8b ec                	mov    %esp,%ebp
41bb13:	83 ec 14             	sub    $0x14,%esp
41bb16:	8b 4d 08             	mov    0x8(%ebp),%ecx
41bb19:	a1 30 e1 4a 00       	mov    0x4ae130,%eax
41bb1e:	8b 15 34 e1 4a 00    	mov    0x4ae134,%edx
41bb24:	83 c1 17             	add    $0x17,%ecx
41bb27:	83 e1 f0             	and    $0xfffffff0,%ecx
41bb2a:	53                   	push   %ebx
41bb2b:	89 4d f0             	mov    %ecx,-0x10(%ebp)
41bb2e:	c1 f9 04             	sar    $0x4,%ecx
41bb31:	56                   	push   %esi
41bb32:	8d 04 80             	lea    (%eax,%eax,4),%eax
41bb35:	57                   	push   %edi
41bb36:	49                   	dec    %ecx
41bb37:	83 f9 20             	cmp    $0x20,%ecx
41bb3a:	8d 3c 82             	lea    (%edx,%eax,4),%edi
41bb3d:	89 7d fc             	mov    %edi,-0x4(%ebp)
41bb40:	7d 0b                	jge    0x41bb4d
41bb42:	83 ce ff             	or     $0xffffffff,%esi
41bb45:	d3 ee                	shr    %cl,%esi
41bb47:	83 4d f8 ff          	orl    $0xffffffff,-0x8(%ebp)
41bb4b:	eb 0d                	jmp    0x41bb5a
41bb4d:	83 c1 e0             	add    $0xffffffe0,%ecx
41bb50:	83 c8 ff             	or     $0xffffffff,%eax
41bb53:	33 f6                	xor    %esi,%esi
41bb55:	d3 e8                	shr    %cl,%eax
41bb57:	89 45 f8             	mov    %eax,-0x8(%ebp)
41bb5a:	a1 3c e1 4a 00       	mov    0x4ae13c,%eax
41bb5f:	8b d8                	mov    %eax,%ebx
41bb61:	89 75 f4             	mov    %esi,-0xc(%ebp)
41bb64:	3b df                	cmp    %edi,%ebx
41bb66:	eb 14                	jmp    0x41bb7c
41bb68:	8b 4b 04             	mov    0x4(%ebx),%ecx
41bb6b:	8b 3b                	mov    (%ebx),%edi
41bb6d:	23 4d f8             	and    -0x8(%ebp),%ecx
41bb70:	23 fe                	and    %esi,%edi
41bb72:	0b cf                	or     %edi,%ecx
41bb74:	75 0b                	jne    0x41bb81
41bb76:	83 c3 14             	add    $0x14,%ebx
41bb79:	3b 5d fc             	cmp    -0x4(%ebp),%ebx
41bb7c:	89 5d 08             	mov    %ebx,0x8(%ebp)
41bb7f:	72 e7                	jb     0x41bb68