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
40d36e:	58                   	pop    %eax
40d36f:	e8 d0 b5 ff ff       	call   0x408944
40d374:	8b d8                	mov    %eax,%ebx
40d376:	33 c0                	xor    %eax,%eax
40d378:	5a                   	pop    %edx
40d379:	59                   	pop    %ecx
40d37a:	59                   	pop    %ecx
40d37b:	64 89 10             	mov    %edx,%fs:(%eax)
40d37e:	68 93 d3 40 00       	push   $0x40d393
40d383:	8d 45 f4             	lea    -0xc(%ebp),%eax
40d386:	e8 d9 6d ff ff       	call   0x404164
40d38b:	c3                   	ret
40d38c:	e9 d7 67 ff ff       	jmp    0x403b68
40d391:	eb f0                	jmp    0x40d383
40d393:	8b c3                	mov    %ebx,%eax
40d395:	5b                   	pop    %ebx
40d396:	8b e5                	mov    %ebp,%esp
40d398:	5d                   	pop    %ebp
40d399:	c3                   	ret
40d39a:	8b c0                	mov    %eax,%eax
40d39c:	55                   	push   %ebp
40d39d:	8b ec                	mov    %esp,%ebp
40d39f:	51                   	push   %ecx
40d3a0:	53                   	push   %ebx
40d3a1:	56                   	push   %esi
40d3a2:	57                   	push   %edi
40d3a3:	8b 7d 08             	mov    0x8(%ebp),%edi
40d3a6:	83 c7 ec             	add    $0xffffffec,%edi
40d3a9:	57                   	push   %edi
40d3aa:	a1 44 c7 49 00       	mov    0x49c744,%eax
40d3af:	e8 74 ff ff ff       	call   0x40d328
40d3b4:	50                   	push   %eax
40d3b5:	e8 e6 93 ff ff       	call   0x4067a0
40d3ba:	33 f6                	xor    %esi,%esi
40d3bc:	eb 29                	jmp    0x40d3e7
40d3be:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40d3c2:	8a 5c 37 07          	mov    0x7(%edi,%esi,1),%bl
40d3c6:	2a d8                	sub    %al,%bl
40d3c8:	72 1a                	jb     0x40d3e4
40d3ca:	43                   	inc    %ebx
40d3cb:	88 45 ff             	mov    %al,-0x1(%ebp)
40d3ce:	8a 45 ff             	mov    -0x1(%ebp),%al
40d3d1:	25 ff 00 00 00       	and    $0xff,%eax
40d3d6:	0f ab 05 0c d1 48 00 	bts    %eax,0x48d10c
40d3dd:	fe 45 ff             	incb   -0x1(%ebp)
40d3e0:	fe cb                	dec    %bl
40d3e2:	75 ea                	jne    0x40d3ce
40d3e4:	83 c6 02             	add    $0x2,%esi
40d3e7:	83 fe 0c             	cmp    $0xc,%esi
40d3ea:	7d 0a                	jge    0x40d3f6
40d3ec:	8a 44 37 06          	mov    0x6(%edi,%esi,1),%al
40d3f0:	0a 44 37 07          	or     0x7(%edi,%esi,1),%al
40d3f4:	75 c8                	jne    0x40d3be
40d3f6:	5f                   	pop    %edi
40d3f7:	5e                   	pop    %esi
40d3f8:	5b                   	pop    %ebx
40d3f9:	59                   	pop    %ecx
40d3fa:	5d                   	pop    %ebp
40d3fb:	c3                   	ret
40d3fc:	a1 48 c7 49 00       	mov    0x49c748,%eax
40d401:	83 f8 1f             	cmp    $0x1f,%eax
40d404:	77 07                	ja     0x40d40d
40d406:	0f a3 05 08 d3 48 00 	bt     %eax,0x48d308
40d40d:	0f 92 c0             	setb   %al
40d410:	c3                   	ret
40d411:	8d 40 00             	lea    0x0(%eax),%eax
40d414:	55                   	push   %ebp
40d415:	8b ec                	mov    %esp,%ebp
40d417:	81 c4 68 fe ff ff    	add    $0xfffffe68,%esp
40d41d:	53                   	push   %ebx
40d41e:	56                   	push   %esi
40d41f:	57                   	push   %edi
40d420:	c7 05 44 c7 49 00 09 	movl   $0x409,0x49c744
40d427:	04 00 00
40d42a:	c7 05 48 c7 49 00 09 	movl   $0x9,0x49c748
40d431:	00 00 00
40d434:	c7 05 4c c7 49 00 01 	movl   $0x1,0x49c74c
40d43b:	00 00 00
40d43e:	e8 f5 93 ff ff       	call   0x406838
40d443:	85 c0                	test   %eax,%eax
40d445:	74 05                	je     0x40d44c
40d447:	a3 44 c7 49 00       	mov    %eax,0x49c744
40d44c:	66 85 c0             	test   %ax,%ax
40d44f:	74 1b                	je     0x40d46c
40d451:	8b d0                	mov    %eax,%edx
40d453:	66 81 e2 ff 03       	and    $0x3ff,%dx
40d458:	0f b7 d2             	movzwl %dx,%edx
40d45b:	89 15 48 c7 49 00    	mov    %edx,0x49c748
40d461:	0f b7 c0             	movzwl %ax,%eax
40d464:	c1 e8 0a             	shr    $0xa,%eax
40d467:	a3 4c c7 49 00       	mov    %eax,0x49c74c
40d46c:	be 68 d5 40 00       	mov    $0x40d568,%esi
40d471:	bf 0c d1 48 00       	mov    $0x48d10c,%edi
40d476:	b9 08 00 00 00       	mov    $0x8,%ecx
40d47b:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
40d47d:	83 3d c4 d0 48 00 02 	cmpl   $0x2,0x48d0c4
40d484:	0f 85 a7 00 00 00    	jne    0x40d531
40d48a:	e8 6d ff ff ff       	call   0x40d3fc
40d48f:	84 c0                	test   %al,%al
40d491:	74 13                	je     0x40d4a6
40d493:	c6 05 51 c7 49 00 00 	movb   $0x0,0x49c751
40d49a:	c6 05 50 c7 49 00 00 	movb   $0x0,0x49c750
40d4a1:	e9 b9 00 00 00       	jmp    0x40d55f
40d4a6:	55                   	push   %ebp
40d4a7:	e8 f0 fe ff ff       	call   0x40d39c
40d4ac:	59                   	pop    %ecx
40d4ad:	b8 0c d1 48 00       	mov    $0x48d10c,%eax
40d4b2:	ba 68 d5 40 00       	mov    $0x40d568,%edx
40d4b7:	b1 20                	mov    $0x20,%cl
40d4b9:	e8 3e 5a ff ff       	call   0x402efc
40d4be:	0f 95 c3             	setne  %bl
40d4c1:	88 1d 50 c7 49 00    	mov    %bl,0x49c750
40d4c7:	84 db                	test   %bl,%bl
40d4c9:	74 0c                	je     0x40d4d7
40d4cb:	c6 05 51 c7 49 00 00 	movb   $0x0,0x49c751
40d4d2:	e9 88 00 00 00       	jmp    0x40d55f
40d4d7:	b8 80 00 00 00       	mov    $0x80,%eax
40d4dc:	8d 95 6c ff ff ff    	lea    -0x94(%ebp),%edx
40d4e2:	88 02                	mov    %al,(%edx)
40d4e4:	40                   	inc    %eax
40d4e5:	42                   	inc    %edx
40d4e6:	3d 00 01 00 00       	cmp    $0x100,%eax
40d4eb:	75 f5                	jne    0x40d4e2
40d4ed:	8d 85 6c ff ff ff    	lea    -0x94(%ebp),%eax
40d4f3:	8d 95 6a fe ff ff    	lea    -0x196(%ebp),%edx
40d4f9:	52                   	push   %edx
40d4fa:	68 80 00 00 00       	push   $0x80
40d4ff:	50                   	push   %eax
40d500:	6a 02                	push   $0x2
40d502:	a1 44 c7 49 00       	mov    0x49c744,%eax
40d507:	50                   	push   %eax
40d508:	e8 0b 93 ff ff       	call   0x406818
40d50d:	b8 80 00 00 00       	mov    $0x80,%eax
40d512:	8d 95 6a fe ff ff    	lea    -0x196(%ebp),%edx
40d518:	66 83 3a 02          	cmpw   $0x2,(%edx)
40d51c:	0f 94 c1             	sete   %cl
40d51f:	88 0d 51 c7 49 00    	mov    %cl,0x49c751
40d525:	84 c9                	test   %cl,%cl
40d527:	75 36                	jne    0x40d55f
40d529:	83 c2 02             	add    $0x2,%edx
40d52c:	48                   	dec    %eax
40d52d:	75 e9                	jne    0x40d518
40d52f:	eb 2e                	jmp    0x40d55f
40d531:	6a 4a                	push   $0x4a
40d533:	e8 78 98 ff ff       	call   0x406db0
40d538:	85 c0                	test   %eax,%eax
40d53a:	0f 95 c0             	setne  %al
40d53d:	a2 51 c7 49 00       	mov    %al,0x49c751
40d542:	6a 2a                	push   $0x2a
40d544:	e8 67 98 ff ff       	call   0x406db0
40d549:	85 c0                	test   %eax,%eax
40d54b:	0f 95 c3             	setne  %bl
40d54e:	88 1d 50 c7 49 00    	mov    %bl,0x49c750
40d554:	84 db                	test   %bl,%bl
40d556:	74 07                	je     0x40d55f
40d558:	55                   	push   %ebp
40d559:	e8 3e fe ff ff       	call   0x40d39c
40d55e:	59                   	pop    %ecx
40d55f:	5f                   	pop    %edi
40d560:	5e                   	pop    %esi
40d561:	5b                   	pop    %ebx
40d562:	8b e5                	mov    %ebp,%esp
40d564:	5d                   	pop    %ebp
40d565:	c3                   	ret
40d586:	00 00                	add    %al,(%eax)
40d588:	55                   	push   %ebp
40d589:	8b ec                	mov    %esp,%ebp
40d58b:	b9 08 00 00 00       	mov    $0x8,%ecx
40d590:	6a 00                	push   $0x0
40d592:	6a 00                	push   $0x0
40d594:	49                   	dec    %ecx
40d595:	75 f9                	jne    0x40d590
40d597:	53                   	push   %ebx
40d598:	33 c0                	xor    %eax,%eax
40d59a:	55                   	push   %ebp