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
40d1d3:	25 ff 00 00 00       	and    $0xff,%eax
40d1d8:	0f a3 05 0c d1 48 00 	bt     %eax,0x48d10c
40d1df:	73 12                	jae    0x40d1f3
40d1e1:	43                   	inc    %ebx
40d1e2:	8b c7                	mov    %edi,%eax
40d1e4:	e8 93 74 ff ff       	call   0x40467c
40d1e9:	8a 54 1e ff          	mov    -0x1(%esi,%ebx,1),%dl
40d1ed:	88 54 18 ff          	mov    %dl,-0x1(%eax,%ebx,1)
40d1f1:	eb 18                	jmp    0x40d20b
40d1f3:	8b 07                	mov    (%edi),%eax
40d1f5:	8a 44 18 ff          	mov    -0x1(%eax,%ebx,1),%al
40d1f9:	04 9f                	add    $0x9f,%al
40d1fb:	2c 1a                	sub    $0x1a,%al
40d1fd:	73 0c                	jae    0x40d20b
40d1ff:	8b c7                	mov    %edi,%eax
40d201:	e8 76 74 ff ff       	call   0x40467c
40d206:	80 6c 18 ff 20       	subb   $0x20,-0x1(%eax,%ebx,1)
40d20b:	43                   	inc    %ebx
40d20c:	3b eb                	cmp    %ebx,%ebp
40d20e:	7d b0                	jge    0x40d1c0
40d210:	eb 09                	jmp    0x40d21b
40d212:	8b d7                	mov    %edi,%edx
40d214:	8b c6                	mov    %esi,%eax
40d216:	e8 b5 b2 ff ff       	call   0x4084d0
40d21b:	5d                   	pop    %ebp
40d21c:	5f                   	pop    %edi
40d21d:	5e                   	pop    %esi
40d21e:	5b                   	pop    %ebx
40d21f:	c3                   	ret
40d220:	53                   	push   %ebx
40d221:	56                   	push   %esi
40d222:	57                   	push   %edi
40d223:	55                   	push   %ebp
40d224:	83 c4 f8             	add    $0xfffffff8,%esp
40d227:	8b ea                	mov    %edx,%ebp
40d229:	8b f0                	mov    %eax,%esi
40d22b:	33 db                	xor    %ebx,%ebx
40d22d:	85 f6                	test   %esi,%esi
40d22f:	0f 84 81 00 00 00    	je     0x40d2b6
40d235:	80 3e 00             	cmpb   $0x0,(%esi)
40d238:	74 7c                	je     0x40d2b6
40d23a:	85 ed                	test   %ebp,%ebp
40d23c:	74 78                	je     0x40d2b6
40d23e:	80 7d 00 00          	cmpb   $0x0,0x0(%ebp)
40d242:	74 72                	je     0x40d2b6
40d244:	8b c6                	mov    %esi,%eax
40d246:	e8 d1 bb ff ff       	call   0x408e1c
40d24b:	89 04 24             	mov    %eax,(%esp)
40d24e:	8b c5                	mov    %ebp,%eax
40d250:	e8 c7 bb ff ff       	call   0x408e1c
40d255:	8b f8                	mov    %eax,%edi
40d257:	8b d5                	mov    %ebp,%edx
40d259:	8b c6                	mov    %esi,%eax
40d25b:	e8 70 bd ff ff       	call   0x408fd0
40d260:	8b d8                	mov    %eax,%ebx
40d262:	eb 3f                	jmp    0x40d2a3
40d264:	8b d3                	mov    %ebx,%edx
40d266:	2b d6                	sub    %esi,%edx
40d268:	8b c6                	mov    %esi,%eax
40d26a:	e8 e9 fb ff ff       	call   0x40ce58
40d26f:	88 44 24 04          	mov    %al,0x4(%esp)
40d273:	80 7c 24 04 02       	cmpb   $0x2,0x4(%esp)
40d278:	74 15                	je     0x40d28f
40d27a:	57                   	push   %edi
40d27b:	55                   	push   %ebp
40d27c:	57                   	push   %edi
40d27d:	53                   	push   %ebx
40d27e:	6a 00                	push   $0x0
40d280:	68 00 04 00 00       	push   $0x400
40d285:	e8 56 94 ff ff       	call   0x4066e0
40d28a:	83 f8 02             	cmp    $0x2,%eax
40d28d:	74 27                	je     0x40d2b6
40d28f:	80 7c 24 04 01       	cmpb   $0x1,0x4(%esp)
40d294:	75 01                	jne    0x40d297
40d296:	43                   	inc    %ebx
40d297:	43                   	inc    %ebx
40d298:	8b d5                	mov    %ebp,%edx
40d29a:	8b c3                	mov    %ebx,%eax
40d29c:	e8 2f bd ff ff       	call   0x408fd0
40d2a1:	8b d8                	mov    %eax,%ebx
40d2a3:	85 db                	test   %ebx,%ebx
40d2a5:	74 0d                	je     0x40d2b4
40d2a7:	8b c3                	mov    %ebx,%eax
40d2a9:	2b c6                	sub    %esi,%eax
40d2ab:	8b 14 24             	mov    (%esp),%edx
40d2ae:	2b d0                	sub    %eax,%edx
40d2b0:	3b fa                	cmp    %edx,%edi
40d2b2:	76 b0                	jbe    0x40d264
40d2b4:	33 db                	xor    %ebx,%ebx
40d2b6:	8b c3                	mov    %ebx,%eax
40d2b8:	59                   	pop    %ecx
40d2b9:	5a                   	pop    %edx
40d2ba:	5d                   	pop    %ebp
40d2bb:	5f                   	pop    %edi
40d2bc:	5e                   	pop    %esi
40d2bd:	5b                   	pop    %ebx
40d2be:	c3                   	ret
40d2bf:	90                   	nop
40d2c0:	53                   	push   %ebx
40d2c1:	56                   	push   %esi
40d2c2:	8b da                	mov    %edx,%ebx
40d2c4:	8b d3                	mov    %ebx,%edx
40d2c6:	e8 1d 00 00 00       	call   0x40d2e8
40d2cb:	8b f0                	mov    %eax,%esi
40d2cd:	84 db                	test   %bl,%bl
40d2cf:	74 12                	je     0x40d2e3
40d2d1:	85 c0                	test   %eax,%eax
40d2d3:	74 0e                	je     0x40d2e3
40d2d5:	8b f0                	mov    %eax,%esi
40d2d7:	40                   	inc    %eax
40d2d8:	8b d3                	mov    %ebx,%edx
40d2da:	e8 09 00 00 00       	call   0x40d2e8
40d2df:	85 c0                	test   %eax,%eax
40d2e1:	75 f2                	jne    0x40d2d5
40d2e3:	8b c6                	mov    %esi,%eax
40d2e5:	5e                   	pop    %esi
40d2e6:	5b                   	pop    %ebx
40d2e7:	c3                   	ret
40d2e8:	53                   	push   %ebx
40d2e9:	56                   	push   %esi
40d2ea:	57                   	push   %edi
40d2eb:	8b da                	mov    %edx,%ebx
40d2ed:	8b f0                	mov    %eax,%esi
40d2ef:	8b d3                	mov    %ebx,%edx
40d2f1:	8b c6                	mov    %esi,%eax
40d2f3:	e8 c4 bc ff ff       	call   0x408fbc
40d2f8:	8b f8                	mov    %eax,%edi
40d2fa:	85 ff                	test   %edi,%edi
40d2fc:	74 24                	je     0x40d322
40d2fe:	8b d7                	mov    %edi,%edx
40d300:	2b d6                	sub    %esi,%edx
40d302:	8b c6                	mov    %esi,%eax
40d304:	e8 4f fb ff ff       	call   0x40ce58
40d309:	2c 01                	sub    $0x1,%al
40d30b:	72 15                	jb     0x40d322
40d30d:	74 02                	je     0x40d311
40d30f:	eb 01                	jmp    0x40d312
40d311:	47                   	inc    %edi
40d312:	47                   	inc    %edi
40d313:	8b d3                	mov    %ebx,%edx
40d315:	8b c7                	mov    %edi,%eax
40d317:	e8 a0 bc ff ff       	call   0x408fbc
40d31c:	8b f8                	mov    %eax,%edi
40d31e:	85 ff                	test   %edi,%edi
40d320:	75 dc                	jne    0x40d2fe
40d322:	8b c7                	mov    %edi,%eax
40d324:	5f                   	pop    %edi
40d325:	5e                   	pop    %esi
40d326:	5b                   	pop    %ebx
40d327:	c3                   	ret
40d328:	55                   	push   %ebp
40d329:	8b ec                	mov    %esp,%ebp
40d32b:	83 c4 f4             	add    $0xfffffff4,%esp
40d32e:	53                   	push   %ebx
40d32f:	33 d2                	xor    %edx,%edx
40d331:	89 55 f4             	mov    %edx,-0xc(%ebp)
40d334:	33 d2                	xor    %edx,%edx
40d336:	55                   	push   %ebp
40d337:	68 8c d3 40 00       	push   $0x40d38c
40d33c:	64 ff 32             	push   %fs:(%edx)
40d33f:	64 89 22             	mov    %esp,%fs:(%edx)
40d342:	6a 07                	push   $0x7
40d344:	8d 55 f9             	lea    -0x7(%ebp),%edx
40d347:	52                   	push   %edx
40d348:	68 04 10 00 00       	push   $0x1004
40d34d:	50                   	push   %eax
40d34e:	e8 95 94 ff ff       	call   0x4067e8
40d353:	8d 45 f4             	lea    -0xc(%ebp),%eax
40d356:	8d 55 f9             	lea    -0x7(%ebp),%edx
40d359:	b9 07 00 00 00       	mov    $0x7,%ecx
40d35e:	e8 71 70 ff ff       	call   0x4043d4
40d363:	8b 45 f4             	mov    -0xc(%ebp),%eax
40d366:	50                   	push   %eax
40d367:	e8 2c 94 ff ff       	call   0x406798
40d36c:	8b d0                	mov    %eax,%edx