40ce76:	8b c3                	mov    %ebx,%eax
40ce78:	e8 a7 75 ff ff       	call   0x404424
40ce7d:	3b f0                	cmp    %eax,%esi
40ce7f:	7e 09                	jle    0x40ce8a
40ce81:	8b c3                	mov    %ebx,%eax
40ce83:	e8 9c 75 ff ff       	call   0x404424
40ce88:	8b f0                	mov    %eax,%esi
40ce8a:	8b d6                	mov    %esi,%edx
40ce8c:	8b c3                	mov    %ebx,%eax
40ce8e:	e8 05 00 00 00       	call   0x40ce98
40ce93:	5e                   	pop    %esi
40ce94:	5b                   	pop    %ebx
40ce95:	c3                   	ret
40ce96:	8b c0                	mov    %eax,%eax
40ce98:	53                   	push   %ebx
40ce99:	56                   	push   %esi
40ce9a:	57                   	push   %edi
40ce9b:	8b f2                	mov    %edx,%esi
40ce9d:	8b d8                	mov    %eax,%ebx
40ce9f:	33 ff                	xor    %edi,%edi
40cea1:	85 f6                	test   %esi,%esi
40cea3:	7e 45                	jle    0x40ceea
40cea5:	8b c3                	mov    %ebx,%eax
40cea7:	e8 78 75 ff ff       	call   0x404424
40ceac:	3b f0                	cmp    %eax,%esi
40ceae:	7f 3a                	jg     0x40ceea
40ceb0:	8b fe                	mov    %esi,%edi
40ceb2:	80 3d 50 c7 49 00 00 	cmpb   $0x0,0x49c750
40ceb9:	74 2f                	je     0x40ceea
40cebb:	b8 01 00 00 00       	mov    $0x1,%eax
40cec0:	33 ff                	xor    %edi,%edi
40cec2:	3b f0                	cmp    %eax,%esi
40cec4:	7c 24                	jl     0x40ceea
40cec6:	8a 54 03 ff          	mov    -0x1(%ebx,%eax,1),%dl
40ceca:	81 e2 ff 00 00 00    	and    $0xff,%edx
40ced0:	0f a3 15 0c d1 48 00 	bt     %edx,0x48d10c
40ced7:	73 0b                	jae    0x40cee4
40ced9:	8b d0                	mov    %eax,%edx
40cedb:	8b c3                	mov    %ebx,%eax
40cedd:	e8 c6 01 00 00       	call   0x40d0a8
40cee2:	eb 01                	jmp    0x40cee5
40cee4:	40                   	inc    %eax
40cee5:	47                   	inc    %edi
40cee6:	3b f0                	cmp    %eax,%esi
40cee8:	7d dc                	jge    0x40cec6
40ceea:	8b c7                	mov    %edi,%eax
40ceec:	5f                   	pop    %edi
40ceed:	5e                   	pop    %esi
40ceee:	5b                   	pop    %ebx
40ceef:	c3                   	ret
40cef0:	55                   	push   %ebp
40cef1:	8b ec                	mov    %esp,%ebp
40cef3:	83 c4 f4             	add    $0xfffffff4,%esp
40cef6:	53                   	push   %ebx
40cef7:	56                   	push   %esi
40cef8:	57                   	push   %edi
40cef9:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40cefc:	89 55 fc             	mov    %edx,-0x4(%ebp)
40ceff:	8b f8                	mov    %eax,%edi
40cf01:	8b c7                	mov    %edi,%eax
40cf03:	e8 1c 75 ff ff       	call   0x404424
40cf08:	89 45 f4             	mov    %eax,-0xc(%ebp)
40cf0b:	be 01 00 00 00       	mov    $0x1,%esi
40cf10:	bb 01 00 00 00       	mov    $0x1,%ebx
40cf15:	eb 21                	jmp    0x40cf38
40cf17:	46                   	inc    %esi
40cf18:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40cf1c:	25 ff 00 00 00       	and    $0xff,%eax
40cf21:	0f a3 05 0c d1 48 00 	bt     %eax,0x48d10c
40cf28:	73 0d                	jae    0x40cf37
40cf2a:	8b d3                	mov    %ebx,%edx
40cf2c:	8b c7                	mov    %edi,%eax
40cf2e:	e8 75 01 00 00       	call   0x40d0a8
40cf33:	8b d8                	mov    %eax,%ebx
40cf35:	eb 01                	jmp    0x40cf38
40cf37:	43                   	inc    %ebx
40cf38:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
40cf3b:	7d 05                	jge    0x40cf42
40cf3d:	3b 75 fc             	cmp    -0x4(%ebp),%esi
40cf40:	7c d5                	jl     0x40cf17
40cf42:	3b 75 fc             	cmp    -0x4(%ebp),%esi
40cf45:	75 23                	jne    0x40cf6a
40cf47:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
40cf4a:	7d 1e                	jge    0x40cf6a
40cf4c:	8a 44 1f ff          	mov    -0x1(%edi,%ebx,1),%al
40cf50:	25 ff 00 00 00       	and    $0xff,%eax
40cf55:	0f a3 05 0c d1 48 00 	bt     %eax,0x48d10c
40cf5c:	73 0c                	jae    0x40cf6a
40cf5e:	8b d3                	mov    %ebx,%edx
40cf60:	8b c7                	mov    %edi,%eax
40cf62:	e8 41 01 00 00       	call   0x40d0a8
40cf67:	48                   	dec    %eax
40cf68:	8b d8                	mov    %eax,%ebx
40cf6a:	8b 45 f8             	mov    -0x8(%ebp),%eax
40cf6d:	89 30                	mov    %esi,(%eax)
40cf6f:	8b 45 08             	mov    0x8(%ebp),%eax
40cf72:	89 18                	mov    %ebx,(%eax)
40cf74:	5f                   	pop    %edi
40cf75:	5e                   	pop    %esi
40cf76:	5b                   	pop    %ebx
40cf77:	8b e5                	mov    %ebp,%esp
40cf79:	5d                   	pop    %ebp
40cf7a:	c2 04 00             	ret    $0x4
40cf7d:	8d 40 00             	lea    0x0(%eax),%eax
40cf80:	53                   	push   %ebx
40cf81:	56                   	push   %esi
40cf82:	83 c4 f8             	add    $0xfffffff8,%esp
40cf85:	8b da                	mov    %edx,%ebx
40cf87:	8b f0                	mov    %eax,%esi
40cf89:	33 c0                	xor    %eax,%eax
40cf8b:	89 04 24             	mov    %eax,(%esp)
40cf8e:	85 db                	test   %ebx,%ebx
40cf90:	7e 4a                	jle    0x40cfdc
40cf92:	8b c6                	mov    %esi,%eax
40cf94:	e8 8b 74 ff ff       	call   0x404424
40cf99:	3b d8                	cmp    %eax,%ebx
40cf9b:	7f 3f                	jg     0x40cfdc
40cf9d:	83 fb 01             	cmp    $0x1,%ebx
40cfa0:	7e 37                	jle    0x40cfd9
40cfa2:	80 3d 50 c7 49 00 00 	cmpb   $0x0,0x49c750
40cfa9:	74 2e                	je     0x40cfd9
40cfab:	54                   	push   %esp
40cfac:	8d 4c 24 08          	lea    0x8(%esp),%ecx
40cfb0:	8b d3                	mov    %ebx,%edx
40cfb2:	4a                   	dec    %edx
40cfb3:	8b c6                	mov    %esi,%eax
40cfb5:	e8 36 ff ff ff       	call   0x40cef0
40cfba:	4b                   	dec    %ebx
40cfbb:	3b 5c 24 04          	cmp    0x4(%esp),%ebx
40cfbf:	7f 0c                	jg     0x40cfcd
40cfc1:	8b c6                	mov    %esi,%eax
40cfc3:	e8 5c 74 ff ff       	call   0x404424
40cfc8:	3b 04 24             	cmp    (%esp),%eax
40cfcb:	7f 07                	jg     0x40cfd4
40cfcd:	33 c0                	xor    %eax,%eax
40cfcf:	89 04 24             	mov    %eax,(%esp)
40cfd2:	eb 08                	jmp    0x40cfdc
40cfd4:	ff 04 24             	incl   (%esp)
40cfd7:	eb 03                	jmp    0x40cfdc
40cfd9:	89 1c 24             	mov    %ebx,(%esp)
40cfdc:	8b 04 24             	mov    (%esp),%eax
40cfdf:	59                   	pop    %ecx
40cfe0:	5a                   	pop    %edx
40cfe1:	5e                   	pop    %esi
40cfe2:	5b                   	pop    %ebx
40cfe3:	c3                   	ret
40cfe4:	53                   	push   %ebx
40cfe5:	56                   	push   %esi
40cfe6:	83 c4 f8             	add    $0xfffffff8,%esp
40cfe9:	8b da                	mov    %edx,%ebx
40cfeb:	8b f0                	mov    %eax,%esi
40cfed:	33 c0                	xor    %eax,%eax
40cfef:	89 04 24             	mov    %eax,(%esp)
40cff2:	85 db                	test   %ebx,%ebx
40cff4:	7e 46                	jle    0x40d03c
40cff6:	8b c6                	mov    %esi,%eax
40cff8:	e8 27 74 ff ff       	call   0x404424
40cffd:	3b d8                	cmp    %eax,%ebx
40cfff:	7e 09                	jle    0x40d00a
40d001:	8b c6                	mov    %esi,%eax
40d003:	e8 1c 74 ff ff       	call   0x404424
40d008:	8b d8                	mov    %eax,%ebx
40d00a:	80 3d 50 c7 49 00 00 	cmpb   $0x0,0x49c750
40d011:	74 26                	je     0x40d039
40d013:	54                   	push   %esp
40d014:	8d 4c 24 08          	lea    0x8(%esp),%ecx
40d018:	8b d3                	mov    %ebx,%edx
40d01a:	8b c6                	mov    %esi,%eax
40d01c:	e8 cf fe ff ff       	call   0x40cef0
40d021:	8b c6                	mov    %esi,%eax
40d023:	e8 fc 73 ff ff       	call   0x404424
40d028:	3b 04 24             	cmp    (%esp),%eax
40d02b:	7d 0f                	jge    0x40d03c
40d02d:	8b c6                	mov    %esi,%eax
40d02f:	e8 f0 73 ff ff       	call   0x404424
40d034:	89 04 24             	mov    %eax,(%esp)
40d037:	eb 03                	jmp    0x40d03c
40d039:	89 1c 24             	mov    %ebx,(%esp)
40d03c:	8b 04 24             	mov    (%esp),%eax
40d03f:	59                   	pop    %ecx
40d040:	5a                   	pop    %edx
40d041:	5e                   	pop    %esi
40d042:	5b                   	pop    %ebx
40d043:	c3                   	ret
40d044:	53                   	push   %ebx
40d045:	8b d8                	mov    %eax,%ebx
40d047:	80 3d 50 c7 49 00 00 	cmpb   $0x0,0x49c750
40d04e:	74 0a                	je     0x40d05a
40d050:	53                   	push   %ebx
40d051:	e8 22 9b ff ff       	call   0x406b78
40d056:	2b c3                	sub    %ebx,%eax
40d058:	5b                   	pop    %ebx
40d059:	c3                   	ret
40d05a:	b8 01 00 00 00       	mov    $0x1,%eax
40d05f:	5b                   	pop    %ebx
40d060:	c3                   	ret
40d061:	8d 40 00             	lea    0x0(%eax),%eax
40d064:	50                   	push   %eax
40d065:	e8 0e 9b ff ff       	call   0x406b78
40d06a:	c3                   	ret
40d06b:	90                   	nop
40d06c:	53                   	push   %ebx
40d06d:	56                   	push   %esi
40d06e:	8b f2                	mov    %edx,%esi
40d070:	8b d8                	mov    %eax,%ebx
40d072:	b8 01 00 00 00       	mov    $0x1,%eax
40d077:	80 3d 50 c7 49 00 00 	cmpb   $0x0,0x49c750
40d07e:	74 22                	je     0x40d0a2
40d080:	8a 54 33 ff          	mov    -0x1(%ebx,%esi,1),%dl
40d084:	81 e2 ff 00 00 00    	and    $0xff,%edx
40d08a:	0f a3 15 0c d1 48 00 	bt     %edx,0x48d10c
40d091:	73 0f                	jae    0x40d0a2
40d093:	8b c3                	mov    %ebx,%eax
40d095:	e8 8a 75 ff ff       	call   0x404624
40d09a:	03 c6                	add    %esi,%eax
40d09c:	48                   	dec    %eax
40d09d:	e8 a2 ff ff ff       	call   0x40d044
40d0a2:	5e                   	pop    %esi
40d0a3:	5b                   	pop    %ebx
40d0a4:	c3                   	ret
40d0a5:	8d 40 00             	lea    0x0(%eax),%eax
40d0a8:	53                   	push   %ebx
40d0a9:	56                   	push   %esi
40d0aa:	8b da                	mov    %edx,%ebx
40d0ac:	8b f0                	mov    %eax,%esi
40d0ae:	8d 43 01             	lea    0x1(%ebx),%eax
40d0b1:	80 3d 50 c7 49 00 00 	cmpb   $0x0,0x49c750
40d0b8:	74 24                	je     0x40d0de
40d0ba:	8a 54 1e ff          	mov    -0x1(%esi,%ebx,1),%dl
40d0be:	81 e2 ff 00 00 00    	and    $0xff,%edx
40d0c4:	0f a3 15 0c d1 48 00 	bt     %edx,0x48d10c
40d0cb:	73 11                	jae    0x40d0de
40d0cd:	8b c6                	mov    %esi,%eax
40d0cf:	e8 50 75 ff ff       	call   0x404624
40d0d4:	03 c3                	add    %ebx,%eax
40d0d6:	48                   	dec    %eax
40d0d7:	e8 68 ff ff ff       	call   0x40d044
40d0dc:	03 c3                	add    %ebx,%eax
40d0de:	5e                   	pop    %esi
40d0df:	5b                   	pop    %ebx
40d0e0:	c3                   	ret
40d0e1:	8d 40 00             	lea    0x0(%eax),%eax
40d0e4:	53                   	push   %ebx
40d0e5:	56                   	push   %esi
40d0e6:	8b da                	mov    %edx,%ebx
40d0e8:	8b f0                	mov    %eax,%esi
40d0ea:	85 db                	test   %ebx,%ebx
40d0ec:	7e 1f                	jle    0x40d10d
40d0ee:	8b c6                	mov    %esi,%eax
40d0f0:	e8 2f 73 ff ff       	call   0x404424
40d0f5:	3b d8                	cmp    %eax,%ebx
40d0f7:	7f 14                	jg     0x40d10d
40d0f9:	80 7c 1e ff 5c       	cmpb   $0x5c,-0x1(%esi,%ebx,1)
40d0fe:	75 0d                	jne    0x40d10d
40d100:	8b d3                	mov    %ebx,%edx
40d102:	8b c6                	mov    %esi,%eax
40d104:	e8 2b fd ff ff       	call   0x40ce34
40d109:	84 c0                	test   %al,%al
40d10b:	74 05                	je     0x40d112
40d10d:	33 c0                	xor    %eax,%eax
40d10f:	5e                   	pop    %esi
40d110:	5b                   	pop    %ebx
40d111:	c3                   	ret
40d112:	b0 01                	mov    $0x1,%al
40d114:	5e                   	pop    %esi
40d115:	5b                   	pop    %ebx
40d116:	c3                   	ret
40d117:	90                   	nop
40d118:	53                   	push   %ebx
40d119:	56                   	push   %esi
40d11a:	57                   	push   %edi
40d11b:	55                   	push   %ebp
40d11c:	8b f9                	mov    %ecx,%edi
40d11e:	8b f2                	mov    %edx,%esi
40d120:	8b e8                	mov    %eax,%ebp
40d122:	33 db                	xor    %ebx,%ebx
40d124:	85 ff                	test   %edi,%edi
40d126:	7e 2d                	jle    0x40d155
40d128:	8b c6                	mov    %esi,%eax
40d12a:	e8 f5 72 ff ff       	call   0x404424
40d12f:	3b f8                	cmp    %eax,%edi
40d131:	7f 22                	jg     0x40d155
40d133:	8b d7                	mov    %edi,%edx
40d135:	8b c6                	mov    %esi,%eax
40d137:	e8 f8 fc ff ff       	call   0x40ce34
40d13c:	84 c0                	test   %al,%al
40d13e:	75 15                	jne    0x40d155
40d140:	8b c5                	mov    %ebp,%eax
40d142:	e8 dd 74 ff ff       	call   0x404624
40d147:	8a 54 3e ff          	mov    -0x1(%esi,%edi,1),%dl
40d14b:	e8 6c be ff ff       	call   0x408fbc
40d150:	85 c0                	test   %eax,%eax
40d152:	0f 95 c3             	setne  %bl
40d155:	8b c3                	mov    %ebx,%eax
40d157:	5d                   	pop    %ebp
40d158:	5f                   	pop    %edi
40d159:	5e                   	pop    %esi
40d15a:	5b                   	pop    %ebx
40d15b:	c3                   	ret
40d15c:	53                   	push   %ebx
40d15d:	56                   	push   %esi
40d15e:	57                   	push   %edi
40d15f:	55                   	push   %ebp
40d160:	8b f2                	mov    %edx,%esi
40d162:	8b d8                	mov    %eax,%ebx
40d164:	33 ff                	xor    %edi,%edi
40d166:	8b c3                	mov    %ebx,%eax
40d168:	e8 b7 74 ff ff       	call   0x404624
40d16d:	50                   	push   %eax
40d16e:	8b c6                	mov    %esi,%eax
40d170:	e8 af 74 ff ff       	call   0x404624
40d175:	8b e8                	mov    %eax,%ebp
40d177:	8b c5                	mov    %ebp,%eax
40d179:	5a                   	pop    %edx
40d17a:	e8 a1 00 00 00       	call   0x40d220
40d17f:	8b d8                	mov    %eax,%ebx
40d181:	85 db                	test   %ebx,%ebx
40d183:	74 05                	je     0x40d18a
40d185:	8b fb                	mov    %ebx,%edi
40d187:	2b fd                	sub    %ebp,%edi
40d189:	47                   	inc    %edi
40d18a:	8b c7                	mov    %edi,%eax
40d18c:	5d                   	pop    %ebp
40d18d:	5f                   	pop    %edi
40d18e:	5e                   	pop    %esi
40d18f:	5b                   	pop    %ebx
40d190:	c3                   	ret
40d191:	8d 40 00             	lea    0x0(%eax),%eax
40d194:	53                   	push   %ebx
40d195:	56                   	push   %esi
40d196:	57                   	push   %edi
40d197:	55                   	push   %ebp
40d198:	8b fa                	mov    %edx,%edi
40d19a:	8b f0                	mov    %eax,%esi
40d19c:	80 3d 50 c7 49 00 00 	cmpb   $0x0,0x49c750
40d1a3:	74 6d                	je     0x40d212
40d1a5:	8b c6                	mov    %esi,%eax
40d1a7:	e8 78 72 ff ff       	call   0x404424
40d1ac:	8b e8                	mov    %eax,%ebp
40d1ae:	8b c7                	mov    %edi,%eax
40d1b0:	8b d5                	mov    %ebp,%edx
40d1b2:	e8 f9 75 ff ff       	call   0x4047b0
40d1b7:	bb 01 00 00 00       	mov    $0x1,%ebx
40d1bc:	3b eb                	cmp    %ebx,%ebp
40d1be:	7c 5b                	jl     0x40d21b
40d1c0:	8b c7                	mov    %edi,%eax
40d1c2:	e8 b5 74 ff ff       	call   0x40467c
40d1c7:	8a 54 1e ff          	mov    -0x1(%esi,%ebx,1),%dl
40d1cb:	88 54 18 ff          	mov    %dl,-0x1(%eax,%ebx,1)
40d1cf:	8a 44 1e ff          	mov    -0x1(%esi,%ebx,1),%al