40155a:	3b cd                	cmp    %ebp,%ecx
40155c:	77 62                	ja     0x4015c0
40155e:	3b f0                	cmp    %eax,%esi
401560:	75 1b                	jne    0x40157d
401562:	8b 42 04             	mov    0x4(%edx),%eax
401565:	01 43 08             	add    %eax,0x8(%ebx)
401568:	8b 42 04             	mov    0x4(%edx),%eax
40156b:	29 43 0c             	sub    %eax,0xc(%ebx)
40156e:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
401572:	75 48                	jne    0x4015bc
401574:	8b c3                	mov    %ebx,%eax
401576:	e8 39 ff ff ff       	call   0x4014b4
40157b:	eb 3f                	jmp    0x4015bc
40157d:	8b ce                	mov    %esi,%ecx
40157f:	8b 7a 04             	mov    0x4(%edx),%edi
401582:	03 cf                	add    %edi,%ecx
401584:	8b e8                	mov    %eax,%ebp
401586:	03 6b 0c             	add    0xc(%ebx),%ebp
401589:	3b cd                	cmp    %ebp,%ecx
40158b:	75 05                	jne    0x401592
40158d:	29 7b 0c             	sub    %edi,0xc(%ebx)
401590:	eb 2a                	jmp    0x4015bc
401592:	8b 0a                	mov    (%edx),%ecx
401594:	03 4a 04             	add    0x4(%edx),%ecx
401597:	89 0c 24             	mov    %ecx,(%esp)
40159a:	8b 7b 08             	mov    0x8(%ebx),%edi
40159d:	03 7b 0c             	add    0xc(%ebx),%edi
4015a0:	2b f9                	sub    %ecx,%edi
4015a2:	89 7c 24 04          	mov    %edi,0x4(%esp)
4015a6:	2b f0                	sub    %eax,%esi
4015a8:	89 73 0c             	mov    %esi,0xc(%ebx)
4015ab:	8b d4                	mov    %esp,%edx
4015ad:	8b c3                	mov    %ebx,%eax
4015af:	e8 d0 fe ff ff       	call   0x401484
4015b4:	84 c0                	test   %al,%al
4015b6:	75 04                	jne    0x4015bc
4015b8:	33 c0                	xor    %eax,%eax
4015ba:	eb 0c                	jmp    0x4015c8
4015bc:	b0 01                	mov    $0x1,%al
4015be:	eb 08                	jmp    0x4015c8
4015c0:	8b 1b                	mov    (%ebx),%ebx
4015c2:	3b fb                	cmp    %ebx,%edi
4015c4:	75 81                	jne    0x401547
4015c6:	33 c0                	xor    %eax,%eax
4015c8:	59                   	pop    %ecx
4015c9:	5a                   	pop    %edx
4015ca:	5d                   	pop    %ebp
4015cb:	5f                   	pop    %edi
4015cc:	5e                   	pop    %esi
4015cd:	5b                   	pop    %ebx
4015ce:	c3                   	ret
4015cf:	90                   	nop
4015d0:	53                   	push   %ebx
4015d1:	56                   	push   %esi
4015d2:	57                   	push   %edi
4015d3:	8b da                	mov    %edx,%ebx
4015d5:	8b f0                	mov    %eax,%esi
4015d7:	81 fe 00 00 10 00    	cmp    $0x100000,%esi
4015dd:	7d 07                	jge    0x4015e6
4015df:	be 00 00 10 00       	mov    $0x100000,%esi
4015e4:	eb 0c                	jmp    0x4015f2
4015e6:	81 c6 ff ff 00 00    	add    $0xffff,%esi
4015ec:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
4015f2:	89 73 04             	mov    %esi,0x4(%ebx)
4015f5:	6a 01                	push   $0x1
4015f7:	68 00 20 00 00       	push   $0x2000
4015fc:	56                   	push   %esi
4015fd:	6a 00                	push   $0x0
4015ff:	e8 f8 fd ff ff       	call   0x4013fc
401604:	8b f8                	mov    %eax,%edi
401606:	89 3b                	mov    %edi,(%ebx)
401608:	85 ff                	test   %edi,%edi
40160a:	74 23                	je     0x40162f
40160c:	8b d3                	mov    %ebx,%edx
40160e:	b8 ec c5 49 00       	mov    $0x49c5ec,%eax
401613:	e8 6c fe ff ff       	call   0x401484
401618:	84 c0                	test   %al,%al
40161a:	75 13                	jne    0x40162f
40161c:	68 00 80 00 00       	push   $0x8000
401621:	6a 00                	push   $0x0
401623:	8b 03                	mov    (%ebx),%eax
401625:	50                   	push   %eax
401626:	e8 d9 fd ff ff       	call   0x401404
40162b:	33 c0                	xor    %eax,%eax
40162d:	89 03                	mov    %eax,(%ebx)
40162f:	5f                   	pop    %edi
401630:	5e                   	pop    %esi
401631:	5b                   	pop    %ebx
401632:	c3                   	ret
401633:	90                   	nop
401634:	53                   	push   %ebx
401635:	56                   	push   %esi
401636:	57                   	push   %edi
401637:	55                   	push   %ebp
401638:	8b d9                	mov    %ecx,%ebx
40163a:	8b f2                	mov    %edx,%esi
40163c:	8b e8                	mov    %eax,%ebp
40163e:	c7 43 04 00 00 10 00 	movl   $0x100000,0x4(%ebx)
401645:	6a 04                	push   $0x4
401647:	68 00 20 00 00       	push   $0x2000
40164c:	68 00 00 10 00       	push   $0x100000
401651:	55                   	push   %ebp
401652:	e8 a5 fd ff ff       	call   0x4013fc
401657:	8b f8                	mov    %eax,%edi
401659:	89 3b                	mov    %edi,(%ebx)
40165b:	85 ff                	test   %edi,%edi
40165d:	75 1f                	jne    0x40167e
40165f:	81 c6 ff ff 00 00    	add    $0xffff,%esi
401665:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
40166b:	89 73 04             	mov    %esi,0x4(%ebx)
40166e:	6a 04                	push   $0x4
401670:	68 00 20 00 00       	push   $0x2000
401675:	56                   	push   %esi
401676:	55                   	push   %ebp
401677:	e8 80 fd ff ff       	call   0x4013fc
40167c:	89 03                	mov    %eax,(%ebx)
40167e:	83 3b 00             	cmpl   $0x0,(%ebx)
401681:	74 23                	je     0x4016a6
401683:	8b d3                	mov    %ebx,%edx
401685:	b8 ec c5 49 00       	mov    $0x49c5ec,%eax
40168a:	e8 f5 fd ff ff       	call   0x401484
40168f:	84 c0                	test   %al,%al
401691:	75 13                	jne    0x4016a6
401693:	68 00 80 00 00       	push   $0x8000
401698:	6a 00                	push   $0x0
40169a:	8b 03                	mov    (%ebx),%eax
40169c:	50                   	push   %eax
40169d:	e8 62 fd ff ff       	call   0x401404
4016a2:	33 c0                	xor    %eax,%eax
4016a4:	89 03                	mov    %eax,(%ebx)
4016a6:	5d                   	pop    %ebp
4016a7:	5f                   	pop    %edi
4016a8:	5e                   	pop    %esi
4016a9:	5b                   	pop    %ebx
4016aa:	c3                   	ret
4016ab:	90                   	nop
4016ac:	53                   	push   %ebx
4016ad:	56                   	push   %esi
4016ae:	57                   	push   %edi
4016af:	55                   	push   %ebp
4016b0:	83 c4 ec             	add    $0xffffffec,%esp
4016b3:	89 4c 24 04          	mov    %ecx,0x4(%esp)
4016b7:	89 14 24             	mov    %edx,(%esp)
4016ba:	c7 44 24 08 ff ff ff 	movl   $0xffffffff,0x8(%esp)
4016c1:	ff
4016c2:	33 d2                	xor    %edx,%edx
4016c4:	89 54 24 0c          	mov    %edx,0xc(%esp)
4016c8:	8b e8                	mov    %eax,%ebp
4016ca:	8b 04 24             	mov    (%esp),%eax
4016cd:	03 c5                	add    %ebp,%eax
4016cf:	89 44 24 10          	mov    %eax,0x10(%esp)
4016d3:	8b 1d ec c5 49 00    	mov    0x49c5ec,%ebx
4016d9:	eb 51                	jmp    0x40172c
4016db:	8b 3b                	mov    (%ebx),%edi
4016dd:	8b 73 08             	mov    0x8(%ebx),%esi
4016e0:	3b ee                	cmp    %esi,%ebp
4016e2:	77 46                	ja     0x40172a
4016e4:	8b c6                	mov    %esi,%eax
4016e6:	03 43 0c             	add    0xc(%ebx),%eax
4016e9:	3b 44 24 10          	cmp    0x10(%esp),%eax
4016ed:	77 3b                	ja     0x40172a
4016ef:	3b 74 24 08          	cmp    0x8(%esp),%esi
4016f3:	73 04                	jae    0x4016f9
4016f5:	89 74 24 08          	mov    %esi,0x8(%esp)
4016f9:	8b c6                	mov    %esi,%eax
4016fb:	03 43 0c             	add    0xc(%ebx),%eax
4016fe:	3b 44 24 0c          	cmp    0xc(%esp),%eax
401702:	76 04                	jbe    0x401708
401704:	89 44 24 0c          	mov    %eax,0xc(%esp)
401708:	68 00 80 00 00       	push   $0x8000
40170d:	6a 00                	push   $0x0
40170f:	56                   	push   %esi
401710:	e8 ef fc ff ff       	call   0x401404
401715:	85 c0                	test   %eax,%eax
401717:	75 0a                	jne    0x401723
401719:	c7 05 c8 c5 49 00 01 	movl   $0x1,0x49c5c8
401720:	00 00 00
401723:	8b c3                	mov    %ebx,%eax
401725:	e8 8a fd ff ff       	call   0x4014b4
40172a:	8b df                	mov    %edi,%ebx
40172c:	81 fb ec c5 49 00    	cmp    $0x49c5ec,%ebx
401732:	75 a7                	jne    0x4016db
401734:	8b 44 24 04          	mov    0x4(%esp),%eax
401738:	33 d2                	xor    %edx,%edx
40173a:	89 10                	mov    %edx,(%eax)
40173c:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
401741:	74 19                	je     0x40175c
401743:	8b 44 24 04          	mov    0x4(%esp),%eax
401747:	8b 54 24 08          	mov    0x8(%esp),%edx
40174b:	89 10                	mov    %edx,(%eax)
40174d:	8b 44 24 0c          	mov    0xc(%esp),%eax
401751:	2b 44 24 08          	sub    0x8(%esp),%eax
401755:	8b 54 24 04          	mov    0x4(%esp),%edx
401759:	89 42 04             	mov    %eax,0x4(%edx)
40175c:	83 c4 14             	add    $0x14,%esp
40175f:	5d                   	pop    %ebp
401760:	5f                   	pop    %edi
401761:	5e                   	pop    %esi
401762:	5b                   	pop    %ebx
401763:	c3                   	ret
401764:	53                   	push   %ebx
401765:	56                   	push   %esi
401766:	57                   	push   %edi
401767:	55                   	push   %ebp
401768:	83 c4 f4             	add    $0xfffffff4,%esp
40176b:	89 4c 24 04          	mov    %ecx,0x4(%esp)
40176f:	89 14 24             	mov    %edx,(%esp)
401772:	8b d0                	mov    %eax,%edx
401774:	8b ea                	mov    %edx,%ebp
401776:	81 e5 00 f0 ff ff    	and    $0xfffff000,%ebp
40177c:	03 14 24             	add    (%esp),%edx
40177f:	81 c2 ff 0f 00 00    	add    $0xfff,%edx
401785:	81 e2 00 f0 ff ff    	and    $0xfffff000,%edx
40178b:	89 54 24 08          	mov    %edx,0x8(%esp)
40178f:	8b 44 24 04          	mov    0x4(%esp),%eax
401793:	89 28                	mov    %ebp,(%eax)
401795:	8b 44 24 08          	mov    0x8(%esp),%eax
401799:	2b c5                	sub    %ebp,%eax
40179b:	8b 54 24 04          	mov    0x4(%esp),%edx
40179f:	89 42 04             	mov    %eax,0x4(%edx)
4017a2:	8b 35 ec c5 49 00    	mov    0x49c5ec,%esi
4017a8:	eb 3c                	jmp    0x4017e6
4017aa:	8b 5e 08             	mov    0x8(%esi),%ebx
4017ad:	8b 7e 0c             	mov    0xc(%esi),%edi
4017b0:	03 fb                	add    %ebx,%edi
4017b2:	3b eb                	cmp    %ebx,%ebp
4017b4:	76 02                	jbe    0x4017b8
4017b6:	8b dd                	mov    %ebp,%ebx
4017b8:	3b 7c 24 08          	cmp    0x8(%esp),%edi
4017bc:	76 04                	jbe    0x4017c2
4017be:	8b 7c 24 08          	mov    0x8(%esp),%edi
4017c2:	3b fb                	cmp    %ebx,%edi
4017c4:	76 1e                	jbe    0x4017e4
4017c6:	6a 04                	push   $0x4
4017c8:	68 00 10 00 00       	push   $0x1000
4017cd:	2b fb                	sub    %ebx,%edi
4017cf:	57                   	push   %edi
4017d0:	53                   	push   %ebx
4017d1:	e8 26 fc ff ff       	call   0x4013fc
4017d6:	85 c0                	test   %eax,%eax
4017d8:	75 0a                	jne    0x4017e4
4017da:	8b 44 24 04          	mov    0x4(%esp),%eax
4017de:	33 d2                	xor    %edx,%edx
4017e0:	89 10                	mov    %edx,(%eax)
4017e2:	eb 0a                	jmp    0x4017ee
4017e4:	8b 36                	mov    (%esi),%esi
4017e6:	81 fe ec c5 49 00    	cmp    $0x49c5ec,%esi
4017ec:	75 bc                	jne    0x4017aa
4017ee:	83 c4 0c             	add    $0xc,%esp
4017f1:	5d                   	pop    %ebp
4017f2:	5f                   	pop    %edi
4017f3:	5e                   	pop    %esi
4017f4:	5b                   	pop    %ebx
4017f5:	c3                   	ret
4017f6:	8b c0                	mov    %eax,%eax
4017f8:	53                   	push   %ebx
4017f9:	56                   	push   %esi
4017fa:	57                   	push   %edi
4017fb:	55                   	push   %ebp
4017fc:	51                   	push   %ecx
4017fd:	8b d8                	mov    %eax,%ebx
4017ff:	8b f3                	mov    %ebx,%esi
401801:	81 c6 ff 0f 00 00    	add    $0xfff,%esi
401807:	81 e6 00 f0 ff ff    	and    $0xfffff000,%esi
40180d:	89 34 24             	mov    %esi,(%esp)
401810:	8b eb                	mov    %ebx,%ebp
401812:	03 ea                	add    %edx,%ebp
401814:	81 e5 00 f0 ff ff    	and    $0xfffff000,%ebp
40181a:	8b 04 24             	mov    (%esp),%eax
40181d:	89 01                	mov    %eax,(%ecx)
40181f:	8b c5                	mov    %ebp,%eax
401821:	2b 04 24             	sub    (%esp),%eax
401824:	89 41 04             	mov    %eax,0x4(%ecx)
401827:	8b 35 ec c5 49 00    	mov    0x49c5ec,%esi
40182d:	eb 38                	jmp    0x401867
40182f:	8b 5e 08             	mov    0x8(%esi),%ebx
401832:	8b 7e 0c             	mov    0xc(%esi),%edi
401835:	03 fb                	add    %ebx,%edi
401837:	3b 1c 24             	cmp    (%esp),%ebx
40183a:	73 03                	jae    0x40183f
40183c:	8b 1c 24             	mov    (%esp),%ebx
40183f:	3b ef                	cmp    %edi,%ebp
401841:	73 02                	jae    0x401845
401843:	8b fd                	mov    %ebp,%edi
401845:	3b fb                	cmp    %ebx,%edi
401847:	76 1c                	jbe    0x401865
401849:	68 00 40 00 00       	push   $0x4000
40184e:	2b fb                	sub    %ebx,%edi
401850:	57                   	push   %edi
401851:	53                   	push   %ebx
401852:	e8 ad fb ff ff       	call   0x401404
401857:	85 c0                	test   %eax,%eax
401859:	75 0a                	jne    0x401865
40185b:	c7 05 c8 c5 49 00 02 	movl   $0x2,0x49c5c8
401862:	00 00 00
401865:	8b 36                	mov    (%esi),%esi
401867:	81 fe ec c5 49 00    	cmp    $0x49c5ec,%esi
40186d:	75 c0                	jne    0x40182f
40186f:	5a                   	pop    %edx
401870:	5d                   	pop    %ebp
401871:	5f                   	pop    %edi
401872:	5e                   	pop    %esi
401873:	5b                   	pop    %ebx
401874:	c3                   	ret
401875:	8d 40 00             	lea    0x0(%eax),%eax
401878:	53                   	push   %ebx
401879:	56                   	push   %esi
40187a:	57                   	push   %edi
40187b:	55                   	push   %ebp
40187c:	83 c4 f8             	add    $0xfffffff8,%esp
40187f:	8b f2                	mov    %edx,%esi
401881:	8b f8                	mov    %eax,%edi
401883:	bd fc c5 49 00       	mov    $0x49c5fc,%ebp
401888:	81 c7 ff 3f 00 00    	add    $0x3fff,%edi
40188e:	81 e7 00 c0 ff ff    	and    $0xffffc000,%edi
401894:	8b 5d 00             	mov    0x0(%ebp),%ebx
401897:	eb 33                	jmp    0x4018cc
401899:	3b 7b 0c             	cmp    0xc(%ebx),%edi
40189c:	7f 2c                	jg     0x4018ca
40189e:	8b ce                	mov    %esi,%ecx
4018a0:	8b d7                	mov    %edi,%edx
4018a2:	8b 43 08             	mov    0x8(%ebx),%eax
4018a5:	e8 ba fe ff ff       	call   0x401764
4018aa:	83 3e 00             	cmpl   $0x0,(%esi)
4018ad:	74 50                	je     0x4018ff
4018af:	8b 46 04             	mov    0x4(%esi),%eax
4018b2:	01 43 08             	add    %eax,0x8(%ebx)
4018b5:	8b 46 04             	mov    0x4(%esi),%eax
4018b8:	29 43 0c             	sub    %eax,0xc(%ebx)
4018bb:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
4018bf:	75 3e                	jne    0x4018ff
4018c1:	8b c3                	mov    %ebx,%eax
4018c3:	e8 ec fb ff ff       	call   0x4014b4
4018c8:	eb 35                	jmp    0x4018ff
4018ca:	8b 1b                	mov    (%ebx),%ebx
4018cc:	3b dd                	cmp    %ebp,%ebx
4018ce:	75 c9                	jne    0x401899
4018d0:	8b d6                	mov    %esi,%edx
4018d2:	8b c7                	mov    %edi,%eax
4018d4:	e8 f7 fc ff ff       	call   0x4015d0
4018d9:	83 3e 00             	cmpl   $0x0,(%esi)
4018dc:	74 21                	je     0x4018ff
4018de:	8b cc                	mov    %esp,%ecx
4018e0:	8b d6                	mov    %esi,%edx
4018e2:	8b c5                	mov    %ebp,%eax
4018e4:	e8 e3 fb ff ff       	call   0x4014cc
4018e9:	83 3c 24 00          	cmpl   $0x0,(%esp)
4018ed:	75 a5                	jne    0x401894
4018ef:	8b cc                	mov    %esp,%ecx
4018f1:	8b 56 04             	mov    0x4(%esi),%edx