40b3ea:	83 e8 04             	sub    $0x4,%eax
40b3ed:	8b 00                	mov    (%eax),%eax
40b3ef:	8b 55 f8             	mov    -0x8(%ebp),%edx
40b3f2:	01 02                	add    %eax,(%edx)
40b3f4:	c6 45 f7 01          	movb   $0x1,-0x9(%ebp)
40b3f8:	33 c0                	xor    %eax,%eax
40b3fa:	5a                   	pop    %edx
40b3fb:	59                   	pop    %ecx
40b3fc:	59                   	pop    %ecx
40b3fd:	64 89 10             	mov    %edx,%fs:(%eax)
40b400:	68 15 b4 40 00       	push   $0x40b415
40b405:	8d 45 ec             	lea    -0x14(%ebp),%eax
40b408:	e8 3b 93 ff ff       	call   0x404748
40b40d:	c3                   	ret
40b40e:	e9 9d 8c ff ff       	jmp    0x4040b0
40b413:	eb f0                	jmp    0x40b405
40b415:	0f b6 45 f7          	movzbl -0x9(%ebp),%eax
40b419:	5f                   	pop    %edi
40b41a:	5e                   	pop    %esi
40b41b:	5b                   	pop    %ebx
40b41c:	8b e5                	mov    %ebp,%esp
40b41e:	5d                   	pop    %ebp
40b41f:	c3                   	ret
40b420:	53                   	push   %ebx
40b421:	56                   	push   %esi
40b422:	57                   	push   %edi
40b423:	51                   	push   %ecx
40b424:	88 0c 24             	mov    %cl,(%esp)
40b427:	8b fa                	mov    %edx,%edi
40b429:	8b f0                	mov    %eax,%esi
40b42b:	33 db                	xor    %ebx,%ebx
40b42d:	8b d7                	mov    %edi,%edx
40b42f:	8b c6                	mov    %esi,%eax
40b431:	e8 5a fe ff ff       	call   0x40b290
40b436:	8b c6                	mov    %esi,%eax
40b438:	85 c0                	test   %eax,%eax
40b43a:	74 05                	je     0x40b441
40b43c:	83 e8 04             	sub    $0x4,%eax
40b43f:	8b 00                	mov    (%eax),%eax
40b441:	3b 07                	cmp    (%edi),%eax
40b443:	7c 10                	jl     0x40b455
40b445:	8b 07                	mov    (%edi),%eax
40b447:	0f b6 44 06 ff       	movzbl -0x1(%esi,%eax,1),%eax
40b44c:	3a 04 24             	cmp    (%esp),%al
40b44f:	75 04                	jne    0x40b455
40b451:	ff 07                	incl   (%edi)
40b453:	b3 01                	mov    $0x1,%bl
40b455:	8b c3                	mov    %ebx,%eax
40b457:	5a                   	pop    %edx
40b458:	5f                   	pop    %edi
40b459:	5e                   	pop    %esi
40b45a:	5b                   	pop    %ebx
40b45b:	c3                   	ret
40b45c:	53                   	push   %ebx
40b45d:	56                   	push   %esi
40b45e:	57                   	push   %edi
40b45f:	8b f0                	mov    %eax,%esi
40b461:	33 db                	xor    %ebx,%ebx
40b463:	bf 01 00 00 00       	mov    $0x1,%edi
40b468:	eb 2a                	jmp    0x40b494
40b46a:	0f b6 44 3e ff       	movzbl -0x1(%esi,%edi,1),%eax
40b46f:	24 df                	and    $0xdf,%al
40b471:	2c 44                	sub    $0x44,%al
40b473:	74 1a                	je     0x40b48f
40b475:	fe c8                	dec    %al
40b477:	74 0a                	je     0x40b483
40b479:	2c 08                	sub    $0x8,%al
40b47b:	74 0e                	je     0x40b48b
40b47d:	2c 0c                	sub    $0xc,%al
40b47f:	74 06                	je     0x40b487
40b481:	eb 10                	jmp    0x40b493
40b483:	b3 02                	mov    $0x2,%bl
40b485:	eb 1a                	jmp    0x40b4a1
40b487:	b3 02                	mov    $0x2,%bl
40b489:	eb 16                	jmp    0x40b4a1
40b48b:	33 db                	xor    %ebx,%ebx
40b48d:	eb 12                	jmp    0x40b4a1
40b48f:	b3 01                	mov    $0x1,%bl
40b491:	eb 0e                	jmp    0x40b4a1
40b493:	47                   	inc    %edi
40b494:	8b c6                	mov    %esi,%eax
40b496:	e8 6d 95 ff ff       	call   0x404a08
40b49b:	3b f8                	cmp    %eax,%edi
40b49d:	7e cb                	jle    0x40b46a
40b49f:	33 db                	xor    %ebx,%ebx
40b4a1:	8b c3                	mov    %ebx,%eax
40b4a3:	5f                   	pop    %edi
40b4a4:	5e                   	pop    %esi
40b4a5:	5b                   	pop    %ebx
40b4a6:	c3                   	ret
40b4a7:	90                   	nop
40b4a8:	53                   	push   %ebx
40b4a9:	56                   	push   %esi
40b4aa:	8b da                	mov    %edx,%ebx
40b4ac:	8b f0                	mov    %eax,%esi
40b4ae:	eb 22                	jmp    0x40b4d2
40b4b0:	8b 03                	mov    (%ebx),%eax
40b4b2:	0f b6 44 06 ff       	movzbl -0x1(%esi,%eax,1),%eax
40b4b7:	0f b6 c0             	movzbl %al,%eax
40b4ba:	0f a3 05 08 b8 49 00 	bt     %eax,0x49b808
40b4c1:	73 0d                	jae    0x40b4d0
40b4c3:	8b 13                	mov    (%ebx),%edx
40b4c5:	8b c6                	mov    %esi,%eax
40b4c7:	e8 e8 1b 00 00       	call   0x40d0b4
40b4cc:	89 03                	mov    %eax,(%ebx)
40b4ce:	eb 02                	jmp    0x40b4d2
40b4d0:	ff 03                	incl   (%ebx)
40b4d2:	8b c6                	mov    %esi,%eax
40b4d4:	e8 2f 95 ff ff       	call   0x404a08
40b4d9:	3b 03                	cmp    (%ebx),%eax
40b4db:	7c 0d                	jl     0x40b4ea
40b4dd:	8b 03                	mov    (%ebx),%eax
40b4df:	0f b6 44 06 ff       	movzbl -0x1(%esi,%eax,1),%eax
40b4e4:	04 d0                	add    $0xd0,%al
40b4e6:	2c 0a                	sub    $0xa,%al
40b4e8:	73 c6                	jae    0x40b4b0
40b4ea:	5e                   	pop    %esi
40b4eb:	5b                   	pop    %ebx
40b4ec:	c3                   	ret
40b4ed:	8d 40 00             	lea    0x0(%eax),%eax
40b4f0:	53                   	push   %ebx
40b4f1:	56                   	push   %esi
40b4f2:	57                   	push   %edi
40b4f3:	55                   	push   %ebp
40b4f4:	51                   	push   %ecx
40b4f5:	8b e8                	mov    %eax,%ebp
40b4f7:	33 c0                	xor    %eax,%eax
40b4f9:	89 04 24             	mov    %eax,(%esp)
40b4fc:	bf 07 00 00 00       	mov    $0x7,%edi
40b501:	bb d8 a8 4a 00       	mov    $0x4aa8d8,%ebx
40b506:	be f4 a8 4a 00       	mov    $0x4aa8f4,%esi
40b50b:	83 3b 00             	cmpl   $0x0,(%ebx)
40b50e:	74 29                	je     0x40b539
40b510:	8b c5                	mov    %ebp,%eax
40b512:	e8 f5 96 ff ff       	call   0x404c0c
40b517:	50                   	push   %eax
40b518:	8b 03                	mov    (%ebx),%eax
40b51a:	e8 ed 96 ff ff       	call   0x404c0c
40b51f:	5a                   	pop    %edx
40b520:	e8 37 1d 00 00       	call   0x40d25c
40b525:	85 c0                	test   %eax,%eax
40b527:	74 07                	je     0x40b530
40b529:	8b 06                	mov    (%esi),%eax
40b52b:	89 04 24             	mov    %eax,(%esp)
40b52e:	eb 09                	jmp    0x40b539
40b530:	83 c6 04             	add    $0x4,%esi
40b533:	83 c3 04             	add    $0x4,%ebx
40b536:	4f                   	dec    %edi
40b537:	75 d2                	jne    0x40b50b
40b539:	8b 04 24             	mov    (%esp),%eax
40b53c:	5a                   	pop    %edx
40b53d:	5d                   	pop    %ebp
40b53e:	5f                   	pop    %edi
40b53f:	5e                   	pop    %esi
40b540:	5b                   	pop    %ebx
40b541:	c3                   	ret
40b542:	8b c0                	mov    %eax,%eax
40b544:	55                   	push   %ebp
40b545:	8b ec                	mov    %esp,%ebp
40b547:	53                   	push   %ebx
40b548:	8b d8                	mov    %eax,%ebx
40b54a:	83 3d cc a8 4a 00 12 	cmpl   $0x12,0x4aa8cc
40b551:	75 3a                	jne    0x40b58d
40b553:	83 fb 63             	cmp    $0x63,%ebx
40b556:	7f 24                	jg     0x40b57c
40b558:	e8 27 f1 ff ff       	call   0x40a684
40b55d:	0f b7 c8             	movzwl %ax,%ecx
40b560:	8b 45 08             	mov    0x8(%ebp),%eax
40b563:	8b 40 fc             	mov    -0x4(%eax),%eax
40b566:	99                   	cltd
40b567:	33 c2                	xor    %edx,%eax
40b569:	2b c2                	sub    %edx,%eax
40b56b:	03 c8                	add    %eax,%ecx
40b56d:	8b c1                	mov    %ecx,%eax
40b56f:	b9 64 00 00 00       	mov    $0x64,%ecx
40b574:	99                   	cltd
40b575:	f7 f9                	idiv   %ecx
40b577:	6b c0 64             	imul   $0x64,%eax,%eax
40b57a:	03 d8                	add    %eax,%ebx
40b57c:	8b 45 08             	mov    0x8(%ebp),%eax
40b57f:	83 78 fc 00          	cmpl   $0x0,-0x4(%eax)
40b583:	7e 0e                	jle    0x40b593
40b585:	8b 45 08             	mov    0x8(%ebp),%eax
40b588:	f7 58 fc             	negl   -0x4(%eax)
40b58b:	eb 06                	jmp    0x40b593
40b58d:	8b 45 08             	mov    0x8(%ebp),%eax
40b590:	ff 48 fc             	decl   -0x4(%eax)
40b593:	8b 45 08             	mov    0x8(%ebp),%eax
40b596:	8b 40 fc             	mov    -0x4(%eax),%eax
40b599:	03 c3                	add    %ebx,%eax
40b59b:	5b                   	pop    %ebx
40b59c:	5d                   	pop    %ebp
40b59d:	c3                   	ret
40b59e:	8b c0                	mov    %eax,%eax
40b5a0:	55                   	push   %ebp
40b5a1:	8b ec                	mov    %esp,%ebp
40b5a3:	83 c4 d8             	add    $0xffffffd8,%esp
40b5a6:	53                   	push   %ebx
40b5a7:	56                   	push   %esi
40b5a8:	57                   	push   %edi
40b5a9:	33 db                	xor    %ebx,%ebx
40b5ab:	89 5d d8             	mov    %ebx,-0x28(%ebp)
40b5ae:	89 5d dc             	mov    %ebx,-0x24(%ebp)
40b5b1:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40b5b4:	89 5d f8             	mov    %ebx,-0x8(%ebp)
40b5b7:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40b5ba:	8b da                	mov    %edx,%ebx
40b5bc:	8b f0                	mov    %eax,%esi
40b5be:	33 c0                	xor    %eax,%eax
40b5c0:	55                   	push   %ebp
40b5c1:	68 c2 b8 40 00       	push   $0x40b8c2
40b5c6:	64 ff 30             	push   %fs:(%eax)
40b5c9:	64 89 20             	mov    %esp,%fs:(%eax)
40b5cc:	33 ff                	xor    %edi,%edi
40b5ce:	66 c7 45 ea 00 00    	movw   $0x0,-0x16(%ebp)
40b5d4:	66 c7 45 e8 00 00    	movw   $0x0,-0x18(%ebp)
40b5da:	c6 45 e4 00          	movb   $0x0,-0x1c(%ebp)
40b5de:	c6 45 f3 00          	movb   $0x0,-0xd(%ebp)
40b5e2:	a1 14 a8 4a 00       	mov    0x4aa814,%eax
40b5e7:	e8 70 fe ff ff       	call   0x40b45c
40b5ec:	88 45 f2             	mov    %al,-0xe(%ebp)
40b5ef:	33 c0                	xor    %eax,%eax
40b5f1:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b5f4:	a1 14 a8 4a 00       	mov    0x4aa814,%eax
40b5f9:	80 38 67             	cmpb   $0x67,(%eax)
40b5fc:	75 34                	jne    0x40b632
40b5fe:	8b d3                	mov    %ebx,%edx
40b600:	8b c6                	mov    %esi,%eax
40b602:	e8 a1 fe ff ff       	call   0x40b4a8
40b607:	8d 45 e0             	lea    -0x20(%ebp),%eax
40b60a:	50                   	push   %eax
40b60b:	8b 0b                	mov    (%ebx),%ecx
40b60d:	49                   	dec    %ecx
40b60e:	ba 01 00 00 00       	mov    $0x1,%edx
40b613:	8b c6                	mov    %esi,%eax
40b615:	e8 52 96 ff ff       	call   0x404c6c
40b61a:	8b 45 e0             	mov    -0x20(%ebp),%eax
40b61d:	8d 55 f8             	lea    -0x8(%ebp),%edx
40b620:	e8 37 d5 ff ff       	call   0x408b5c
40b625:	8b 45 f8             	mov    -0x8(%ebp),%eax
40b628:	e8 c3 fe ff ff       	call   0x40b4f0
40b62d:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b630:	eb 1c                	jmp    0x40b64e
40b632:	8b 15 14 a8 4a 00    	mov    0x4aa814,%edx
40b638:	b8 dc b8 40 00       	mov    $0x40b8dc,%eax
40b63d:	e8 4e 1b 00 00       	call   0x40d190
40b642:	85 c0                	test   %eax,%eax
40b644:	7e 08                	jle    0x40b64e
40b646:	a1 f4 a8 4a 00       	mov    0x4aa8f4,%eax
40b64b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b64e:	8d 45 e7             	lea    -0x19(%ebp),%eax
40b651:	50                   	push   %eax
40b652:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40b655:	8b d3                	mov    %ebx,%edx
40b657:	8b c6                	mov    %esi,%eax
40b659:	e8 56 fc ff ff       	call   0x40b2b4
40b65e:	84 c0                	test   %al,%al
40b660:	0f 84 39 02 00 00    	je     0x40b89f
40b666:	8b d3                	mov    %ebx,%edx
40b668:	0f b6 0d 11 a8 4a 00 	movzbl 0x4aa811,%ecx
40b66f:	8b c6                	mov    %esi,%eax
40b671:	e8 aa fd ff ff       	call   0x40b420
40b676:	84 c0                	test   %al,%al
40b678:	0f 84 21 02 00 00    	je     0x40b89f
40b67e:	8d 45 e6             	lea    -0x1a(%ebp),%eax
40b681:	50                   	push   %eax
40b682:	8d 4d ee             	lea    -0x12(%ebp),%ecx
40b685:	8b d3                	mov    %ebx,%edx
40b687:	8b c6                	mov    %esi,%eax
40b689:	e8 26 fc ff ff       	call   0x40b2b4
40b68e:	84 c0                	test   %al,%al
40b690:	0f 84 09 02 00 00    	je     0x40b89f
40b696:	8b d3                	mov    %ebx,%edx
40b698:	0f b6 0d 11 a8 4a 00 	movzbl 0x4aa811,%ecx
40b69f:	8b c6                	mov    %esi,%eax
40b6a1:	e8 7a fd ff ff       	call   0x40b420
40b6a6:	84 c0                	test   %al,%al
40b6a8:	0f 84 d2 00 00 00    	je     0x40b780
40b6ae:	8d 45 e5             	lea    -0x1b(%ebp),%eax
40b6b1:	50                   	push   %eax
40b6b2:	8d 4d ec             	lea    -0x14(%ebp),%ecx
40b6b5:	8b d3                	mov    %ebx,%edx
40b6b7:	8b c6                	mov    %esi,%eax
40b6b9:	e8 f6 fb ff ff       	call   0x40b2b4
40b6be:	84 c0                	test   %al,%al
40b6c0:	0f 84 d9 01 00 00    	je     0x40b89f
40b6c6:	0f b6 45 f2          	movzbl -0xe(%ebp),%eax
40b6ca:	2c 01                	sub    $0x1,%al
40b6cc:	72 08                	jb     0x40b6d6
40b6ce:	74 23                	je     0x40b6f3
40b6d0:	fe c8                	dec    %al
40b6d2:	74 3c                	je     0x40b710
40b6d4:	eb 55                	jmp    0x40b72b
40b6d6:	0f b7 7d ec          	movzwl -0x14(%ebp),%edi
40b6da:	0f b6 45 e5          	movzbl -0x1b(%ebp),%eax
40b6de:	88 45 e4             	mov    %al,-0x1c(%ebp)
40b6e1:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40b6e5:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b6e9:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b6ed:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b6f1:	eb 38                	jmp    0x40b72b
40b6f3:	0f b7 7d ec          	movzwl -0x14(%ebp),%edi
40b6f7:	0f b6 45 e5          	movzbl -0x1b(%ebp),%eax
40b6fb:	88 45 e4             	mov    %al,-0x1c(%ebp)
40b6fe:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b702:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b706:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40b70a:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b70e:	eb 1b                	jmp    0x40b72b
40b710:	0f b7 7d f0          	movzwl -0x10(%ebp),%edi
40b714:	0f b6 45 e7          	movzbl -0x19(%ebp),%eax
40b718:	88 45 e4             	mov    %al,-0x1c(%ebp)
40b71b:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40b71f:	66 89 45 ea          	mov    %ax,-0x16(%ebp)
40b723:	0f b7 45 ec          	movzwl -0x14(%ebp),%eax
40b727:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40b72b:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
40b72f:	7e 0e                	jle    0x40b73f
40b731:	55                   	push   %ebp
40b732:	0f b7 c7             	movzwl %di,%eax
40b735:	e8 0a fe ff ff       	call   0x40b544
40b73a:	59                   	pop    %ecx
40b73b:	8b f8                	mov    %eax,%edi
40b73d:	eb 70                	jmp    0x40b7af
40b73f:	80 7d e4 02          	cmpb   $0x2,-0x1c(%ebp)
40b743:	77 6a                	ja     0x40b7af
40b745:	e8 3a ef ff ff       	call   0x40a684
40b74a:	0f b7 c8             	movzwl %ax,%ecx
40b74d:	0f b7 05 d4 b7 49 00 	movzwl 0x49b7d4,%eax
40b754:	2b c8                	sub    %eax,%ecx
40b756:	8b c1                	mov    %ecx,%eax
40b758:	51                   	push   %ecx
40b759:	b9 64 00 00 00       	mov    $0x64,%ecx
40b75e:	99                   	cltd
40b75f:	f7 f9                	idiv   %ecx
40b761:	59                   	pop    %ecx
40b762:	66 6b c0 64          	imul   $0x64,%ax,%ax
40b766:	66 03 f8             	add    %ax,%di
40b769:	66 83 3d d4 b7 49 00 	cmpw   $0x0,0x49b7d4
40b770:	00
40b771:	76 3c                	jbe    0x40b7af
40b773:	0f b7 c7             	movzwl %di,%eax
40b776:	3b c8                	cmp    %eax,%ecx
40b778:	7e 35                	jle    0x40b7af
40b77a:	66 83 c7 64          	add    $0x64,%di
40b77e:	eb 2f                	jmp    0x40b7af
40b780:	e8 ff ee ff ff       	call   0x40a684
40b785:	8b f8                	mov    %eax,%edi
40b787:	80 7d f2 01          	cmpb   $0x1,-0xe(%ebp)
40b78b:	75 12                	jne    0x40b79f