40742e:	80 7d fe 00          	cmpb   $0x0,-0x2(%ebp)
407432:	88 0b                	mov    %cl,(%ebx)
407434:	8b 0f                	mov    (%edi),%ecx
407436:	8d 43 01             	lea    0x1(%ebx),%eax
407439:	c7 45 f4 01 00 00 00 	movl   $0x1,-0xc(%ebp)
407440:	c6 44 0e 05 0a       	movb   $0xa,0x5(%esi,%ecx,1)
407445:	74 50                	je     0x407497
407447:	8b 0f                	mov    (%edi),%ecx
407449:	8a 4c 0e 25          	mov    0x25(%esi,%ecx,1),%cl
40744d:	80 f9 0a             	cmp    $0xa,%cl
407450:	74 45                	je     0x407497
407452:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)
407456:	74 3f                	je     0x407497
407458:	88 08                	mov    %cl,(%eax)
40745a:	8b 0f                	mov    (%edi),%ecx
40745c:	40                   	inc    %eax
40745d:	ff 4d 10             	decl   0x10(%ebp)
407460:	80 7d fe 01          	cmpb   $0x1,-0x2(%ebp)
407464:	c7 45 f4 02 00 00 00 	movl   $0x2,-0xc(%ebp)
40746b:	c6 44 0e 25 0a       	movb   $0xa,0x25(%esi,%ecx,1)
407470:	75 25                	jne    0x407497
407472:	8b 0f                	mov    (%edi),%ecx
407474:	8a 4c 0e 26          	mov    0x26(%esi,%ecx,1),%cl
407478:	80 f9 0a             	cmp    $0xa,%cl
40747b:	74 1a                	je     0x407497
40747d:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)
407481:	74 14                	je     0x407497
407483:	88 08                	mov    %cl,(%eax)
407485:	8b 0f                	mov    (%edi),%ecx
407487:	40                   	inc    %eax
407488:	ff 4d 10             	decl   0x10(%ebp)
40748b:	c7 45 f4 03 00 00 00 	movl   $0x3,-0xc(%ebp)
407492:	c6 44 0e 26 0a       	movb   $0xa,0x26(%esi,%ecx,1)
407497:	6a 00                	push   $0x0
407499:	8d 4d e8             	lea    -0x18(%ebp),%ecx
40749c:	51                   	push   %ecx
40749d:	ff 75 10             	push   0x10(%ebp)
4074a0:	50                   	push   %eax
4074a1:	8b 07                	mov    (%edi),%eax
4074a3:	ff 34 06             	push   (%esi,%eax,1)
4074a6:	ff 15 fc f0 40 00    	call   *0x40f0fc
4074ac:	85 c0                	test   %eax,%eax
4074ae:	0f 84 78 03 00 00    	je     0x40782c
4074b4:	8b 4d e8             	mov    -0x18(%ebp),%ecx
4074b7:	85 c9                	test   %ecx,%ecx
4074b9:	0f 88 6d 03 00 00    	js     0x40782c
4074bf:	3b 4d 10             	cmp    0x10(%ebp),%ecx
4074c2:	0f 87 64 03 00 00    	ja     0x40782c
4074c8:	8b 07                	mov    (%edi),%eax
4074ca:	01 4d f4             	add    %ecx,-0xc(%ebp)
4074cd:	8d 44 06 04          	lea    0x4(%esi,%eax,1),%eax
4074d1:	f6 00 80             	testb  $0x80,(%eax)
4074d4:	0f 84 e4 01 00 00    	je     0x4076be
4074da:	80 7d fe 02          	cmpb   $0x2,-0x2(%ebp)
4074de:	0f 84 14 02 00 00    	je     0x4076f8
4074e4:	85 c9                	test   %ecx,%ecx
4074e6:	74 0a                	je     0x4074f2
4074e8:	80 3b 0a             	cmpb   $0xa,(%ebx)
4074eb:	75 05                	jne    0x4074f2
4074ed:	80 08 04             	orb    $0x4,(%eax)
4074f0:	eb 03                	jmp    0x4074f5
4074f2:	80 20 fb             	andb   $0xfb,(%eax)
4074f5:	8b 5d f0             	mov    -0x10(%ebp),%ebx
4074f8:	8b 45 f4             	mov    -0xc(%ebp),%eax
4074fb:	03 c3                	add    %ebx,%eax
4074fd:	89 5d 10             	mov    %ebx,0x10(%ebp)
407500:	89 45 f4             	mov    %eax,-0xc(%ebp)
407503:	3b d8                	cmp    %eax,%ebx
407505:	0f 83 d1 00 00 00    	jae    0x4075dc
40750b:	8b 4d 10             	mov    0x10(%ebp),%ecx
40750e:	8a 01                	mov    (%ecx),%al
407510:	3c 1a                	cmp    $0x1a,%al
407512:	0f 84 af 00 00 00    	je     0x4075c7
407518:	3c 0d                	cmp    $0xd,%al
40751a:	74 0c                	je     0x407528
40751c:	88 03                	mov    %al,(%ebx)
40751e:	43                   	inc    %ebx
40751f:	41                   	inc    %ecx
407520:	89 4d 10             	mov    %ecx,0x10(%ebp)
407523:	e9 91 00 00 00       	jmp    0x4075b9
407528:	8b 45 f4             	mov    -0xc(%ebp),%eax
40752b:	48                   	dec    %eax
40752c:	3b c8                	cmp    %eax,%ecx
40752e:	73 18                	jae    0x407548
407530:	8d 41 01             	lea    0x1(%ecx),%eax
407533:	80 38 0a             	cmpb   $0xa,(%eax)
407536:	75 0b                	jne    0x407543
407538:	83 c1 02             	add    $0x2,%ecx
40753b:	89 4d 10             	mov    %ecx,0x10(%ebp)
40753e:	c6 03 0a             	movb   $0xa,(%ebx)
407541:	eb 75                	jmp    0x4075b8
407543:	89 45 10             	mov    %eax,0x10(%ebp)
407546:	eb 6d                	jmp    0x4075b5
407548:	ff 45 10             	incl   0x10(%ebp)
40754b:	6a 00                	push   $0x0
40754d:	8d 45 e8             	lea    -0x18(%ebp),%eax
407550:	50                   	push   %eax
407551:	6a 01                	push   $0x1
407553:	8d 45 ff             	lea    -0x1(%ebp),%eax
407556:	50                   	push   %eax
407557:	8b 07                	mov    (%edi),%eax
407559:	ff 34 06             	push   (%esi,%eax,1)
40755c:	ff 15 fc f0 40 00    	call   *0x40f0fc
407562:	85 c0                	test   %eax,%eax
407564:	75 0a                	jne    0x407570
407566:	ff 15 44 f0 40 00    	call   *0x40f044
40756c:	85 c0                	test   %eax,%eax
40756e:	75 45                	jne    0x4075b5
407570:	83 7d e8 00          	cmpl   $0x0,-0x18(%ebp)
407574:	74 3f                	je     0x4075b5
407576:	8b 07                	mov    (%edi),%eax
407578:	f6 44 06 04 48       	testb  $0x48,0x4(%esi,%eax,1)
40757d:	74 14                	je     0x407593
40757f:	80 7d ff 0a          	cmpb   $0xa,-0x1(%ebp)
407583:	74 b9                	je     0x40753e
407585:	c6 03 0d             	movb   $0xd,(%ebx)
407588:	8b 07                	mov    (%edi),%eax
40758a:	8a 4d ff             	mov    -0x1(%ebp),%cl
40758d:	88 4c 06 05          	mov    %cl,0x5(%esi,%eax,1)
407591:	eb 25                	jmp    0x4075b8
407593:	3b 5d f0             	cmp    -0x10(%ebp),%ebx
407596:	75 06                	jne    0x40759e
407598:	80 7d ff 0a          	cmpb   $0xa,-0x1(%ebp)
40759c:	74 a0                	je     0x40753e
40759e:	6a 01                	push   $0x1
4075a0:	6a ff                	push   $0xffffffff
4075a2:	6a ff                	push   $0xffffffff
4075a4:	ff 75 08             	push   0x8(%ebp)
4075a7:	e8 7f 62 00 00       	call   0x40d82b
4075ac:	83 c4 10             	add    $0x10,%esp
4075af:	80 7d ff 0a          	cmpb   $0xa,-0x1(%ebp)
4075b3:	74 04                	je     0x4075b9
4075b5:	c6 03 0d             	movb   $0xd,(%ebx)
4075b8:	43                   	inc    %ebx
4075b9:	8b 45 f4             	mov    -0xc(%ebp),%eax
4075bc:	39 45 10             	cmp    %eax,0x10(%ebp)
4075bf:	0f 82 46 ff ff ff    	jb     0x40750b
4075c5:	eb 15                	jmp    0x4075dc
4075c7:	8b 07                	mov    (%edi),%eax
4075c9:	8d 44 06 04          	lea    0x4(%esi,%eax,1),%eax
4075cd:	f6 00 40             	testb  $0x40,(%eax)
4075d0:	75 05                	jne    0x4075d7
4075d2:	80 08 02             	orb    $0x2,(%eax)
4075d5:	eb 05                	jmp    0x4075dc
4075d7:	8a 01                	mov    (%ecx),%al
4075d9:	88 03                	mov    %al,(%ebx)
4075db:	43                   	inc    %ebx
4075dc:	8b c3                	mov    %ebx,%eax
4075de:	2b 45 f0             	sub    -0x10(%ebp),%eax
4075e1:	80 7d fe 01          	cmpb   $0x1,-0x2(%ebp)
4075e5:	89 45 f4             	mov    %eax,-0xc(%ebp)
4075e8:	0f 85 d0 00 00 00    	jne    0x4076be
4075ee:	85 c0                	test   %eax,%eax
4075f0:	0f 84 c8 00 00 00    	je     0x4076be
4075f6:	4b                   	dec    %ebx
4075f7:	8a 0b                	mov    (%ebx),%cl
4075f9:	84 c9                	test   %cl,%cl
4075fb:	78 06                	js     0x407603
4075fd:	43                   	inc    %ebx
4075fe:	e9 86 00 00 00       	jmp    0x407689
407603:	33 c0                	xor    %eax,%eax
407605:	40                   	inc    %eax
407606:	0f b6 c9             	movzbl %cl,%ecx
407609:	eb 0f                	jmp    0x40761a
40760b:	83 f8 04             	cmp    $0x4,%eax
40760e:	7f 13                	jg     0x407623
407610:	3b 5d f0             	cmp    -0x10(%ebp),%ebx
407613:	72 0e                	jb     0x407623
407615:	4b                   	dec    %ebx
407616:	0f b6 0b             	movzbl (%ebx),%ecx
407619:	40                   	inc    %eax
40761a:	80 b9 e0 2c 41 00 00 	cmpb   $0x0,0x412ce0(%ecx)
407621:	74 e8                	je     0x40760b
407623:	8a 13                	mov    (%ebx),%dl
407625:	0f b6 ca             	movzbl %dl,%ecx
407628:	0f be 89 e0 2c 41 00 	movsbl 0x412ce0(%ecx),%ecx
40762f:	85 c9                	test   %ecx,%ecx
407631:	75 0d                	jne    0x407640
407633:	e8 ef ca ff ff       	call   0x404127
407638:	c7 00 2a 00 00 00    	movl   $0x2a,(%eax)
40763e:	eb 7a                	jmp    0x4076ba
407640:	41                   	inc    %ecx
407641:	3b c8                	cmp    %eax,%ecx
407643:	75 04                	jne    0x407649
407645:	03 d8                	add    %eax,%ebx
407647:	eb 40                	jmp    0x407689
407649:	8b 0f                	mov    (%edi),%ecx
40764b:	f6 44 31 04 48       	testb  $0x48,0x4(%ecx,%esi,1)
407650:	74 25                	je     0x407677
407652:	43                   	inc    %ebx
407653:	88 54 31 05          	mov    %dl,0x5(%ecx,%esi,1)
407657:	83 f8 02             	cmp    $0x2,%eax
40765a:	7c 09                	jl     0x407665
40765c:	8a 13                	mov    (%ebx),%dl
40765e:	8b 0f                	mov    (%edi),%ecx
407660:	88 54 0e 25          	mov    %dl,0x25(%esi,%ecx,1)
407664:	43                   	inc    %ebx
407665:	83 f8 03             	cmp    $0x3,%eax
407668:	75 09                	jne    0x407673
40766a:	8a 13                	mov    (%ebx),%dl
40766c:	8b 0f                	mov    (%edi),%ecx
40766e:	88 54 0e 26          	mov    %dl,0x26(%esi,%ecx,1)
407672:	43                   	inc    %ebx
407673:	2b d8                	sub    %eax,%ebx
407675:	eb 12                	jmp    0x407689
407677:	f7 d8                	neg    %eax
407679:	99                   	cltd
40767a:	6a 01                	push   $0x1
40767c:	52                   	push   %edx
40767d:	50                   	push   %eax
40767e:	ff 75 08             	push   0x8(%ebp)
407681:	e8 a5 61 00 00       	call   0x40d82b
407686:	83 c4 10             	add    $0x10,%esp
407689:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40768c:	2b 5d f0             	sub    -0x10(%ebp),%ebx
40768f:	d1 e8                	shr    $1,%eax
407691:	50                   	push   %eax
407692:	ff 75 0c             	push   0xc(%ebp)
407695:	53                   	push   %ebx
407696:	ff 75 f0             	push   -0x10(%ebp)
407699:	6a 00                	push   $0x0
40769b:	68 e9 fd 00 00       	push   $0xfde9
4076a0:	ff 15 30 f0 40 00    	call   *0x40f030
4076a6:	89 45 f4             	mov    %eax,-0xc(%ebp)
4076a9:	85 c0                	test   %eax,%eax
4076ab:	75 34                	jne    0x4076e1
4076ad:	ff 15 44 f0 40 00    	call   *0x40f044
4076b3:	50                   	push   %eax
4076b4:	e8 94 ca ff ff       	call   0x40414d
4076b9:	59                   	pop    %ecx
4076ba:	83 4d ec ff          	orl    $0xffffffff,-0x14(%ebp)
4076be:	8b 45 f0             	mov    -0x10(%ebp),%eax
4076c1:	3b 45 0c             	cmp    0xc(%ebp),%eax
4076c4:	74 07                	je     0x4076cd
4076c6:	50                   	push   %eax
4076c7:	e8 9f a8 ff ff       	call   0x401f6b
4076cc:	59                   	pop    %ecx
4076cd:	8b 45 ec             	mov    -0x14(%ebp),%eax
4076d0:	83 f8 fe             	cmp    $0xfffffffe,%eax
4076d3:	0f 85 8b 01 00 00    	jne    0x407864
4076d9:	8b 45 f4             	mov    -0xc(%ebp),%eax
4076dc:	e9 83 01 00 00       	jmp    0x407864
4076e1:	8b 45 f4             	mov    -0xc(%ebp),%eax
4076e4:	8b 17                	mov    (%edi),%edx
4076e6:	33 c9                	xor    %ecx,%ecx
4076e8:	3b c3                	cmp    %ebx,%eax
4076ea:	0f 95 c1             	setne  %cl
4076ed:	03 c0                	add    %eax,%eax
4076ef:	89 45 f4             	mov    %eax,-0xc(%ebp)
4076f2:	89 4c 16 30          	mov    %ecx,0x30(%esi,%edx,1)
4076f6:	eb c6                	jmp    0x4076be
4076f8:	85 c9                	test   %ecx,%ecx
4076fa:	74 0b                	je     0x407707
4076fc:	66 83 3b 0a          	cmpw   $0xa,(%ebx)
407700:	75 05                	jne    0x407707
407702:	80 08 04             	orb    $0x4,(%eax)
407705:	eb 03                	jmp    0x40770a
407707:	80 20 fb             	andb   $0xfb,(%eax)
40770a:	8b 5d f0             	mov    -0x10(%ebp),%ebx
40770d:	8b 45 f4             	mov    -0xc(%ebp),%eax
407710:	03 c3                	add    %ebx,%eax
407712:	89 5d 10             	mov    %ebx,0x10(%ebp)
407715:	89 45 f4             	mov    %eax,-0xc(%ebp)
407718:	3b d8                	cmp    %eax,%ebx
40771a:	0f 83 01 01 00 00    	jae    0x407821
407720:	8b 45 10             	mov    0x10(%ebp),%eax
407723:	0f b7 08             	movzwl (%eax),%ecx
407726:	83 f9 1a             	cmp    $0x1a,%ecx
407729:	0f 84 d9 00 00 00    	je     0x407808
40772f:	83 f9 0d             	cmp    $0xd,%ecx
407732:	74 11                	je     0x407745
407734:	66 89 0b             	mov    %cx,(%ebx)
407737:	83 c3 02             	add    $0x2,%ebx
40773a:	83 c0 02             	add    $0x2,%eax
40773d:	89 45 10             	mov    %eax,0x10(%ebp)
407740:	e9 b5 00 00 00       	jmp    0x4077fa
407745:	8b 4d f4             	mov    -0xc(%ebp),%ecx
407748:	83 c1 fe             	add    $0xfffffffe,%ecx
40774b:	3b c1                	cmp    %ecx,%eax
40774d:	73 1e                	jae    0x40776d
40774f:	8d 48 02             	lea    0x2(%eax),%ecx
407752:	66 83 39 0a          	cmpw   $0xa,(%ecx)
407756:	75 0d                	jne    0x407765
407758:	83 c0 04             	add    $0x4,%eax
40775b:	89 45 10             	mov    %eax,0x10(%ebp)
40775e:	6a 0a                	push   $0xa
407760:	e9 8e 00 00 00       	jmp    0x4077f3
407765:	89 4d 10             	mov    %ecx,0x10(%ebp)
407768:	e9 84 00 00 00       	jmp    0x4077f1
40776d:	83 45 10 02          	addl   $0x2,0x10(%ebp)
407771:	6a 00                	push   $0x0
407773:	8d 45 e8             	lea    -0x18(%ebp),%eax
407776:	50                   	push   %eax
407777:	6a 02                	push   $0x2
407779:	8d 45 f8             	lea    -0x8(%ebp),%eax
40777c:	50                   	push   %eax
40777d:	8b 07                	mov    (%edi),%eax
40777f:	ff 34 06             	push   (%esi,%eax,1)
407782:	ff 15 fc f0 40 00    	call   *0x40f0fc
407788:	85 c0                	test   %eax,%eax
40778a:	75 0a                	jne    0x407796
40778c:	ff 15 44 f0 40 00    	call   *0x40f044
407792:	85 c0                	test   %eax,%eax
407794:	75 5b                	jne    0x4077f1
407796:	83 7d e8 00          	cmpl   $0x0,-0x18(%ebp)
40779a:	74 55                	je     0x4077f1
40779c:	8b 07                	mov    (%edi),%eax
40779e:	f6 44 06 04 48       	testb  $0x48,0x4(%esi,%eax,1)
4077a3:	74 28                	je     0x4077cd
4077a5:	66 83 7d f8 0a       	cmpw   $0xa,-0x8(%ebp)
4077aa:	74 b2                	je     0x40775e
4077ac:	6a 0d                	push   $0xd
4077ae:	58                   	pop    %eax
4077af:	66 89 03             	mov    %ax,(%ebx)
4077b2:	8b 07                	mov    (%edi),%eax
4077b4:	8a 4d f8             	mov    -0x8(%ebp),%cl
4077b7:	88 4c 06 05          	mov    %cl,0x5(%esi,%eax,1)
4077bb:	8b 07                	mov    (%edi),%eax
4077bd:	8a 4d f9             	mov    -0x7(%ebp),%cl
4077c0:	88 4c 06 25          	mov    %cl,0x25(%esi,%eax,1)
4077c4:	8b 07                	mov    (%edi),%eax
4077c6:	c6 44 06 26 0a       	movb   $0xa,0x26(%esi,%eax,1)
4077cb:	eb 2a                	jmp    0x4077f7
4077cd:	3b 5d f0             	cmp    -0x10(%ebp),%ebx
4077d0:	75 07                	jne    0x4077d9
4077d2:	66 83 7d f8 0a       	cmpw   $0xa,-0x8(%ebp)
4077d7:	74 85                	je     0x40775e
4077d9:	6a 01                	push   $0x1
4077db:	6a ff                	push   $0xffffffff
4077dd:	6a fe                	push   $0xfffffffe
4077df:	ff 75 08             	push   0x8(%ebp)
4077e2:	e8 44 60 00 00       	call   0x40d82b
4077e7:	83 c4 10             	add    $0x10,%esp
4077ea:	66 83 7d f8 0a       	cmpw   $0xa,-0x8(%ebp)
4077ef:	74 09                	je     0x4077fa
4077f1:	6a 0d                	push   $0xd
4077f3:	58                   	pop    %eax
4077f4:	66 89 03             	mov    %ax,(%ebx)
4077f7:	83 c3 02             	add    $0x2,%ebx
4077fa:	8b 45 f4             	mov    -0xc(%ebp),%eax
4077fd:	39 45 10             	cmp    %eax,0x10(%ebp)
407800:	0f 82 1a ff ff ff    	jb     0x407720
407806:	eb 19                	jmp    0x407821
407808:	8b 0f                	mov    (%edi),%ecx
40780a:	8d 74 0e 04          	lea    0x4(%esi,%ecx,1),%esi
40780e:	f6 06 40             	testb  $0x40,(%esi)
407811:	75 05                	jne    0x407818
407813:	80 0e 02             	orb    $0x2,(%esi)
407816:	eb 09                	jmp    0x407821
407818:	66 8b 00             	mov    (%eax),%ax