4013f3:	b0 01                	mov    $0x1,%al
4013f5:	5e                   	pop    %esi
4013f6:	5b                   	pop    %ebx
4013f7:	c3                   	ret
4013f8:	8b 50 04             	mov    0x4(%eax),%edx
4013fb:	8b 08                	mov    (%eax),%ecx
4013fd:	89 0a                	mov    %ecx,(%edx)
4013ff:	89 51 04             	mov    %edx,0x4(%ecx)
401402:	8b 15 e4 95 46 00    	mov    0x4695e4,%edx
401408:	89 10                	mov    %edx,(%eax)
40140a:	a3 e4 95 46 00       	mov    %eax,0x4695e4
40140f:	c3                   	ret
401410:	53                   	push   %ebx
401411:	56                   	push   %esi
401412:	57                   	push   %edi
401413:	55                   	push   %ebp
401414:	51                   	push   %ecx
401415:	8b f1                	mov    %ecx,%esi
401417:	89 14 24             	mov    %edx,(%esp)
40141a:	8b e8                	mov    %eax,%ebp
40141c:	8b 5d 00             	mov    0x0(%ebp),%ebx
40141f:	8b 04 24             	mov    (%esp),%eax
401422:	8b 10                	mov    (%eax),%edx
401424:	89 16                	mov    %edx,(%esi)
401426:	8b 50 04             	mov    0x4(%eax),%edx
401429:	89 56 04             	mov    %edx,0x4(%esi)
40142c:	8b 3b                	mov    (%ebx),%edi
40142e:	8b 06                	mov    (%esi),%eax
401430:	8b 53 08             	mov    0x8(%ebx),%edx
401433:	03 53 0c             	add    0xc(%ebx),%edx
401436:	3b c2                	cmp    %edx,%eax
401438:	75 14                	jne    0x40144e
40143a:	8b c3                	mov    %ebx,%eax
40143c:	e8 b7 ff ff ff       	call   0x4013f8
401441:	8b 43 08             	mov    0x8(%ebx),%eax
401444:	89 06                	mov    %eax,(%esi)
401446:	8b 43 0c             	mov    0xc(%ebx),%eax
401449:	01 46 04             	add    %eax,0x4(%esi)
40144c:	eb 15                	jmp    0x401463
40144e:	03 46 04             	add    0x4(%esi),%eax
401451:	3b 43 08             	cmp    0x8(%ebx),%eax
401454:	75 0d                	jne    0x401463
401456:	8b c3                	mov    %ebx,%eax
401458:	e8 9b ff ff ff       	call   0x4013f8
40145d:	8b 43 0c             	mov    0xc(%ebx),%eax
401460:	01 46 04             	add    %eax,0x4(%esi)
401463:	8b df                	mov    %edi,%ebx
401465:	3b eb                	cmp    %ebx,%ebp
401467:	75 c3                	jne    0x40142c
401469:	8b d6                	mov    %esi,%edx
40146b:	8b c5                	mov    %ebp,%eax
40146d:	e8 56 ff ff ff       	call   0x4013c8
401472:	84 c0                	test   %al,%al
401474:	75 04                	jne    0x40147a
401476:	33 c0                	xor    %eax,%eax
401478:	89 06                	mov    %eax,(%esi)
40147a:	5a                   	pop    %edx
40147b:	5d                   	pop    %ebp
40147c:	5f                   	pop    %edi
40147d:	5e                   	pop    %esi
40147e:	5b                   	pop    %ebx
40147f:	c3                   	ret
401480:	53                   	push   %ebx
401481:	56                   	push   %esi
401482:	57                   	push   %edi
401483:	55                   	push   %ebp
401484:	83 c4 f8             	add    $0xfffffff8,%esp
401487:	8b d8                	mov    %eax,%ebx
401489:	8b fb                	mov    %ebx,%edi
40148b:	8b 32                	mov    (%edx),%esi
40148d:	8b 43 08             	mov    0x8(%ebx),%eax
401490:	3b f0                	cmp    %eax,%esi
401492:	72 70                	jb     0x401504
401494:	8b ce                	mov    %esi,%ecx
401496:	03 4a 04             	add    0x4(%edx),%ecx
401499:	8b e8                	mov    %eax,%ebp
40149b:	03 6b 0c             	add    0xc(%ebx),%ebp
40149e:	3b cd                	cmp    %ebp,%ecx
4014a0:	77 62                	ja     0x401504
4014a2:	3b f0                	cmp    %eax,%esi
4014a4:	75 1b                	jne    0x4014c1
4014a6:	8b 42 04             	mov    0x4(%edx),%eax
4014a9:	01 43 08             	add    %eax,0x8(%ebx)
4014ac:	8b 42 04             	mov    0x4(%edx),%eax
4014af:	29 43 0c             	sub    %eax,0xc(%ebx)
4014b2:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)
4014b6:	75 48                	jne    0x401500
4014b8:	8b c3                	mov    %ebx,%eax
4014ba:	e8 39 ff ff ff       	call   0x4013f8
4014bf:	eb 3f                	jmp    0x401500
4014c1:	8b ce                	mov    %esi,%ecx
4014c3:	8b 7a 04             	mov    0x4(%edx),%edi
4014c6:	03 cf                	add    %edi,%ecx
4014c8:	8b e8                	mov    %eax,%ebp
4014ca:	03 6b 0c             	add    0xc(%ebx),%ebp
4014cd:	3b cd                	cmp    %ebp,%ecx
4014cf:	75 05                	jne    0x4014d6
4014d1:	29 7b 0c             	sub    %edi,0xc(%ebx)
4014d4:	eb 2a                	jmp    0x401500
4014d6:	8b 0a                	mov    (%edx),%ecx
4014d8:	03 4a 04             	add    0x4(%edx),%ecx
4014db:	89 0c 24             	mov    %ecx,(%esp)
4014de:	8b 7b 08             	mov    0x8(%ebx),%edi
4014e1:	03 7b 0c             	add    0xc(%ebx),%edi
4014e4:	2b f9                	sub    %ecx,%edi
4014e6:	89 7c 24 04          	mov    %edi,0x4(%esp)
4014ea:	2b f0                	sub    %eax,%esi
4014ec:	89 73 0c             	mov    %esi,0xc(%ebx)
4014ef:	8b d4                	mov    %esp,%edx
4014f1:	8b c3                	mov    %ebx,%eax
4014f3:	e8 d0 fe ff ff       	call   0x4013c8
4014f8:	84 c0                	test   %al,%al
4014fa:	75 04                	jne    0x401500
4014fc:	33 c0                	xor    %eax,%eax
4014fe:	eb 0c                	jmp    0x40150c
401500:	b0 01                	mov    $0x1,%al
401502:	eb 08                	jmp    0x40150c
401504:	8b 1b                	mov    (%ebx),%ebx
401506:	3b fb                	cmp    %ebx,%edi
401508:	75 81                	jne    0x40148b
40150a:	33 c0                	xor    %eax,%eax
40150c:	59                   	pop    %ecx
40150d:	5a                   	pop    %edx
40150e:	5d                   	pop    %ebp
40150f:	5f                   	pop    %edi
401510:	5e                   	pop    %esi
401511:	5b                   	pop    %ebx
401512:	c3                   	ret
401513:	90                   	nop
401514:	53                   	push   %ebx
401515:	56                   	push   %esi
401516:	57                   	push   %edi
401517:	8b da                	mov    %edx,%ebx
401519:	8b f0                	mov    %eax,%esi
40151b:	81 fe 00 00 10 00    	cmp    $0x100000,%esi
401521:	7d 07                	jge    0x40152a
401523:	be 00 00 10 00       	mov    $0x100000,%esi
401528:	eb 0c                	jmp    0x401536
40152a:	81 c6 ff ff 00 00    	add    $0xffff,%esi
401530:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
401536:	89 73 04             	mov    %esi,0x4(%ebx)
401539:	6a 01                	push   $0x1
40153b:	68 00 20 00 00       	push   $0x2000
401540:	56                   	push   %esi
401541:	6a 00                	push   $0x0
401543:	e8 f8 fd ff ff       	call   0x401340
401548:	8b f8                	mov    %eax,%edi
40154a:	89 3b                	mov    %edi,(%ebx)
40154c:	85 ff                	test   %edi,%edi
40154e:	74 23                	je     0x401573
401550:	8b d3                	mov    %ebx,%edx
401552:	b8 e8 95 46 00       	mov    $0x4695e8,%eax
401557:	e8 6c fe ff ff       	call   0x4013c8
40155c:	84 c0                	test   %al,%al
40155e:	75 13                	jne    0x401573
401560:	68 00 80 00 00       	push   $0x8000
401565:	6a 00                	push   $0x0
401567:	8b 03                	mov    (%ebx),%eax
401569:	50                   	push   %eax
40156a:	e8 d9 fd ff ff       	call   0x401348
40156f:	33 c0                	xor    %eax,%eax
401571:	89 03                	mov    %eax,(%ebx)
401573:	5f                   	pop    %edi
401574:	5e                   	pop    %esi
401575:	5b                   	pop    %ebx
401576:	c3                   	ret
401577:	90                   	nop
401578:	53                   	push   %ebx
401579:	56                   	push   %esi
40157a:	57                   	push   %edi
40157b:	55                   	push   %ebp
40157c:	8b d9                	mov    %ecx,%ebx
40157e:	8b f2                	mov    %edx,%esi
401580:	8b e8                	mov    %eax,%ebp
401582:	c7 43 04 00 00 10 00 	movl   $0x100000,0x4(%ebx)
401589:	6a 04                	push   $0x4
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 95 46 00       	mov    $0x4695e8,%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 95 46 00    	mov    0x4695e8,%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 95 46 00 01 	movl   $0x1,0x4695c4
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 95 46 00    	cmp    $0x4695e8,%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 95 46 00    	mov    0x4695e8,%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 95 46 00    	cmp    $0x4695e8,%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)