40158b:	68 00 20 00 00       	push   $0x2000
401590:	68 00 00 10 00       	push   $0x100000
401595:	55                   	push   %ebp
401596:	e8 a5 fd ff ff       	call   0x401340
40159b:	8b f8                	mov    %eax,%edi
40159d:	89 3b                	mov    %edi,(%ebx)
40159f:	85 ff                	test   %edi,%edi
4015a1:	75 1f                	jne    0x4015c2
4015a3:	81 c6 ff ff 00 00    	add    $0xffff,%esi
4015a9:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
4015af:	89 73 04             	mov    %esi,0x4(%ebx)
4015b2:	6a 04                	push   $0x4
4015b4:	68 00 20 00 00       	push   $0x2000
4015b9:	56                   	push   %esi
4015ba:	55                   	push   %ebp
4015bb:	e8 80 fd ff ff       	call   0x401340
4015c0:	89 03                	mov    %eax,(%ebx)
4015c2:	83 3b 00             	cmpl   $0x0,(%ebx)
4015c5:	74 23                	je     0x4015ea
4015c7:	8b d3                	mov    %ebx,%edx
4015c9:	b8 e8 e5 46 00       	mov    $0x46e5e8,%eax
4015ce:	e8 f5 fd ff ff       	call   0x4013c8
4015d3:	84 c0                	test   %al,%al
4015d5:	75 13                	jne    0x4015ea
4015d7:	68 00 80 00 00       	push   $0x8000
4015dc:	6a 00                	push   $0x0
4015de:	8b 03                	mov    (%ebx),%eax
4015e0:	50                   	push   %eax
4015e1:	e8 62 fd ff ff       	call   0x401348
4015e6:	33 c0                	xor    %eax,%eax
4015e8:	89 03                	mov    %eax,(%ebx)
4015ea:	5d                   	pop    %ebp
4015eb:	5f                   	pop    %edi
4015ec:	5e                   	pop    %esi
4015ed:	5b                   	pop    %ebx
4015ee:	c3                   	ret
4015ef:	90                   	nop
4015f0:	53                   	push   %ebx
4015f1:	56                   	push   %esi
4015f2:	57                   	push   %edi
4015f3:	55                   	push   %ebp
4015f4:	83 c4 ec             	add    $0xffffffec,%esp
4015f7:	89 4c 24 04          	mov    %ecx,0x4(%esp)
4015fb:	89 14 24             	mov    %edx,(%esp)
4015fe:	c7 44 24 08 ff ff ff 	movl   $0xffffffff,0x8(%esp)
401605:	ff
401606:	33 d2                	xor    %edx,%edx
401608:	89 54 24 0c          	mov    %edx,0xc(%esp)
40160c:	8b e8                	mov    %eax,%ebp
40160e:	8b 04 24             	mov    (%esp),%eax
401611:	03 c5                	add    %ebp,%eax
401613:	89 44 24 10          	mov    %eax,0x10(%esp)
401617:	8b 1d e8 e5 46 00    	mov    0x46e5e8,%ebx
40161d:	eb 51                	jmp    0x401670
40161f:	8b 3b                	mov    (%ebx),%edi
401621:	8b 73 08             	mov    0x8(%ebx),%esi
401624:	3b ee                	cmp    %esi,%ebp
401626:	77 46                	ja     0x40166e
401628:	8b c6                	mov    %esi,%eax
40162a:	03 43 0c             	add    0xc(%ebx),%eax
40162d:	3b 44 24 10          	cmp    0x10(%esp),%eax
401631:	77 3b                	ja     0x40166e
401633:	3b 74 24 08          	cmp    0x8(%esp),%esi
401637:	73 04                	jae    0x40163d
401639:	89 74 24 08          	mov    %esi,0x8(%esp)
40163d:	8b c6                	mov    %esi,%eax
40163f:	03 43 0c             	add    0xc(%ebx),%eax
401642:	3b 44 24 0c          	cmp    0xc(%esp),%eax
401646:	76 04                	jbe    0x40164c
401648:	89 44 24 0c          	mov    %eax,0xc(%esp)
40164c:	68 00 80 00 00       	push   $0x8000
401651:	6a 00                	push   $0x0
401653:	56                   	push   %esi
401654:	e8 ef fc ff ff       	call   0x401348
401659:	85 c0                	test   %eax,%eax
40165b:	75 0a                	jne    0x401667
40165d:	c7 05 c4 e5 46 00 01 	movl   $0x1,0x46e5c4
401664:	00 00 00
401667:	8b c3                	mov    %ebx,%eax
401669:	e8 8a fd ff ff       	call   0x4013f8
40166e:	8b df                	mov    %edi,%ebx
401670:	81 fb e8 e5 46 00    	cmp    $0x46e5e8,%ebx
401676:	75 a7                	jne    0x40161f
401678:	8b 44 24 04          	mov    0x4(%esp),%eax
40167c:	33 d2                	xor    %edx,%edx
40167e:	89 10                	mov    %edx,(%eax)
401680:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
401685:	74 19                	je     0x4016a0
401687:	8b 44 24 04          	mov    0x4(%esp),%eax
40168b:	8b 54 24 08          	mov    0x8(%esp),%edx
40168f:	89 10                	mov    %edx,(%eax)
401691:	8b 44 24 0c          	mov    0xc(%esp),%eax
401695:	2b 44 24 08          	sub    0x8(%esp),%eax
401699:	8b 54 24 04          	mov    0x4(%esp),%edx
40169d:	89 42 04             	mov    %eax,0x4(%edx)
4016a0:	83 c4 14             	add    $0x14,%esp
4016a3:	5d                   	pop    %ebp
4016a4:	5f                   	pop    %edi
4016a5:	5e                   	pop    %esi
4016a6:	5b                   	pop    %ebx
4016a7:	c3                   	ret
4016a8:	53                   	push   %ebx
4016a9:	56                   	push   %esi
4016aa:	57                   	push   %edi
4016ab:	55                   	push   %ebp
4016ac:	83 c4 f4             	add    $0xfffffff4,%esp
4016af:	89 4c 24 04          	mov    %ecx,0x4(%esp)
4016b3:	89 14 24             	mov    %edx,(%esp)
4016b6:	8b d0                	mov    %eax,%edx
4016b8:	8b ea                	mov    %edx,%ebp
4016ba:	81 e5 00 f0 ff ff    	and    $0xfffff000,%ebp
4016c0:	03 14 24             	add    (%esp),%edx
4016c3:	81 c2 ff 0f 00 00    	add    $0xfff,%edx
4016c9:	81 e2 00 f0 ff ff    	and    $0xfffff000,%edx
4016cf:	89 54 24 08          	mov    %edx,0x8(%esp)
4016d3:	8b 44 24 04          	mov    0x4(%esp),%eax
4016d7:	89 28                	mov    %ebp,(%eax)
4016d9:	8b 44 24 08          	mov    0x8(%esp),%eax
4016dd:	2b c5                	sub    %ebp,%eax
4016df:	8b 54 24 04          	mov    0x4(%esp),%edx
4016e3:	89 42 04             	mov    %eax,0x4(%edx)
4016e6:	8b 35 e8 e5 46 00    	mov    0x46e5e8,%esi
4016ec:	eb 3c                	jmp    0x40172a
4016ee:	8b 5e 08             	mov    0x8(%esi),%ebx
4016f1:	8b 7e 0c             	mov    0xc(%esi),%edi
4016f4:	03 fb                	add    %ebx,%edi
4016f6:	3b eb                	cmp    %ebx,%ebp
4016f8:	76 02                	jbe    0x4016fc
4016fa:	8b dd                	mov    %ebp,%ebx
4016fc:	3b 7c 24 08          	cmp    0x8(%esp),%edi
401700:	76 04                	jbe    0x401706
401702:	8b 7c 24 08          	mov    0x8(%esp),%edi
401706:	3b fb                	cmp    %ebx,%edi
401708:	76 1e                	jbe    0x401728
40170a:	6a 04                	push   $0x4
40170c:	68 00 10 00 00       	push   $0x1000
401711:	2b fb                	sub    %ebx,%edi
401713:	57                   	push   %edi
401714:	53                   	push   %ebx
401715:	e8 26 fc ff ff       	call   0x401340
40171a:	85 c0                	test   %eax,%eax
40171c:	75 0a                	jne    0x401728
40171e:	8b 44 24 04          	mov    0x4(%esp),%eax
401722:	33 d2                	xor    %edx,%edx
401724:	89 10                	mov    %edx,(%eax)
401726:	eb 0a                	jmp    0x401732
401728:	8b 36                	mov    (%esi),%esi
40172a:	81 fe e8 e5 46 00    	cmp    $0x46e5e8,%esi
401730:	75 bc                	jne    0x4016ee
401732:	83 c4 0c             	add    $0xc,%esp
401735:	5d                   	pop    %ebp
401736:	5f                   	pop    %edi
401737:	5e                   	pop    %esi
401738:	5b                   	pop    %ebx
401739:	c3                   	ret
40173a:	8b c0                	mov    %eax,%eax
40173c:	53                   	push   %ebx
40173d:	56                   	push   %esi
40173e:	57                   	push   %edi
40173f:	55                   	push   %ebp
401740:	51                   	push   %ecx
401741:	8b d8                	mov    %eax,%ebx
401743:	8b f3                	mov    %ebx,%esi
401745:	81 c6 ff 0f 00 00    	add    $0xfff,%esi
40174b:	81 e6 00 f0 ff ff    	and    $0xfffff000,%esi
401751:	89 34 24             	mov    %esi,(%esp)
401754:	8b eb                	mov    %ebx,%ebp
401756:	03 ea                	add    %edx,%ebp
401758:	81 e5 00 f0 ff ff    	and    $0xfffff000,%ebp
40175e:	8b 04 24             	mov    (%esp),%eax
401761:	89 01                	mov    %eax,(%ecx)
401763:	8b c5                	mov    %ebp,%eax
401765:	2b 04 24             	sub    (%esp),%eax
401768:	89 41 04             	mov    %eax,0x4(%ecx)
40176b:	8b 35 e8 e5 46 00    	mov    0x46e5e8,%esi
401771:	eb 38                	jmp    0x4017ab
401773:	8b 5e 08             	mov    0x8(%esi),%ebx
401776:	8b 7e 0c             	mov    0xc(%esi),%edi
401779:	03 fb                	add    %ebx,%edi
40177b:	3b 1c 24             	cmp    (%esp),%ebx
40177e:	73 03                	jae    0x401783
401780:	8b 1c 24             	mov    (%esp),%ebx
401783:	3b ef                	cmp    %edi,%ebp
401785:	73 02                	jae    0x401789
401787:	8b fd                	mov    %ebp,%edi
401789:	3b fb                	cmp    %ebx,%edi
40178b:	76 1c                	jbe    0x4017a9
40178d:	68 00 40 00 00       	push   $0x4000
401792:	2b fb                	sub    %ebx,%edi
401794:	57                   	push   %edi
401795:	53                   	push   %ebx
401796:	e8 ad fb ff ff       	call   0x401348
40179b:	85 c0                	test   %eax,%eax
40179d:	75 0a                	jne    0x4017a9
40179f:	c7 05 c4 e5 46 00 02 	movl   $0x2,0x46e5c4
4017a6:	00 00 00
4017a9:	8b 36                	mov    (%esi),%esi
4017ab:	81 fe e8 e5 46 00    	cmp    $0x46e5e8,%esi
4017b1:	75 c0                	jne    0x401773
4017b3:	5a                   	pop    %edx
4017b4:	5d                   	pop    %ebp
4017b5:	5f                   	pop    %edi
4017b6:	5e                   	pop    %esi
4017b7:	5b                   	pop    %ebx
4017b8:	c3                   	ret
4017b9:	8d 40 00             	lea    0x0(%eax),%eax
4017bc:	53                   	push   %ebx
4017bd:	56                   	push   %esi
4017be:	57                   	push   %edi
4017bf:	55                   	push   %ebp
4017c0:	83 c4 f8             	add    $0xfffffff8,%esp
4017c3:	8b f2                	mov    %edx,%esi
4017c5:	8b f8                	mov    %eax,%edi
4017c7:	bd f8 e5 46 00       	mov    $0x46e5f8,%ebp
4017cc:	81 c7 ff 3f 00 00    	add    $0x3fff,%edi
4017d2:	81 e7 00 c0 ff ff    	and    $0xffffc000,%edi
4017d8:	8b 5d 00             	mov    0x0(%ebp),%ebx
4017db:	eb 33                	jmp    0x401810
4017dd:	3b 7b 0c             	cmp    0xc(%ebx),%edi
4017e0:	7f 2c                	jg     0x40180e
4017e2:	8b ce                	mov    %esi,%ecx
4017e4:	8b d7                	mov    %edi,%edx
4017e6:	8b 43 08             	mov    0x8(%ebx),%eax
4017e9:	e8 ba fe ff ff       	call   0x4016a8
4017ee:	83 3e 00             	cmpl   $0x0,(%esi)
4017f1:	74 50                	je     0x401843
4017f3:	8b 46 04             	mov    0x4(%esi),%eax
4017f6:	01 43 08             	add    %eax,0x8(%ebx)
4017f9:	8b 46 04             	mov    0x4(%esi),%eax
4017fc:	29 43 0c             	sub    %eax,0xc(%ebx)
4017ff:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
401803:	75 3e                	jne    0x401843
401805:	8b c3                	mov    %ebx,%eax
401807:	e8 ec fb ff ff       	call   0x4013f8
40180c:	eb 35                	jmp    0x401843
40180e:	8b 1b                	mov    (%ebx),%ebx
401810:	3b dd                	cmp    %ebp,%ebx
401812:	75 c9                	jne    0x4017dd
401814:	8b d6                	mov    %esi,%edx
401816:	8b c7                	mov    %edi,%eax
401818:	e8 f7 fc ff ff       	call   0x401514
40181d:	83 3e 00             	cmpl   $0x0,(%esi)
401820:	74 21                	je     0x401843
401822:	8b cc                	mov    %esp,%ecx
401824:	8b d6                	mov    %esi,%edx
401826:	8b c5                	mov    %ebp,%eax
401828:	e8 e3 fb ff ff       	call   0x401410
40182d:	83 3c 24 00          	cmpl   $0x0,(%esp)
401831:	75 a5                	jne    0x4017d8
401833:	8b cc                	mov    %esp,%ecx
401835:	8b 56 04             	mov    0x4(%esi),%edx
401838:	8b 06                	mov    (%esi),%eax
40183a:	e8 b1 fd ff ff       	call   0x4015f0
40183f:	33 c0                	xor    %eax,%eax
401841:	89 06                	mov    %eax,(%esi)
401843:	59                   	pop    %ecx
401844:	5a                   	pop    %edx
401845:	5d                   	pop    %ebp
401846:	5f                   	pop    %edi
401847:	5e                   	pop    %esi
401848:	5b                   	pop    %ebx
401849:	c3                   	ret
40184a:	8b c0                	mov    %eax,%eax
40184c:	53                   	push   %ebx
40184d:	56                   	push   %esi
40184e:	57                   	push   %edi
40184f:	55                   	push   %ebp
401850:	83 c4 ec             	add    $0xffffffec,%esp
401853:	89 0c 24             	mov    %ecx,(%esp)
401856:	8b fa                	mov    %edx,%edi
401858:	8b f0                	mov    %eax,%esi
40185a:	bd f8 e5 46 00       	mov    $0x46e5f8,%ebp
40185f:	81 c7 ff 3f 00 00    	add    $0x3fff,%edi
401865:	81 e7 00 c0 ff ff    	and    $0xffffc000,%edi
40186b:	8b 5d 00             	mov    0x0(%ebp),%ebx
40186e:	eb 02                	jmp    0x401872
401870:	8b 1b                	mov    (%ebx),%ebx
401872:	3b dd                	cmp    %ebp,%ebx
401874:	74 05                	je     0x40187b
401876:	3b 73 08             	cmp    0x8(%ebx),%esi
401879:	75 f5                	jne    0x401870
40187b:	3b 73 08             	cmp    0x8(%ebx),%esi
40187e:	75 57                	jne    0x4018d7
401880:	3b 7b 0c             	cmp    0xc(%ebx),%edi
401883:	0f 8e 96 00 00 00    	jle    0x40191f
401889:	8d 4c 24 04          	lea    0x4(%esp),%ecx
40188d:	8b d7                	mov    %edi,%edx
40188f:	2b 53 0c             	sub    0xc(%ebx),%edx
401892:	8b 43 08             	mov    0x8(%ebx),%eax
401895:	03 43 0c             	add    0xc(%ebx),%eax
401898:	e8 db fc ff ff       	call   0x401578
40189d:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
4018a2:	74 33                	je     0x4018d7
4018a4:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4018a8:	8d 54 24 04          	lea    0x4(%esp),%edx
4018ac:	8b c5                	mov    %ebp,%eax
4018ae:	e8 5d fb ff ff       	call   0x401410
4018b3:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
4018b8:	75 b1                	jne    0x40186b
4018ba:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4018be:	8b 54 24 08          	mov    0x8(%esp),%edx
4018c2:	8b 44 24 04          	mov    0x4(%esp),%eax
4018c6:	e8 25 fd ff ff       	call   0x4015f0
4018cb:	8b 04 24             	mov    (%esp),%eax
4018ce:	33 d2                	xor    %edx,%edx
4018d0:	89 10                	mov    %edx,(%eax)
4018d2:	e9 90 00 00 00       	jmp    0x401967
4018d7:	8d 4c 24 04          	lea    0x4(%esp),%ecx
4018db:	8b d7                	mov    %edi,%edx
4018dd:	8b c6                	mov    %esi,%eax
4018df:	e8 94 fc ff ff       	call   0x401578
4018e4:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
4018e9:	74 34                	je     0x40191f
4018eb:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
4018ef:	8d 54 24 04          	lea    0x4(%esp),%edx
4018f3:	8b c5                	mov    %ebp,%eax
4018f5:	e8 16 fb ff ff       	call   0x401410
4018fa:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
4018ff:	0f 85 66 ff ff ff    	jne    0x40186b
401905:	8d 4c 24 0c          	lea    0xc(%esp),%ecx
401909:	8b 54 24 08          	mov    0x8(%esp),%edx
40190d:	8b 44 24 04          	mov    0x4(%esp),%eax
401911:	e8 da fc ff ff       	call   0x4015f0
401916:	8b 04 24             	mov    (%esp),%eax
401919:	33 d2                	xor    %edx,%edx
40191b:	89 10                	mov    %edx,(%eax)
40191d:	eb 48                	jmp    0x401967
40191f:	8b 6b 08             	mov    0x8(%ebx),%ebp
401922:	3b f5                	cmp    %ebp,%esi
401924:	75 3a                	jne    0x401960
401926:	3b 7b 0c             	cmp    0xc(%ebx),%edi
401929:	7f 35                	jg     0x401960
40192b:	8b 0c 24             	mov    (%esp),%ecx
40192e:	8b d7                	mov    %edi,%edx
401930:	8b c5                	mov    %ebp,%eax
401932:	e8 71 fd ff ff       	call   0x4016a8
401937:	8b 04 24             	mov    (%esp),%eax
40193a:	83 38 00             	cmpl   $0x0,(%eax)
40193d:	74 28                	je     0x401967
40193f:	8b 04 24             	mov    (%esp),%eax
401942:	8b 40 04             	mov    0x4(%eax),%eax
401945:	01 43 08             	add    %eax,0x8(%ebx)
401948:	8b 04 24             	mov    (%esp),%eax
40194b:	8b 40 04             	mov    0x4(%eax),%eax
40194e:	29 43 0c             	sub    %eax,0xc(%ebx)
401951:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
401955:	75 10                	jne    0x401967
401957:	8b c3                	mov    %ebx,%eax
401959:	e8 9a fa ff ff       	call   0x4013f8
40195e:	eb 07                	jmp    0x401967