40b3be:	83 c4 14             	add    $0x14,%esp
40b3c1:	83 f8 ff             	cmp    $0xffffffff,%eax
40b3c4:	0f 84 c6 01 00 00    	je     0x40b590
40b3ca:	8b 7d b0             	mov    -0x50(%ebp),%edi
40b3cd:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40b3d0:	03 45 b4             	add    -0x4c(%ebp),%eax
40b3d3:	48                   	dec    %eax
40b3d4:	e9 8f 00 00 00       	jmp    0x40b468
40b3d9:	8b 0c 85 a8 21 42 00 	mov    0x4221a8(,%eax,4),%ecx
40b3e0:	89 4d b4             	mov    %ecx,-0x4c(%ebp)
40b3e3:	8a 64 39 2d          	mov    0x2d(%ecx,%edi,1),%ah
40b3e7:	f6 c4 04             	test   $0x4,%ah
40b3ea:	74 1e                	je     0x40b40a
40b3ec:	8a 44 39 2e          	mov    0x2e(%ecx,%edi,1),%al
40b3f0:	80 e4 fb             	and    $0xfb,%ah
40b3f3:	ff 75 c4             	push   -0x3c(%ebp)
40b3f6:	88 45 e0             	mov    %al,-0x20(%ebp)
40b3f9:	8a 02                	mov    (%edx),%al
40b3fb:	88 45 e1             	mov    %al,-0x1f(%ebp)
40b3fe:	88 64 39 2d          	mov    %ah,0x2d(%ecx,%edi,1)
40b402:	8d 45 e0             	lea    -0x20(%ebp),%eax
40b405:	6a 02                	push   $0x2
40b407:	50                   	push   %eax
40b408:	eb 46                	jmp    0x40b450
40b40a:	8b 45 c4             	mov    -0x3c(%ebp),%eax
40b40d:	0f b6 0a             	movzbl (%edx),%ecx
40b410:	8b 40 0c             	mov    0xc(%eax),%eax
40b413:	8b 00                	mov    (%eax),%eax
40b415:	66 39 1c 48          	cmp    %bx,(%eax,%ecx,2)
40b419:	7d 2f                	jge    0x40b44a
40b41b:	8d 42 01             	lea    0x1(%edx),%eax
40b41e:	89 45 c8             	mov    %eax,-0x38(%ebp)
40b421:	3b 45 ac             	cmp    -0x54(%ebp),%eax
40b424:	0f 83 3d 01 00 00    	jae    0x40b567
40b42a:	ff 75 c4             	push   -0x3c(%ebp)
40b42d:	8d 45 c0             	lea    -0x40(%ebp),%eax
40b430:	6a 02                	push   $0x2
40b432:	52                   	push   %edx
40b433:	50                   	push   %eax
40b434:	e8 66 29 00 00       	call   0x40dd9f
40b439:	83 c4 10             	add    $0x10,%esp
40b43c:	83 f8 ff             	cmp    $0xffffffff,%eax
40b43f:	0f 84 4b 01 00 00    	je     0x40b590
40b445:	8b 45 c8             	mov    -0x38(%ebp),%eax
40b448:	eb 1e                	jmp    0x40b468
40b44a:	ff 75 c4             	push   -0x3c(%ebp)
40b44d:	6a 01                	push   $0x1
40b44f:	52                   	push   %edx
40b450:	8d 45 c0             	lea    -0x40(%ebp),%eax
40b453:	50                   	push   %eax
40b454:	e8 46 29 00 00       	call   0x40dd9f
40b459:	83 c4 10             	add    $0x10,%esp
40b45c:	83 f8 ff             	cmp    $0xffffffff,%eax
40b45f:	0f 84 2b 01 00 00    	je     0x40b590
40b465:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40b468:	53                   	push   %ebx
40b469:	53                   	push   %ebx
40b46a:	40                   	inc    %eax
40b46b:	6a 05                	push   $0x5
40b46d:	89 45 d4             	mov    %eax,-0x2c(%ebp)
40b470:	8d 45 d8             	lea    -0x28(%ebp),%eax
40b473:	50                   	push   %eax
40b474:	ff 75 cc             	push   -0x34(%ebp)
40b477:	8d 45 c0             	lea    -0x40(%ebp),%eax
40b47a:	50                   	push   %eax
40b47b:	53                   	push   %ebx
40b47c:	ff 75 94             	push   -0x6c(%ebp)
40b47f:	e8 aa 3b 00 00       	call   0x40f02e
40b484:	83 c4 20             	add    $0x20,%esp
40b487:	89 45 c8             	mov    %eax,-0x38(%ebp)
40b48a:	85 c0                	test   %eax,%eax
40b48c:	0f 84 fe 00 00 00    	je     0x40b590
40b492:	53                   	push   %ebx
40b493:	8d 4d a4             	lea    -0x5c(%ebp),%ecx
40b496:	51                   	push   %ecx
40b497:	50                   	push   %eax
40b498:	8d 45 d8             	lea    -0x28(%ebp),%eax
40b49b:	50                   	push   %eax
40b49c:	ff 75 9c             	push   -0x64(%ebp)
40b49f:	ff 15 c0 90 41 00    	call   *0x4190c0
40b4a5:	85 c0                	test   %eax,%eax
40b4a7:	0f 84 db 00 00 00    	je     0x40b588
40b4ad:	8b 46 08             	mov    0x8(%esi),%eax
40b4b0:	2b 45 a0             	sub    -0x60(%ebp),%eax
40b4b3:	8b 55 d4             	mov    -0x2c(%ebp),%edx
40b4b6:	03 c2                	add    %edx,%eax
40b4b8:	89 45 b8             	mov    %eax,-0x48(%ebp)
40b4bb:	89 46 04             	mov    %eax,0x4(%esi)
40b4be:	8b 45 c8             	mov    -0x38(%ebp),%eax
40b4c1:	39 45 a4             	cmp    %eax,-0x5c(%ebp)
40b4c4:	0f 82 c6 00 00 00    	jb     0x40b590
40b4ca:	80 7d d3 0a          	cmpb   $0xa,-0x2d(%ebp)
40b4ce:	75 3c                	jne    0x40b50c
40b4d0:	6a 0d                	push   $0xd
40b4d2:	58                   	pop    %eax
40b4d3:	53                   	push   %ebx
40b4d4:	66 89 45 a8          	mov    %ax,-0x58(%ebp)
40b4d8:	8d 45 a4             	lea    -0x5c(%ebp),%eax
40b4db:	50                   	push   %eax
40b4dc:	6a 01                	push   $0x1
40b4de:	8d 45 a8             	lea    -0x58(%ebp),%eax
40b4e1:	50                   	push   %eax
40b4e2:	ff 75 9c             	push   -0x64(%ebp)
40b4e5:	ff 15 c0 90 41 00    	call   *0x4190c0
40b4eb:	85 c0                	test   %eax,%eax
40b4ed:	0f 84 95 00 00 00    	je     0x40b588
40b4f3:	83 7d a4 01          	cmpl   $0x1,-0x5c(%ebp)
40b4f7:	0f 82 93 00 00 00    	jb     0x40b590
40b4fd:	ff 46 08             	incl   0x8(%esi)
40b500:	ff 46 04             	incl   0x4(%esi)
40b503:	8b 46 04             	mov    0x4(%esi),%eax
40b506:	8b 55 d4             	mov    -0x2c(%ebp),%edx
40b509:	89 45 b8             	mov    %eax,-0x48(%ebp)
40b50c:	3b 55 ac             	cmp    -0x54(%ebp),%edx
40b50f:	73 7f                	jae    0x40b590
40b511:	8b 4d 90             	mov    -0x70(%ebp),%ecx
40b514:	e9 76 fd ff ff       	jmp    0x40b28f
40b519:	85 ff                	test   %edi,%edi
40b51b:	7e 24                	jle    0x40b541
40b51d:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40b520:	8b 75 cc             	mov    -0x34(%ebp),%esi
40b523:	8b 4d bc             	mov    -0x44(%ebp),%ecx
40b526:	8b 14 8d a8 21 42 00 	mov    0x4221a8(,%ecx,4),%edx
40b52d:	03 55 b0             	add    -0x50(%ebp),%edx
40b530:	8a 0c 03             	mov    (%ebx,%eax,1),%cl
40b533:	03 d3                	add    %ebx,%edx
40b535:	43                   	inc    %ebx
40b536:	88 4c 32 2e          	mov    %cl,0x2e(%edx,%esi,1)
40b53a:	3b df                	cmp    %edi,%ebx
40b53c:	7c e5                	jl     0x40b523
40b53e:	8b 75 08             	mov    0x8(%ebp),%esi
40b541:	01 7e 04             	add    %edi,0x4(%esi)
40b544:	eb 4a                	jmp    0x40b590
40b546:	85 ff                	test   %edi,%edi
40b548:	7e f7                	jle    0x40b541
40b54a:	8b 75 b0             	mov    -0x50(%ebp),%esi
40b54d:	8b 45 bc             	mov    -0x44(%ebp),%eax
40b550:	8b 0c 85 a8 21 42 00 	mov    0x4221a8(,%eax,4),%ecx
40b557:	8a 04 13             	mov    (%ebx,%edx,1),%al
40b55a:	03 ce                	add    %esi,%ecx
40b55c:	88 44 19 2e          	mov    %al,0x2e(%ecx,%ebx,1)
40b560:	43                   	inc    %ebx
40b561:	3b df                	cmp    %edi,%ebx
40b563:	7c e8                	jl     0x40b54d
40b565:	eb d7                	jmp    0x40b53e
40b567:	8b 45 b4             	mov    -0x4c(%ebp),%eax
40b56a:	8a 0a                	mov    (%edx),%cl
40b56c:	88 4c 38 2e          	mov    %cl,0x2e(%eax,%edi,1)
40b570:	8b 45 bc             	mov    -0x44(%ebp),%eax
40b573:	8b 04 85 a8 21 42 00 	mov    0x4221a8(,%eax,4),%eax
40b57a:	80 4c 38 2d 04       	orb    $0x4,0x2d(%eax,%edi,1)
40b57f:	8b 45 b8             	mov    -0x48(%ebp),%eax
40b582:	40                   	inc    %eax
40b583:	89 46 04             	mov    %eax,0x4(%esi)
40b586:	eb 08                	jmp    0x40b590
40b588:	ff 15 28 90 41 00    	call   *0x419028
40b58e:	89 06                	mov    %eax,(%esi)
40b590:	8b c6                	mov    %esi,%eax
40b592:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40b595:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40b59c:	59                   	pop    %ecx
40b59d:	5f                   	pop    %edi
40b59e:	5e                   	pop    %esi
40b59f:	5b                   	pop    %ebx
40b5a0:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40b5a3:	33 cd                	xor    %ebp,%ecx
40b5a5:	e8 1e 8b ff ff       	call   0x4040c8
40b5aa:	c9                   	leave
40b5ab:	c3                   	ret
40b5ac:	cc                   	int3
40b5ad:	cc                   	int3
40b5ae:	cc                   	int3
40b5af:	cc                   	int3
40b5b0:	cc                   	int3
40b5b1:	8b ff                	mov    %edi,%edi
40b5b3:	55                   	push   %ebp
40b5b4:	8b ec                	mov    %esp,%ebp
40b5b6:	51                   	push   %ecx
40b5b7:	53                   	push   %ebx
40b5b8:	56                   	push   %esi
40b5b9:	8b 75 08             	mov    0x8(%ebp),%esi
40b5bc:	33 c0                	xor    %eax,%eax
40b5be:	57                   	push   %edi
40b5bf:	8b fe                	mov    %esi,%edi
40b5c1:	ab                   	stos   %eax,%es:(%edi)
40b5c2:	ab                   	stos   %eax,%es:(%edi)
40b5c3:	ab                   	stos   %eax,%es:(%edi)
40b5c4:	8b 7d 0c             	mov    0xc(%ebp),%edi
40b5c7:	8b 45 10             	mov    0x10(%ebp),%eax
40b5ca:	03 c7                	add    %edi,%eax
40b5cc:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b5cf:	3b f8                	cmp    %eax,%edi
40b5d1:	73 3f                	jae    0x40b612
40b5d3:	0f b7 1f             	movzwl (%edi),%ebx
40b5d6:	53                   	push   %ebx
40b5d7:	e8 38 5a 00 00       	call   0x411014
40b5dc:	59                   	pop    %ecx
40b5dd:	66 3b c3             	cmp    %bx,%ax
40b5e0:	75 28                	jne    0x40b60a
40b5e2:	83 46 04 02          	addl   $0x2,0x4(%esi)
40b5e6:	83 fb 0a             	cmp    $0xa,%ebx
40b5e9:	75 15                	jne    0x40b600
40b5eb:	6a 0d                	push   $0xd
40b5ed:	5b                   	pop    %ebx
40b5ee:	53                   	push   %ebx
40b5ef:	e8 20 5a 00 00       	call   0x411014
40b5f4:	59                   	pop    %ecx
40b5f5:	66 3b c3             	cmp    %bx,%ax
40b5f8:	75 10                	jne    0x40b60a
40b5fa:	ff 46 04             	incl   0x4(%esi)
40b5fd:	ff 46 08             	incl   0x8(%esi)
40b600:	83 c7 02             	add    $0x2,%edi
40b603:	3b 7d fc             	cmp    -0x4(%ebp),%edi
40b606:	72 cb                	jb     0x40b5d3
40b608:	eb 08                	jmp    0x40b612
40b60a:	ff 15 28 90 41 00    	call   *0x419028
40b610:	89 06                	mov    %eax,(%esi)
40b612:	5f                   	pop    %edi
40b613:	8b c6                	mov    %esi,%eax
40b615:	5e                   	pop    %esi
40b616:	5b                   	pop    %ebx
40b617:	c9                   	leave
40b618:	c3                   	ret
40b619:	8b ff                	mov    %edi,%edi
40b61b:	55                   	push   %ebp
40b61c:	8b ec                	mov    %esp,%ebp
40b61e:	51                   	push   %ecx
40b61f:	53                   	push   %ebx
40b620:	56                   	push   %esi
40b621:	8b 75 08             	mov    0x8(%ebp),%esi
40b624:	57                   	push   %edi
40b625:	56                   	push   %esi
40b626:	e8 d6 55 00 00       	call   0x410c01
40b62b:	59                   	pop    %ecx
40b62c:	85 c0                	test   %eax,%eax
40b62e:	74 5f                	je     0x40b68f
40b630:	8b fe                	mov    %esi,%edi
40b632:	83 e6 3f             	and    $0x3f,%esi
40b635:	c1 ff 06             	sar    $0x6,%edi
40b638:	6b de 38             	imul   $0x38,%esi,%ebx
40b63b:	8b 04 bd a8 21 42 00 	mov    0x4221a8(,%edi,4),%eax
40b642:	80 7c 18 28 00       	cmpb   $0x0,0x28(%eax,%ebx,1)
40b647:	7d 46                	jge    0x40b68f
40b649:	8b 75 0c             	mov    0xc(%ebp),%esi
40b64c:	80 7e 14 00          	cmpb   $0x0,0x14(%esi)
40b650:	75 07                	jne    0x40b659
40b652:	8b ce                	mov    %esi,%ecx
40b654:	e8 47 d8 ff ff       	call   0x408ea0
40b659:	8b 46 0c             	mov    0xc(%esi),%eax
40b65c:	83 b8 a8 00 00 00 00 	cmpl   $0x0,0xa8(%eax)
40b663:	75 0e                	jne    0x40b673
40b665:	8b 04 bd a8 21 42 00 	mov    0x4221a8(,%edi,4),%eax
40b66c:	80 7c 18 29 00       	cmpb   $0x0,0x29(%eax,%ebx,1)
40b671:	74 1c                	je     0x40b68f
40b673:	8d 45 fc             	lea    -0x4(%ebp),%eax
40b676:	50                   	push   %eax
40b677:	8b 04 bd a8 21 42 00 	mov    0x4221a8(,%edi,4),%eax
40b67e:	ff 74 18 18          	push   0x18(%eax,%ebx,1)
40b682:	ff 15 e8 90 41 00    	call   *0x4190e8
40b688:	85 c0                	test   %eax,%eax
40b68a:	0f 95 c0             	setne  %al
40b68d:	eb 02                	jmp    0x40b691
40b68f:	32 c0                	xor    %al,%al
40b691:	5f                   	pop    %edi
40b692:	5e                   	pop    %esi
40b693:	5b                   	pop    %ebx
40b694:	c9                   	leave
40b695:	c3                   	ret
40b696:	8b ff                	mov    %edi,%edi
40b698:	55                   	push   %ebp
40b699:	8b ec                	mov    %esp,%ebp
40b69b:	b8 0c 14 00 00       	mov    $0x140c,%eax
40b6a0:	e8 1b 7f ff ff       	call   0x4035c0
40b6a5:	a1 c0 10 42 00       	mov    0x4210c0,%eax
40b6aa:	33 c5                	xor    %ebp,%eax
40b6ac:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b6af:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40b6b2:	8b c1                	mov    %ecx,%eax
40b6b4:	8b 55 14             	mov    0x14(%ebp),%edx
40b6b7:	83 e1 3f             	and    $0x3f,%ecx
40b6ba:	c1 f8 06             	sar    $0x6,%eax
40b6bd:	6b c9 38             	imul   $0x38,%ecx,%ecx
40b6c0:	53                   	push   %ebx
40b6c1:	8b 5d 08             	mov    0x8(%ebp),%ebx
40b6c4:	8b 04 85 a8 21 42 00 	mov    0x4221a8(,%eax,4),%eax
40b6cb:	56                   	push   %esi
40b6cc:	57                   	push   %edi
40b6cd:	8b fb                	mov    %ebx,%edi
40b6cf:	8b 44 08 18          	mov    0x18(%eax,%ecx,1),%eax
40b6d3:	8b 4d 10             	mov    0x10(%ebp),%ecx
40b6d6:	03 d1                	add    %ecx,%edx
40b6d8:	89 85 f8 eb ff ff    	mov    %eax,-0x1408(%ebp)
40b6de:	33 c0                	xor    %eax,%eax
40b6e0:	ab                   	stos   %eax,%es:(%edi)
40b6e1:	89 95 f4 eb ff ff    	mov    %edx,-0x140c(%ebp)
40b6e7:	ab                   	stos   %eax,%es:(%edi)
40b6e8:	ab                   	stos   %eax,%es:(%edi)
40b6e9:	3b ca                	cmp    %edx,%ecx
40b6eb:	73 73                	jae    0x40b760
40b6ed:	8b bd f8 eb ff ff    	mov    -0x1408(%ebp),%edi
40b6f3:	8d b5 fc eb ff ff    	lea    -0x1404(%ebp),%esi
40b6f9:	3b ca                	cmp    %edx,%ecx
40b6fb:	73 18                	jae    0x40b715
40b6fd:	8a 01                	mov    (%ecx),%al
40b6ff:	41                   	inc    %ecx
40b700:	3c 0a                	cmp    $0xa,%al
40b702:	75 07                	jne    0x40b70b
40b704:	ff 43 08             	incl   0x8(%ebx)
40b707:	c6 06 0d             	movb   $0xd,(%esi)
40b70a:	46                   	inc    %esi
40b70b:	88 06                	mov    %al,(%esi)
40b70d:	46                   	inc    %esi
40b70e:	8d 45 fb             	lea    -0x5(%ebp),%eax
40b711:	3b f0                	cmp    %eax,%esi
40b713:	72 e4                	jb     0x40b6f9
40b715:	8d 85 fc eb ff ff    	lea    -0x1404(%ebp),%eax
40b71b:	89 4d 10             	mov    %ecx,0x10(%ebp)
40b71e:	2b f0                	sub    %eax,%esi
40b720:	8d 85 f8 eb ff ff    	lea    -0x1408(%ebp),%eax
40b726:	6a 00                	push   $0x0
40b728:	50                   	push   %eax
40b729:	56                   	push   %esi
40b72a:	8d 85 fc eb ff ff    	lea    -0x1404(%ebp),%eax
40b730:	50                   	push   %eax
40b731:	57                   	push   %edi
40b732:	ff 15 c0 90 41 00    	call   *0x4190c0
40b738:	85 c0                	test   %eax,%eax
40b73a:	74 1c                	je     0x40b758
40b73c:	8b 85 f8 eb ff ff    	mov    -0x1408(%ebp),%eax
40b742:	01 43 04             	add    %eax,0x4(%ebx)
40b745:	3b c6                	cmp    %esi,%eax
40b747:	72 17                	jb     0x40b760
40b749:	8b 4d 10             	mov    0x10(%ebp),%ecx
40b74c:	8b 95 f4 eb ff ff    	mov    -0x140c(%ebp),%edx
40b752:	3b ca                	cmp    %edx,%ecx
40b754:	72 9d                	jb     0x40b6f3
40b756:	eb 08                	jmp    0x40b760
40b758:	ff 15 28 90 41 00    	call   *0x419028
40b75e:	89 03                	mov    %eax,(%ebx)
40b760:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40b763:	8b c3                	mov    %ebx,%eax
40b765:	5f                   	pop    %edi
40b766:	5e                   	pop    %esi
40b767:	33 cd                	xor    %ebp,%ecx
40b769:	5b                   	pop    %ebx
40b76a:	e8 59 89 ff ff       	call   0x4040c8
40b76f:	c9                   	leave
40b770:	c3                   	ret
40b771:	8b ff                	mov    %edi,%edi
40b773:	55                   	push   %ebp