40e27f:	56                   	push   %esi
40e280:	8b 75 08             	mov    0x8(%ebp),%esi
40e283:	57                   	push   %edi
40e284:	56                   	push   %esi
40e285:	e8 ab e3 ff ff       	call   0x40c635
40e28a:	83 cf ff             	or     $0xffffffff,%edi
40e28d:	59                   	pop    %ecx
40e28e:	3b c7                	cmp    %edi,%eax
40e290:	75 11                	jne    0x40e2a3
40e292:	e8 70 9a ff ff       	call   0x407d07
40e297:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40e29d:	8b c7                	mov    %edi,%eax
40e29f:	8b d7                	mov    %edi,%edx
40e2a1:	eb 4d                	jmp    0x40e2f0
40e2a3:	ff 75 14             	push   0x14(%ebp)
40e2a6:	8d 4d f8             	lea    -0x8(%ebp),%ecx
40e2a9:	51                   	push   %ecx
40e2aa:	ff 75 10             	push   0x10(%ebp)
40e2ad:	ff 75 0c             	push   0xc(%ebp)
40e2b0:	50                   	push   %eax
40e2b1:	ff 15 60 b1 41 00    	call   *0x41b160
40e2b7:	85 c0                	test   %eax,%eax
40e2b9:	75 0f                	jne    0x40e2ca
40e2bb:	ff 15 48 b0 41 00    	call   *0x41b048
40e2c1:	50                   	push   %eax
40e2c2:	e8 0a 9a ff ff       	call   0x407cd1
40e2c7:	59                   	pop    %ecx
40e2c8:	eb d3                	jmp    0x40e29d
40e2ca:	8b 45 f8             	mov    -0x8(%ebp),%eax
40e2cd:	8b 55 fc             	mov    -0x4(%ebp),%edx
40e2d0:	23 c2                	and    %edx,%eax
40e2d2:	3b c7                	cmp    %edi,%eax
40e2d4:	74 c7                	je     0x40e29d
40e2d6:	8b 45 f8             	mov    -0x8(%ebp),%eax
40e2d9:	8b ce                	mov    %esi,%ecx
40e2db:	83 e6 3f             	and    $0x3f,%esi
40e2de:	c1 f9 06             	sar    $0x6,%ecx
40e2e1:	6b f6 30             	imul   $0x30,%esi,%esi
40e2e4:	8b 0c 8d c0 41 42 00 	mov    0x4241c0(,%ecx,4),%ecx
40e2eb:	80 64 31 28 fd       	andb   $0xfd,0x28(%ecx,%esi,1)
40e2f0:	5f                   	pop    %edi
40e2f1:	5e                   	pop    %esi
40e2f2:	8b e5                	mov    %ebp,%esp
40e2f4:	5d                   	pop    %ebp
40e2f5:	c3                   	ret
40e2f6:	8b ff                	mov    %edi,%edi
40e2f8:	55                   	push   %ebp
40e2f9:	8b ec                	mov    %esp,%ebp
40e2fb:	ff 75 14             	push   0x14(%ebp)
40e2fe:	ff 75 10             	push   0x10(%ebp)
40e301:	ff 75 0c             	push   0xc(%ebp)
40e304:	ff 75 08             	push   0x8(%ebp)
40e307:	e8 67 fe ff ff       	call   0x40e173
40e30c:	83 c4 10             	add    $0x10,%esp
40e30f:	5d                   	pop    %ebp
40e310:	c3                   	ret
40e311:	8b ff                	mov    %edi,%edi
40e313:	55                   	push   %ebp
40e314:	8b ec                	mov    %esp,%ebp
40e316:	ff 75 14             	push   0x14(%ebp)
40e319:	ff 75 10             	push   0x10(%ebp)
40e31c:	ff 75 0c             	push   0xc(%ebp)
40e31f:	ff 75 08             	push   0x8(%ebp)
40e322:	e8 51 ff ff ff       	call   0x40e278
40e327:	83 c4 10             	add    $0x10,%esp
40e32a:	5d                   	pop    %ebp
40e32b:	c3                   	ret
40e32c:	8b ff                	mov    %edi,%edi
40e32e:	55                   	push   %ebp
40e32f:	8b ec                	mov    %esp,%ebp
40e331:	83 ec 38             	sub    $0x38,%esp
40e334:	a1 0c 30 42 00       	mov    0x42300c,%eax
40e339:	33 c5                	xor    %ebp,%eax
40e33b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e33e:	8b 45 0c             	mov    0xc(%ebp),%eax
40e341:	8b c8                	mov    %eax,%ecx
40e343:	83 e0 3f             	and    $0x3f,%eax
40e346:	c1 f9 06             	sar    $0x6,%ecx
40e349:	53                   	push   %ebx
40e34a:	6b d8 30             	imul   $0x30,%eax,%ebx
40e34d:	56                   	push   %esi
40e34e:	8b 04 8d c0 41 42 00 	mov    0x4241c0(,%ecx,4),%eax
40e355:	57                   	push   %edi
40e356:	8b 7d 10             	mov    0x10(%ebp),%edi
40e359:	89 7d d0             	mov    %edi,-0x30(%ebp)
40e35c:	89 4d d4             	mov    %ecx,-0x2c(%ebp)
40e35f:	8b 44 18 18          	mov    0x18(%eax,%ebx,1),%eax
40e363:	89 45 d8             	mov    %eax,-0x28(%ebp)
40e366:	8b 45 14             	mov    0x14(%ebp),%eax
40e369:	03 c7                	add    %edi,%eax
40e36b:	89 45 dc             	mov    %eax,-0x24(%ebp)
40e36e:	ff 15 64 b1 41 00    	call   *0x41b164
40e374:	8b 75 08             	mov    0x8(%ebp),%esi
40e377:	8b 4d dc             	mov    -0x24(%ebp),%ecx
40e37a:	89 45 c8             	mov    %eax,-0x38(%ebp)
40e37d:	33 c0                	xor    %eax,%eax
40e37f:	89 06                	mov    %eax,(%esi)
40e381:	89 46 04             	mov    %eax,0x4(%esi)
40e384:	89 46 08             	mov    %eax,0x8(%esi)
40e387:	3b f9                	cmp    %ecx,%edi
40e389:	0f 83 3d 01 00 00    	jae    0x40e4cc
40e38f:	8a 2f                	mov    (%edi),%ch
40e391:	33 c0                	xor    %eax,%eax
40e393:	66 89 45 e8          	mov    %ax,-0x18(%ebp)
40e397:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40e39a:	88 6d e5             	mov    %ch,-0x1b(%ebp)
40e39d:	8b 14 85 c0 41 42 00 	mov    0x4241c0(,%eax,4),%edx
40e3a4:	8a 4c 1a 2d          	mov    0x2d(%edx,%ebx,1),%cl
40e3a8:	f6 c1 04             	test   $0x4,%cl
40e3ab:	74 19                	je     0x40e3c6
40e3ad:	8a 44 1a 2e          	mov    0x2e(%edx,%ebx,1),%al
40e3b1:	80 e1 fb             	and    $0xfb,%cl
40e3b4:	88 45 f4             	mov    %al,-0xc(%ebp)
40e3b7:	8d 45 f4             	lea    -0xc(%ebp),%eax
40e3ba:	6a 02                	push   $0x2
40e3bc:	88 6d f5             	mov    %ch,-0xb(%ebp)
40e3bf:	88 4c 1a 2d          	mov    %cl,0x2d(%edx,%ebx,1)
40e3c3:	50                   	push   %eax
40e3c4:	eb 3a                	jmp    0x40e400
40e3c6:	e8 5f 25 00 00       	call   0x41092a
40e3cb:	0f b6 0f             	movzbl (%edi),%ecx
40e3ce:	ba 00 80 00 00       	mov    $0x8000,%edx
40e3d3:	66 85 14 48          	test   %dx,(%eax,%ecx,2)
40e3d7:	74 24                	je     0x40e3fd
40e3d9:	3b 7d dc             	cmp    -0x24(%ebp),%edi
40e3dc:	0f 83 c1 00 00 00    	jae    0x40e4a3
40e3e2:	6a 02                	push   $0x2
40e3e4:	8d 45 e8             	lea    -0x18(%ebp),%eax
40e3e7:	57                   	push   %edi
40e3e8:	50                   	push   %eax
40e3e9:	e8 a8 c2 ff ff       	call   0x40a696
40e3ee:	83 c4 0c             	add    $0xc,%esp
40e3f1:	83 f8 ff             	cmp    $0xffffffff,%eax
40e3f4:	0f 84 d2 00 00 00    	je     0x40e4cc
40e3fa:	47                   	inc    %edi
40e3fb:	eb 18                	jmp    0x40e415
40e3fd:	6a 01                	push   $0x1
40e3ff:	57                   	push   %edi
40e400:	8d 45 e8             	lea    -0x18(%ebp),%eax
40e403:	50                   	push   %eax
40e404:	e8 8d c2 ff ff       	call   0x40a696
40e409:	83 c4 0c             	add    $0xc,%esp
40e40c:	83 f8 ff             	cmp    $0xffffffff,%eax
40e40f:	0f 84 b7 00 00 00    	je     0x40e4cc
40e415:	33 c9                	xor    %ecx,%ecx
40e417:	8d 45 ec             	lea    -0x14(%ebp),%eax
40e41a:	51                   	push   %ecx
40e41b:	51                   	push   %ecx
40e41c:	6a 05                	push   $0x5
40e41e:	50                   	push   %eax
40e41f:	6a 01                	push   $0x1
40e421:	8d 45 e8             	lea    -0x18(%ebp),%eax
40e424:	47                   	inc    %edi
40e425:	50                   	push   %eax
40e426:	51                   	push   %ecx
40e427:	ff 75 c8             	push   -0x38(%ebp)
40e42a:	ff 15 30 b1 41 00    	call   *0x41b130
40e430:	89 45 cc             	mov    %eax,-0x34(%ebp)
40e433:	85 c0                	test   %eax,%eax
40e435:	0f 84 91 00 00 00    	je     0x40e4cc
40e43b:	6a 00                	push   $0x0
40e43d:	8d 4d e0             	lea    -0x20(%ebp),%ecx
40e440:	51                   	push   %ecx
40e441:	50                   	push   %eax
40e442:	8d 45 ec             	lea    -0x14(%ebp),%eax
40e445:	50                   	push   %eax
40e446:	ff 75 d8             	push   -0x28(%ebp)
40e449:	ff 15 38 b1 41 00    	call   *0x41b138
40e44f:	85 c0                	test   %eax,%eax
40e451:	74 71                	je     0x40e4c4
40e453:	8b 46 08             	mov    0x8(%esi),%eax
40e456:	2b 45 d0             	sub    -0x30(%ebp),%eax
40e459:	03 c7                	add    %edi,%eax
40e45b:	89 46 04             	mov    %eax,0x4(%esi)
40e45e:	8b 45 cc             	mov    -0x34(%ebp),%eax
40e461:	39 45 e0             	cmp    %eax,-0x20(%ebp)
40e464:	72 66                	jb     0x40e4cc
40e466:	80 7d e5 0a          	cmpb   $0xa,-0x1b(%ebp)
40e46a:	75 2c                	jne    0x40e498
40e46c:	6a 0d                	push   $0xd
40e46e:	58                   	pop    %eax
40e46f:	6a 00                	push   $0x0
40e471:	66 89 45 e4          	mov    %ax,-0x1c(%ebp)
40e475:	8d 45 e0             	lea    -0x20(%ebp),%eax
40e478:	50                   	push   %eax
40e479:	6a 01                	push   $0x1
40e47b:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40e47e:	50                   	push   %eax
40e47f:	ff 75 d8             	push   -0x28(%ebp)
40e482:	ff 15 38 b1 41 00    	call   *0x41b138
40e488:	85 c0                	test   %eax,%eax
40e48a:	74 38                	je     0x40e4c4
40e48c:	83 7d e0 01          	cmpl   $0x1,-0x20(%ebp)
40e490:	72 3a                	jb     0x40e4cc
40e492:	ff 46 08             	incl   0x8(%esi)
40e495:	ff 46 04             	incl   0x4(%esi)
40e498:	3b 7d dc             	cmp    -0x24(%ebp),%edi
40e49b:	0f 82 ee fe ff ff    	jb     0x40e38f
40e4a1:	eb 29                	jmp    0x40e4cc
40e4a3:	8b 55 d4             	mov    -0x2c(%ebp),%edx
40e4a6:	8a 07                	mov    (%edi),%al
40e4a8:	8b 0c 95 c0 41 42 00 	mov    0x4241c0(,%edx,4),%ecx
40e4af:	88 44 19 2e          	mov    %al,0x2e(%ecx,%ebx,1)
40e4b3:	8b 04 95 c0 41 42 00 	mov    0x4241c0(,%edx,4),%eax
40e4ba:	80 4c 18 2d 04       	orb    $0x4,0x2d(%eax,%ebx,1)
40e4bf:	ff 46 04             	incl   0x4(%esi)
40e4c2:	eb 08                	jmp    0x40e4cc
40e4c4:	ff 15 48 b0 41 00    	call   *0x41b048
40e4ca:	89 06                	mov    %eax,(%esi)
40e4cc:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e4cf:	8b c6                	mov    %esi,%eax
40e4d1:	5f                   	pop    %edi
40e4d2:	5e                   	pop    %esi
40e4d3:	33 cd                	xor    %ebp,%ecx
40e4d5:	5b                   	pop    %ebx
40e4d6:	e8 7b 4a ff ff       	call   0x402f56
40e4db:	8b e5                	mov    %ebp,%esp
40e4dd:	5d                   	pop    %ebp
40e4de:	c3                   	ret
40e4df:	8b ff                	mov    %edi,%edi
40e4e1:	55                   	push   %ebp
40e4e2:	8b ec                	mov    %esp,%ebp
40e4e4:	51                   	push   %ecx
40e4e5:	53                   	push   %ebx
40e4e6:	56                   	push   %esi
40e4e7:	8b 75 08             	mov    0x8(%ebp),%esi
40e4ea:	33 c0                	xor    %eax,%eax
40e4ec:	57                   	push   %edi
40e4ed:	8b 7d 0c             	mov    0xc(%ebp),%edi
40e4f0:	89 06                	mov    %eax,(%esi)
40e4f2:	89 46 04             	mov    %eax,0x4(%esi)
40e4f5:	89 46 08             	mov    %eax,0x8(%esi)
40e4f8:	8b 45 10             	mov    0x10(%ebp),%eax
40e4fb:	03 c7                	add    %edi,%eax
40e4fd:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e500:	3b f8                	cmp    %eax,%edi
40e502:	73 3f                	jae    0x40e543
40e504:	0f b7 1f             	movzwl (%edi),%ebx
40e507:	53                   	push   %ebx
40e508:	e8 8d 6b 00 00       	call   0x41509a
40e50d:	59                   	pop    %ecx
40e50e:	66 3b c3             	cmp    %bx,%ax
40e511:	75 28                	jne    0x40e53b
40e513:	83 46 04 02          	addl   $0x2,0x4(%esi)
40e517:	83 fb 0a             	cmp    $0xa,%ebx
40e51a:	75 15                	jne    0x40e531
40e51c:	6a 0d                	push   $0xd
40e51e:	5b                   	pop    %ebx
40e51f:	53                   	push   %ebx
40e520:	e8 75 6b 00 00       	call   0x41509a
40e525:	59                   	pop    %ecx
40e526:	66 3b c3             	cmp    %bx,%ax
40e529:	75 10                	jne    0x40e53b
40e52b:	ff 46 04             	incl   0x4(%esi)
40e52e:	ff 46 08             	incl   0x8(%esi)
40e531:	83 c7 02             	add    $0x2,%edi
40e534:	3b 7d fc             	cmp    -0x4(%ebp),%edi
40e537:	72 cb                	jb     0x40e504
40e539:	eb 08                	jmp    0x40e543
40e53b:	ff 15 48 b0 41 00    	call   *0x41b048
40e541:	89 06                	mov    %eax,(%esi)
40e543:	5f                   	pop    %edi
40e544:	8b c6                	mov    %esi,%eax
40e546:	5e                   	pop    %esi
40e547:	5b                   	pop    %ebx
40e548:	8b e5                	mov    %ebp,%esp
40e54a:	5d                   	pop    %ebp
40e54b:	c3                   	ret
40e54c:	8b ff                	mov    %edi,%edi
40e54e:	55                   	push   %ebp
40e54f:	8b ec                	mov    %esp,%ebp
40e551:	51                   	push   %ecx
40e552:	56                   	push   %esi
40e553:	8b 75 08             	mov    0x8(%ebp),%esi
40e556:	56                   	push   %esi
40e557:	e8 0e 4f 00 00       	call   0x41346a
40e55c:	59                   	pop    %ecx
40e55d:	85 c0                	test   %eax,%eax
40e55f:	75 04                	jne    0x40e565
40e561:	32 c0                	xor    %al,%al
40e563:	eb 58                	jmp    0x40e5bd
40e565:	57                   	push   %edi
40e566:	8b fe                	mov    %esi,%edi
40e568:	83 e6 3f             	and    $0x3f,%esi
40e56b:	c1 ff 06             	sar    $0x6,%edi
40e56e:	6b f6 30             	imul   $0x30,%esi,%esi
40e571:	8b 04 bd c0 41 42 00 	mov    0x4241c0(,%edi,4),%eax
40e578:	f6 44 30 28 80       	testb  $0x80,0x28(%eax,%esi,1)
40e57d:	74 1f                	je     0x40e59e
40e57f:	e8 9e c4 ff ff       	call   0x40aa22
40e584:	8b 40 4c             	mov    0x4c(%eax),%eax
40e587:	83 b8 a8 00 00 00 00 	cmpl   $0x0,0xa8(%eax)
40e58e:	75 12                	jne    0x40e5a2
40e590:	8b 04 bd c0 41 42 00 	mov    0x4241c0(,%edi,4),%eax
40e597:	80 7c 30 29 00       	cmpb   $0x0,0x29(%eax,%esi,1)
40e59c:	75 04                	jne    0x40e5a2
40e59e:	32 c0                	xor    %al,%al
40e5a0:	eb 1a                	jmp    0x40e5bc
40e5a2:	8d 45 fc             	lea    -0x4(%ebp),%eax
40e5a5:	50                   	push   %eax
40e5a6:	8b 04 bd c0 41 42 00 	mov    0x4241c0(,%edi,4),%eax
40e5ad:	ff 74 30 18          	push   0x18(%eax,%esi,1)
40e5b1:	ff 15 68 b1 41 00    	call   *0x41b168
40e5b7:	85 c0                	test   %eax,%eax
40e5b9:	0f 95 c0             	setne  %al
40e5bc:	5f                   	pop    %edi
40e5bd:	5e                   	pop    %esi
40e5be:	8b e5                	mov    %ebp,%esp
40e5c0:	5d                   	pop    %ebp
40e5c1:	c3                   	ret
40e5c2:	8b ff                	mov    %edi,%edi
40e5c4:	55                   	push   %ebp
40e5c5:	8b ec                	mov    %esp,%ebp
40e5c7:	b8 10 14 00 00       	mov    $0x1410,%eax
40e5cc:	e8 cf 9d 00 00       	call   0x4183a0
40e5d1:	a1 0c 30 42 00       	mov    0x42300c,%eax
40e5d6:	33 c5                	xor    %ebp,%eax
40e5d8:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e5db:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40e5de:	8b c1                	mov    %ecx,%eax
40e5e0:	c1 f8 06             	sar    $0x6,%eax
40e5e3:	83 e1 3f             	and    $0x3f,%ecx
40e5e6:	6b c9 30             	imul   $0x30,%ecx,%ecx
40e5e9:	53                   	push   %ebx
40e5ea:	8b 5d 10             	mov    0x10(%ebp),%ebx
40e5ed:	8b 04 85 c0 41 42 00 	mov    0x4241c0(,%eax,4),%eax
40e5f4:	56                   	push   %esi
40e5f5:	8b 75 08             	mov    0x8(%ebp),%esi
40e5f8:	57                   	push   %edi
40e5f9:	8b 4c 08 18          	mov    0x18(%eax,%ecx,1),%ecx
40e5fd:	8b 45 14             	mov    0x14(%ebp),%eax
40e600:	83 26 00             	andl   $0x0,(%esi)
40e603:	03 c3                	add    %ebx,%eax
40e605:	83 66 04 00          	andl   $0x0,0x4(%esi)
40e609:	83 66 08 00          	andl   $0x0,0x8(%esi)
40e60d:	89 8d f0 eb ff ff    	mov    %ecx,-0x1410(%ebp)
40e613:	89 85 f8 eb ff ff    	mov    %eax,-0x1408(%ebp)
40e619:	eb 65                	jmp    0x40e680
40e61b:	8d bd fc eb ff ff    	lea    -0x1404(%ebp),%edi
40e621:	3b d8                	cmp    %eax,%ebx
40e623:	73 1e                	jae    0x40e643
40e625:	8a 03                	mov    (%ebx),%al
40e627:	43                   	inc    %ebx
40e628:	3c 0a                	cmp    $0xa,%al
40e62a:	75 07                	jne    0x40e633
40e62c:	ff 46 08             	incl   0x8(%esi)
40e62f:	c6 07 0d             	movb   $0xd,(%edi)
40e632:	47                   	inc    %edi
40e633:	88 07                	mov    %al,(%edi)
40e635:	8d 45 fb             	lea    -0x5(%ebp),%eax