40733d:	75 06                	jne    0x407345
40733f:	89 b5 ec fb ff ff    	mov    %esi,-0x414(%ebp)
407345:	83 fa 05             	cmp    $0x5,%edx
407348:	7e 4f                	jle    0x407399
40734a:	8b 4f 14             	mov    0x14(%edi),%ecx
40734d:	66 39 19             	cmp    %bx,(%ecx)
407350:	75 05                	jne    0x407357
407352:	83 cb ff             	or     $0xffffffff,%ebx
407355:	eb 07                	jmp    0x40735e
407357:	e8 1a c9 ff ff       	call   0x403c76
40735c:	8b d8                	mov    %eax,%ebx
40735e:	8b 4f 18             	mov    0x18(%edi),%ecx
407361:	e8 10 c9 ff ff       	call   0x403c76
407366:	83 bd e0 fb ff ff 07 	cmpl   $0x7,-0x420(%ebp)
40736d:	89 85 e4 fb ff ff    	mov    %eax,-0x41c(%ebp)
407373:	89 b5 e8 fb ff ff    	mov    %esi,-0x418(%ebp)
407379:	7e 21                	jle    0x40739c
40737b:	6a 07                	push   $0x7
40737d:	51                   	push   %ecx
40737e:	8b d7                	mov    %edi,%edx
407380:	8d 8d a4 fb ff ff    	lea    -0x45c(%ebp),%ecx
407386:	e8 bb c9 ff ff       	call   0x403d46
40738b:	8d b5 a4 fb ff ff    	lea    -0x45c(%ebp),%esi
407391:	eb 09                	jmp    0x40739c
407393:	89 b5 ec fb ff ff    	mov    %esi,-0x414(%ebp)
407399:	83 cb ff             	or     $0xffffffff,%ebx
40739c:	ff b5 dc fb ff ff    	push   -0x424(%ebp)
4073a2:	ba 00 01 00 00       	mov    $0x100,%edx
4073a7:	8d 8d f0 fd ff ff    	lea    -0x210(%ebp),%ecx
4073ad:	e8 ae b3 ff ff       	call   0x402760
4073b2:	8b 8d d8 fb ff ff    	mov    -0x428(%ebp),%ecx
4073b8:	e8 b9 c8 ff ff       	call   0x403c76
4073bd:	66 89 45 f0          	mov    %ax,-0x10(%ebp)
4073c1:	33 c0                	xor    %eax,%eax
4073c3:	66 89 85 f0 fb ff ff 	mov    %ax,-0x410(%ebp)
4073ca:	8d 85 f0 fb ff ff    	lea    -0x410(%ebp),%eax
4073d0:	50                   	push   %eax
4073d1:	ff b5 e8 fb ff ff    	push   -0x418(%ebp)
4073d7:	ff b5 e4 fb ff ff    	push   -0x41c(%ebp)
4073dd:	56                   	push   %esi
4073de:	53                   	push   %ebx
4073df:	ff b5 ec fb ff ff    	push   -0x414(%ebp)
4073e5:	ff 15 00 f0 40 00    	call   *0x40f000
4073eb:	8b f0                	mov    %eax,%esi
4073ed:	8b c6                	mov    %esi,%eax
4073ef:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4073f2:	5f                   	pop    %edi
4073f3:	5e                   	pop    %esi
4073f4:	33 cd                	xor    %ebp,%ecx
4073f6:	5b                   	pop    %ebx
4073f7:	e8 d4 16 00 00       	call   0x408ad0
4073fc:	c9                   	leave
4073fd:	c3                   	ret
4073fe:	8b ff                	mov    %edi,%edi
407400:	55                   	push   %ebp
407401:	8b ec                	mov    %esp,%ebp
407403:	81 ec 64 04 00 00    	sub    $0x464,%esp
407409:	a1 04 a0 40 00       	mov    0x40a004,%eax
40740e:	33 c5                	xor    %ebp,%eax
407410:	89 45 fc             	mov    %eax,-0x4(%ebp)
407413:	53                   	push   %ebx
407414:	56                   	push   %esi
407415:	57                   	push   %edi
407416:	6a 12                	push   $0x12
407418:	58                   	pop    %eax
407419:	89 8d e8 fb ff ff    	mov    %ecx,-0x418(%ebp)
40741f:	8b fa                	mov    %edx,%edi
407421:	89 85 ec fb ff ff    	mov    %eax,-0x414(%ebp)
407427:	3b c8                	cmp    %eax,%ecx
407429:	7d 0f                	jge    0x40743a
40742b:	33 c9                	xor    %ecx,%ecx
40742d:	41                   	inc    %ecx
40742e:	e8 2c b6 ff ff       	call   0x402a5f
407433:	33 ff                	xor    %edi,%edi
407435:	e9 98 02 00 00       	jmp    0x4076d2
40743a:	8b 47 08             	mov    0x8(%edi),%eax
40743d:	33 db                	xor    %ebx,%ebx
40743f:	89 85 d4 fb ff ff    	mov    %eax,-0x42c(%ebp)
407445:	8b 47 0c             	mov    0xc(%edi),%eax
407448:	6a 2a                	push   $0x2a
40744a:	59                   	pop    %ecx
40744b:	89 85 dc fb ff ff    	mov    %eax,-0x424(%ebp)
407451:	66 39 08             	cmp    %cx,(%eax)
407454:	75 06                	jne    0x40745c
407456:	89 9d dc fb ff ff    	mov    %ebx,-0x424(%ebp)
40745c:	8b 57 10             	mov    0x10(%edi),%edx
40745f:	66 39 0a             	cmp    %cx,(%edx)
407462:	74 67                	je     0x4074cb
407464:	8b 77 14             	mov    0x14(%edi),%esi
407467:	66 39 0e             	cmp    %cx,(%esi)
40746a:	74 5f                	je     0x4074cb
40746c:	8b ca                	mov    %edx,%ecx
40746e:	8d 41 02             	lea    0x2(%ecx),%eax
407471:	89 85 e4 fb ff ff    	mov    %eax,-0x41c(%ebp)
407477:	66 8b 01             	mov    (%ecx),%ax
40747a:	83 c1 02             	add    $0x2,%ecx
40747d:	66 3b c3             	cmp    %bx,%ax
407480:	75 f5                	jne    0x407477
407482:	2b 8d e4 fb ff ff    	sub    -0x41c(%ebp),%ecx
407488:	d1 f9                	sar    $1,%ecx
40748a:	81 f9 ff 00 00 00    	cmp    $0xff,%ecx
407490:	76 08                	jbe    0x40749a
407492:	6a 57                	push   $0x57
407494:	58                   	pop    %eax
407495:	e9 3a 02 00 00       	jmp    0x4076d4
40749a:	33 c0                	xor    %eax,%eax
40749c:	c7 85 f0 fb ff ff 01 	movl   $0x1,-0x410(%ebp)
4074a3:	00 00 00
4074a6:	52                   	push   %edx
4074a7:	ba 00 01 00 00       	mov    $0x100,%edx
4074ac:	66 89 85 f4 fb ff ff 	mov    %ax,-0x40c(%ebp)
4074b3:	8d 8d f4 fd ff ff    	lea    -0x20c(%ebp),%ecx
4074b9:	e8 a2 b2 ff ff       	call   0x402760
4074be:	8b ce                	mov    %esi,%ecx
4074c0:	e8 b1 c7 ff ff       	call   0x403c76
4074c5:	66 89 45 f4          	mov    %ax,-0xc(%ebp)
4074c9:	eb 0f                	jmp    0x4074da
4074cb:	33 c0                	xor    %eax,%eax
4074cd:	89 9d f0 fb ff ff    	mov    %ebx,-0x410(%ebp)
4074d3:	66 89 85 f4 fd ff ff 	mov    %ax,-0x20c(%ebp)
4074da:	8b 4f 18             	mov    0x18(%edi),%ecx
4074dd:	e8 94 c7 ff ff       	call   0x403c76
4074e2:	89 85 d8 fb ff ff    	mov    %eax,-0x428(%ebp)
4074e8:	8b 47 1c             	mov    0x1c(%edi),%eax
4074eb:	6a 2a                	push   $0x2a
4074ed:	59                   	pop    %ecx
4074ee:	0f b7 00             	movzwl (%eax),%eax
4074f1:	66 3b c1             	cmp    %cx,%ax
4074f4:	74 10                	je     0x407506
4074f6:	83 f8 74             	cmp    $0x74,%eax
4074f9:	74 0b                	je     0x407506
4074fb:	88 9d e0 fb ff ff    	mov    %bl,-0x420(%ebp)
407501:	83 f8 54             	cmp    $0x54,%eax
407504:	75 07                	jne    0x40750d
407506:	c6 85 e0 fb ff ff 01 	movb   $0x1,-0x420(%ebp)
40750d:	6a 08                	push   $0x8
40750f:	51                   	push   %ecx
407510:	8b d7                	mov    %edi,%edx
407512:	8d 8d a0 fb ff ff    	lea    -0x460(%ebp),%ecx
407518:	e8 29 c8 ff ff       	call   0x403d46
40751d:	8b 4f 44             	mov    0x44(%edi),%ecx
407520:	e8 51 c7 ff ff       	call   0x403c76
407525:	8b c8                	mov    %eax,%ecx
407527:	89 8d e4 fb ff ff    	mov    %ecx,-0x41c(%ebp)
40752d:	8d 04 8d 12 00 00 00 	lea    0x12(,%ecx,4),%eax
407534:	39 85 e8 fb ff ff    	cmp    %eax,-0x418(%ebp)
40753a:	74 0f                	je     0x40754b
40753c:	33 c9                	xor    %ecx,%ecx
40753e:	41                   	inc    %ecx
40753f:	e8 1b b5 ff ff       	call   0x402a5f
407544:	33 c0                	xor    %eax,%eax
407546:	e9 89 01 00 00       	jmp    0x4076d4
40754b:	85 c9                	test   %ecx,%ecx
40754d:	0f 84 37 01 00 00    	je     0x40768a
407553:	8b c1                	mov    %ecx,%eax
407555:	c1 e0 04             	shl    $0x4,%eax
407558:	05 e8 05 00 00       	add    $0x5e8,%eax
40755d:	50                   	push   %eax
40755e:	ff 15 a4 f0 40 00    	call   *0x40f0a4
407564:	8b f0                	mov    %eax,%esi
407566:	85 f6                	test   %esi,%esi
407568:	75 07                	jne    0x407571
40756a:	6a 08                	push   $0x8
40756c:	e9 23 ff ff ff       	jmp    0x407494
407571:	33 c0                	xor    %eax,%eax
407573:	66 89 06             	mov    %ax,(%esi)
407576:	66 89 86 00 02 00 00 	mov    %ax,0x200(%esi)
40757d:	66 89 86 c0 03 00 00 	mov    %ax,0x3c0(%esi)
407584:	8b 4f 4c             	mov    0x4c(%edi),%ecx
407587:	e8 ea c6 ff ff       	call   0x403c76
40758c:	89 86 d8 05 00 00    	mov    %eax,0x5d8(%esi)
407592:	8b 4f 50             	mov    0x50(%edi),%ecx
407595:	e8 dc c6 ff ff       	call   0x403c76
40759a:	8b 8d e4 fb ff ff    	mov    -0x41c(%ebp),%ecx
4075a0:	89 86 dc 05 00 00    	mov    %eax,0x5dc(%esi)
4075a6:	8d 86 e8 05 00 00    	lea    0x5e8(%esi),%eax
4075ac:	89 8e e0 05 00 00    	mov    %ecx,0x5e0(%esi)
4075b2:	89 86 e4 05 00 00    	mov    %eax,0x5e4(%esi)
4075b8:	85 c9                	test   %ecx,%ecx
4075ba:	0f 84 cc 00 00 00    	je     0x40768c
4075c0:	8b d3                	mov    %ebx,%edx
4075c2:	89 9d e8 fb ff ff    	mov    %ebx,-0x418(%ebp)
4075c8:	8b 86 e4 05 00 00    	mov    0x5e4(%esi),%eax
4075ce:	8b 8d ec fb ff ff    	mov    -0x414(%ebp),%ecx
4075d4:	83 c0 08             	add    $0x8,%eax
4075d7:	03 d0                	add    %eax,%edx
4075d9:	8b 0c 8f             	mov    (%edi,%ecx,4),%ecx
4075dc:	e8 1f c7 ff ff       	call   0x403d00
4075e1:	84 c0                	test   %al,%al
4075e3:	0f 84 85 00 00 00    	je     0x40766e
4075e9:	8b 85 ec fb ff ff    	mov    -0x414(%ebp),%eax
4075ef:	40                   	inc    %eax
4075f0:	89 85 ec fb ff ff    	mov    %eax,-0x414(%ebp)
4075f6:	8b 0c 87             	mov    (%edi,%eax,4),%ecx
4075f9:	e8 78 c6 ff ff       	call   0x403c76
4075fe:	3b 86 d8 05 00 00    	cmp    0x5d8(%esi),%eax
407604:	75 61                	jne    0x407667
407606:	8b 85 ec fb ff ff    	mov    -0x414(%ebp),%eax
40760c:	40                   	inc    %eax
40760d:	89 85 ec fb ff ff    	mov    %eax,-0x414(%ebp)
407613:	8b 0c 87             	mov    (%edi,%eax,4),%ecx
407616:	e8 5b c6 ff ff       	call   0x403c76
40761b:	3b 86 dc 05 00 00    	cmp    0x5dc(%esi),%eax
407621:	75 3d                	jne    0x407660
407623:	8b 8d ec fb ff ff    	mov    -0x414(%ebp),%ecx
407629:	8b 4c 8f 04          	mov    0x4(%edi,%ecx,4),%ecx
40762d:	e8 44 c6 ff ff       	call   0x403c76
407632:	8b 95 e8 fb ff ff    	mov    -0x418(%ebp),%edx
407638:	43                   	inc    %ebx
407639:	8b 8e e4 05 00 00    	mov    0x5e4(%esi),%ecx
40763f:	83 85 ec fb ff ff 02 	addl   $0x2,-0x414(%ebp)
407646:	89 04 0a             	mov    %eax,(%edx,%ecx,1)
407649:	83 c2 10             	add    $0x10,%edx
40764c:	89 95 e8 fb ff ff    	mov    %edx,-0x418(%ebp)
407652:	3b 9d e4 fb ff ff    	cmp    -0x41c(%ebp),%ebx
407658:	0f 82 6a ff ff ff    	jb     0x4075c8
40765e:	eb 2c                	jmp    0x40768c
407660:	68 63 04 00 00       	push   $0x463
407665:	eb 0c                	jmp    0x407673
407667:	68 62 04 00 00       	push   $0x462
40766c:	eb 05                	jmp    0x407673
40766e:	68 61 04 00 00       	push   $0x461
407673:	e8 17 b3 ff ff       	call   0x40298f
407678:	c7 04 24 c4 13 40 00 	movl   $0x4013c4,(%esp)
40767f:	e8 36 b2 ff ff       	call   0x4028ba
407684:	59                   	pop    %ecx
407685:	e9 08 fe ff ff       	jmp    0x407492
40768a:	8b f3                	mov    %ebx,%esi
40768c:	8b 85 f0 fb ff ff    	mov    -0x410(%ebp),%eax
407692:	8d 8d f0 fb ff ff    	lea    -0x410(%ebp),%ecx
407698:	f7 d8                	neg    %eax
40769a:	1b c0                	sbb    %eax,%eax
40769c:	23 c1                	and    %ecx,%eax
40769e:	50                   	push   %eax
40769f:	8d 85 a0 fb ff ff    	lea    -0x460(%ebp),%eax
4076a5:	50                   	push   %eax
4076a6:	56                   	push   %esi
4076a7:	ff b5 e0 fb ff ff    	push   -0x420(%ebp)
4076ad:	ff b5 d8 fb ff ff    	push   -0x428(%ebp)
4076b3:	ff b5 dc fb ff ff    	push   -0x424(%ebp)
4076b9:	ff b5 d4 fb ff ff    	push   -0x42c(%ebp)
4076bf:	ff 15 44 f0 40 00    	call   *0x40f044
4076c5:	8b f8                	mov    %eax,%edi
4076c7:	85 f6                	test   %esi,%esi
4076c9:	74 07                	je     0x4076d2
4076cb:	56                   	push   %esi
4076cc:	ff 15 b0 f0 40 00    	call   *0x40f0b0
4076d2:	8b c7                	mov    %edi,%eax
4076d4:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4076d7:	5f                   	pop    %edi
4076d8:	5e                   	pop    %esi
4076d9:	33 cd                	xor    %ebp,%ecx
4076db:	5b                   	pop    %ebx
4076dc:	e8 ef 13 00 00       	call   0x408ad0
4076e1:	c9                   	leave
4076e2:	c3                   	ret
4076e3:	8b ff                	mov    %edi,%edi
4076e5:	55                   	push   %ebp
4076e6:	8b ec                	mov    %esp,%ebp
4076e8:	83 ec 0c             	sub    $0xc,%esp
4076eb:	53                   	push   %ebx
4076ec:	56                   	push   %esi
4076ed:	57                   	push   %edi
4076ee:	33 ff                	xor    %edi,%edi
4076f0:	8d 45 fc             	lea    -0x4(%ebp),%eax
4076f3:	57                   	push   %edi
4076f4:	50                   	push   %eax
4076f5:	89 7d f4             	mov    %edi,-0xc(%ebp)
4076f8:	89 7d fc             	mov    %edi,-0x4(%ebp)
4076fb:	ff 15 58 f0 40 00    	call   *0x40f058
407701:	8b f0                	mov    %eax,%esi
407703:	83 fe 7a             	cmp    $0x7a,%esi
407706:	75 69                	jne    0x407771
407708:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40770b:	03 c9                	add    %ecx,%ecx
40770d:	51                   	push   %ecx
40770e:	ff 15 a4 f0 40 00    	call   *0x40f0a4
407714:	8b d8                	mov    %eax,%ebx
407716:	85 db                	test   %ebx,%ebx
407718:	74 72                	je     0x40778c
40771a:	53                   	push   %ebx
40771b:	8d 45 fc             	lea    -0x4(%ebp),%eax
40771e:	50                   	push   %eax
40771f:	ff 15 58 f0 40 00    	call   *0x40f058
407725:	8b f0                	mov    %eax,%esi
407727:	85 f6                	test   %esi,%esi
407729:	75 3d                	jne    0x407768
40772b:	8b c7                	mov    %edi,%eax
40772d:	89 7d f8             	mov    %edi,-0x8(%ebp)
407730:	39 45 fc             	cmp    %eax,-0x4(%ebp)
407733:	76 33                	jbe    0x407768
407735:	8d 0c 43             	lea    (%ebx,%eax,2),%ecx
407738:	8b f9                	mov    %ecx,%edi
40773a:	8d 57 02             	lea    0x2(%edi),%edx
40773d:	66 8b 07             	mov    (%edi),%ax
407740:	83 c7 02             	add    $0x2,%edi
407743:	66 3b 45 f4          	cmp    -0xc(%ebp),%ax
407747:	75 f4                	jne    0x40773d
407749:	51                   	push   %ecx
40774a:	2b fa                	sub    %edx,%edi
40774c:	68 18 1d 40 00       	push   $0x401d18
407751:	d1 ff                	sar    $1,%edi
407753:	e8 62 b1 ff ff       	call   0x4028ba
407758:	8b 45 f8             	mov    -0x8(%ebp),%eax
40775b:	40                   	inc    %eax
40775c:	03 c7                	add    %edi,%eax
40775e:	59                   	pop    %ecx
40775f:	59                   	pop    %ecx
407760:	89 45 f8             	mov    %eax,-0x8(%ebp)
407763:	3b 45 fc             	cmp    -0x4(%ebp),%eax
407766:	72 cd                	jb     0x407735
407768:	53                   	push   %ebx
407769:	ff 15 b0 f0 40 00    	call   *0x40f0b0
40776f:	eb 1b                	jmp    0x40778c
407771:	85 f6                	test   %esi,%esi
407773:	75 17                	jne    0x40778c
407775:	68 89 04 00 00       	push   $0x489
40777a:	e8 10 b2 ff ff       	call   0x40298f
40777f:	c7 04 24 c4 13 40 00 	movl   $0x4013c4,(%esp)
407786:	e8 2f b1 ff ff       	call   0x4028ba
40778b:	59                   	pop    %ecx
40778c:	5f                   	pop    %edi
40778d:	8b c6                	mov    %esi,%eax
40778f:	5e                   	pop    %esi
407790:	5b                   	pop    %ebx
407791:	c9                   	leave
407792:	c3                   	ret
407793:	8b ff                	mov    %edi,%edi
407795:	55                   	push   %ebp
407796:	8b ec                	mov    %esp,%ebp
407798:	53                   	push   %ebx
407799:	56                   	push   %esi
40779a:	57                   	push   %edi
40779b:	6a 34                	push   $0x34
40779d:	8b fa                	mov    %edx,%edi
40779f:	8b d9                	mov    %ecx,%ebx
4077a1:	ff 15 a4 f0 40 00    	call   *0x40f0a4
4077a7:	8b f0                	mov    %eax,%esi
4077a9:	85 f6                	test   %esi,%esi
4077ab:	0f 84 cc 00 00 00    	je     0x40787d
4077b1:	6a 34                	push   $0x34
4077b3:	6a 00                	push   $0x0
4077b5:	56                   	push   %esi
4077b6:	e8 29 19 00 00       	call   0x4090e4
4077bb:	83 c4 0c             	add    $0xc,%esp
4077be:	c7 46 04 e0 00 00 00 	movl   $0xe0,0x4(%esi)
4077c5:	c7 46 0c 01 00 00 00 	movl   $0x1,0xc(%esi)
4077cc:	0f b7 03             	movzwl (%ebx),%eax
4077cf:	6a 2a                	push   $0x2a
4077d1:	59                   	pop    %ecx