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)
40c7ba:	8b d3                	mov    %ebx,%edx
40c7bc:	8b 06                	mov    (%esi),%eax
40c7be:	e8 11 00 00 00       	call   0x40c7d4
40c7c3:	89 06                	mov    %eax,(%esi)
40c7c5:	83 3e 00             	cmpl   $0x0,(%esi)
40c7c8:	75 e8                	jne    0x40c7b2
40c7ca:	8b 44 24 04          	mov    0x4(%esp),%eax
40c7ce:	59                   	pop    %ecx
40c7cf:	5a                   	pop    %edx
40c7d0:	5e                   	pop    %esi
40c7d1:	5b                   	pop    %ebx
40c7d2:	c3                   	ret
40c7d3:	90                   	nop
40c7d4:	53                   	push   %ebx
40c7d5:	56                   	push   %esi
40c7d6:	57                   	push   %edi
40c7d7:	51                   	push   %ecx
40c7d8:	8b da                	mov    %edx,%ebx
40c7da:	8b f0                	mov    %eax,%esi
40c7dc:	8b fc                	mov    %esp,%edi
40c7de:	8b d3                	mov    %ebx,%edx
40c7e0:	8b c6                	mov    %esi,%eax
40c7e2:	e8 e5 c3 ff ff       	call   0x408bcc
40c7e7:	89 07                	mov    %eax,(%edi)
40c7e9:	83 3f 00             	cmpl   $0x0,(%edi)
40c7ec:	74 27                	je     0x40c815
40c7ee:	8b 17                	mov    (%edi),%edx
40c7f0:	2b d6                	sub    %esi,%edx
40c7f2:	8b c6                	mov    %esi,%eax
40c7f4:	e8 fb fb ff ff       	call   0x40c3f4
40c7f9:	2c 01                	sub    $0x1,%al
40c7fb:	72 18                	jb     0x40c815
40c7fd:	74 02                	je     0x40c801
40c7ff:	eb 02                	jmp    0x40c803
40c801:	ff 07                	incl   (%edi)
40c803:	ff 07                	incl   (%edi)
40c805:	8b d3                	mov    %ebx,%edx
40c807:	8b 07                	mov    (%edi),%eax
40c809:	e8 be c3 ff ff       	call   0x408bcc
40c80e:	89 07                	mov    %eax,(%edi)
40c810:	83 3f 00             	cmpl   $0x0,(%edi)
40c813:	75 d9                	jne    0x40c7ee
40c815:	8b 07                	mov    (%edi),%eax
40c817:	5a                   	pop    %edx
40c818:	5f                   	pop    %edi
40c819:	5e                   	pop    %esi
40c81a:	5b                   	pop    %ebx
40c81b:	c3                   	ret
40c81c:	55                   	push   %ebp
40c81d:	8b ec                	mov    %esp,%ebp
40c81f:	83 c4 f4             	add    $0xfffffff4,%esp
40c822:	53                   	push   %ebx
40c823:	33 d2                	xor    %edx,%edx
40c825:	89 55 f4             	mov    %edx,-0xc(%ebp)
40c828:	33 d2                	xor    %edx,%edx
40c82a:	55                   	push   %ebp
40c82b:	68 80 c8 40 00       	push   $0x40c880
40c830:	64 ff 32             	push   %fs:(%edx)
40c833:	64 89 22             	mov    %esp,%fs:(%edx)
40c836:	6a 07                	push   $0x7
40c838:	8d 55 f9             	lea    -0x7(%ebp),%edx
40c83b:	52                   	push   %edx
40c83c:	68 04 10 00 00       	push   $0x1004
40c841:	50                   	push   %eax
40c842:	e8 65 9e ff ff       	call   0x4066ac
40c847:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c84a:	8d 55 f9             	lea    -0x7(%ebp),%edx
40c84d:	b9 07 00 00 00       	mov    $0x7,%ecx
40c852:	e8 89 7f ff ff       	call   0x4047e0
40c857:	8b 45 f4             	mov    -0xc(%ebp),%eax
40c85a:	50                   	push   %eax
40c85b:	e8 04 9e ff ff       	call   0x406664
40c860:	8b d0                	mov    %eax,%edx
40c862:	58                   	pop    %eax
40c863:	e8 4c bd ff ff       	call   0x4085b4
40c868:	8b d8                	mov    %eax,%ebx
40c86a:	33 c0                	xor    %eax,%eax
40c86c:	5a                   	pop    %edx
40c86d:	59                   	pop    %ecx
40c86e:	59                   	pop    %ecx
40c86f:	64 89 10             	mov    %edx,%fs:(%eax)
40c872:	68 87 c8 40 00       	push   $0x40c887
40c877:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c87a:	e8 f1 7c ff ff       	call   0x404570
40c87f:	c3                   	ret
40c880:	e9 c7 76 ff ff       	jmp    0x403f4c
40c885:	eb f0                	jmp    0x40c877
40c887:	8b c3                	mov    %ebx,%eax
40c889:	5b                   	pop    %ebx
40c88a:	8b e5                	mov    %ebp,%esp
40c88c:	5d                   	pop    %ebp
40c88d:	c3                   	ret
40c88e:	8b c0                	mov    %eax,%eax
40c890:	55                   	push   %ebp
40c891:	8b ec                	mov    %esp,%ebp
40c893:	51                   	push   %ecx
40c894:	53                   	push   %ebx
40c895:	56                   	push   %esi
40c896:	57                   	push   %edi
40c897:	8b 7d 08             	mov    0x8(%ebp),%edi
40c89a:	83 c7 ec             	add    $0xffffffec,%edi
40c89d:	57                   	push   %edi
40c89e:	a1 44 17 46 00       	mov    0x461744,%eax
40c8a3:	e8 74 ff ff ff       	call   0x40c81c
40c8a8:	50                   	push   %eax
40c8a9:	e8 be 9d ff ff       	call   0x40666c
40c8ae:	33 f6                	xor    %esi,%esi
40c8b0:	eb 29                	jmp    0x40c8db
40c8b2:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40c8b6:	8a 5c 37 07          	mov    0x7(%edi,%esi,1),%bl
40c8ba:	2a d8                	sub    %al,%bl
40c8bc:	72 1a                	jb     0x40c8d8
40c8be:	43                   	inc    %ebx
40c8bf:	88 45 ff             	mov    %al,-0x1(%ebp)
40c8c2:	8a 45 ff             	mov    -0x1(%ebp),%al
40c8c5:	25 ff 00 00 00       	and    $0xff,%eax
40c8ca:	0f ab 05 3c 51 45 00 	bts    %eax,0x45513c
40c8d1:	fe 45 ff             	incb   -0x1(%ebp)
40c8d4:	fe cb                	dec    %bl
40c8d6:	75 ea                	jne    0x40c8c2
40c8d8:	83 c6 02             	add    $0x2,%esi
40c8db:	83 fe 0c             	cmp    $0xc,%esi
40c8de:	7d 0a                	jge    0x40c8ea
40c8e0:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40c8e4:	0a 44 37 07          	or     0x7(%edi,%esi,1),%al
40c8e8:	75 c8                	jne    0x40c8b2
40c8ea:	5f                   	pop    %edi
40c8eb:	5e                   	pop    %esi
40c8ec:	5b                   	pop    %ebx
40c8ed:	59                   	pop    %ecx
40c8ee:	5d                   	pop    %ebp
40c8ef:	c3                   	ret
40c8f0:	a1 48 17 46 00       	mov    0x461748,%eax
40c8f5:	83 f8 1f             	cmp    $0x1f,%eax
40c8f8:	77 07                	ja     0x40c901
40c8fa:	0f a3 05 34 53 45 00 	bt     %eax,0x455334
40c901:	0f 92 c0             	setb   %al
40c904:	c3                   	ret
40c905:	8d 40 00             	lea    0x0(%eax),%eax
40c908:	55                   	push   %ebp
40c909:	8b ec                	mov    %esp,%ebp
40c90b:	81 c4 64 fe ff ff    	add    $0xfffffe64,%esp
40c911:	53                   	push   %ebx
40c912:	56                   	push   %esi
40c913:	57                   	push   %edi
40c914:	c7 05 44 17 46 00 09 	movl   $0x409,0x461744
40c91b:	04 00 00
40c91e:	c7 05 48 17 46 00 09 	movl   $0x9,0x461748
40c925:	00 00 00
40c928:	c7 05 4c 17 46 00 01 	movl   $0x1,0x46174c
40c92f:	00 00 00
40c932:	e8 ad 9d ff ff       	call   0x4066e4
40c937:	85 c0                	test   %eax,%eax
40c939:	74 05                	je     0x40c940
40c93b:	a3 44 17 46 00       	mov    %eax,0x461744
40c940:	66 85 c0             	test   %ax,%ax
40c943:	74 1b                	je     0x40c960
40c945:	8b d0                	mov    %eax,%edx
40c947:	66 81 e2 ff 03       	and    $0x3ff,%dx
40c94c:	0f b7 d2             	movzwl %dx,%edx
40c94f:	89 15 48 17 46 00    	mov    %edx,0x461748
40c955:	0f b7 c0             	movzwl %ax,%eax
40c958:	c1 e8 0a             	shr    $0xa,%eax
40c95b:	a3 4c 17 46 00       	mov    %eax,0x46174c
40c960:	be 60 ca 40 00       	mov    $0x40ca60,%esi
40c965:	bf 3c 51 45 00       	mov    $0x45513c,%edi
40c96a:	b9 08 00 00 00       	mov    $0x8,%ecx
40c96f:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
40c971:	83 3d f4 50 45 00 02 	cmpl   $0x2,0x4550f4
40c978:	0f 85 ad 00 00 00    	jne    0x40ca2b
40c97e:	e8 6d ff ff ff       	call   0x40c8f0
40c983:	84 c0                	test   %al,%al
40c985:	74 13                	je     0x40c99a
40c987:	c6 05 51 17 46 00 00 	movb   $0x0,0x461751
40c98e:	c6 05 50 17 46 00 00 	movb   $0x0,0x461750