401413:	8b d8                	mov    %eax,%ebx
401415:	e8 66 ff ff ff       	call   0x401380
40141a:	89 44 24 04          	mov    %eax,0x4(%esp)
40141e:	83 7c 24 04 00       	cmpl   $0x0,0x4(%esp)
401423:	75 04                	jne    0x401429
401425:	33 c0                	xor    %eax,%eax
401427:	eb 3a                	jmp    0x401463
401429:	8b 06                	mov    (%esi),%eax
40142b:	8b 54 24 04          	mov    0x4(%esp),%edx
40142f:	89 42 08             	mov    %eax,0x8(%edx)
401432:	8b 46 04             	mov    0x4(%esi),%eax
401435:	8b 54 24 04          	mov    0x4(%esp),%edx
401439:	89 42 0c             	mov    %eax,0xc(%edx)
40143c:	8b 03                	mov    (%ebx),%eax
40143e:	89 04 24             	mov    %eax,(%esp)
401441:	8b 44 24 04          	mov    0x4(%esp),%eax
401445:	8b 14 24             	mov    (%esp),%edx
401448:	89 10                	mov    %edx,(%eax)
40144a:	8b 44 24 04          	mov    0x4(%esp),%eax
40144e:	89 58 04             	mov    %ebx,0x4(%eax)
401451:	8b 04 24             	mov    (%esp),%eax
401454:	8b 54 24 04          	mov    0x4(%esp),%edx
401458:	89 50 04             	mov    %edx,0x4(%eax)
40145b:	8b 44 24 04          	mov    0x4(%esp),%eax
40145f:	89 03                	mov    %eax,(%ebx)
401461:	b0 01                	mov    $0x1,%al
401463:	59                   	pop    %ecx
401464:	5a                   	pop    %edx
401465:	5e                   	pop    %esi
401466:	5b                   	pop    %ebx
401467:	c3                   	ret
401468:	83 c4 f8             	add    $0xfffffff8,%esp
40146b:	8b 50 04             	mov    0x4(%eax),%edx
40146e:	89 14 24             	mov    %edx,(%esp)
401471:	8b 10                	mov    (%eax),%edx
401473:	89 54 24 04          	mov    %edx,0x4(%esp)
401477:	8b 14 24             	mov    (%esp),%edx
40147a:	8b 4c 24 04          	mov    0x4(%esp),%ecx
40147e:	89 0a                	mov    %ecx,(%edx)
401480:	8b 54 24 04          	mov    0x4(%esp),%edx
401484:	8b 0c 24             	mov    (%esp),%ecx
401487:	89 4a 04             	mov    %ecx,0x4(%edx)
40148a:	8b 15 e0 15 46 00    	mov    0x4615e0,%edx
401490:	89 10                	mov    %edx,(%eax)
401492:	a3 e0 15 46 00       	mov    %eax,0x4615e0
401497:	59                   	pop    %ecx
401498:	5a                   	pop    %edx
401499:	c3                   	ret
40149a:	8b c0                	mov    %eax,%eax
40149c:	53                   	push   %ebx
40149d:	56                   	push   %esi
40149e:	57                   	push   %edi
40149f:	55                   	push   %ebp
4014a0:	83 c4 f8             	add    $0xfffffff8,%esp
4014a3:	8b d9                	mov    %ecx,%ebx
4014a5:	8b f0                	mov    %eax,%esi
4014a7:	8b fc                	mov    %esp,%edi
4014a9:	8b 06                	mov    (%esi),%eax
4014ab:	89 07                	mov    %eax,(%edi)
4014ad:	8b 02                	mov    (%edx),%eax
4014af:	89 03                	mov    %eax,(%ebx)
4014b1:	8b 42 04             	mov    0x4(%edx),%eax
4014b4:	89 43 04             	mov    %eax,0x4(%ebx)
4014b7:	8b 07                	mov    (%edi),%eax
4014b9:	8b 00                	mov    (%eax),%eax
4014bb:	89 44 24 04          	mov    %eax,0x4(%esp)
4014bf:	8b 17                	mov    (%edi),%edx
4014c1:	8b 52 08             	mov    0x8(%edx),%edx
4014c4:	8b ca                	mov    %edx,%ecx
4014c6:	8b 2f                	mov    (%edi),%ebp
4014c8:	03 4d 0c             	add    0xc(%ebp),%ecx
4014cb:	8b 03                	mov    (%ebx),%eax
4014cd:	3b c8                	cmp    %eax,%ecx
4014cf:	75 18                	jne    0x4014e9
4014d1:	8b 07                	mov    (%edi),%eax
4014d3:	e8 90 ff ff ff       	call   0x401468
4014d8:	8b 07                	mov    (%edi),%eax
4014da:	8b 40 08             	mov    0x8(%eax),%eax
4014dd:	89 03                	mov    %eax,(%ebx)
4014df:	8b 07                	mov    (%edi),%eax
4014e1:	8b 40 0c             	mov    0xc(%eax),%eax
4014e4:	01 43 04             	add    %eax,0x4(%ebx)
4014e7:	eb 16                	jmp    0x4014ff
4014e9:	03 43 04             	add    0x4(%ebx),%eax
4014ec:	3b d0                	cmp    %eax,%edx
4014ee:	75 0f                	jne    0x4014ff
4014f0:	8b 07                	mov    (%edi),%eax
4014f2:	e8 71 ff ff ff       	call   0x401468
4014f7:	8b 07                	mov    (%edi),%eax
4014f9:	8b 40 0c             	mov    0xc(%eax),%eax
4014fc:	01 43 04             	add    %eax,0x4(%ebx)
4014ff:	8b 44 24 04          	mov    0x4(%esp),%eax
401503:	89 07                	mov    %eax,(%edi)
401505:	3b 37                	cmp    (%edi),%esi
401507:	75 ae                	jne    0x4014b7
401509:	8b d3                	mov    %ebx,%edx
40150b:	8b c6                	mov    %esi,%eax
40150d:	e8 fa fe ff ff       	call   0x40140c
401512:	84 c0                	test   %al,%al
401514:	75 04                	jne    0x40151a
401516:	33 c0                	xor    %eax,%eax
401518:	89 03                	mov    %eax,(%ebx)
40151a:	59                   	pop    %ecx
40151b:	5a                   	pop    %edx
40151c:	5d                   	pop    %ebp
40151d:	5f                   	pop    %edi
40151e:	5e                   	pop    %esi
40151f:	5b                   	pop    %ebx
401520:	c3                   	ret
401521:	8d 40 00             	lea    0x0(%eax),%eax
401524:	53                   	push   %ebx
401525:	56                   	push   %esi
401526:	57                   	push   %edi
401527:	55                   	push   %ebp
401528:	83 c4 f0             	add    $0xfffffff0,%esp
40152b:	89 04 24             	mov    %eax,(%esp)
40152e:	8b f4                	mov    %esp,%esi
401530:	8b 06                	mov    (%esi),%eax
401532:	89 44 24 0c          	mov    %eax,0xc(%esp)
401536:	8b 0a                	mov    (%edx),%ecx
401538:	8b 06                	mov    (%esi),%eax
40153a:	8b 40 08             	mov    0x8(%eax),%eax
40153d:	3b c8                	cmp    %eax,%ecx
40153f:	0f 82 86 00 00 00    	jb     0x4015cb
401545:	8b d8                	mov    %eax,%ebx
401547:	8b 3e                	mov    (%esi),%edi
401549:	03 5f 0c             	add    0xc(%edi),%ebx
40154c:	8b f9                	mov    %ecx,%edi
40154e:	03 7a 04             	add    0x4(%edx),%edi
401551:	3b df                	cmp    %edi,%ebx
401553:	72 76                	jb     0x4015cb
401555:	3b c8                	cmp    %eax,%ecx
401557:	75 21                	jne    0x40157a
401559:	8b 42 04             	mov    0x4(%edx),%eax
40155c:	8b 0e                	mov    (%esi),%ecx
40155e:	01 41 08             	add    %eax,0x8(%ecx)
401561:	8b 42 04             	mov    0x4(%edx),%eax
401564:	8b 16                	mov    (%esi),%edx
401566:	29 42 0c             	sub    %eax,0xc(%edx)
401569:	8b 06                	mov    (%esi),%eax
40156b:	83 78 0c 00          	cmpl   $0x0,0xc(%eax)
40156f:	75 56                	jne    0x4015c7
401571:	8b 06                	mov    (%esi),%eax
401573:	e8 f0 fe ff ff       	call   0x401468
401578:	eb 4d                	jmp    0x4015c7
40157a:	8b d8                	mov    %eax,%ebx
40157c:	8b 3e                	mov    (%esi),%edi
40157e:	03 5f 0c             	add    0xc(%edi),%ebx
401581:	8b f9                	mov    %ecx,%edi
401583:	03 7a 04             	add    0x4(%edx),%edi
401586:	3b df                	cmp    %edi,%ebx
401588:	75 0a                	jne    0x401594
40158a:	8b 42 04             	mov    0x4(%edx),%eax
40158d:	8b 16                	mov    (%esi),%edx
40158f:	29 42 0c             	sub    %eax,0xc(%edx)
401592:	eb 33                	jmp    0x4015c7
401594:	8b 1a                	mov    (%edx),%ebx
401596:	03 5a 04             	add    0x4(%edx),%ebx
401599:	89 5c 24 04          	mov    %ebx,0x4(%esp)
40159d:	8b 3e                	mov    (%esi),%edi
40159f:	8b 7f 08             	mov    0x8(%edi),%edi
4015a2:	8b 2e                	mov    (%esi),%ebp
4015a4:	03 7d 0c             	add    0xc(%ebp),%edi
4015a7:	2b fb                	sub    %ebx,%edi
4015a9:	89 7c 24 08          	mov    %edi,0x8(%esp)
4015ad:	2b c8                	sub    %eax,%ecx
4015af:	8b 06                	mov    (%esi),%eax
4015b1:	89 48 0c             	mov    %ecx,0xc(%eax)
4015b4:	8d 54 24 04          	lea    0x4(%esp),%edx
4015b8:	8b 06                	mov    (%esi),%eax
4015ba:	e8 4d fe ff ff       	call   0x40140c
4015bf:	84 c0                	test   %al,%al
4015c1:	75 04                	jne    0x4015c7
4015c3:	33 c0                	xor    %eax,%eax
4015c5:	eb 18                	jmp    0x4015df
4015c7:	b0 01                	mov    $0x1,%al
4015c9:	eb 14                	jmp    0x4015df
4015cb:	8b 06                	mov    (%esi),%eax
4015cd:	8b 00                	mov    (%eax),%eax
4015cf:	89 06                	mov    %eax,(%esi)
4015d1:	8b 06                	mov    (%esi),%eax
4015d3:	3b 44 24 0c          	cmp    0xc(%esp),%eax
4015d7:	0f 85 59 ff ff ff    	jne    0x401536
4015dd:	33 c0                	xor    %eax,%eax
4015df:	83 c4 10             	add    $0x10,%esp
4015e2:	5d                   	pop    %ebp
4015e3:	5f                   	pop    %edi
4015e4:	5e                   	pop    %esi
4015e5:	5b                   	pop    %ebx
4015e6:	c3                   	ret
4015e7:	90                   	nop
4015e8:	53                   	push   %ebx
4015e9:	56                   	push   %esi
4015ea:	57                   	push   %edi
4015eb:	8b da                	mov    %edx,%ebx
4015ed:	8b f0                	mov    %eax,%esi
4015ef:	81 fe 00 00 10 00    	cmp    $0x100000,%esi
4015f5:	7d 07                	jge    0x4015fe
4015f7:	be 00 00 10 00       	mov    $0x100000,%esi
4015fc:	eb 0c                	jmp    0x40160a
4015fe:	81 c6 ff ff 00 00    	add    $0xffff,%esi
401604:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
40160a:	89 73 04             	mov    %esi,0x4(%ebx)
40160d:	6a 01                	push   $0x1
40160f:	68 00 20 00 00       	push   $0x2000
401614:	56                   	push   %esi
401615:	6a 00                	push   $0x0
401617:	e8 34 fd ff ff       	call   0x401350
40161c:	8b f8                	mov    %eax,%edi
40161e:	89 3b                	mov    %edi,(%ebx)
401620:	85 ff                	test   %edi,%edi
401622:	74 23                	je     0x401647
401624:	8b d3                	mov    %ebx,%edx
401626:	b8 e4 15 46 00       	mov    $0x4615e4,%eax
40162b:	e8 dc fd ff ff       	call   0x40140c
401630:	84 c0                	test   %al,%al
401632:	75 13                	jne    0x401647
401634:	68 00 80 00 00       	push   $0x8000
401639:	6a 00                	push   $0x0
40163b:	8b 03                	mov    (%ebx),%eax
40163d:	50                   	push   %eax
40163e:	e8 15 fd ff ff       	call   0x401358
401643:	33 c0                	xor    %eax,%eax
401645:	89 03                	mov    %eax,(%ebx)
401647:	5f                   	pop    %edi
401648:	5e                   	pop    %esi
401649:	5b                   	pop    %ebx
40164a:	c3                   	ret
40164b:	90                   	nop
40164c:	53                   	push   %ebx
40164d:	56                   	push   %esi
40164e:	57                   	push   %edi
40164f:	55                   	push   %ebp
401650:	8b d9                	mov    %ecx,%ebx
401652:	8b f2                	mov    %edx,%esi
401654:	8b e8                	mov    %eax,%ebp
401656:	c7 43 04 00 00 10 00 	movl   $0x100000,0x4(%ebx)
40165d:	6a 04                	push   $0x4
40165f:	68 00 20 00 00       	push   $0x2000
401664:	68 00 00 10 00       	push   $0x100000
401669:	55                   	push   %ebp
40166a:	e8 e1 fc ff ff       	call   0x401350
40166f:	8b f8                	mov    %eax,%edi
401671:	89 3b                	mov    %edi,(%ebx)
401673:	85 ff                	test   %edi,%edi
401675:	75 1f                	jne    0x401696
401677:	81 c6 ff ff 00 00    	add    $0xffff,%esi
40167d:	81 e6 00 00 ff ff    	and    $0xffff0000,%esi
401683:	89 73 04             	mov    %esi,0x4(%ebx)
401686:	6a 04                	push   $0x4
401688:	68 00 20 00 00       	push   $0x2000
40168d:	56                   	push   %esi
40168e:	55                   	push   %ebp
40168f:	e8 bc fc ff ff       	call   0x401350
401694:	89 03                	mov    %eax,(%ebx)
401696:	83 3b 00             	cmpl   $0x0,(%ebx)
401699:	74 23                	je     0x4016be
40169b:	8b d3                	mov    %ebx,%edx
40169d:	b8 e4 15 46 00       	mov    $0x4615e4,%eax
4016a2:	e8 65 fd ff ff       	call   0x40140c
4016a7:	84 c0                	test   %al,%al
4016a9:	75 13                	jne    0x4016be
4016ab:	68 00 80 00 00       	push   $0x8000
4016b0:	6a 00                	push   $0x0
4016b2:	8b 03                	mov    (%ebx),%eax
4016b4:	50                   	push   %eax
4016b5:	e8 9e fc ff ff       	call   0x401358
4016ba:	33 c0                	xor    %eax,%eax
4016bc:	89 03                	mov    %eax,(%ebx)
4016be:	5d                   	pop    %ebp
4016bf:	5f                   	pop    %edi
4016c0:	5e                   	pop    %esi
4016c1:	5b                   	pop    %ebx
4016c2:	c3                   	ret
4016c3:	90                   	nop
4016c4:	53                   	push   %ebx
4016c5:	56                   	push   %esi
4016c6:	57                   	push   %edi
4016c7:	55                   	push   %ebp
4016c8:	83 c4 e8             	add    $0xffffffe8,%esp
4016cb:	8b f9                	mov    %ecx,%edi
4016cd:	8b f4                	mov    %esp,%esi
4016cf:	c7 44 24 08 ff ff ff 	movl   $0xffffffff,0x8(%esp)
4016d6:	ff
4016d7:	33 c9                	xor    %ecx,%ecx
4016d9:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
4016dd:	89 44 24 10          	mov    %eax,0x10(%esp)
4016e1:	03 54 24 10          	add    0x10(%esp),%edx
4016e5:	89 54 24 14          	mov    %edx,0x14(%esp)
4016e9:	a1 e4 15 46 00       	mov    0x4615e4,%eax
4016ee:	89 06                	mov    %eax,(%esi)
4016f0:	eb 6b                	jmp    0x40175d
4016f2:	8b 06                	mov    (%esi),%eax
4016f4:	8b 00                	mov    (%eax),%eax
4016f6:	89 44 24 04          	mov    %eax,0x4(%esp)
4016fa:	8b 06                	mov    (%esi),%eax
4016fc:	8b 58 08             	mov    0x8(%eax),%ebx
4016ff:	3b 5c 24 10          	cmp    0x10(%esp),%ebx
401703:	72 52                	jb     0x401757
401705:	8b c3                	mov    %ebx,%eax
401707:	8b 16                	mov    (%esi),%edx
401709:	03 42 0c             	add    0xc(%edx),%eax
40170c:	3b 44 24 14          	cmp    0x14(%esp),%eax
401710:	77 45                	ja     0x401757
401712:	3b 5c 24 08          	cmp    0x8(%esp),%ebx
401716:	73 04                	jae    0x40171c
401718:	89 5c 24 08          	mov    %ebx,0x8(%esp)
40171c:	8b 06                	mov    (%esi),%eax
40171e:	8b 68 08             	mov    0x8(%eax),%ebp
401721:	8b 06                	mov    (%esi),%eax
401723:	03 68 0c             	add    0xc(%eax),%ebp
401726:	3b 6c 24 0c          	cmp    0xc(%esp),%ebp
40172a:	76 04                	jbe    0x401730
40172c:	89 6c 24 0c          	mov    %ebp,0xc(%esp)
401730:	68 00 80 00 00       	push   $0x8000
401735:	6a 00                	push   $0x0
401737:	8b 06                	mov    (%esi),%eax
401739:	8b 40 08             	mov    0x8(%eax),%eax
40173c:	50                   	push   %eax
40173d:	e8 16 fc ff ff       	call   0x401358
401742:	85 c0                	test   %eax,%eax
401744:	75 0a                	jne    0x401750
401746:	c7 05 c0 15 46 00 01 	movl   $0x1,0x4615c0
40174d:	00 00 00
401750:	8b 06                	mov    (%esi),%eax
401752:	e8 11 fd ff ff       	call   0x401468
401757:	8b 44 24 04          	mov    0x4(%esp),%eax
40175b:	89 06                	mov    %eax,(%esi)
40175d:	b8 e4 15 46 00       	mov    $0x4615e4,%eax
401762:	3b 06                	cmp    (%esi),%eax
401764:	75 8c                	jne    0x4016f2
401766:	33 c0                	xor    %eax,%eax
401768:	89 07                	mov    %eax,(%edi)
40176a:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
40176f:	74 11                	je     0x401782
401771:	8b 44 24 08          	mov    0x8(%esp),%eax
401775:	89 07                	mov    %eax,(%edi)
401777:	8b 44 24 0c          	mov    0xc(%esp),%eax
40177b:	2b 44 24 08          	sub    0x8(%esp),%eax
40177f:	89 47 04             	mov    %eax,0x4(%edi)
401782:	83 c4 18             	add    $0x18,%esp
401785:	5d                   	pop    %ebp
401786:	5f                   	pop    %edi
401787:	5e                   	pop    %esi
401788:	5b                   	pop    %ebx
401789:	c3                   	ret
40178a:	8b c0                	mov    %eax,%eax
40178c:	53                   	push   %ebx
40178d:	56                   	push   %esi
40178e:	57                   	push   %edi