40c784:	5b                   	pop    %ebx
40c785:	c3                   	ret
40c786:	b0 01                	mov    $0x1,%al
40c788:	5e                   	pop    %esi
40c789:	5b                   	pop    %ebx
40c78a:	c3                   	ret
40c78b:	90                   	nop
40c78c:	53                   	push   %ebx
40c78d:	56                   	push   %esi
40c78e:	57                   	push   %edi
40c78f:	55                   	push   %ebp
40c790:	8b f9                	mov    %ecx,%edi
40c792:	8b f2                	mov    %edx,%esi
40c794:	8b e8                	mov    %eax,%ebp
40c796:	33 db                	xor    %ebx,%ebx
40c798:	85 ff                	test   %edi,%edi
40c79a:	7e 2d                	jle    0x40c7c9
40c79c:	8b c6                	mov    %esi,%eax
40c79e:	e8 6d 7b ff ff       	call   0x404310
40c7a3:	3b f8                	cmp    %eax,%edi
40c7a5:	7f 22                	jg     0x40c7c9
40c7a7:	8b d7                	mov    %edi,%edx
40c7a9:	8b c6                	mov    %esi,%eax
40c7ab:	e8 f8 fc ff ff       	call   0x40c4a8
40c7b0:	84 c0                	test   %al,%al
40c7b2:	75 15                	jne    0x40c7c9
40c7b4:	8b c5                	mov    %ebp,%eax
40c7b6:	e8 55 7d ff ff       	call   0x404510
40c7bb:	8a 54 3e ff          	mov    -0x1(%esi,%edi,1),%dl
40c7bf:	e8 e0 c2 ff ff       	call   0x408aa4
40c7c4:	85 c0                	test   %eax,%eax
40c7c6:	0f 95 c3             	setne  %bl
40c7c9:	8b c3                	mov    %ebx,%eax
40c7cb:	5d                   	pop    %ebp
40c7cc:	5f                   	pop    %edi
40c7cd:	5e                   	pop    %esi
40c7ce:	5b                   	pop    %ebx
40c7cf:	c3                   	ret
40c7d0:	53                   	push   %ebx
40c7d1:	56                   	push   %esi
40c7d2:	57                   	push   %edi
40c7d3:	55                   	push   %ebp
40c7d4:	8b f2                	mov    %edx,%esi
40c7d6:	8b d8                	mov    %eax,%ebx
40c7d8:	33 ff                	xor    %edi,%edi
40c7da:	8b c3                	mov    %ebx,%eax
40c7dc:	e8 2f 7d ff ff       	call   0x404510
40c7e1:	50                   	push   %eax
40c7e2:	8b c6                	mov    %esi,%eax
40c7e4:	e8 27 7d ff ff       	call   0x404510
40c7e9:	8b e8                	mov    %eax,%ebp
40c7eb:	8b c5                	mov    %ebp,%eax
40c7ed:	5a                   	pop    %edx
40c7ee:	e8 a1 00 00 00       	call   0x40c894
40c7f3:	8b d8                	mov    %eax,%ebx
40c7f5:	85 db                	test   %ebx,%ebx
40c7f7:	74 05                	je     0x40c7fe
40c7f9:	8b fb                	mov    %ebx,%edi
40c7fb:	2b fd                	sub    %ebp,%edi
40c7fd:	47                   	inc    %edi
40c7fe:	8b c7                	mov    %edi,%eax
40c800:	5d                   	pop    %ebp
40c801:	5f                   	pop    %edi
40c802:	5e                   	pop    %esi
40c803:	5b                   	pop    %ebx
40c804:	c3                   	ret
40c805:	8d 40 00             	lea    0x0(%eax),%eax
40c808:	53                   	push   %ebx
40c809:	56                   	push   %esi
40c80a:	57                   	push   %edi
40c80b:	55                   	push   %ebp
40c80c:	8b fa                	mov    %edx,%edi
40c80e:	8b f0                	mov    %eax,%esi
40c810:	80 3d 4c 57 47 00 00 	cmpb   $0x0,0x47574c
40c817:	74 6d                	je     0x40c886
40c819:	8b c6                	mov    %esi,%eax
40c81b:	e8 f0 7a ff ff       	call   0x404310
40c820:	8b e8                	mov    %eax,%ebp
40c822:	8b c7                	mov    %edi,%eax
40c824:	8b d5                	mov    %ebp,%edx
40c826:	e8 71 7e ff ff       	call   0x40469c
40c82b:	bb 01 00 00 00       	mov    $0x1,%ebx
40c830:	3b eb                	cmp    %ebx,%ebp
40c832:	7c 5b                	jl     0x40c88f
40c834:	8b c7                	mov    %edi,%eax
40c836:	e8 2d 7d ff ff       	call   0x404568
40c83b:	8a 54 1e ff          	mov    -0x1(%esi,%ebx,1),%dl
40c83f:	88 54 18 ff          	mov    %dl,-0x1(%eax,%ebx,1)
40c843:	8a 44 1e ff          	mov    -0x1(%esi,%ebx,1),%al
40c847:	25 ff 00 00 00       	and    $0xff,%eax
40c84c:	0f a3 05 0c 91 46 00 	bt     %eax,0x46910c
40c853:	73 12                	jae    0x40c867
40c855:	43                   	inc    %ebx
40c856:	8b c7                	mov    %edi,%eax
40c858:	e8 0b 7d ff ff       	call   0x404568
40c85d:	8a 54 1e ff          	mov    -0x1(%esi,%ebx,1),%dl
40c861:	88 54 18 ff          	mov    %dl,-0x1(%eax,%ebx,1)
40c865:	eb 18                	jmp    0x40c87f
40c867:	8b 07                	mov    (%edi),%eax
40c869:	8a 44 18 ff          	mov    -0x1(%eax,%ebx,1),%al
40c86d:	04 bf                	add    $0xbf,%al
40c86f:	2c 1a                	sub    $0x1a,%al
40c871:	73 0c                	jae    0x40c87f
40c873:	8b c7                	mov    %edi,%eax
40c875:	e8 ee 7c ff ff       	call   0x404568
40c87a:	80 44 18 ff 20       	addb   $0x20,-0x1(%eax,%ebx,1)
40c87f:	43                   	inc    %ebx
40c880:	3b eb                	cmp    %ebx,%ebp
40c882:	7d b0                	jge    0x40c834
40c884:	eb 09                	jmp    0x40c88f
40c886:	8b d7                	mov    %edi,%edx
40c888:	8b c6                	mov    %esi,%eax
40c88a:	e8 09 b7 ff ff       	call   0x407f98
40c88f:	5d                   	pop    %ebp
40c890:	5f                   	pop    %edi
40c891:	5e                   	pop    %esi
40c892:	5b                   	pop    %ebx
40c893:	c3                   	ret
40c894:	53                   	push   %ebx
40c895:	56                   	push   %esi
40c896:	57                   	push   %edi
40c897:	55                   	push   %ebp
40c898:	83 c4 f8             	add    $0xfffffff8,%esp
40c89b:	8b ea                	mov    %edx,%ebp
40c89d:	8b f0                	mov    %eax,%esi
40c89f:	33 db                	xor    %ebx,%ebx
40c8a1:	85 f6                	test   %esi,%esi
40c8a3:	0f 84 81 00 00 00    	je     0x40c92a
40c8a9:	80 3e 00             	cmpb   $0x0,(%esi)
40c8ac:	74 7c                	je     0x40c92a
40c8ae:	85 ed                	test   %ebp,%ebp
40c8b0:	74 78                	je     0x40c92a
40c8b2:	80 7d 00 00          	cmpb   $0x0,0x0(%ebp)
40c8b6:	74 72                	je     0x40c92a
40c8b8:	8b c6                	mov    %esi,%eax
40c8ba:	e8 61 c0 ff ff       	call   0x408920
40c8bf:	89 04 24             	mov    %eax,(%esp)
40c8c2:	8b c5                	mov    %ebp,%eax
40c8c4:	e8 57 c0 ff ff       	call   0x408920
40c8c9:	8b f8                	mov    %eax,%edi
40c8cb:	8b d5                	mov    %ebp,%edx
40c8cd:	8b c6                	mov    %esi,%eax
40c8cf:	e8 e4 c1 ff ff       	call   0x408ab8
40c8d4:	8b d8                	mov    %eax,%ebx
40c8d6:	eb 3f                	jmp    0x40c917
40c8d8:	8b d3                	mov    %ebx,%edx
40c8da:	2b d6                	sub    %esi,%edx
40c8dc:	8b c6                	mov    %esi,%eax
40c8de:	e8 e9 fb ff ff       	call   0x40c4cc
40c8e3:	88 44 24 04          	mov    %al,0x4(%esp)
40c8e7:	80 7c 24 04 02       	cmpb   $0x2,0x4(%esp)
40c8ec:	74 15                	je     0x40c903
40c8ee:	57                   	push   %edi
40c8ef:	55                   	push   %ebp
40c8f0:	57                   	push   %edi
40c8f1:	53                   	push   %ebx
40c8f2:	6a 00                	push   $0x0
40c8f4:	68 00 04 00 00       	push   $0x400
40c8f9:	e8 7e 99 ff ff       	call   0x40627c
40c8fe:	83 f8 02             	cmp    $0x2,%eax
40c901:	74 27                	je     0x40c92a
40c903:	80 7c 24 04 01       	cmpb   $0x1,0x4(%esp)
40c908:	75 01                	jne    0x40c90b
40c90a:	43                   	inc    %ebx
40c90b:	43                   	inc    %ebx
40c90c:	8b d5                	mov    %ebp,%edx
40c90e:	8b c3                	mov    %ebx,%eax
40c910:	e8 a3 c1 ff ff       	call   0x408ab8
40c915:	8b d8                	mov    %eax,%ebx
40c917:	85 db                	test   %ebx,%ebx
40c919:	74 0d                	je     0x40c928
40c91b:	8b c3                	mov    %ebx,%eax
40c91d:	2b c6                	sub    %esi,%eax
40c91f:	8b 14 24             	mov    (%esp),%edx
40c922:	2b d0                	sub    %eax,%edx
40c924:	3b fa                	cmp    %edx,%edi
40c926:	76 b0                	jbe    0x40c8d8
40c928:	33 db                	xor    %ebx,%ebx
40c92a:	8b c3                	mov    %ebx,%eax
40c92c:	59                   	pop    %ecx
40c92d:	5a                   	pop    %edx
40c92e:	5d                   	pop    %ebp
40c92f:	5f                   	pop    %edi
40c930:	5e                   	pop    %esi
40c931:	5b                   	pop    %ebx
40c932:	c3                   	ret
40c933:	90                   	nop
40c934:	53                   	push   %ebx
40c935:	56                   	push   %esi
40c936:	8b da                	mov    %edx,%ebx
40c938:	8b d3                	mov    %ebx,%edx
40c93a:	e8 1d 00 00 00       	call   0x40c95c
40c93f:	8b f0                	mov    %eax,%esi
40c941:	84 db                	test   %bl,%bl
40c943:	74 12                	je     0x40c957
40c945:	85 c0                	test   %eax,%eax
40c947:	74 0e                	je     0x40c957
40c949:	8b f0                	mov    %eax,%esi
40c94b:	40                   	inc    %eax
40c94c:	8b d3                	mov    %ebx,%edx
40c94e:	e8 09 00 00 00       	call   0x40c95c
40c953:	85 c0                	test   %eax,%eax
40c955:	75 f2                	jne    0x40c949
40c957:	8b c6                	mov    %esi,%eax
40c959:	5e                   	pop    %esi
40c95a:	5b                   	pop    %ebx
40c95b:	c3                   	ret
40c95c:	53                   	push   %ebx
40c95d:	56                   	push   %esi
40c95e:	57                   	push   %edi
40c95f:	8b da                	mov    %edx,%ebx
40c961:	8b f0                	mov    %eax,%esi
40c963:	8b d3                	mov    %ebx,%edx
40c965:	8b c6                	mov    %esi,%eax
40c967:	e8 38 c1 ff ff       	call   0x408aa4
40c96c:	8b f8                	mov    %eax,%edi
40c96e:	85 ff                	test   %edi,%edi
40c970:	74 24                	je     0x40c996
40c972:	8b d7                	mov    %edi,%edx
40c974:	2b d6                	sub    %esi,%edx
40c976:	8b c6                	mov    %esi,%eax
40c978:	e8 4f fb ff ff       	call   0x40c4cc
40c97d:	2c 01                	sub    $0x1,%al
40c97f:	72 15                	jb     0x40c996
40c981:	74 02                	je     0x40c985
40c983:	eb 01                	jmp    0x40c986
40c985:	47                   	inc    %edi
40c986:	47                   	inc    %edi
40c987:	8b d3                	mov    %ebx,%edx
40c989:	8b c7                	mov    %edi,%eax
40c98b:	e8 14 c1 ff ff       	call   0x408aa4
40c990:	8b f8                	mov    %eax,%edi
40c992:	85 ff                	test   %edi,%edi
40c994:	75 dc                	jne    0x40c972
40c996:	8b c7                	mov    %edi,%eax
40c998:	5f                   	pop    %edi
40c999:	5e                   	pop    %esi
40c99a:	5b                   	pop    %ebx
40c99b:	c3                   	ret
40c99c:	55                   	push   %ebp
40c99d:	8b ec                	mov    %esp,%ebp
40c99f:	83 c4 f4             	add    $0xfffffff4,%esp
40c9a2:	53                   	push   %ebx
40c9a3:	33 d2                	xor    %edx,%edx
40c9a5:	89 55 f4             	mov    %edx,-0xc(%ebp)
40c9a8:	33 d2                	xor    %edx,%edx
40c9aa:	55                   	push   %ebp
40c9ab:	68 00 ca 40 00       	push   $0x40ca00
40c9b0:	64 ff 32             	push   %fs:(%edx)
40c9b3:	64 89 22             	mov    %esp,%fs:(%edx)
40c9b6:	6a 07                	push   $0x7
40c9b8:	8d 55 f9             	lea    -0x7(%ebp),%edx
40c9bb:	52                   	push   %edx
40c9bc:	68 04 10 00 00       	push   $0x1004
40c9c1:	50                   	push   %eax
40c9c2:	e8 8d 99 ff ff       	call   0x406354
40c9c7:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c9ca:	8d 55 f9             	lea    -0x7(%ebp),%edx
40c9cd:	b9 07 00 00 00       	mov    $0x7,%ecx
40c9d2:	e8 e9 78 ff ff       	call   0x4042c0
40c9d7:	8b 45 f4             	mov    -0xc(%ebp),%eax
40c9da:	50                   	push   %eax
40c9db:	e8 24 99 ff ff       	call   0x406304
40c9e0:	8b d0                	mov    %eax,%edx
40c9e2:	58                   	pop    %eax
40c9e3:	e8 04 b9 ff ff       	call   0x4082ec
40c9e8:	8b d8                	mov    %eax,%ebx
40c9ea:	33 c0                	xor    %eax,%eax
40c9ec:	5a                   	pop    %edx
40c9ed:	59                   	pop    %ecx
40c9ee:	59                   	pop    %ecx
40c9ef:	64 89 10             	mov    %edx,%fs:(%eax)
40c9f2:	68 07 ca 40 00       	push   $0x40ca07
40c9f7:	8d 45 f4             	lea    -0xc(%ebp),%eax
40c9fa:	e8 51 76 ff ff       	call   0x404050
40c9ff:	c3                   	ret
40ca00:	e9 4f 70 ff ff       	jmp    0x403a54
40ca05:	eb f0                	jmp    0x40c9f7
40ca07:	8b c3                	mov    %ebx,%eax
40ca09:	5b                   	pop    %ebx
40ca0a:	8b e5                	mov    %ebp,%esp
40ca0c:	5d                   	pop    %ebp
40ca0d:	c3                   	ret
40ca0e:	8b c0                	mov    %eax,%eax
40ca10:	55                   	push   %ebp
40ca11:	8b ec                	mov    %esp,%ebp
40ca13:	51                   	push   %ecx
40ca14:	53                   	push   %ebx
40ca15:	56                   	push   %esi
40ca16:	57                   	push   %edi
40ca17:	8b 7d 08             	mov    0x8(%ebp),%edi
40ca1a:	83 c7 ec             	add    $0xffffffec,%edi
40ca1d:	57                   	push   %edi
40ca1e:	a1 40 57 47 00       	mov    0x475740,%eax
40ca23:	e8 74 ff ff ff       	call   0x40c99c
40ca28:	50                   	push   %eax
40ca29:	e8 de 98 ff ff       	call   0x40630c
40ca2e:	33 f6                	xor    %esi,%esi
40ca30:	eb 29                	jmp    0x40ca5b
40ca32:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40ca36:	8a 5c 37 07          	mov    0x7(%edi,%esi,1),%bl
40ca3a:	2a d8                	sub    %al,%bl
40ca3c:	72 1a                	jb     0x40ca58
40ca3e:	43                   	inc    %ebx
40ca3f:	88 45 ff             	mov    %al,-0x1(%ebp)
40ca42:	8a 45 ff             	mov    -0x1(%ebp),%al
40ca45:	25 ff 00 00 00       	and    $0xff,%eax
40ca4a:	0f ab 05 0c 91 46 00 	bts    %eax,0x46910c
40ca51:	fe 45 ff             	incb   -0x1(%ebp)
40ca54:	fe cb                	dec    %bl
40ca56:	75 ea                	jne    0x40ca42
40ca58:	83 c6 02             	add    $0x2,%esi
40ca5b:	83 fe 0c             	cmp    $0xc,%esi
40ca5e:	7d 0a                	jge    0x40ca6a
40ca60:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40ca64:	0a 44 37 07          	or     0x7(%edi,%esi,1),%al
40ca68:	75 c8                	jne    0x40ca32
40ca6a:	5f                   	pop    %edi
40ca6b:	5e                   	pop    %esi
40ca6c:	5b                   	pop    %ebx
40ca6d:	59                   	pop    %ecx
40ca6e:	5d                   	pop    %ebp
40ca6f:	c3                   	ret
40ca70:	a1 44 57 47 00       	mov    0x475744,%eax
40ca75:	83 f8 1f             	cmp    $0x1f,%eax
40ca78:	77 07                	ja     0x40ca81
40ca7a:	0f a3 05 08 93 46 00 	bt     %eax,0x469308
40ca81:	0f 92 c0             	setb   %al
40ca84:	c3                   	ret
40ca85:	8d 40 00             	lea    0x0(%eax),%eax
40ca88:	55                   	push   %ebp
40ca89:	8b ec                	mov    %esp,%ebp
40ca8b:	81 c4 68 fe ff ff    	add    $0xfffffe68,%esp
40ca91:	53                   	push   %ebx
40ca92:	56                   	push   %esi
40ca93:	57                   	push   %edi
40ca94:	c7 05 40 57 47 00 09 	movl   $0x409,0x475740
40ca9b:	04 00 00
40ca9e:	c7 05 44 57 47 00 09 	movl   $0x9,0x475744
40caa5:	00 00 00
40caa8:	c7 05 48 57 47 00 01 	movl   $0x1,0x475748
40caaf:	00 00 00
40cab2:	e8 e5 98 ff ff       	call   0x40639c
40cab7:	85 c0                	test   %eax,%eax
40cab9:	74 05                	je     0x40cac0
40cabb:	a3 40 57 47 00       	mov    %eax,0x475740
40cac0:	66 85 c0             	test   %ax,%ax
40cac3:	74 1b                	je     0x40cae0
40cac5:	8b d0                	mov    %eax,%edx
40cac7:	66 81 e2 ff 03       	and    $0x3ff,%dx