408604:	66 89 45 84          	mov    %ax,-0x7c(%ebp)
408608:	8b 45 98             	mov    -0x68(%ebp),%eax
40860b:	51                   	push   %ecx
40860c:	68 a8 2d 40 00       	push   $0x402da8
408611:	50                   	push   %eax
408612:	8b 30                	mov    (%eax),%esi
408614:	8b 4e 10             	mov    0x10(%esi),%ecx
408617:	ff 15 20 f2 40 00    	call   *0x40f220
40861d:	ff 56 10             	call   *0x10(%esi)
408620:	85 c0                	test   %eax,%eax
408622:	74 27                	je     0x40864b
408624:	83 3d 80 c0 40 00 02 	cmpl   $0x2,0x40c080
40862b:	76 1e                	jbe    0x40864b
40862d:	89 45 9c             	mov    %eax,-0x64(%ebp)
408630:	ba 4d 31 40 00       	mov    $0x40314d,%edx
408635:	8d 45 9c             	lea    -0x64(%ebp),%eax
408638:	c7 45 a0 c8 2d 40 00 	movl   $0x402dc8,-0x60(%ebp)
40863f:	50                   	push   %eax
408640:	8d 45 a0             	lea    -0x60(%ebp),%eax
408643:	50                   	push   %eax
408644:	51                   	push   %ecx
408645:	51                   	push   %ecx
408646:	e8 5d b1 ff ff       	call   0x4037a8
40864b:	8b 4d 98             	mov    -0x68(%ebp),%ecx
40864e:	85 c9                	test   %ecx,%ecx
408650:	74 10                	je     0x408662
408652:	8b 01                	mov    (%ecx),%eax
408654:	51                   	push   %ecx
408655:	8b 70 08             	mov    0x8(%eax),%esi
408658:	8b ce                	mov    %esi,%ecx
40865a:	ff 15 20 f2 40 00    	call   *0x40f220
408660:	ff d6                	call   *%esi
408662:	8b 45 90             	mov    -0x70(%ebp),%eax
408665:	85 c0                	test   %eax,%eax
408667:	74 05                	je     0x40866e
408669:	83 f8 01             	cmp    $0x1,%eax
40866c:	75 06                	jne    0x408674
40866e:	ff 15 10 f1 40 00    	call   *0x40f110
408674:	8b 4d f8             	mov    -0x8(%ebp),%ecx
408677:	8b c7                	mov    %edi,%eax
408679:	5f                   	pop    %edi
40867a:	5e                   	pop    %esi
40867b:	33 cd                	xor    %ebp,%ecx
40867d:	5b                   	pop    %ebx
40867e:	e8 dd 11 00 00       	call   0x409860
408683:	c9                   	leave
408684:	c2 04 00             	ret    $0x4
408687:	8b ff                	mov    %edi,%edi
408689:	55                   	push   %ebp
40868a:	8b ec                	mov    %esp,%ebp
40868c:	83 ec 14             	sub    $0x14,%esp
40868f:	53                   	push   %ebx
408690:	8b da                	mov    %edx,%ebx
408692:	8b c3                	mov    %ebx,%eax
408694:	56                   	push   %esi
408695:	33 f6                	xor    %esi,%esi
408697:	83 e0 07             	and    $0x7,%eax
40869a:	89 75 fc             	mov    %esi,-0x4(%ebp)
40869d:	57                   	push   %edi
40869e:	3c 07                	cmp    $0x7,%al
4086a0:	0f 84 cd 00 00 00    	je     0x408773
4086a6:	6a 08                	push   $0x8
4086a8:	6a 40                	push   $0x40
4086aa:	ff 15 a4 f0 40 00    	call   *0x40f0a4
4086b0:	8b f8                	mov    %eax,%edi
4086b2:	85 ff                	test   %edi,%edi
4086b4:	75 08                	jne    0x4086be
4086b6:	6a 0e                	push   $0xe
4086b8:	5e                   	pop    %esi
4086b9:	e9 b5 00 00 00       	jmp    0x408773
4086be:	8d 45 f0             	lea    -0x10(%ebp),%eax
4086c1:	89 1f                	mov    %ebx,(%edi)
4086c3:	50                   	push   %eax
4086c4:	56                   	push   %esi
4086c5:	57                   	push   %edi
4086c6:	68 d0 84 40 00       	push   $0x4084d0
4086cb:	56                   	push   %esi
4086cc:	56                   	push   %esi
4086cd:	89 77 04             	mov    %esi,0x4(%edi)
4086d0:	ff 15 44 f0 40 00    	call   *0x40f044
4086d6:	8b f0                	mov    %eax,%esi
4086d8:	85 f6                	test   %esi,%esi
4086da:	74 62                	je     0x40873e
4086dc:	68 10 27 00 00       	push   $0x2710
4086e1:	56                   	push   %esi
4086e2:	ff 15 68 f0 40 00    	call   *0x40f068
4086e8:	89 45 fc             	mov    %eax,-0x4(%ebp)
4086eb:	85 c0                	test   %eax,%eax
4086ed:	75 46                	jne    0x408735
4086ef:	8d 45 fc             	lea    -0x4(%ebp),%eax
4086f2:	50                   	push   %eax
4086f3:	56                   	push   %esi
4086f4:	ff 15 a0 f0 40 00    	call   *0x40f0a0
4086fa:	85 c0                	test   %eax,%eax
4086fc:	75 30                	jne    0x40872e
4086fe:	ff 15 7c f0 40 00    	call   *0x40f07c
408704:	83 3d 80 c0 40 00 02 	cmpl   $0x2,0x40c080
40870b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40870e:	76 1e                	jbe    0x40872e
408710:	89 45 f8             	mov    %eax,-0x8(%ebp)
408713:	ba 4d 31 40 00       	mov    $0x40314d,%edx
408718:	8d 45 f8             	lea    -0x8(%ebp),%eax
40871b:	c7 45 f4 f8 2d 40 00 	movl   $0x402df8,-0xc(%ebp)
408722:	50                   	push   %eax
408723:	8d 45 f4             	lea    -0xc(%ebp),%eax
408726:	50                   	push   %eax
408727:	51                   	push   %ecx
408728:	51                   	push   %ecx
408729:	e8 7a b0 ff ff       	call   0x4037a8
40872e:	57                   	push   %edi
40872f:	ff 15 5c f0 40 00    	call   *0x40f05c
408735:	56                   	push   %esi
408736:	ff 15 74 f0 40 00    	call   *0x40f074
40873c:	eb 32                	jmp    0x408770
40873e:	ff 15 7c f0 40 00    	call   *0x40f07c
408744:	83 3d 80 c0 40 00 02 	cmpl   $0x2,0x40c080
40874b:	8b f0                	mov    %eax,%esi
40874d:	89 75 fc             	mov    %esi,-0x4(%ebp)
408750:	76 21                	jbe    0x408773
408752:	8d 45 f4             	lea    -0xc(%ebp),%eax
408755:	89 75 f4             	mov    %esi,-0xc(%ebp)
408758:	50                   	push   %eax
408759:	8d 45 f8             	lea    -0x8(%ebp),%eax
40875c:	c7 45 f8 24 2e 40 00 	movl   $0x402e24,-0x8(%ebp)
408763:	50                   	push   %eax
408764:	51                   	push   %ecx
408765:	51                   	push   %ecx
408766:	ba 4d 31 40 00       	mov    $0x40314d,%edx
40876b:	e8 38 b0 ff ff       	call   0x4037a8
408770:	8b 75 fc             	mov    -0x4(%ebp),%esi
408773:	5f                   	pop    %edi
408774:	8b c6                	mov    %esi,%eax
408776:	5e                   	pop    %esi
408777:	5b                   	pop    %ebx
408778:	c9                   	leave
408779:	c3                   	ret
40877a:	8b ff                	mov    %edi,%edi
40877c:	55                   	push   %ebp
40877d:	8b ec                	mov    %esp,%ebp
40877f:	81 ec b4 02 00 00    	sub    $0x2b4,%esp
408785:	a1 e4 c1 40 00       	mov    0x40c1e4,%eax
40878a:	33 c5                	xor    %ebp,%eax
40878c:	89 45 fc             	mov    %eax,-0x4(%ebp)
40878f:	53                   	push   %ebx
408790:	56                   	push   %esi
408791:	57                   	push   %edi
408792:	33 ff                	xor    %edi,%edi
408794:	89 95 68 fd ff ff    	mov    %edx,-0x298(%ebp)
40879a:	57                   	push   %edi
40879b:	89 bd 5c fd ff ff    	mov    %edi,-0x2a4(%ebp)
4087a1:	89 bd 6c fd ff ff    	mov    %edi,-0x294(%ebp)
4087a7:	89 bd 58 fd ff ff    	mov    %edi,-0x2a8(%ebp)
4087ad:	ff 15 00 00 41 00    	call   *0x410000
4087b3:	8b d8                	mov    %eax,%ebx
4087b5:	8d 85 64 fd ff ff    	lea    -0x29c(%ebp),%eax
4087bb:	50                   	push   %eax
4087bc:	89 9d 60 fd ff ff    	mov    %ebx,-0x2a0(%ebp)
4087c2:	ff 15 48 f1 40 00    	call   *0x40f148
4087c8:	50                   	push   %eax
4087c9:	ff 15 9c f0 40 00    	call   *0x40f09c
4087cf:	85 c0                	test   %eax,%eax
4087d1:	75 44                	jne    0x408817
4087d3:	ff 15 7c f0 40 00    	call   *0x40f07c
4087d9:	83 3d 80 c0 40 00 02 	cmpl   $0x2,0x40c080
4087e0:	8b f0                	mov    %eax,%esi
4087e2:	0f 86 09 02 00 00    	jbe    0x4089f1
4087e8:	8d 85 60 fd ff ff    	lea    -0x2a0(%ebp),%eax
4087ee:	89 b5 60 fd ff ff    	mov    %esi,-0x2a0(%ebp)
4087f4:	50                   	push   %eax
4087f5:	c7 85 68 fd ff ff 4c 	movl   $0x402e4c,-0x298(%ebp)
4087fc:	2e 40 00
4087ff:	8d 85 68 fd ff ff    	lea    -0x298(%ebp),%eax
408805:	ba 4d 31 40 00       	mov    $0x40314d,%edx
40880a:	50                   	push   %eax
40880b:	51                   	push   %ecx
40880c:	51                   	push   %ecx
40880d:	e8 96 af ff ff       	call   0x4037a8
408812:	e9 da 01 00 00       	jmp    0x4089f1
408817:	8d 85 6c fd ff ff    	lea    -0x294(%ebp),%eax
40881d:	50                   	push   %eax
40881e:	68 3f 00 0f 00       	push   $0xf003f
408823:	ff 15 34 f0 40 00    	call   *0x40f034
408829:	8b f0                	mov    %eax,%esi
40882b:	85 f6                	test   %esi,%esi
40882d:	74 31                	je     0x408860
40882f:	83 3d 80 c0 40 00 02 	cmpl   $0x2,0x40c080
408836:	0f 86 b5 01 00 00    	jbe    0x4089f1
40883c:	8d 85 68 fd ff ff    	lea    -0x298(%ebp),%eax
408842:	89 b5 68 fd ff ff    	mov    %esi,-0x298(%ebp)
408848:	50                   	push   %eax
408849:	c7 85 60 fd ff ff 84 	movl   $0x402e84,-0x2a0(%ebp)
408850:	2e 40 00
408853:	8d 85 60 fd ff ff    	lea    -0x2a0(%ebp),%eax
408859:	ba 4d 31 40 00       	mov    $0x40314d,%edx
40885e:	eb aa                	jmp    0x40880a
408860:	ff b5 64 fd ff ff    	push   -0x29c(%ebp)
408866:	be 44 01 00 00       	mov    $0x144,%esi
40886b:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
408871:	68 00 29 40 00       	push   $0x402900
408876:	56                   	push   %esi
408877:	50                   	push   %eax
408878:	e8 ce f5 ff ff       	call   0x407e4b
40887d:	83 c4 10             	add    $0x10,%esp
408880:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
408886:	50                   	push   %eax
408887:	ff b5 6c fd ff ff    	push   -0x294(%ebp)
40888d:	ff 15 30 f0 40 00    	call   *0x40f030
408893:	ff b5 64 fd ff ff    	push   -0x29c(%ebp)
408899:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
40889f:	68 48 2a 40 00       	push   $0x402a48
4088a4:	56                   	push   %esi
4088a5:	50                   	push   %eax
4088a6:	e8 a0 f5 ff ff       	call   0x407e4b
4088ab:	83 c4 10             	add    $0x10,%esp
4088ae:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
4088b4:	50                   	push   %eax
4088b5:	ff b5 6c fd ff ff    	push   -0x294(%ebp)
4088bb:	ff 15 30 f0 40 00    	call   *0x40f030
4088c1:	ff b5 64 fd ff ff    	push   -0x29c(%ebp)
4088c7:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
4088cd:	68 80 29 40 00       	push   $0x402980
4088d2:	56                   	push   %esi
4088d3:	50                   	push   %eax
4088d4:	e8 72 f5 ff ff       	call   0x407e4b
4088d9:	83 c4 10             	add    $0x10,%esp
4088dc:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
4088e2:	50                   	push   %eax
4088e3:	ff b5 6c fd ff ff    	push   -0x294(%ebp)
4088e9:	ff 15 30 f0 40 00    	call   *0x40f030
4088ef:	ff b5 64 fd ff ff    	push   -0x29c(%ebp)
4088f5:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
4088fb:	68 08 2a 40 00       	push   $0x402a08
408900:	56                   	push   %esi
408901:	50                   	push   %eax
408902:	e8 44 f5 ff ff       	call   0x407e4b
408907:	83 c4 10             	add    $0x10,%esp
40890a:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
408910:	50                   	push   %eax
408911:	ff b5 6c fd ff ff    	push   -0x294(%ebp)
408917:	ff 15 30 f0 40 00    	call   *0x40f030
40891d:	ff b5 64 fd ff ff    	push   -0x29c(%ebp)
408923:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
408929:	68 a4 2a 40 00       	push   $0x402aa4
40892e:	56                   	push   %esi
40892f:	50                   	push   %eax
408930:	e8 16 f5 ff ff       	call   0x407e4b
408935:	83 c4 10             	add    $0x10,%esp
408938:	8d 85 70 fd ff ff    	lea    -0x290(%ebp),%eax
40893e:	50                   	push   %eax
40893f:	ff b5 6c fd ff ff    	push   -0x294(%ebp)
408945:	ff 15 30 f0 40 00    	call   *0x40f030
40894b:	8b 95 68 fd ff ff    	mov    -0x298(%ebp),%edx
408951:	8d 85 58 fd ff ff    	lea    -0x2a8(%ebp),%eax
408957:	8b 8d 6c fd ff ff    	mov    -0x294(%ebp),%ecx
40895d:	50                   	push   %eax
40895e:	8d 85 54 fd ff ff    	lea    -0x2ac(%ebp),%eax
408964:	50                   	push   %eax
408965:	8d 85 5c fd ff ff    	lea    -0x2a4(%ebp),%eax
40896b:	50                   	push   %eax
40896c:	e8 93 f6 ff ff       	call   0x408004
408971:	8b f0                	mov    %eax,%esi
408973:	85 f6                	test   %esi,%esi
408975:	75 7a                	jne    0x4089f1
408977:	8b 9d 5c fd ff ff    	mov    -0x2a4(%ebp),%ebx
40897d:	8b f7                	mov    %edi,%esi
40897f:	8b 8d 54 fd ff ff    	mov    -0x2ac(%ebp),%ecx
408985:	83 c3 0c             	add    $0xc,%ebx
408988:	8b 95 64 fd ff ff    	mov    -0x29c(%ebp),%edx
40898e:	8b 85 6c fd ff ff    	mov    -0x294(%ebp),%eax
408994:	89 8d 50 fd ff ff    	mov    %ecx,-0x2b0(%ebp)
40899a:	89 95 4c fd ff ff    	mov    %edx,-0x2b4(%ebp)
4089a0:	89 85 68 fd ff ff    	mov    %eax,-0x298(%ebp)
4089a6:	3b f9                	cmp    %ecx,%edi
4089a8:	73 33                	jae    0x4089dd
4089aa:	ff 73 f4             	push   -0xc(%ebx)
4089ad:	ff 73 04             	push   0x4(%ebx)
4089b0:	ff 33                	push   (%ebx)
4089b2:	ff 73 08             	push   0x8(%ebx)
4089b5:	ff 73 fc             	push   -0x4(%ebx)
4089b8:	ff 73 f8             	push   -0x8(%ebx)
4089bb:	52                   	push   %edx
4089bc:	8b 95 68 fd ff ff    	mov    -0x298(%ebp),%edx
4089c2:	e8 eb f4 ff ff       	call   0x407eb2
4089c7:	8b 8d 50 fd ff ff    	mov    -0x2b0(%ebp),%ecx
4089cd:	8b f0                	mov    %eax,%esi
4089cf:	8b 95 4c fd ff ff    	mov    -0x2b4(%ebp),%edx
4089d5:	47                   	inc    %edi
4089d6:	83 c3 18             	add    $0x18,%ebx
4089d9:	85 f6                	test   %esi,%esi
4089db:	74 c9                	je     0x4089a6
4089dd:	85 f6                	test   %esi,%esi
4089df:	75 0a                	jne    0x4089eb
4089e1:	8b 55 0c             	mov    0xc(%ebp),%edx
4089e4:	e8 9e fc ff ff       	call   0x408687
4089e9:	8b f0                	mov    %eax,%esi
4089eb:	8b 9d 60 fd ff ff    	mov    -0x2a0(%ebp),%ebx
4089f1:	83 bd 5c fd ff ff 00 	cmpl   $0x0,-0x2a4(%ebp)
4089f8:	74 0c                	je     0x408a06
4089fa:	ff b5 5c fd ff ff    	push   -0x2a4(%ebp)
408a00:	ff 15 5c f0 40 00    	call   *0x40f05c
408a06:	83 bd 6c fd ff ff 00 	cmpl   $0x0,-0x294(%ebp)
408a0d:	74 0c                	je     0x408a1b
408a0f:	ff b5 6c fd ff ff    	push   -0x294(%ebp)
408a15:	ff 15 00 f0 40 00    	call   *0x40f000
408a1b:	83 bd 58 fd ff ff 00 	cmpl   $0x0,-0x2a8(%ebp)
408a22:	74 0c                	je     0x408a30
408a24:	ff b5 58 fd ff ff    	push   -0x2a8(%ebp)
408a2a:	ff 15 5c f0 40 00    	call   *0x40f05c
408a30:	85 f6                	test   %esi,%esi
408a32:	74 10                	je     0x408a44
408a34:	81 fe 02 01 00 00    	cmp    $0x102,%esi
408a3a:	74 08                	je     0x408a44
408a3c:	ff 75 0c             	push   0xc(%ebp)
408a3f:	e8 22 00 00 00       	call   0x408a66
408a44:	85 db                	test   %ebx,%ebx
408a46:	74 05                	je     0x408a4d
408a48:	83 fb 01             	cmp    $0x1,%ebx
408a4b:	75 06                	jne    0x408a53
408a4d:	ff 15 10 f1 40 00    	call   *0x40f110
408a53:	8b 4d fc             	mov    -0x4(%ebp),%ecx
408a56:	8b c6                	mov    %esi,%eax
408a58:	5f                   	pop    %edi
408a59:	5e                   	pop    %esi
408a5a:	33 cd                	xor    %ebp,%ecx
408a5c:	5b                   	pop    %ebx
408a5d:	e8 fe 0d 00 00       	call   0x409860
408a62:	c9                   	leave
408a63:	c2 08 00             	ret    $0x8
408a66:	8b ff                	mov    %edi,%edi
408a68:	55                   	push   %ebp
408a69:	8b ec                	mov    %esp,%ebp
408a6b:	81 ec a4 02 00 00    	sub    $0x2a4,%esp
408a71:	a1 e4 c1 40 00       	mov    0x40c1e4,%eax
408a76:	33 c5                	xor    %ebp,%eax
408a78:	89 45 f8             	mov    %eax,-0x8(%ebp)
408a7b:	83 a5 68 fd ff ff 00 	andl   $0x0,-0x298(%ebp)
408a82:	56                   	push   %esi
408a83:	57                   	push   %edi
408a84:	6a 00                	push   $0x0
408a86:	ff 15 00 00 41 00    	call   *0x410000
408a8c:	8b f0                	mov    %eax,%esi
408a8e:	8d 85 64 fd ff ff    	lea    -0x29c(%ebp),%eax
408a94:	50                   	push   %eax
408a95:	ff 15 48 f1 40 00    	call   *0x40f148
408a9b:	50                   	push   %eax
408a9c:	ff 15 9c f0 40 00    	call   *0x40f09c
408aa2:	85 c0                	test   %eax,%eax
408aa4:	75 42                	jne    0x408ae8
408aa6:	ff 15 7c f0 40 00    	call   *0x40f07c
408aac:	83 3d 80 c0 40 00 02 	cmpl   $0x2,0x40c080