41b526:	bb 00 00 00 80       	mov    $0x80000000,%ebx
41b52b:	d3 eb                	shr    %cl,%ebx
41b52d:	8b 4d 08             	mov    0x8(%ebp),%ecx
41b530:	09 19                	or     %ebx,(%ecx)
41b532:	8d 44 90 44          	lea    0x44(%eax,%edx,4),%eax
41b536:	8b cf                	mov    %edi,%ecx
41b538:	eb 20                	jmp    0x41b55a
41b53a:	80 7d 13 00          	cmpb   $0x0,0x13(%ebp)
41b53e:	75 10                	jne    0x41b550
41b540:	8d 4f e0             	lea    -0x20(%edi),%ecx
41b543:	bb 00 00 00 80       	mov    $0x80000000,%ebx
41b548:	d3 eb                	shr    %cl,%ebx
41b54a:	8b 4d 08             	mov    0x8(%ebp),%ecx
41b54d:	09 59 04             	or     %ebx,0x4(%ecx)
41b550:	8d 84 90 c4 00 00 00 	lea    0xc4(%eax,%edx,4),%eax
41b557:	8d 4f e0             	lea    -0x20(%edi),%ecx
41b55a:	ba 00 00 00 80       	mov    $0x80000000,%edx
41b55f:	d3 ea                	shr    %cl,%edx
41b561:	09 10                	or     %edx,(%eax)
41b563:	8b 55 0c             	mov    0xc(%ebp),%edx
41b566:	8b 4d fc             	mov    -0x4(%ebp),%ecx
41b569:	8d 44 32 fc          	lea    -0x4(%edx,%esi,1),%eax
41b56d:	89 08                	mov    %ecx,(%eax)
41b56f:	89 4c 01 fc          	mov    %ecx,-0x4(%ecx,%eax,1)
41b573:	eb 03                	jmp    0x41b578
41b575:	8b 55 0c             	mov    0xc(%ebp),%edx
41b578:	8d 46 01             	lea    0x1(%esi),%eax
41b57b:	89 42 fc             	mov    %eax,-0x4(%edx)
41b57e:	89 44 32 f8          	mov    %eax,-0x8(%edx,%esi,1)
41b582:	e9 3c 01 00 00       	jmp    0x41b6c3
41b587:	33 c0                	xor    %eax,%eax
41b589:	e9 38 01 00 00       	jmp    0x41b6c6
41b58e:	0f 8d 2f 01 00 00    	jge    0x41b6c3
41b594:	8b 5d 0c             	mov    0xc(%ebp),%ebx
41b597:	29 75 10             	sub    %esi,0x10(%ebp)
41b59a:	8d 4e 01             	lea    0x1(%esi),%ecx
41b59d:	89 4b fc             	mov    %ecx,-0x4(%ebx)
41b5a0:	8d 5c 33 fc          	lea    -0x4(%ebx,%esi,1),%ebx
41b5a4:	8b 75 10             	mov    0x10(%ebp),%esi
41b5a7:	c1 fe 04             	sar    $0x4,%esi
41b5aa:	4e                   	dec    %esi
41b5ab:	83 fe 3f             	cmp    $0x3f,%esi
41b5ae:	89 5d 0c             	mov    %ebx,0xc(%ebp)
41b5b1:	89 4b fc             	mov    %ecx,-0x4(%ebx)
41b5b4:	76 03                	jbe    0x41b5b9
41b5b6:	6a 3f                	push   $0x3f
41b5b8:	5e                   	pop    %esi
41b5b9:	f6 45 fc 01          	testb  $0x1,-0x4(%ebp)
41b5bd:	0f 85 80 00 00 00    	jne    0x41b643
41b5c3:	8b 75 fc             	mov    -0x4(%ebp),%esi
41b5c6:	c1 fe 04             	sar    $0x4,%esi
41b5c9:	4e                   	dec    %esi
41b5ca:	83 fe 3f             	cmp    $0x3f,%esi
41b5cd:	76 03                	jbe    0x41b5d2
41b5cf:	6a 3f                	push   $0x3f
41b5d1:	5e                   	pop    %esi
41b5d2:	8b 4f 04             	mov    0x4(%edi),%ecx
41b5d5:	3b 4f 08             	cmp    0x8(%edi),%ecx
41b5d8:	75 42                	jne    0x41b61c
41b5da:	83 fe 20             	cmp    $0x20,%esi
41b5dd:	bb 00 00 00 80       	mov    $0x80000000,%ebx
41b5e2:	73 19                	jae    0x41b5fd
41b5e4:	8b ce                	mov    %esi,%ecx
41b5e6:	d3 eb                	shr    %cl,%ebx
41b5e8:	8d 74 06 04          	lea    0x4(%esi,%eax,1),%esi
41b5ec:	f7 d3                	not    %ebx
41b5ee:	21 5c 90 44          	and    %ebx,0x44(%eax,%edx,4)
41b5f2:	fe 0e                	decb   (%esi)
41b5f4:	75 23                	jne    0x41b619
41b5f6:	8b 4d 08             	mov    0x8(%ebp),%ecx
41b5f9:	21 19                	and    %ebx,(%ecx)
41b5fb:	eb 1c                	jmp    0x41b619
41b5fd:	8d 4e e0             	lea    -0x20(%esi),%ecx
41b600:	d3 eb                	shr    %cl,%ebx
41b602:	8d 4c 06 04          	lea    0x4(%esi,%eax,1),%ecx
41b606:	f7 d3                	not    %ebx
41b608:	21 9c 90 c4 00 00 00 	and    %ebx,0xc4(%eax,%edx,4)
41b60f:	fe 09                	decb   (%ecx)
41b611:	75 06                	jne    0x41b619
41b613:	8b 4d 08             	mov    0x8(%ebp),%ecx
41b616:	21 59 04             	and    %ebx,0x4(%ecx)
41b619:	8b 5d 0c             	mov    0xc(%ebp),%ebx
41b61c:	8b 4f 08             	mov    0x8(%edi),%ecx
41b61f:	8b 77 04             	mov    0x4(%edi),%esi
41b622:	89 71 04             	mov    %esi,0x4(%ecx)
41b625:	8b 77 08             	mov    0x8(%edi),%esi
41b628:	8b 4f 04             	mov    0x4(%edi),%ecx
41b62b:	89 71 08             	mov    %esi,0x8(%ecx)
41b62e:	8b 75 10             	mov    0x10(%ebp),%esi
41b631:	03 75 fc             	add    -0x4(%ebp),%esi
41b634:	89 75 10             	mov    %esi,0x10(%ebp)
41b637:	c1 fe 04             	sar    $0x4,%esi
41b63a:	4e                   	dec    %esi
41b63b:	83 fe 3f             	cmp    $0x3f,%esi
41b63e:	76 03                	jbe    0x41b643
41b640:	6a 3f                	push   $0x3f
41b642:	5e                   	pop    %esi
41b643:	8b 4d f4             	mov    -0xc(%ebp),%ecx
41b646:	8d 0c f1             	lea    (%ecx,%esi,8),%ecx
41b649:	8b 79 04             	mov    0x4(%ecx),%edi
41b64c:	89 4b 08             	mov    %ecx,0x8(%ebx)
41b64f:	89 7b 04             	mov    %edi,0x4(%ebx)
41b652:	89 59 04             	mov    %ebx,0x4(%ecx)
41b655:	8b 4b 04             	mov    0x4(%ebx),%ecx
41b658:	89 59 08             	mov    %ebx,0x8(%ecx)
41b65b:	8b 4b 04             	mov    0x4(%ebx),%ecx
41b65e:	3b 4b 08             	cmp    0x8(%ebx),%ecx
41b661:	75 57                	jne    0x41b6ba
41b663:	8a 4c 06 04          	mov    0x4(%esi,%eax,1),%cl
41b667:	88 4d 0f             	mov    %cl,0xf(%ebp)
41b66a:	fe c1                	inc    %cl
41b66c:	83 fe 20             	cmp    $0x20,%esi
41b66f:	88 4c 06 04          	mov    %cl,0x4(%esi,%eax,1)
41b673:	73 1c                	jae    0x41b691
41b675:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
41b679:	75 0e                	jne    0x41b689
41b67b:	8b ce                	mov    %esi,%ecx
41b67d:	bf 00 00 00 80       	mov    $0x80000000,%edi
41b682:	d3 ef                	shr    %cl,%edi
41b684:	8b 4d 08             	mov    0x8(%ebp),%ecx
41b687:	09 39                	or     %edi,(%ecx)
41b689:	8d 44 90 44          	lea    0x44(%eax,%edx,4),%eax
41b68d:	8b ce                	mov    %esi,%ecx
41b68f:	eb 20                	jmp    0x41b6b1
41b691:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
41b695:	75 10                	jne    0x41b6a7
41b697:	8d 4e e0             	lea    -0x20(%esi),%ecx
41b69a:	bf 00 00 00 80       	mov    $0x80000000,%edi
41b69f:	d3 ef                	shr    %cl,%edi
41b6a1:	8b 4d 08             	mov    0x8(%ebp),%ecx
41b6a4:	09 79 04             	or     %edi,0x4(%ecx)
41b6a7:	8d 84 90 c4 00 00 00 	lea    0xc4(%eax,%edx,4),%eax
41b6ae:	8d 4e e0             	lea    -0x20(%esi),%ecx
41b6b1:	ba 00 00 00 80       	mov    $0x80000000,%edx
41b6b6:	d3 ea                	shr    %cl,%edx
41b6b8:	09 10                	or     %edx,(%eax)
41b6ba:	8b 45 10             	mov    0x10(%ebp),%eax
41b6bd:	89 03                	mov    %eax,(%ebx)
41b6bf:	89 44 18 fc          	mov    %eax,-0x4(%eax,%ebx,1)
41b6c3:	33 c0                	xor    %eax,%eax
41b6c5:	40                   	inc    %eax
41b6c6:	5f                   	pop    %edi
41b6c7:	5e                   	pop    %esi
41b6c8:	5b                   	pop    %ebx
41b6c9:	c9                   	leave
41b6ca:	c3                   	ret
41b6cb:	a1 2c e1 4a 00       	mov    0x4ae12c,%eax
41b6d0:	85 c0                	test   %eax,%eax
41b6d2:	0f 84 c3 00 00 00    	je     0x41b79b
41b6d8:	8b 0d 44 e1 4a 00    	mov    0x4ae144,%ecx
41b6de:	68 00 40 00 00       	push   $0x4000
41b6e3:	c1 e1 0f             	shl    $0xf,%ecx
41b6e6:	03 48 0c             	add    0xc(%eax),%ecx
41b6e9:	68 00 80 00 00       	push   $0x8000
41b6ee:	51                   	push   %ecx
41b6ef:	ff 15 6c 01 4b 00    	call   *0x4b016c
41b6f5:	8b 0d 44 e1 4a 00    	mov    0x4ae144,%ecx
41b6fb:	a1 2c e1 4a 00       	mov    0x4ae12c,%eax
41b700:	ba 00 00 00 80       	mov    $0x80000000,%edx
41b705:	d3 ea                	shr    %cl,%edx
41b707:	09 50 08             	or     %edx,0x8(%eax)
41b70a:	a1 2c e1 4a 00       	mov    0x4ae12c,%eax
41b70f:	8b 40 10             	mov    0x10(%eax),%eax
41b712:	8b 0d 44 e1 4a 00    	mov    0x4ae144,%ecx
41b718:	83 a4 88 c4 00 00 00 	andl   $0x0,0xc4(%eax,%ecx,4)
41b71f:	00
41b720:	a1 2c e1 4a 00       	mov    0x4ae12c,%eax
41b725:	8b 40 10             	mov    0x10(%eax),%eax
41b728:	fe 48 43             	decb   0x43(%eax)
41b72b:	a1 2c e1 4a 00       	mov    0x4ae12c,%eax
41b730:	8b 48 10             	mov    0x10(%eax),%ecx
41b733:	80 79 43 00          	cmpb   $0x0,0x43(%ecx)
41b737:	75 09                	jne    0x41b742
41b739:	83 60 04 fe          	andl   $0xfffffffe,0x4(%eax)
41b73d:	a1 2c e1 4a 00       	mov    0x4ae12c,%eax
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