4013e2:	57                   	push   %edi
4013e3:	8b da                	mov    %edx,%ebx
4013e5:	8b f0                	mov    %eax,%esi
4013e7:	81 fe 00 00 10 00    	cmp    $0x100000,%esi
4013ed:	7d 07                	jge    0x4013f6
4013ef:	be 00 00 10 00       	mov    $0x100000,%esi
4013f4:	eb 0c                	jmp    0x401402
4013f6:	81 c6 ff ff 00 00    	add    $0xffff,%esi
4013fc:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
401402:	89 73 04             	mov    %esi,0x4(%ebx)
401405:	6a 01                	push   $0x1
401407:	68 00 20 00 00       	push   $0x2000
40140c:	56                   	push   %esi
40140d:	6a 00                	push   $0x0
40140f:	e8 34 fd ff ff       	call   0x401148
401414:	8b f8                	mov    %eax,%edi
401416:	89 3b                	mov    %edi,(%ebx)
401418:	85 ff                	test   %edi,%edi
40141a:	74 23                	je     0x40143f
40141c:	8b d3                	mov    %ebx,%edx
40141e:	b8 d4 95 42 00       	mov    $0x4295d4,%eax
401423:	e8 dc fd ff ff       	call   0x401204
401428:	84 c0                	test   %al,%al
40142a:	75 13                	jne    0x40143f
40142c:	68 00 80 00 00       	push   $0x8000
401431:	6a 00                	push   $0x0
401433:	8b 03                	mov    (%ebx),%eax
401435:	50                   	push   %eax
401436:	e8 15 fd ff ff       	call   0x401150
40143b:	33 c0                	xor    %eax,%eax
40143d:	89 03                	mov    %eax,(%ebx)
40143f:	5f                   	pop    %edi
401440:	5e                   	pop    %esi
401441:	5b                   	pop    %ebx
401442:	c3                   	ret
401443:	90                   	nop
401444:	53                   	push   %ebx
401445:	56                   	push   %esi
401446:	57                   	push   %edi
401447:	55                   	push   %ebp
401448:	8b d9                	mov    %ecx,%ebx
40144a:	8b f2                	mov    %edx,%esi
40144c:	8b e8                	mov    %eax,%ebp
40144e:	c7 43 04 00 00 10 00 	movl   $0x100000,0x4(%ebx)
401455:	6a 04                	push   $0x4
401457:	68 00 20 00 00       	push   $0x2000
40145c:	68 00 00 10 00       	push   $0x100000
401461:	55                   	push   %ebp
401462:	e8 e1 fc ff ff       	call   0x401148
401467:	8b f8                	mov    %eax,%edi
401469:	89 3b                	mov    %edi,(%ebx)
40146b:	85 ff                	test   %edi,%edi
40146d:	75 1f                	jne    0x40148e
40146f:	81 c6 ff ff 00 00    	add    $0xffff,%esi
401475:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
40147b:	89 73 04             	mov    %esi,0x4(%ebx)
40147e:	6a 04                	push   $0x4
401480:	68 00 20 00 00       	push   $0x2000
401485:	56                   	push   %esi
401486:	55                   	push   %ebp
401487:	e8 bc fc ff ff       	call   0x401148
40148c:	89 03                	mov    %eax,(%ebx)
40148e:	83 3b 00             	cmpl   $0x0,(%ebx)
401491:	74 23                	je     0x4014b6
401493:	8b d3                	mov    %ebx,%edx
401495:	b8 d4 95 42 00       	mov    $0x4295d4,%eax
40149a:	e8 65 fd ff ff       	call   0x401204
40149f:	84 c0                	test   %al,%al
4014a1:	75 13                	jne    0x4014b6
4014a3:	68 00 80 00 00       	push   $0x8000
4014a8:	6a 00                	push   $0x0
4014aa:	8b 03                	mov    (%ebx),%eax
4014ac:	50                   	push   %eax
4014ad:	e8 9e fc ff ff       	call   0x401150
4014b2:	33 c0                	xor    %eax,%eax
4014b4:	89 03                	mov    %eax,(%ebx)
4014b6:	5d                   	pop    %ebp
4014b7:	5f                   	pop    %edi
4014b8:	5e                   	pop    %esi
4014b9:	5b                   	pop    %ebx
4014ba:	c3                   	ret
4014bb:	90                   	nop
4014bc:	53                   	push   %ebx
4014bd:	56                   	push   %esi
4014be:	57                   	push   %edi
4014bf:	55                   	push   %ebp
4014c0:	83 c4 e8             	add    $0xffffffe8,%esp
4014c3:	8b f9                	mov    %ecx,%edi
4014c5:	8b f4                	mov    %esp,%esi
4014c7:	c7 44 24 08 ff ff ff 	movl   $0xffffffff,0x8(%esp)
4014ce:	ff
4014cf:	33 c9                	xor    %ecx,%ecx
4014d1:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
4014d5:	89 44 24 10          	mov    %eax,0x10(%esp)
4014d9:	03 54 24 10          	add    0x10(%esp),%edx
4014dd:	89 54 24 14          	mov    %edx,0x14(%esp)
4014e1:	a1 d4 95 42 00       	mov    0x4295d4,%eax
4014e6:	89 06                	mov    %eax,(%esi)
4014e8:	eb 6b                	jmp    0x401555
4014ea:	8b 06                	mov    (%esi),%eax
4014ec:	8b 00                	mov    (%eax),%eax
4014ee:	89 44 24 04          	mov    %eax,0x4(%esp)
4014f2:	8b 06                	mov    (%esi),%eax
4014f4:	8b 58 08             	mov    0x8(%eax),%ebx
4014f7:	3b 5c 24 10          	cmp    0x10(%esp),%ebx
4014fb:	72 52                	jb     0x40154f
4014fd:	8b c3                	mov    %ebx,%eax
4014ff:	8b 16                	mov    (%esi),%edx
401501:	03 42 0c             	add    0xc(%edx),%eax
401504:	3b 44 24 14          	cmp    0x14(%esp),%eax
401508:	77 45                	ja     0x40154f
40150a:	3b 5c 24 08          	cmp    0x8(%esp),%ebx
40150e:	73 04                	jae    0x401514
401510:	89 5c 24 08          	mov    %ebx,0x8(%esp)
401514:	8b 06                	mov    (%esi),%eax
401516:	8b 68 08             	mov    0x8(%eax),%ebp
401519:	8b 06                	mov    (%esi),%eax
40151b:	03 68 0c             	add    0xc(%eax),%ebp
40151e:	3b 6c 24 0c          	cmp    0xc(%esp),%ebp
401522:	76 04                	jbe    0x401528
401524:	89 6c 24 0c          	mov    %ebp,0xc(%esp)
401528:	68 00 80 00 00       	push   $0x8000
40152d:	6a 00                	push   $0x0
40152f:	8b 06                	mov    (%esi),%eax
401531:	8b 40 08             	mov    0x8(%eax),%eax
401534:	50                   	push   %eax
401535:	e8 16 fc ff ff       	call   0x401150
40153a:	85 c0                	test   %eax,%eax
40153c:	75 0a                	jne    0x401548
40153e:	c7 05 b0 95 42 00 01 	movl   $0x1,0x4295b0
401545:	00 00 00
401548:	8b 06                	mov    (%esi),%eax
40154a:	e8 11 fd ff ff       	call   0x401260
40154f:	8b 44 24 04          	mov    0x4(%esp),%eax
401553:	89 06                	mov    %eax,(%esi)
401555:	b8 d4 95 42 00       	mov    $0x4295d4,%eax
40155a:	3b 06                	cmp    (%esi),%eax
40155c:	75 8c                	jne    0x4014ea
40155e:	33 c0                	xor    %eax,%eax
401560:	89 07                	mov    %eax,(%edi)
401562:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
401567:	74 11                	je     0x40157a
401569:	8b 44 24 08          	mov    0x8(%esp),%eax
40156d:	89 07                	mov    %eax,(%edi)
40156f:	8b 44 24 0c          	mov    0xc(%esp),%eax
401573:	2b 44 24 08          	sub    0x8(%esp),%eax
401577:	89 47 04             	mov    %eax,0x4(%edi)
40157a:	83 c4 18             	add    $0x18,%esp
40157d:	5d                   	pop    %ebp
40157e:	5f                   	pop    %edi
40157f:	5e                   	pop    %esi
401580:	5b                   	pop    %ebx
401581:	c3                   	ret
401582:	8b c0                	mov    %eax,%eax
401584:	53                   	push   %ebx
401585:	56                   	push   %esi
401586:	57                   	push   %edi
401587:	55                   	push   %ebp
401588:	83 c4 e8             	add    $0xffffffe8,%esp
40158b:	8b d9                	mov    %ecx,%ebx
40158d:	89 14 24             	mov    %edx,(%esp)
401590:	8d 74 24 08          	lea    0x8(%esp),%esi
401594:	8d 7c 24 04          	lea    0x4(%esp),%edi
401598:	8d 6c 24 0c          	lea    0xc(%esp),%ebp
40159c:	8b d0                	mov    %eax,%edx
40159e:	8b ca                	mov    %edx,%ecx
4015a0:	81 e1 00 f0 ff ff    	and    $0xfffff000,%ecx
4015a6:	89 4c 24 10          	mov    %ecx,0x10(%esp)
4015aa:	03 14 24             	add    (%esp),%edx
4015ad:	81 c2 ff 0f 00 00    	add    $0xfff,%edx
4015b3:	81 e2 00 f0 ff ff    	and    $0xfffff000,%edx
4015b9:	89 54 24 14          	mov    %edx,0x14(%esp)
4015bd:	8b 44 24 10          	mov    0x10(%esp),%eax
4015c1:	89 03                	mov    %eax,(%ebx)
4015c3:	8b 44 24 14          	mov    0x14(%esp),%eax
4015c7:	2b 44 24 10          	sub    0x10(%esp),%eax
4015cb:	89 43 04             	mov    %eax,0x4(%ebx)
4015ce:	a1 d4 95 42 00       	mov    0x4295d4,%eax
4015d3:	89 07                	mov    %eax,(%edi)
4015d5:	eb 5b                	jmp    0x401632
4015d7:	8b 07                	mov    (%edi),%eax
4015d9:	8b 40 08             	mov    0x8(%eax),%eax
4015dc:	89 06                	mov    %eax,(%esi)
4015de:	8b 07                	mov    (%edi),%eax
4015e0:	8b 40 0c             	mov    0xc(%eax),%eax
4015e3:	03 06                	add    (%esi),%eax
4015e5:	89 45 00             	mov    %eax,0x0(%ebp)
4015e8:	8b 06                	mov    (%esi),%eax
4015ea:	3b 44 24 10          	cmp    0x10(%esp),%eax
4015ee:	73 06                	jae    0x4015f6
4015f0:	8b 44 24 10          	mov    0x10(%esp),%eax
4015f4:	89 06                	mov    %eax,(%esi)
4015f6:	8b 45 00             	mov    0x0(%ebp),%eax
4015f9:	3b 44 24 14          	cmp    0x14(%esp),%eax
4015fd:	76 07                	jbe    0x401606
4015ff:	8b 44 24 14          	mov    0x14(%esp),%eax
401603:	89 45 00             	mov    %eax,0x0(%ebp)
401606:	8b 06                	mov    (%esi),%eax
401608:	3b 45 00             	cmp    0x0(%ebp),%eax
40160b:	73 1f                	jae    0x40162c
40160d:	6a 04                	push   $0x4
40160f:	68 00 10 00 00       	push   $0x1000
401614:	8b 45 00             	mov    0x0(%ebp),%eax
401617:	2b 06                	sub    (%esi),%eax
401619:	50                   	push   %eax
40161a:	8b 06                	mov    (%esi),%eax
40161c:	50                   	push   %eax
40161d:	e8 26 fb ff ff       	call   0x401148
401622:	85 c0                	test   %eax,%eax
401624:	75 06                	jne    0x40162c
401626:	33 c0                	xor    %eax,%eax
401628:	89 03                	mov    %eax,(%ebx)
40162a:	eb 0f                	jmp    0x40163b
40162c:	8b 07                	mov    (%edi),%eax
40162e:	8b 00                	mov    (%eax),%eax
401630:	89 07                	mov    %eax,(%edi)
401632:	b8 d4 95 42 00       	mov    $0x4295d4,%eax
401637:	3b 07                	cmp    (%edi),%eax
401639:	75 9c                	jne    0x4015d7
40163b:	83 c4 18             	add    $0x18,%esp
40163e:	5d                   	pop    %ebp
40163f:	5f                   	pop    %edi
401640:	5e                   	pop    %esi
401641:	5b                   	pop    %ebx
401642:	c3                   	ret
401643:	90                   	nop
401644:	53                   	push   %ebx
401645:	56                   	push   %esi
401646:	57                   	push   %edi
401647:	55                   	push   %ebp
401648:	83 c4 e8             	add    $0xffffffe8,%esp
40164b:	89 14 24             	mov    %edx,(%esp)
40164e:	8d 74 24 08          	lea    0x8(%esp),%esi
401652:	8d 7c 24 04          	lea    0x4(%esp),%edi
401656:	8d 5c 24 0c          	lea    0xc(%esp),%ebx
40165a:	8b d0                	mov    %eax,%edx
40165c:	8b ea                	mov    %edx,%ebp
40165e:	81 c5 ff 0f 00 00    	add    $0xfff,%ebp
401664:	81 e5 00 f0 ff ff    	and    $0xfffff000,%ebp
40166a:	89 6c 24 10          	mov    %ebp,0x10(%esp)
40166e:	03 14 24             	add    (%esp),%edx
401671:	81 e2 00 f0 ff ff    	and    $0xfffff000,%edx
401677:	89 54 24 14          	mov    %edx,0x14(%esp)
40167b:	8b 44 24 10          	mov    0x10(%esp),%eax
40167f:	89 01                	mov    %eax,(%ecx)
401681:	8b 44 24 14          	mov    0x14(%esp),%eax
401685:	2b 44 24 10          	sub    0x10(%esp),%eax
401689:	89 41 04             	mov    %eax,0x4(%ecx)
40168c:	a1 d4 95 42 00       	mov    0x4295d4,%eax
401691:	89 07                	mov    %eax,(%edi)
401693:	eb 58                	jmp    0x4016ed
401695:	8b 07                	mov    (%edi),%eax
401697:	8b 40 08             	mov    0x8(%eax),%eax
40169a:	89 06                	mov    %eax,(%esi)
40169c:	8b 07                	mov    (%edi),%eax
40169e:	8b 40 0c             	mov    0xc(%eax),%eax
4016a1:	03 06                	add    (%esi),%eax
4016a3:	89 03                	mov    %eax,(%ebx)
4016a5:	8b 06                	mov    (%esi),%eax
4016a7:	3b 44 24 10          	cmp    0x10(%esp),%eax
4016ab:	73 06                	jae    0x4016b3
4016ad:	8b 44 24 10          	mov    0x10(%esp),%eax
4016b1:	89 06                	mov    %eax,(%esi)
4016b3:	8b 03                	mov    (%ebx),%eax
4016b5:	3b 44 24 14          	cmp    0x14(%esp),%eax
4016b9:	76 06                	jbe    0x4016c1
4016bb:	8b 44 24 14          	mov    0x14(%esp),%eax
4016bf:	89 03                	mov    %eax,(%ebx)
4016c1:	8b 06                	mov    (%esi),%eax
4016c3:	3b 03                	cmp    (%ebx),%eax
4016c5:	73 20                	jae    0x4016e7
4016c7:	68 00 40 00 00       	push   $0x4000
4016cc:	8b 03                	mov    (%ebx),%eax
4016ce:	2b 06                	sub    (%esi),%eax
4016d0:	50                   	push   %eax
4016d1:	8b 06                	mov    (%esi),%eax
4016d3:	50                   	push   %eax
4016d4:	e8 77 fa ff ff       	call   0x401150
4016d9:	85 c0                	test   %eax,%eax
4016db:	75 0a                	jne    0x4016e7
4016dd:	c7 05 b0 95 42 00 02 	movl   $0x2,0x4295b0
4016e4:	00 00 00
4016e7:	8b 07                	mov    (%edi),%eax
4016e9:	8b 00                	mov    (%eax),%eax
4016eb:	89 07                	mov    %eax,(%edi)
4016ed:	b8 d4 95 42 00       	mov    $0x4295d4,%eax
4016f2:	3b 07                	cmp    (%edi),%eax
4016f4:	75 9f                	jne    0x401695
4016f6:	83 c4 18             	add    $0x18,%esp
4016f9:	5d                   	pop    %ebp
4016fa:	5f                   	pop    %edi
4016fb:	5e                   	pop    %esi
4016fc:	5b                   	pop    %ebx
4016fd:	c3                   	ret
4016fe:	8b c0                	mov    %eax,%eax
401700:	53                   	push   %ebx
401701:	56                   	push   %esi
401702:	57                   	push   %edi
401703:	55                   	push   %ebp
401704:	83 c4 f4             	add    $0xfffffff4,%esp
401707:	8b da                	mov    %edx,%ebx
401709:	8b f0                	mov    %eax,%esi
40170b:	8b fc                	mov    %esp,%edi
40170d:	bd e4 95 42 00       	mov    $0x4295e4,%ebp
401712:	81 c6 ff 3f 00 00    	add    $0x3fff,%esi
401718:	81 e6 00 c0 ff ff    	and    $0xffffc000,%esi
40171e:	8b 45 00             	mov    0x0(%ebp),%eax
401721:	89 07                	mov    %eax,(%edi)
401723:	eb 41                	jmp    0x401766
401725:	8b 07                	mov    (%edi),%eax
401727:	3b 70 0c             	cmp    0xc(%eax),%esi
40172a:	7f 34                	jg     0x401760
40172c:	8b cb                	mov    %ebx,%ecx
40172e:	8b 07                	mov    (%edi),%eax
401730:	8b 40 08             	mov    0x8(%eax),%eax
401733:	8b d6                	mov    %esi,%edx
401735:	e8 4a fe ff ff       	call   0x401584
40173a:	83 3b 00             	cmpl   $0x0,(%ebx)
40173d:	74 5f                	je     0x40179e
40173f:	8b 43 04             	mov    0x4(%ebx),%eax
401742:	8b 17                	mov    (%edi),%edx
401744:	01 42 08             	add    %eax,0x8(%edx)
401747:	8b 43 04             	mov    0x4(%ebx),%eax
40174a:	8b 17                	mov    (%edi),%edx
40174c:	29 42 0c             	sub    %eax,0xc(%edx)
40174f:	8b 07                	mov    (%edi),%eax
401751:	83 78 0c 00          	cmpl   $0x0,0xc(%eax)
401755:	75 47                	jne    0x40179e
401757:	8b 07                	mov    (%edi),%eax
401759:	e8 02 fb ff ff       	call   0x401260
40175e:	eb 3e                	jmp    0x40179e
401760:	8b 07                	mov    (%edi),%eax
401762:	8b 00                	mov    (%eax),%eax
401764:	89 07                	mov    %eax,(%edi)
401766:	3b 2f                	cmp    (%edi),%ebp
401768:	75 bb                	jne    0x401725
40176a:	8b d3                	mov    %ebx,%edx
40176c:	8b c6                	mov    %esi,%eax
40176e:	e8 6d fc ff ff       	call   0x4013e0
401773:	83 3b 00             	cmpl   $0x0,(%ebx)
401776:	74 26                	je     0x40179e
401778:	8d 4c 24 04          	lea    0x4(%esp),%ecx
40177c:	8b d3                	mov    %ebx,%edx
40177e:	8b c5                	mov    %ebp,%eax
401780:	e8 0f fb ff ff       	call   0x401294
401785:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
40178a:	75 92                	jne    0x40171e
40178c:	8d 4c 24 04          	lea    0x4(%esp),%ecx
401790:	8b 53 04             	mov    0x4(%ebx),%edx
401793:	8b 03                	mov    (%ebx),%eax