4013c6:	ff 75 10             	push   0x10(%ebp)
4013c9:	53                   	push   %ebx
4013ca:	ff 30                	push   (%eax)
4013cc:	e8 bf 08 00 00       	call   0x401c90
4013d1:	8b f0                	mov    %eax,%esi
4013d3:	81 fe 7a 00 07 80    	cmp    $0x8007007a,%esi
4013d9:	75 2a                	jne    0x401405
4013db:	8b 45 08             	mov    0x8(%ebp),%eax
4013de:	85 ff                	test   %edi,%edi
4013e0:	75 0e                	jne    0x4013f0
4013e2:	8b 38                	mov    (%eax),%edi
4013e4:	8b 4d f8             	mov    -0x8(%ebp),%ecx
4013e7:	83 20 00             	andl   $0x0,(%eax)
4013ea:	33 d2                	xor    %edx,%edx
4013ec:	66 89 14 4f          	mov    %dx,(%edi,%ecx,2)
4013f0:	ff 75 0c             	push   0xc(%ebp)
4013f3:	03 db                	add    %ebx,%ebx
4013f5:	53                   	push   %ebx
4013f6:	50                   	push   %eax
4013f7:	e8 40 00 00 00       	call   0x40143c
4013fc:	8b f0                	mov    %eax,%esi
4013fe:	85 f6                	test   %esi,%esi
401400:	78 08                	js     0x40140a
401402:	33 f6                	xor    %esi,%esi
401404:	46                   	inc    %esi
401405:	83 fe 01             	cmp    $0x1,%esi
401408:	74 b6                	je     0x4013c0
40140a:	8b c7                	mov    %edi,%eax
40140c:	89 7d fc             	mov    %edi,-0x4(%ebp)
40140f:	8b 7d f4             	mov    -0xc(%ebp),%edi
401412:	85 c0                	test   %eax,%eax
401414:	74 1b                	je     0x401431
401416:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
40141a:	74 0f                	je     0x40142b
40141c:	8b c8                	mov    %eax,%ecx
40141e:	85 ff                	test   %edi,%edi
401420:	74 09                	je     0x40142b
401422:	c6 01 00             	movb   $0x0,(%ecx)
401425:	41                   	inc    %ecx
401426:	83 ef 01             	sub    $0x1,%edi
401429:	75 f7                	jne    0x401422
40142b:	50                   	push   %eax
40142c:	e8 68 25 00 00       	call   0x403999
401431:	5f                   	pop    %edi
401432:	8b c6                	mov    %esi,%eax
401434:	5e                   	pop    %esi
401435:	5b                   	pop    %ebx
401436:	8b e5                	mov    %ebp,%esp
401438:	5d                   	pop    %ebp
401439:	c2 10 00             	ret    $0x10
40143c:	55                   	push   %ebp
40143d:	8b ec                	mov    %esp,%ebp
40143f:	8b 45 0c             	mov    0xc(%ebp),%eax
401442:	56                   	push   %esi
401443:	33 f6                	xor    %esi,%esi
401445:	3d ff ff ff 7f       	cmp    $0x7fffffff,%eax
40144a:	72 07                	jb     0x401453
40144c:	be 0e 00 07 80       	mov    $0x8007000e,%esi
401451:	eb 58                	jmp    0x4014ab
401453:	57                   	push   %edi
401454:	8b 7d 08             	mov    0x8(%ebp),%edi
401457:	03 c0                	add    %eax,%eax
401459:	39 37                	cmp    %esi,(%edi)
40145b:	74 2b                	je     0x401488
40145d:	39 75 10             	cmp    %esi,0x10(%ebp)
401460:	74 1b                	je     0x40147d
401462:	8d 4d 0c             	lea    0xc(%ebp),%ecx
401465:	89 75 0c             	mov    %esi,0xc(%ebp)
401468:	51                   	push   %ecx
401469:	56                   	push   %esi
40146a:	50                   	push   %eax
40146b:	ff 37                	push   (%edi)
40146d:	e8 25 26 00 00       	call   0x403a97
401472:	8b f0                	mov    %eax,%esi
401474:	85 f6                	test   %esi,%esi
401476:	78 32                	js     0x4014aa
401478:	8b 45 0c             	mov    0xc(%ebp),%eax
40147b:	eb 13                	jmp    0x401490
40147d:	56                   	push   %esi
40147e:	50                   	push   %eax
40147f:	ff 37                	push   (%edi)
401481:	e8 ec 25 00 00       	call   0x403a72
401486:	eb 08                	jmp    0x401490
401488:	6a 01                	push   $0x1
40148a:	50                   	push   %eax
40148b:	e8 44 24 00 00       	call   0x4038d4
401490:	85 c0                	test   %eax,%eax
401492:	75 14                	jne    0x4014a8
401494:	be 0e 00 07 80       	mov    $0x8007000e,%esi
401499:	56                   	push   %esi
40149a:	6a 6d                	push   $0x6d
40149c:	68 90 b5 44 00       	push   $0x44b590
4014a1:	e8 2d 23 00 00       	call   0x4037d3
4014a6:	eb 02                	jmp    0x4014aa
4014a8:	89 07                	mov    %eax,(%edi)
4014aa:	5f                   	pop    %edi
4014ab:	8b c6                	mov    %esi,%eax
4014ad:	5e                   	pop    %esi
4014ae:	5d                   	pop    %ebp
4014af:	c2 0c 00             	ret    $0xc
4014b2:	55                   	push   %ebp
4014b3:	8b ec                	mov    %esp,%ebp
4014b5:	8b 45 08             	mov    0x8(%ebp),%eax
4014b8:	53                   	push   %ebx
4014b9:	56                   	push   %esi
4014ba:	33 f6                	xor    %esi,%esi
4014bc:	83 cb ff             	or     $0xffffffff,%ebx
4014bf:	39 30                	cmp    %esi,(%eax)
4014c1:	74 16                	je     0x4014d9
4014c3:	ff 30                	push   (%eax)
4014c5:	e8 87 26 00 00       	call   0x403b51
4014ca:	8b f0                	mov    %eax,%esi
4014cc:	3b f3                	cmp    %ebx,%esi
4014ce:	75 07                	jne    0x4014d7
4014d0:	b8 57 00 07 80       	mov    $0x80070057,%eax
4014d5:	eb 57                	jmp    0x40152e
4014d7:	d1 ee                	shr    $1,%esi
4014d9:	57                   	push   %edi
4014da:	8b 7d 10             	mov    0x10(%ebp),%edi
4014dd:	85 ff                	test   %edi,%edi
4014df:	75 0b                	jne    0x4014ec
4014e1:	ff 75 0c             	push   0xc(%ebp)
4014e4:	ff 15 f8 b0 44 00    	call   *0x44b0f8
4014ea:	8b f8                	mov    %eax,%edi
4014ec:	8d 4f 01             	lea    0x1(%edi),%ecx
4014ef:	3b cf                	cmp    %edi,%ecx
4014f1:	0f 43 d9             	cmovae %ecx,%ebx
4014f4:	1b c0                	sbb    %eax,%eax
4014f6:	25 16 02 07 80       	and    $0x80070216,%eax
4014fb:	3b cf                	cmp    %edi,%ecx
4014fd:	72 2e                	jb     0x40152d
4014ff:	3b f3                	cmp    %ebx,%esi
401501:	73 12                	jae    0x401515
401503:	ff 75 14             	push   0x14(%ebp)
401506:	8b f3                	mov    %ebx,%esi
401508:	53                   	push   %ebx
401509:	ff 75 08             	push   0x8(%ebp)
40150c:	e8 2b ff ff ff       	call   0x40143c
401511:	85 c0                	test   %eax,%eax
401513:	78 18                	js     0x40152d
401515:	8b 45 08             	mov    0x8(%ebp),%eax
401518:	68 00 02 00 00       	push   $0x200
40151d:	6a 00                	push   $0x0
40151f:	6a 00                	push   $0x0
401521:	57                   	push   %edi
401522:	ff 75 0c             	push   0xc(%ebp)
401525:	56                   	push   %esi
401526:	ff 30                	push   (%eax)
401528:	e8 41 05 00 00       	call   0x401a6e
40152d:	5f                   	pop    %edi
40152e:	5e                   	pop    %esi
40152f:	5b                   	pop    %ebx
401530:	5d                   	pop    %ebp
401531:	c2 10 00             	ret    $0x10
401534:	55                   	push   %ebp
401535:	8b ec                	mov    %esp,%ebp
401537:	8b 4d 08             	mov    0x8(%ebp),%ecx
40153a:	8d 41 d0             	lea    -0x30(%ecx),%eax
40153d:	66 83 f8 09          	cmp    $0x9,%ax
401541:	77 05                	ja     0x401548
401543:	80 e9 30             	sub    $0x30,%cl
401546:	eb 11                	jmp    0x401559
401548:	8d 41 9f             	lea    -0x61(%ecx),%eax
40154b:	66 83 f8 05          	cmp    $0x5,%ax
40154f:	77 05                	ja     0x401556
401551:	80 e9 57             	sub    $0x57,%cl
401554:	eb 03                	jmp    0x401559
401556:	80 e9 37             	sub    $0x37,%cl
401559:	8a c1                	mov    %cl,%al
40155b:	5d                   	pop    %ebp
40155c:	c2 04 00             	ret    $0x4
40155f:	55                   	push   %ebp
401560:	8b ec                	mov    %esp,%ebp
401562:	53                   	push   %ebx
401563:	8b 5d 08             	mov    0x8(%ebp),%ebx
401566:	56                   	push   %esi
401567:	57                   	push   %edi
401568:	8b 7d 10             	mov    0x10(%ebp),%edi
40156b:	57                   	push   %edi
40156c:	ff 75 0c             	push   0xc(%ebp)
40156f:	53                   	push   %ebx
401570:	e8 30 0c 00 00       	call   0x4021a5
401575:	8b f0                	mov    %eax,%esi
401577:	85 f6                	test   %esi,%esi
401579:	78 60                	js     0x4015db
40157b:	85 ff                	test   %edi,%edi
40157d:	75 19                	jne    0x401598
40157f:	8d 45 10             	lea    0x10(%ebp),%eax
401582:	50                   	push   %eax
401583:	68 ff ff ff 7f       	push   $0x7fffffff
401588:	ff 33                	push   (%ebx)
40158a:	e8 c8 06 00 00       	call   0x401c57
40158f:	8b f0                	mov    %eax,%esi
401591:	85 f6                	test   %esi,%esi
401593:	78 46                	js     0x4015db
401595:	8b 7d 10             	mov    0x10(%ebp),%edi
401598:	57                   	push   %edi
401599:	ff 33                	push   (%ebx)
40159b:	57                   	push   %edi
40159c:	ff 33                	push   (%ebx)
40159e:	ff 75 14             	push   0x14(%ebp)
4015a1:	6a 7f                	push   $0x7f
4015a3:	ff 15 04 b1 44 00    	call   *0x44b104
4015a9:	85 c0                	test   %eax,%eax
4015ab:	75 2e                	jne    0x4015db
4015ad:	ff 15 e8 b0 44 00    	call   *0x44b0e8
4015b3:	0f b7 f0             	movzwl %ax,%esi
4015b6:	81 ce 00 00 07 80    	or     $0x80070000,%esi
4015bc:	85 c0                	test   %eax,%eax
4015be:	0f 4e f0             	cmovle %eax,%esi
4015c1:	b8 05 40 00 80       	mov    $0x80004005,%eax
4015c6:	85 f6                	test   %esi,%esi
4015c8:	0f 49 f0             	cmovns %eax,%esi
4015cb:	56                   	push   %esi
4015cc:	68 51 0a 00 00       	push   $0xa51
4015d1:	68 90 b5 44 00       	push   $0x44b590
4015d6:	e8 f8 21 00 00       	call   0x4037d3
4015db:	5f                   	pop    %edi
4015dc:	8b c6                	mov    %esi,%eax
4015de:	5e                   	pop    %esi
4015df:	5b                   	pop    %ebx
4015e0:	5d                   	pop    %ebp
4015e1:	c2 10 00             	ret    $0x10
4015e4:	55                   	push   %ebp
4015e5:	8b ec                	mov    %esp,%ebp
4015e7:	51                   	push   %ecx
4015e8:	51                   	push   %ecx
4015e9:	56                   	push   %esi
4015ea:	33 f6                	xor    %esi,%esi
4015ec:	f7 45 20 00 01 00 00 	testl  $0x100,0x20(%ebp)
4015f3:	57                   	push   %edi
4015f4:	8b 7d 0c             	mov    0xc(%ebp),%edi
4015f7:	74 36                	je     0x40162f
4015f9:	8b 45 08             	mov    0x8(%ebp),%eax
4015fc:	85 c0                	test   %eax,%eax
4015fe:	75 04                	jne    0x401604
401600:	85 ff                	test   %edi,%edi
401602:	75 08                	jne    0x40160c
401604:	81 ff ff ff ff 7f    	cmp    $0x7fffffff,%edi
40160a:	76 05                	jbe    0x401611
40160c:	be 57 00 07 80       	mov    $0x80070057,%esi
401611:	85 f6                	test   %esi,%esi
401613:	78 16                	js     0x40162b
401615:	85 ff                	test   %edi,%edi
401617:	74 12                	je     0x40162b
401619:	8d 4d 0c             	lea    0xc(%ebp),%ecx
40161c:	51                   	push   %ecx
40161d:	57                   	push   %edi
40161e:	50                   	push   %eax
40161f:	e8 31 08 00 00       	call   0x401e55
401624:	8b 4d 0c             	mov    0xc(%ebp),%ecx
401627:	8b f0                	mov    %eax,%esi
401629:	eb 26                	jmp    0x401651
40162b:	33 c9                	xor    %ecx,%ecx
40162d:	eb 25                	jmp    0x401654
40162f:	85 ff                	test   %edi,%edi
401631:	74 08                	je     0x40163b
401633:	81 ff ff ff ff 7f    	cmp    $0x7fffffff,%edi
401639:	76 05                	jbe    0x401640
40163b:	be 57 00 07 80       	mov    $0x80070057,%esi
401640:	85 f6                	test   %esi,%esi
401642:	78 0b                	js     0x40164f
401644:	8b 4d 08             	mov    0x8(%ebp),%ecx
401647:	8d 45 0c             	lea    0xc(%ebp),%eax
40164a:	50                   	push   %eax
40164b:	57                   	push   %edi
40164c:	51                   	push   %ecx
40164d:	eb d0                	jmp    0x40161f
40164f:	33 c9                	xor    %ecx,%ecx
401651:	8b 45 08             	mov    0x8(%ebp),%eax
401654:	89 4d fc             	mov    %ecx,-0x4(%ebp)
401657:	85 f6                	test   %esi,%esi
401659:	78 7f                	js     0x4016da
40165b:	53                   	push   %ebx
40165c:	ff 75 20             	push   0x20(%ebp)
40165f:	03 c1                	add    %ecx,%eax
401661:	8b df                	mov    %edi,%ebx
401663:	89 45 0c             	mov    %eax,0xc(%ebp)
401666:	2b d9                	sub    %ecx,%ebx
401668:	68 ff ff ff 7f       	push   $0x7fffffff
40166d:	8d 45 14             	lea    0x14(%ebp),%eax
401670:	89 5d f8             	mov    %ebx,-0x8(%ebp)
401673:	50                   	push   %eax
401674:	8d 45 10             	lea    0x10(%ebp),%eax
401677:	50                   	push   %eax
401678:	e8 60 07 00 00       	call   0x401ddd
40167d:	8b f0                	mov    %eax,%esi
40167f:	85 f6                	test   %esi,%esi
401681:	78 0e                	js     0x401691
401683:	f7 45 20 00 e0 ff ff 	testl  $0xffffe000,0x20(%ebp)
40168a:	74 58                	je     0x4016e4
40168c:	be 57 00 07 80       	mov    $0x80070057,%esi
401691:	8b 4d 08             	mov    0x8(%ebp),%ecx
401694:	8b 45 20             	mov    0x20(%ebp),%eax
401697:	a9 00 1c 00 00       	test   $0x1c00,%eax
40169c:	74 1a                	je     0x4016b8
40169e:	85 ff                	test   %edi,%edi
4016a0:	74 16                	je     0x4016b8
4016a2:	50                   	push   %eax
4016a3:	8d 45 f8             	lea    -0x8(%ebp),%eax
4016a6:	50                   	push   %eax
4016a7:	8d 45 0c             	lea    0xc(%ebp),%eax
4016aa:	50                   	push   %eax
4016ab:	ff 75 fc             	push   -0x4(%ebp)
4016ae:	57                   	push   %edi
4016af:	51                   	push   %ecx
4016b0:	e8 8f 06 00 00       	call   0x401d44
4016b5:	8b 5d f8             	mov    -0x8(%ebp),%ebx
4016b8:	85 f6                	test   %esi,%esi
4016ba:	79 08                	jns    0x4016c4
4016bc:	81 fe 7a 00 07 80    	cmp    $0x8007007a,%esi
4016c2:	75 15                	jne    0x4016d9
4016c4:	8b 4d 18             	mov    0x18(%ebp),%ecx
4016c7:	85 c9                	test   %ecx,%ecx
4016c9:	74 05                	je     0x4016d0
4016cb:	8b 45 0c             	mov    0xc(%ebp),%eax
4016ce:	89 01                	mov    %eax,(%ecx)
4016d0:	8b 45 1c             	mov    0x1c(%ebp),%eax
4016d3:	85 c0                	test   %eax,%eax
4016d5:	74 02                	je     0x4016d9
4016d7:	89 18                	mov    %ebx,(%eax)
4016d9:	5b                   	pop    %ebx
4016da:	5f                   	pop    %edi
4016db:	8b c6                	mov    %esi,%eax
4016dd:	5e                   	pop    %esi
4016de:	8b e5                	mov    %ebp,%esp
4016e0:	5d                   	pop    %ebp
4016e1:	c2 1c 00             	ret    $0x1c
4016e4:	83 fb 01             	cmp    $0x1,%ebx
4016e7:	77 23                	ja     0x40170c
4016e9:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)
4016ed:	8b 4d 08             	mov    0x8(%ebp),%ecx
4016f0:	74 72                	je     0x401764
4016f2:	8b 45 10             	mov    0x10(%ebp),%eax
4016f5:	80 38 00             	cmpb   $0x0,(%eax)
4016f8:	74 6a                	je     0x401764
4016fa:	85 c9                	test   %ecx,%ecx
4016fc:	75 07                	jne    0x401705
4016fe:	be 57 00 07 80       	mov    $0x80070057,%esi
401703:	eb 8f                	jmp    0x401694
401705:	be 7a 00 07 80       	mov    $0x8007007a,%esi
40170a:	eb 58                	jmp    0x401764
40170c:	ff 75 14             	push   0x14(%ebp)
40170f:	83 65 f8 00          	andl   $0x0,-0x8(%ebp)
401713:	8d 45 f8             	lea    -0x8(%ebp),%eax
401716:	ff 75 10             	push   0x10(%ebp)
401719:	50                   	push   %eax
40171a:	8b 45 0c             	mov    0xc(%ebp),%eax
40171d:	53                   	push   %ebx
40171e:	50                   	push   %eax