40c449:	3b f8                	cmp    %eax,%edi
40c44b:	7f 3b                	jg     0x40c488
40c44d:	8b ef                	mov    %edi,%ebp
40c44f:	80 3d 50 17 46 00 00 	cmpb   $0x0,0x461750
40c456:	74 30                	je     0x40c488
40c458:	bb 01 00 00 00       	mov    $0x1,%ebx
40c45d:	33 ed                	xor    %ebp,%ebp
40c45f:	3b fb                	cmp    %ebx,%edi
40c461:	7c 25                	jl     0x40c488
40c463:	8a 44 1e ff          	mov    -0x1(%esi,%ebx,1),%al
40c467:	25 ff 00 00 00       	and    $0xff,%eax
40c46c:	0f a3 05 3c 51 45 00 	bt     %eax,0x45513c
40c473:	73 0d                	jae    0x40c482
40c475:	8b d3                	mov    %ebx,%edx
40c477:	8b c6                	mov    %esi,%eax
40c479:	e8 d6 01 00 00       	call   0x40c654
40c47e:	8b d8                	mov    %eax,%ebx
40c480:	eb 01                	jmp    0x40c483
40c482:	43                   	inc    %ebx
40c483:	45                   	inc    %ebp
40c484:	3b fb                	cmp    %ebx,%edi
40c486:	7d db                	jge    0x40c463
40c488:	8b c5                	mov    %ebp,%eax
40c48a:	5d                   	pop    %ebp
40c48b:	5f                   	pop    %edi
40c48c:	5e                   	pop    %esi
40c48d:	5b                   	pop    %ebx
40c48e:	c3                   	ret
40c48f:	90                   	nop
40c490:	55                   	push   %ebp
40c491:	8b ec                	mov    %esp,%ebp
40c493:	83 c4 f4             	add    $0xfffffff4,%esp
40c496:	53                   	push   %ebx
40c497:	56                   	push   %esi
40c498:	57                   	push   %edi
40c499:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40c49c:	89 55 fc             	mov    %edx,-0x4(%ebp)
40c49f:	8b f8                	mov    %eax,%edi
40c4a1:	8b c7                	mov    %edi,%eax
40c4a3:	e8 88 83 ff ff       	call   0x404830
40c4a8:	89 45 f4             	mov    %eax,-0xc(%ebp)
40c4ab:	be 01 00 00 00       	mov    $0x1,%esi
40c4b0:	bb 01 00 00 00       	mov    $0x1,%ebx
40c4b5:	eb 21                	jmp    0x40c4d8
40c4b7:	46                   	inc    %esi
40c4b8:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40c4bc:	25 ff 00 00 00       	and    $0xff,%eax
40c4c1:	0f a3 05 3c 51 45 00 	bt     %eax,0x45513c
40c4c8:	73 0d                	jae    0x40c4d7
40c4ca:	8b d3                	mov    %ebx,%edx
40c4cc:	8b c7                	mov    %edi,%eax
40c4ce:	e8 81 01 00 00       	call   0x40c654
40c4d3:	8b d8                	mov    %eax,%ebx
40c4d5:	eb 01                	jmp    0x40c4d8
40c4d7:	43                   	inc    %ebx
40c4d8:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
40c4db:	7d 05                	jge    0x40c4e2
40c4dd:	3b 75 fc             	cmp    -0x4(%ebp),%esi
40c4e0:	7c d5                	jl     0x40c4b7
40c4e2:	3b 75 fc             	cmp    -0x4(%ebp),%esi
40c4e5:	75 23                	jne    0x40c50a
40c4e7:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
40c4ea:	7d 1e                	jge    0x40c50a
40c4ec:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40c4f0:	25 ff 00 00 00       	and    $0xff,%eax
40c4f5:	0f a3 05 3c 51 45 00 	bt     %eax,0x45513c
40c4fc:	73 0c                	jae    0x40c50a
40c4fe:	8b d3                	mov    %ebx,%edx
40c500:	8b c7                	mov    %edi,%eax
40c502:	e8 4d 01 00 00       	call   0x40c654
40c507:	48                   	dec    %eax
40c508:	8b d8                	mov    %eax,%ebx
40c50a:	8b 45 f8             	mov    -0x8(%ebp),%eax
40c50d:	89 30                	mov    %esi,(%eax)
40c50f:	8b 45 08             	mov    0x8(%ebp),%eax
40c512:	89 18                	mov    %ebx,(%eax)
40c514:	5f                   	pop    %edi
40c515:	5e                   	pop    %esi
40c516:	5b                   	pop    %ebx
40c517:	8b e5                	mov    %ebp,%esp
40c519:	5d                   	pop    %ebp
40c51a:	c2 04 00             	ret    $0x4
40c51d:	8d 40 00             	lea    0x0(%eax),%eax
40c520:	53                   	push   %ebx
40c521:	56                   	push   %esi
40c522:	83 c4 f8             	add    $0xfffffff8,%esp
40c525:	8b da                	mov    %edx,%ebx
40c527:	8b f0                	mov    %eax,%esi
40c529:	33 c0                	xor    %eax,%eax
40c52b:	89 04 24             	mov    %eax,(%esp)
40c52e:	85 db                	test   %ebx,%ebx
40c530:	7e 4a                	jle    0x40c57c
40c532:	8b c6                	mov    %esi,%eax
40c534:	e8 f7 82 ff ff       	call   0x404830
40c539:	3b d8                	cmp    %eax,%ebx
40c53b:	7f 3f                	jg     0x40c57c
40c53d:	83 fb 01             	cmp    $0x1,%ebx
40c540:	7e 37                	jle    0x40c579
40c542:	80 3d 50 17 46 00 00 	cmpb   $0x0,0x461750
40c549:	74 2e                	je     0x40c579
40c54b:	54                   	push   %esp
40c54c:	8d 4c 24 08          	lea    0x8(%esp),%ecx
40c550:	8b d3                	mov    %ebx,%edx
40c552:	4a                   	dec    %edx
40c553:	8b c6                	mov    %esi,%eax
40c555:	e8 36 ff ff ff       	call   0x40c490
40c55a:	4b                   	dec    %ebx
40c55b:	3b 5c 24 04          	cmp    0x4(%esp),%ebx
40c55f:	7f 0c                	jg     0x40c56d
40c561:	8b c6                	mov    %esi,%eax
40c563:	e8 c8 82 ff ff       	call   0x404830
40c568:	3b 04 24             	cmp    (%esp),%eax
40c56b:	7f 07                	jg     0x40c574
40c56d:	33 c0                	xor    %eax,%eax
40c56f:	89 04 24             	mov    %eax,(%esp)
40c572:	eb 08                	jmp    0x40c57c
40c574:	ff 04 24             	incl   (%esp)
40c577:	eb 03                	jmp    0x40c57c
40c579:	89 1c 24             	mov    %ebx,(%esp)
40c57c:	8b 04 24             	mov    (%esp),%eax
40c57f:	59                   	pop    %ecx
40c580:	5a                   	pop    %edx
40c581:	5e                   	pop    %esi
40c582:	5b                   	pop    %ebx
40c583:	c3                   	ret
40c584:	53                   	push   %ebx
40c585:	56                   	push   %esi
40c586:	83 c4 f8             	add    $0xfffffff8,%esp
40c589:	8b da                	mov    %edx,%ebx
40c58b:	8b f0                	mov    %eax,%esi
40c58d:	33 c0                	xor    %eax,%eax
40c58f:	89 04 24             	mov    %eax,(%esp)
40c592:	85 db                	test   %ebx,%ebx
40c594:	7e 46                	jle    0x40c5dc
40c596:	8b c6                	mov    %esi,%eax
40c598:	e8 93 82 ff ff       	call   0x404830
40c59d:	3b d8                	cmp    %eax,%ebx
40c59f:	7e 09                	jle    0x40c5aa
40c5a1:	8b c6                	mov    %esi,%eax
40c5a3:	e8 88 82 ff ff       	call   0x404830
40c5a8:	8b d8                	mov    %eax,%ebx
40c5aa:	80 3d 50 17 46 00 00 	cmpb   $0x0,0x461750
40c5b1:	74 26                	je     0x40c5d9
40c5b3:	54                   	push   %esp
40c5b4:	8d 4c 24 08          	lea    0x8(%esp),%ecx
40c5b8:	8b d3                	mov    %ebx,%edx
40c5ba:	8b c6                	mov    %esi,%eax
40c5bc:	e8 cf fe ff ff       	call   0x40c490
40c5c1:	8b c6                	mov    %esi,%eax
40c5c3:	e8 68 82 ff ff       	call   0x404830
40c5c8:	3b 04 24             	cmp    (%esp),%eax
40c5cb:	7d 0f                	jge    0x40c5dc
40c5cd:	8b c6                	mov    %esi,%eax
40c5cf:	e8 5c 82 ff ff       	call   0x404830
40c5d4:	89 04 24             	mov    %eax,(%esp)
40c5d7:	eb 03                	jmp    0x40c5dc
40c5d9:	89 1c 24             	mov    %ebx,(%esp)
40c5dc:	8b 04 24             	mov    (%esp),%eax
40c5df:	59                   	pop    %ecx
40c5e0:	5a                   	pop    %edx
40c5e1:	5e                   	pop    %esi
40c5e2:	5b                   	pop    %ebx
40c5e3:	c3                   	ret
40c5e4:	53                   	push   %ebx
40c5e5:	8b d8                	mov    %eax,%ebx
40c5e7:	80 3d 50 17 46 00 00 	cmpb   $0x0,0x461750
40c5ee:	74 0a                	je     0x40c5fa
40c5f0:	53                   	push   %ebx
40c5f1:	e8 16 a4 ff ff       	call   0x406a0c
40c5f6:	2b c3                	sub    %ebx,%eax
40c5f8:	5b                   	pop    %ebx
40c5f9:	c3                   	ret
40c5fa:	b8 01 00 00 00       	mov    $0x1,%eax
40c5ff:	5b                   	pop    %ebx
40c600:	c3                   	ret
40c601:	8d 40 00             	lea    0x0(%eax),%eax
40c604:	53                   	push   %ebx
40c605:	51                   	push   %ecx
40c606:	8b d8                	mov    %eax,%ebx
40c608:	53                   	push   %ebx
40c609:	e8 fe a3 ff ff       	call   0x406a0c
40c60e:	89 04 24             	mov    %eax,(%esp)
40c611:	8b 04 24             	mov    (%esp),%eax
40c614:	5a                   	pop    %edx
40c615:	5b                   	pop    %ebx
40c616:	c3                   	ret
40c617:	90                   	nop
40c618:	53                   	push   %ebx
40c619:	56                   	push   %esi
40c61a:	8b f2                	mov    %edx,%esi
40c61c:	8b d8                	mov    %eax,%ebx
40c61e:	b8 01 00 00 00       	mov    $0x1,%eax
40c623:	80 3d 50 17 46 00 00 	cmpb   $0x0,0x461750
40c62a:	74 22                	je     0x40c64e
40c62c:	8a 54 33 ff          	mov    -0x1(%ebx,%esi,1),%dl
40c630:	81 e2 ff 00 00 00    	and    $0xff,%edx
40c636:	0f a3 15 3c 51 45 00 	bt     %edx,0x45513c
40c63d:	73 0f                	jae    0x40c64e
40c63f:	8b c3                	mov    %ebx,%eax
40c641:	e8 ea 83 ff ff       	call   0x404a30
40c646:	03 c6                	add    %esi,%eax
40c648:	48                   	dec    %eax
40c649:	e8 96 ff ff ff       	call   0x40c5e4
40c64e:	5e                   	pop    %esi
40c64f:	5b                   	pop    %ebx
40c650:	c3                   	ret
40c651:	8d 40 00             	lea    0x0(%eax),%eax
40c654:	53                   	push   %ebx
40c655:	56                   	push   %esi
40c656:	8b da                	mov    %edx,%ebx
40c658:	8b f0                	mov    %eax,%esi
40c65a:	8d 43 01             	lea    0x1(%ebx),%eax
40c65d:	80 3d 50 17 46 00 00 	cmpb   $0x0,0x461750
40c664:	74 24                	je     0x40c68a
40c666:	8a 54 1e ff          	mov    -0x1(%esi,%ebx,1),%dl
40c66a:	81 e2 ff 00 00 00    	and    $0xff,%edx
40c670:	0f a3 15 3c 51 45 00 	bt     %edx,0x45513c
40c677:	73 11                	jae    0x40c68a
40c679:	8b c6                	mov    %esi,%eax
40c67b:	e8 b0 83 ff ff       	call   0x404a30
40c680:	03 c3                	add    %ebx,%eax
40c682:	48                   	dec    %eax
40c683:	e8 5c ff ff ff       	call   0x40c5e4
40c688:	03 c3                	add    %ebx,%eax
40c68a:	5e                   	pop    %esi
40c68b:	5b                   	pop    %ebx
40c68c:	c3                   	ret
40c68d:	8d 40 00             	lea    0x0(%eax),%eax
40c690:	53                   	push   %ebx
40c691:	56                   	push   %esi
40c692:	57                   	push   %edi
40c693:	55                   	push   %ebp
40c694:	51                   	push   %ecx
40c695:	8b da                	mov    %edx,%ebx
40c697:	8b e8                	mov    %eax,%ebp
40c699:	33 f6                	xor    %esi,%esi
40c69b:	8b c5                	mov    %ebp,%eax
40c69d:	e8 8e 83 ff ff       	call   0x404a30
40c6a2:	50                   	push   %eax
40c6a3:	8b c3                	mov    %ebx,%eax
40c6a5:	e8 86 83 ff ff       	call   0x404a30
40c6aa:	8b f8                	mov    %eax,%edi
40c6ac:	8b c7                	mov    %edi,%eax
40c6ae:	5a                   	pop    %edx
40c6af:	e8 18 00 00 00       	call   0x40c6cc
40c6b4:	89 04 24             	mov    %eax,(%esp)
40c6b7:	83 3c 24 00          	cmpl   $0x0,(%esp)
40c6bb:	74 06                	je     0x40c6c3
40c6bd:	8b 34 24             	mov    (%esp),%esi
40c6c0:	2b f7                	sub    %edi,%esi
40c6c2:	46                   	inc    %esi
40c6c3:	8b c6                	mov    %esi,%eax
40c6c5:	5a                   	pop    %edx
40c6c6:	5d                   	pop    %ebp
40c6c7:	5f                   	pop    %edi
40c6c8:	5e                   	pop    %esi
40c6c9:	5b                   	pop    %ebx
40c6ca:	c3                   	ret
40c6cb:	90                   	nop
40c6cc:	53                   	push   %ebx
40c6cd:	56                   	push   %esi
40c6ce:	57                   	push   %edi
40c6cf:	55                   	push   %ebp
40c6d0:	83 c4 f8             	add    $0xfffffff8,%esp
40c6d3:	8b fa                	mov    %edx,%edi
40c6d5:	8b e8                	mov    %eax,%ebp
40c6d7:	33 c0                	xor    %eax,%eax
40c6d9:	89 04 24             	mov    %eax,(%esp)
40c6dc:	85 ed                	test   %ebp,%ebp
40c6de:	0f 84 9b 00 00 00    	je     0x40c77f
40c6e4:	80 7d 00 00          	cmpb   $0x0,0x0(%ebp)
40c6e8:	0f 84 91 00 00 00    	je     0x40c77f
40c6ee:	85 ff                	test   %edi,%edi
40c6f0:	0f 84 89 00 00 00    	je     0x40c77f
40c6f6:	80 3f 00             	cmpb   $0x0,(%edi)
40c6f9:	0f 84 80 00 00 00    	je     0x40c77f
40c6ff:	8b c5                	mov    %ebp,%eax
40c701:	e8 32 c3 ff ff       	call   0x408a38
40c706:	89 44 24 04          	mov    %eax,0x4(%esp)
40c70a:	8b c7                	mov    %edi,%eax
40c70c:	e8 27 c3 ff ff       	call   0x408a38
40c711:	8b f0                	mov    %eax,%esi
40c713:	8b d7                	mov    %edi,%edx
40c715:	8b c5                	mov    %ebp,%eax
40c717:	e8 d0 c4 ff ff       	call   0x408bec
40c71c:	89 04 24             	mov    %eax,(%esp)
40c71f:	eb 44                	jmp    0x40c765
40c721:	8b 14 24             	mov    (%esp),%edx
40c724:	2b d5                	sub    %ebp,%edx
40c726:	8b c5                	mov    %ebp,%eax
40c728:	e8 c7 fc ff ff       	call   0x40c3f4
40c72d:	8b d8                	mov    %eax,%ebx
40c72f:	80 fb 02             	cmp    $0x2,%bl
40c732:	74 19                	je     0x40c74d
40c734:	56                   	push   %esi
40c735:	57                   	push   %edi
40c736:	56                   	push   %esi
40c737:	8b 44 24 0c          	mov    0xc(%esp),%eax
40c73b:	50                   	push   %eax
40c73c:	6a 00                	push   $0x0
40c73e:	68 00 04 00 00       	push   $0x400
40c743:	e8 b4 9e ff ff       	call   0x4065fc
40c748:	83 f8 02             	cmp    $0x2,%eax
40c74b:	74 32                	je     0x40c77f
40c74d:	80 fb 01             	cmp    $0x1,%bl
40c750:	75 03                	jne    0x40c755
40c752:	ff 04 24             	incl   (%esp)
40c755:	ff 04 24             	incl   (%esp)
40c758:	8b d7                	mov    %edi,%edx
40c75a:	8b 04 24             	mov    (%esp),%eax
40c75d:	e8 8a c4 ff ff       	call   0x408bec
40c762:	89 04 24             	mov    %eax,(%esp)
40c765:	83 3c 24 00          	cmpl   $0x0,(%esp)
40c769:	74 0f                	je     0x40c77a
40c76b:	8b 04 24             	mov    (%esp),%eax
40c76e:	2b c5                	sub    %ebp,%eax
40c770:	8b 54 24 04          	mov    0x4(%esp),%edx
40c774:	2b d0                	sub    %eax,%edx
40c776:	3b f2                	cmp    %edx,%esi
40c778:	76 a7                	jbe    0x40c721
40c77a:	33 c0                	xor    %eax,%eax
40c77c:	89 04 24             	mov    %eax,(%esp)
40c77f:	8b 04 24             	mov    (%esp),%eax
40c782:	59                   	pop    %ecx
40c783:	5a                   	pop    %edx
40c784:	5d                   	pop    %ebp
40c785:	5f                   	pop    %edi
40c786:	5e                   	pop    %esi
40c787:	5b                   	pop    %ebx
40c788:	c3                   	ret
40c789:	8d 40 00             	lea    0x0(%eax),%eax
40c78c:	53                   	push   %ebx
40c78d:	56                   	push   %esi
40c78e:	83 c4 f8             	add    $0xfffffff8,%esp
40c791:	8b da                	mov    %edx,%ebx
40c793:	89 04 24             	mov    %eax,(%esp)
40c796:	8b f4                	mov    %esp,%esi
40c798:	8b d3                	mov    %ebx,%edx
40c79a:	8b 06                	mov    (%esi),%eax
40c79c:	e8 33 00 00 00       	call   0x40c7d4
40c7a1:	89 06                	mov    %eax,(%esi)
40c7a3:	8b 06                	mov    (%esi),%eax
40c7a5:	89 44 24 04          	mov    %eax,0x4(%esp)
40c7a9:	84 db                	test   %bl,%bl
40c7ab:	74 1d                	je     0x40c7ca
40c7ad:	83 3e 00             	cmpl   $0x0,(%esi)
40c7b0:	74 18                	je     0x40c7ca
40c7b2:	8b 06                	mov    (%esi),%eax
40c7b4:	89 44 24 04          	mov    %eax,0x4(%esp)
40c7b8:	ff 06                	incl   (%esi)