40b248:	8b e5                	mov    %ebp,%esp
40b24a:	5d                   	pop    %ebp
40b24b:	c3                   	ret
40b24c:	53                   	push   %ebx
40b24d:	56                   	push   %esi
40b24e:	57                   	push   %edi
40b24f:	51                   	push   %ecx
40b250:	88 0c 24             	mov    %cl,(%esp)
40b253:	8b fa                	mov    %edx,%edi
40b255:	8b f0                	mov    %eax,%esi
40b257:	33 db                	xor    %ebx,%ebx
40b259:	8b d7                	mov    %edi,%edx
40b25b:	8b c6                	mov    %esi,%eax
40b25d:	e8 5a fe ff ff       	call   0x40b0bc
40b262:	8b c6                	mov    %esi,%eax
40b264:	85 c0                	test   %eax,%eax
40b266:	74 05                	je     0x40b26d
40b268:	83 e8 04             	sub    $0x4,%eax
40b26b:	8b 00                	mov    (%eax),%eax
40b26d:	3b 07                	cmp    (%edi),%eax
40b26f:	7c 10                	jl     0x40b281
40b271:	8b 07                	mov    (%edi),%eax
40b273:	0f b6 44 06 ff       	movzbl -0x1(%esi,%eax,1),%eax
40b278:	3a 04 24             	cmp    (%esp),%al
40b27b:	75 04                	jne    0x40b281
40b27d:	ff 07                	incl   (%edi)
40b27f:	b3 01                	mov    $0x1,%bl
40b281:	8b c3                	mov    %ebx,%eax
40b283:	5a                   	pop    %edx
40b284:	5f                   	pop    %edi
40b285:	5e                   	pop    %esi
40b286:	5b                   	pop    %ebx
40b287:	c3                   	ret
40b288:	53                   	push   %ebx
40b289:	56                   	push   %esi
40b28a:	57                   	push   %edi
40b28b:	8b f0                	mov    %eax,%esi
40b28d:	33 db                	xor    %ebx,%ebx
40b28f:	bf 01 00 00 00       	mov    $0x1,%edi
40b294:	eb 2a                	jmp    0x40b2c0
40b296:	0f b6 44 3e ff       	movzbl -0x1(%esi,%edi,1),%eax
40b29b:	24 df                	and    $0xdf,%al
40b29d:	2c 44                	sub    $0x44,%al
40b29f:	74 1a                	je     0x40b2bb
40b2a1:	fe c8                	dec    %al
40b2a3:	74 0a                	je     0x40b2af
40b2a5:	2c 08                	sub    $0x8,%al
40b2a7:	74 0e                	je     0x40b2b7
40b2a9:	2c 0c                	sub    $0xc,%al
40b2ab:	74 06                	je     0x40b2b3
40b2ad:	eb 10                	jmp    0x40b2bf
40b2af:	b3 02                	mov    $0x2,%bl
40b2b1:	eb 1a                	jmp    0x40b2cd
40b2b3:	b3 02                	mov    $0x2,%bl
40b2b5:	eb 16                	jmp    0x40b2cd
40b2b7:	33 db                	xor    %ebx,%ebx
40b2b9:	eb 12                	jmp    0x40b2cd
40b2bb:	b3 01                	mov    $0x1,%bl
40b2bd:	eb 0e                	jmp    0x40b2cd
40b2bf:	47                   	inc    %edi
40b2c0:	8b c6                	mov    %esi,%eax
40b2c2:	e8 19 97 ff ff       	call   0x4049e0
40b2c7:	3b f8                	cmp    %eax,%edi
40b2c9:	7e cb                	jle    0x40b296
40b2cb:	33 db                	xor    %ebx,%ebx
40b2cd:	8b c3                	mov    %ebx,%eax
40b2cf:	5f                   	pop    %edi
40b2d0:	5e                   	pop    %esi
40b2d1:	5b                   	pop    %ebx
40b2d2:	c3                   	ret
40b2d3:	90                   	nop
40b2d4:	53                   	push   %ebx
40b2d5:	56                   	push   %esi
40b2d6:	8b da                	mov    %edx,%ebx
40b2d8:	8b f0                	mov    %eax,%esi
40b2da:	eb 22                	jmp    0x40b2fe
40b2dc:	8b 03                	mov    (%ebx),%eax
40b2de:	0f b6 44 06 ff       	movzbl -0x1(%esi,%eax,1),%eax
40b2e3:	0f b6 c0             	movzbl %al,%eax
40b2e6:	0f a3 05 0c 08 46 00 	bt     %eax,0x46080c
40b2ed:	73 0d                	jae    0x40b2fc
40b2ef:	8b 13                	mov    (%ebx),%edx
40b2f1:	8b c6                	mov    %esi,%eax
40b2f3:	e8 e0 1b 00 00       	call   0x40ced8
40b2f8:	89 03                	mov    %eax,(%ebx)
40b2fa:	eb 02                	jmp    0x40b2fe
40b2fc:	ff 03                	incl   (%ebx)
40b2fe:	8b c6                	mov    %esi,%eax
40b300:	e8 db 96 ff ff       	call   0x4049e0
40b305:	3b 03                	cmp    (%ebx),%eax
40b307:	7c 0d                	jl     0x40b316
40b309:	8b 03                	mov    (%ebx),%eax
40b30b:	0f b6 44 06 ff       	movzbl -0x1(%esi,%eax,1),%eax
40b310:	04 d0                	add    $0xd0,%al
40b312:	2c 0a                	sub    $0xa,%al
40b314:	73 c6                	jae    0x40b2dc
40b316:	5e                   	pop    %esi
40b317:	5b                   	pop    %ebx
40b318:	c3                   	ret
40b319:	8d 40 00             	lea    0x0(%eax),%eax
40b31c:	53                   	push   %ebx
40b31d:	56                   	push   %esi
40b31e:	57                   	push   %edi
40b31f:	55                   	push   %ebp
40b320:	51                   	push   %ecx
40b321:	8b e8                	mov    %eax,%ebp
40b323:	33 c0                	xor    %eax,%eax
40b325:	89 04 24             	mov    %eax,(%esp)
40b328:	bf 07 00 00 00       	mov    $0x7,%edi
40b32d:	bb d8 08 47 00       	mov    $0x4708d8,%ebx
40b332:	be f4 08 47 00       	mov    $0x4708f4,%esi
40b337:	83 3b 00             	cmpl   $0x0,(%ebx)
40b33a:	74 29                	je     0x40b365
40b33c:	8b c5                	mov    %ebp,%eax
40b33e:	e8 a1 98 ff ff       	call   0x404be4
40b343:	50                   	push   %eax
40b344:	8b 03                	mov    (%ebx),%eax
40b346:	e8 99 98 ff ff       	call   0x404be4
40b34b:	5a                   	pop    %edx
40b34c:	e8 8b 1c 00 00       	call   0x40cfdc
40b351:	85 c0                	test   %eax,%eax
40b353:	74 07                	je     0x40b35c
40b355:	8b 06                	mov    (%esi),%eax
40b357:	89 04 24             	mov    %eax,(%esp)
40b35a:	eb 09                	jmp    0x40b365
40b35c:	83 c6 04             	add    $0x4,%esi
40b35f:	83 c3 04             	add    $0x4,%ebx
40b362:	4f                   	dec    %edi
40b363:	75 d2                	jne    0x40b337
40b365:	8b 04 24             	mov    (%esp),%eax
40b368:	5a                   	pop    %edx
40b369:	5d                   	pop    %ebp
40b36a:	5f                   	pop    %edi
40b36b:	5e                   	pop    %esi
40b36c:	5b                   	pop    %ebx
40b36d:	c3                   	ret
40b36e:	8b c0                	mov    %eax,%eax
40b370:	55                   	push   %ebp
40b371:	8b ec                	mov    %esp,%ebp
40b373:	53                   	push   %ebx
40b374:	8b d8                	mov    %eax,%ebx
40b376:	83 3d cc 08 47 00 12 	cmpl   $0x12,0x4708cc
40b37d:	75 3a                	jne    0x40b3b9
40b37f:	83 fb 63             	cmp    $0x63,%ebx
40b382:	7f 24                	jg     0x40b3a8
40b384:	e8 27 f1 ff ff       	call   0x40a4b0
40b389:	0f b7 c8             	movzwl %ax,%ecx
40b38c:	8b 45 08             	mov    0x8(%ebp),%eax
40b38f:	8b 40 fc             	mov    -0x4(%eax),%eax
40b392:	99                   	cltd
40b393:	33 c2                	xor    %edx,%eax
40b395:	2b c2                	sub    %edx,%eax
40b397:	03 c8                	add    %eax,%ecx
40b399:	8b c1                	mov    %ecx,%eax
40b39b:	b9 64 00 00 00       	mov    $0x64,%ecx
40b3a0:	99                   	cltd
40b3a1:	f7 f9                	idiv   %ecx
40b3a3:	6b c0 64             	imul   $0x64,%eax,%eax
40b3a6:	03 d8                	add    %eax,%ebx
40b3a8:	8b 45 08             	mov    0x8(%ebp),%eax
40b3ab:	83 78 fc 00          	cmpl   $0x0,-0x4(%eax)
40b3af:	7e 0e                	jle    0x40b3bf
40b3b1:	8b 45 08             	mov    0x8(%ebp),%eax
40b3b4:	f7 58 fc             	negl   -0x4(%eax)
40b3b7:	eb 06                	jmp    0x40b3bf
40b3b9:	8b 45 08             	mov    0x8(%ebp),%eax
40b3bc:	ff 48 fc             	decl   -0x4(%eax)
40b3bf:	8b 45 08             	mov    0x8(%ebp),%eax
40b3c2:	8b 40 fc             	mov    -0x4(%eax),%eax
40b3c5:	03 c3                	add    %ebx,%eax
40b3c7:	5b                   	pop    %ebx
40b3c8:	5d                   	pop    %ebp
40b3c9:	c3                   	ret
40b3ca:	8b c0                	mov    %eax,%eax
40b3cc:	55                   	push   %ebp
40b3cd:	8b ec                	mov    %esp,%ebp
40b3cf:	83 c4 d8             	add    $0xffffffd8,%esp
40b3d2:	53                   	push   %ebx
40b3d3:	56                   	push   %esi
40b3d4:	57                   	push   %edi
40b3d5:	33 db                	xor    %ebx,%ebx
40b3d7:	89 5d d8             	mov    %ebx,-0x28(%ebp)
40b3da:	89 5d dc             	mov    %ebx,-0x24(%ebp)
40b3dd:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40b3e0:	89 5d f8             	mov    %ebx,-0x8(%ebp)
40b3e3:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40b3e6:	8b da                	mov    %edx,%ebx
40b3e8:	8b f0                	mov    %eax,%esi
40b3ea:	33 c0                	xor    %eax,%eax
40b3ec:	55                   	push   %ebp
40b3ed:	68 ee b6 40 00       	push   $0x40b6ee
40b3f2:	64 ff 30             	push   %fs:(%eax)
40b3f5:	64 89 20             	mov    %esp,%fs:(%eax)
40b3f8:	33 ff                	xor    %edi,%edi
40b3fa:	66 c7 45 ea 00 00    	movw   $0x0,-0x16(%ebp)
40b400:	66 c7 45 e8 00 00    	movw   $0x0,-0x18(%ebp)
40b406:	c6 45 e4 00          	movb   $0x0,-0x1c(%ebp)
40b40a:	c6 45 f3 00          	movb   $0x0,-0xd(%ebp)
40b40e:	a1 14 08 47 00       	mov    0x470814,%eax
40b413:	e8 70 fe ff ff       	call   0x40b288
40b418:	88 45 f2             	mov    %al,-0xe(%ebp)
40b41b:	33 c0                	xor    %eax,%eax
40b41d:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b420:	a1 14 08 47 00       	mov    0x470814,%eax
40b425:	80 38 67             	cmpb   $0x67,(%eax)
40b428:	75 34                	jne    0x40b45e
40b42a:	8b d3                	mov    %ebx,%edx
40b42c:	8b c6                	mov    %esi,%eax
40b42e:	e8 a1 fe ff ff       	call   0x40b2d4
40b433:	8d 45 e0             	lea    -0x20(%ebp),%eax
40b436:	50                   	push   %eax
40b437:	8b 0b                	mov    (%ebx),%ecx
40b439:	49                   	dec    %ecx
40b43a:	ba 01 00 00 00       	mov    $0x1,%edx
40b43f:	8b c6                	mov    %esi,%eax
40b441:	e8 fe 97 ff ff       	call   0x404c44
40b446:	8b 45 e0             	mov    -0x20(%ebp),%eax
40b449:	8d 55 f8             	lea    -0x8(%ebp),%edx
40b44c:	e8 87 d5 ff ff       	call   0x4089d8
40b451:	8b 45 f8             	mov    -0x8(%ebp),%eax
40b454:	e8 c3 fe ff ff       	call   0x40b31c
40b459:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b45c:	eb 1c                	jmp    0x40b47a
40b45e:	8b 15 14 08 47 00    	mov    0x470814,%edx
40b464:	b8 08 b7 40 00       	mov    $0x40b708,%eax
40b469:	e8 a2 1a 00 00       	call   0x40cf10
40b46e:	85 c0                	test   %eax,%eax
40b470:	7e 08                	jle    0x40b47a
40b472:	a1 f4 08 47 00       	mov    0x4708f4,%eax
40b477:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b47a:	8d 45 e7             	lea    -0x19(%ebp),%eax
40b47d:	50                   	push   %eax
40b47e:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40b481:	8b d3                	mov    %ebx,%edx
40b483:	8b c6                	mov    %esi,%eax
40b485:	e8 56 fc ff ff       	call   0x40b0e0
40b48a:	84 c0                	test   %al,%al
40b48c:	0f 84 39 02 00 00    	je     0x40b6cb
40b492:	8b d3                	mov    %ebx,%edx
40b494:	0f b6 0d 11 08 47 00 	movzbl 0x470811,%ecx
40b49b:	8b c6                	mov    %esi,%eax
40b49d:	e8 aa fd ff ff       	call   0x40b24c
40b4a2:	84 c0                	test   %al,%al
40b4a4:	0f 84 21 02 00 00    	je     0x40b6cb
40b4aa:	8d 45 e6             	lea    -0x1a(%ebp),%eax
40b4ad:	50                   	push   %eax
40b4ae:	8d 4d ee             	lea    -0x12(%ebp),%ecx
40b4b1:	8b d3                	mov    %ebx,%edx
40b4b3:	8b c6                	mov    %esi,%eax
40b4b5:	e8 26 fc ff ff       	call   0x40b0e0
40b4ba:	84 c0                	test   %al,%al
40b4bc:	0f 84 09 02 00 00    	je     0x40b6cb
40b4c2:	8b d3                	mov    %ebx,%edx
40b4c4:	0f b6 0d 11 08 47 00 	movzbl 0x470811,%ecx
40b4cb:	8b c6                	mov    %esi,%eax
40b4cd:	e8 7a fd ff ff       	call   0x40b24c
40b4d2:	84 c0                	test   %al,%al
40b4d4:	0f 84 d2 00 00 00    	je     0x40b5ac
40b4da:	8d 45 e5             	lea    -0x1b(%ebp),%eax
40b4dd:	50                   	push   %eax
40b4de:	8d 4d ec             	lea    -0x14(%ebp),%ecx
40b4e1:	8b d3                	mov    %ebx,%edx
40b4e3:	8b c6                	mov    %esi,%eax
40b4e5:	e8 f6 fb ff ff       	call   0x40b0e0
40b4ea:	84 c0                	test   %al,%al
40b4ec:	0f 84 d9 01 00 00    	je     0x40b6cb
40b4f2:	0f b6 45 f2          	movzbl -0xe(%ebp),%eax
40b4f6:	2c 01                	sub    $0x1,%al
40b4f8:	72 08                	jb     0x40b502
40b4fa:	74 23                	je     0x40b51f
40b4fc:	fe c8                	dec    %al
40b4fe:	74 3c                	je     0x40b53c
40b500:	eb 55                	jmp    0x40b557
40b502:	0f b7 7d ec          	movzwl -0x14(%ebp),%edi
40b506:	0f b6 45 e5          	movzbl -0x1b(%ebp),%eax
40b50a:	88 45 e4             	mov    %al,-0x1c(%ebp)
40b50d:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40b511:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b515:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b519:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b51d:	eb 38                	jmp    0x40b557
40b51f:	0f b7 7d ec          	movzwl -0x14(%ebp),%edi
40b523:	0f b6 45 e5          	movzbl -0x1b(%ebp),%eax
40b527:	88 45 e4             	mov    %al,-0x1c(%ebp)
40b52a:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b52e:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b532:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40b536:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b53a:	eb 1b                	jmp    0x40b557
40b53c:	0f b7 7d f0          	movzwl -0x10(%ebp),%edi
40b540:	0f b6 45 e7          	movzbl -0x19(%ebp),%eax
40b544:	88 45 e4             	mov    %al,-0x1c(%ebp)
40b547:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b54b:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b54f:	0f b7 45 ec          	movzwl -0x14(%ebp),%eax
40b553:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b557:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
40b55b:	7e 0e                	jle    0x40b56b
40b55d:	55                   	push   %ebp
40b55e:	0f b7 c7             	movzwl %di,%eax
40b561:	e8 0a fe ff ff       	call   0x40b370
40b566:	59                   	pop    %ecx
40b567:	8b f8                	mov    %eax,%edi
40b569:	eb 70                	jmp    0x40b5db
40b56b:	80 7d e4 02          	cmpb   $0x2,-0x1c(%ebp)
40b56f:	77 6a                	ja     0x40b5db
40b571:	e8 3a ef ff ff       	call   0x40a4b0
40b576:	0f b7 c8             	movzwl %ax,%ecx
40b579:	0f b7 05 d8 07 46 00 	movzwl 0x4607d8,%eax
40b580:	2b c8                	sub    %eax,%ecx
40b582:	8b c1                	mov    %ecx,%eax
40b584:	51                   	push   %ecx
40b585:	b9 64 00 00 00       	mov    $0x64,%ecx
40b58a:	99                   	cltd
40b58b:	f7 f9                	idiv   %ecx
40b58d:	59                   	pop    %ecx
40b58e:	66 6b c0 64          	imul   $0x64,%ax,%ax
40b592:	66 03 f8             	add    %ax,%di
40b595:	66 83 3d d8 07 46 00 	cmpw   $0x0,0x4607d8
40b59c:	00
40b59d:	76 3c                	jbe    0x40b5db
40b59f:	0f b7 c7             	movzwl %di,%eax
40b5a2:	3b c8                	cmp    %eax,%ecx
40b5a4:	7e 35                	jle    0x40b5db
40b5a6:	66 83 c7 64          	add    $0x64,%di
40b5aa:	eb 2f                	jmp    0x40b5db
40b5ac:	e8 ff ee ff ff       	call   0x40a4b0
40b5b1:	8b f8                	mov    %eax,%edi
40b5b3:	80 7d f2 01          	cmpb   $0x1,-0xe(%ebp)
40b5b7:	75 12                	jne    0x40b5cb
40b5b9:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40b5bd:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b5c1:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b5c5:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b5c9:	eb 10                	jmp    0x40b5db
40b5cb:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40b5cf:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b5d3:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b5d7:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b5db:	8b d3                	mov    %ebx,%edx
40b5dd:	0f b6 0d 11 08 47 00 	movzbl 0x470811,%ecx
40b5e4:	8b c6                	mov    %esi,%eax
40b5e6:	e8 61 fc ff ff       	call   0x40b24c
40b5eb:	8b d3                	mov    %ebx,%edx
40b5ed:	8b c6                	mov    %esi,%eax
40b5ef:	e8 c8 fa ff ff       	call   0x40b0bc
40b5f4:	80 3d d4 08 47 00 00 	cmpb   $0x0,0x4708d4
40b5fb:	0f 84 b4 00 00 00    	je     0x40b6b5
40b601:	8b 15 14 08 47 00    	mov    0x470814,%edx
40b607:	b8 14 b7 40 00       	mov    $0x40b714,%eax