407b82:	8b 4d fc             	mov    -0x4(%ebp),%ecx
407b85:	5f                   	pop    %edi
407b86:	5e                   	pop    %esi
407b87:	33 cd                	xor    %ebp,%ecx
407b89:	5b                   	pop    %ebx
407b8a:	e8 41 0f 00 00       	call   0x408ad0
407b8f:	c9                   	leave
407b90:	c3                   	ret
407b91:	8b ff                	mov    %edi,%edi
407b93:	55                   	push   %ebp
407b94:	8b ec                	mov    %esp,%ebp
407b96:	81 ec 84 04 00 00    	sub    $0x484,%esp
407b9c:	a1 04 a0 40 00       	mov    0x40a004,%eax
407ba1:	33 c5                	xor    %ebp,%eax
407ba3:	89 45 fc             	mov    %eax,-0x4(%ebp)
407ba6:	53                   	push   %ebx
407ba7:	56                   	push   %esi
407ba8:	57                   	push   %edi
407ba9:	33 c0                	xor    %eax,%eax
407bab:	8b d9                	mov    %ecx,%ebx
407bad:	6a 40                	push   $0x40
407baf:	8b f0                	mov    %eax,%esi
407bb1:	89 85 88 fb ff ff    	mov    %eax,-0x478(%ebp)
407bb7:	50                   	push   %eax
407bb8:	8d 45 b8             	lea    -0x48(%ebp),%eax
407bbb:	89 9d 84 fb ff ff    	mov    %ebx,-0x47c(%ebp)
407bc1:	50                   	push   %eax
407bc2:	8b fa                	mov    %edx,%edi
407bc4:	89 b5 8c fb ff ff    	mov    %esi,-0x474(%ebp)
407bca:	e8 15 15 00 00       	call   0x4090e4
407bcf:	83 c4 0c             	add    $0xc,%esp
407bd2:	83 fb 05             	cmp    $0x5,%ebx
407bd5:	74 05                	je     0x407bdc
407bd7:	83 fb 07             	cmp    $0x7,%ebx
407bda:	75 0f                	jne    0x407beb
407bdc:	8b 4f 08             	mov    0x8(%edi),%ecx
407bdf:	8d 55 98             	lea    -0x68(%ebp),%edx
407be2:	e8 ad be ff ff       	call   0x403a94
407be7:	84 c0                	test   %al,%al
407be9:	75 0f                	jne    0x407bfa
407beb:	6a 24                	push   $0x24
407bed:	59                   	pop    %ecx
407bee:	e8 6c ae ff ff       	call   0x402a5f
407bf3:	33 c0                	xor    %eax,%eax
407bf5:	e9 28 01 00 00       	jmp    0x407d22
407bfa:	8b 5f 10             	mov    0x10(%edi),%ebx
407bfd:	8b 47 0c             	mov    0xc(%edi),%eax
407c00:	89 85 80 fb ff ff    	mov    %eax,-0x480(%ebp)
407c06:	66 83 3b 2a          	cmpw   $0x2a,(%ebx)
407c0a:	74 4d                	je     0x407c59
407c0c:	8b cb                	mov    %ebx,%ecx
407c0e:	8d 51 02             	lea    0x2(%ecx),%edx
407c11:	66 8b 01             	mov    (%ecx),%ax
407c14:	83 c1 02             	add    $0x2,%ecx
407c17:	66 3b 85 88 fb ff ff 	cmp    -0x478(%ebp),%ax
407c1e:	75 f1                	jne    0x407c11
407c20:	2b ca                	sub    %edx,%ecx
407c22:	d1 f9                	sar    $1,%ecx
407c24:	81 f9 ff 00 00 00    	cmp    $0xff,%ecx
407c2a:	76 08                	jbe    0x407c34
407c2c:	6a 57                	push   $0x57
407c2e:	58                   	pop    %eax
407c2f:	e9 ee 00 00 00       	jmp    0x407d22
407c34:	53                   	push   %ebx
407c35:	ba 00 01 00 00       	mov    $0x100,%edx
407c3a:	8d 8d 90 fd ff ff    	lea    -0x270(%ebp),%ecx
407c40:	e8 1b ab ff ff       	call   0x402760
407c45:	b8 bc 0c 00 00       	mov    $0xcbc,%eax
407c4a:	66 89 45 90          	mov    %ax,-0x70(%ebp)
407c4e:	33 c0                	xor    %eax,%eax
407c50:	66 89 85 90 fb ff ff 	mov    %ax,-0x470(%ebp)
407c57:	eb 05                	jmp    0x407c5e
407c59:	bb e0 11 40 00       	mov    $0x4011e0,%ebx
407c5e:	83 bd 84 fb ff ff 07 	cmpl   $0x7,-0x47c(%ebp)
407c65:	75 1e                	jne    0x407c85
407c67:	8b 57 18             	mov    0x18(%edi),%edx
407c6a:	8d 85 8c fb ff ff    	lea    -0x474(%ebp),%eax
407c70:	8b 4f 14             	mov    0x14(%edi),%ecx
407c73:	50                   	push   %eax
407c74:	e8 1a fb ff ff       	call   0x407793
407c79:	8b b5 8c fb ff ff    	mov    -0x474(%ebp),%esi
407c7f:	8b f8                	mov    %eax,%edi
407c81:	33 c9                	xor    %ecx,%ecx
407c83:	eb 04                	jmp    0x407c89
407c85:	33 c9                	xor    %ecx,%ecx
407c87:	8b f9                	mov    %ecx,%edi
407c89:	85 ff                	test   %edi,%edi
407c8b:	75 6a                	jne    0x407cf7
407c8d:	8d 45 a8             	lea    -0x58(%ebp),%eax
407c90:	50                   	push   %eax
407c91:	0f b7 03             	movzwl (%ebx),%eax
407c94:	51                   	push   %ecx
407c95:	51                   	push   %ecx
407c96:	56                   	push   %esi
407c97:	51                   	push   %ecx
407c98:	51                   	push   %ecx
407c99:	f7 d8                	neg    %eax
407c9b:	8d 8d 90 fb ff ff    	lea    -0x470(%ebp),%ecx
407ca1:	1b c0                	sbb    %eax,%eax
407ca3:	23 c1                	and    %ecx,%eax
407ca5:	50                   	push   %eax
407ca6:	6a ff                	push   $0xffffffff
407ca8:	ff b5 80 fb ff ff    	push   -0x480(%ebp)
407cae:	8d 45 98             	lea    -0x68(%ebp),%eax
407cb1:	50                   	push   %eax
407cb2:	ff 15 5c f0 40 00    	call   *0x40f05c
407cb8:	8b f8                	mov    %eax,%edi
407cba:	85 ff                	test   %edi,%edi
407cbc:	75 39                	jne    0x407cf7
407cbe:	6a 20                	push   $0x20
407cc0:	8d 45 b8             	lea    -0x48(%ebp),%eax
407cc3:	50                   	push   %eax
407cc4:	68 65 04 00 00       	push   $0x465
407cc9:	33 c0                	xor    %eax,%eax
407ccb:	50                   	push   %eax
407ccc:	ff 15 20 f1 40 00    	call   *0x40f120
407cd2:	85 c0                	test   %eax,%eax
407cd4:	75 04                	jne    0x407cda
407cd6:	66 89 45 b8          	mov    %ax,-0x48(%ebp)
407cda:	ff 75 b4             	push   -0x4c(%ebp)
407cdd:	8d 45 b8             	lea    -0x48(%ebp),%eax
407ce0:	ff 75 b0             	push   -0x50(%ebp)
407ce3:	ff 75 ac             	push   -0x54(%ebp)
407ce6:	ff 75 a8             	push   -0x58(%ebp)
407ce9:	50                   	push   %eax
407cea:	68 b4 19 40 00       	push   $0x4019b4
407cef:	e8 c6 ab ff ff       	call   0x4028ba
407cf4:	83 c4 18             	add    $0x18,%esp
407cf7:	85 f6                	test   %esi,%esi
407cf9:	74 25                	je     0x407d20
407cfb:	83 7e 2c 00          	cmpl   $0x0,0x2c(%esi)
407cff:	74 09                	je     0x407d0a
407d01:	ff 76 2c             	push   0x2c(%esi)
407d04:	ff 15 b0 f0 40 00    	call   *0x40f0b0
407d0a:	83 7e 30 00          	cmpl   $0x0,0x30(%esi)
407d0e:	74 09                	je     0x407d19
407d10:	ff 76 30             	push   0x30(%esi)
407d13:	ff 15 b0 f0 40 00    	call   *0x40f0b0
407d19:	56                   	push   %esi
407d1a:	ff 15 b0 f0 40 00    	call   *0x40f0b0
407d20:	8b c7                	mov    %edi,%eax
407d22:	8b 4d fc             	mov    -0x4(%ebp),%ecx
407d25:	5f                   	pop    %edi
407d26:	5e                   	pop    %esi
407d27:	33 cd                	xor    %ebp,%ecx
407d29:	5b                   	pop    %ebx
407d2a:	e8 a1 0d 00 00       	call   0x408ad0
407d2f:	c9                   	leave
407d30:	c3                   	ret
407d31:	8b ff                	mov    %edi,%edi
407d33:	55                   	push   %ebp
407d34:	8b ec                	mov    %esp,%ebp
407d36:	81 ec 10 02 00 00    	sub    $0x210,%esp
407d3c:	a1 04 a0 40 00       	mov    0x40a004,%eax
407d41:	33 c5                	xor    %ebp,%eax
407d43:	89 45 fc             	mov    %eax,-0x4(%ebp)
407d46:	56                   	push   %esi
407d47:	57                   	push   %edi
407d48:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
407d4e:	50                   	push   %eax
407d4f:	51                   	push   %ecx
407d50:	ff 15 8c f1 40 00    	call   *0x40f18c
407d56:	8b f0                	mov    %eax,%esi
407d58:	85 f6                	test   %esi,%esi
407d5a:	0f 84 ac 06 00 00    	je     0x40840c
407d60:	33 ff                	xor    %edi,%edi
407d62:	47                   	inc    %edi
407d63:	39 bd f4 fd ff ff    	cmp    %edi,-0x20c(%ebp)
407d69:	0f 8e 92 06 00 00    	jle    0x408401
407d6f:	68 c4 1e 40 00       	push   $0x401ec4
407d74:	ff 76 04             	push   0x4(%esi)
407d77:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407d7d:	59                   	pop    %ecx
407d7e:	59                   	pop    %ecx
407d7f:	85 c0                	test   %eax,%eax
407d81:	75 14                	jne    0x407d97
407d83:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407d89:	8b d6                	mov    %esi,%edx
407d8b:	e8 6e f6 ff ff       	call   0x4073fe
407d90:	8b f0                	mov    %eax,%esi
407d92:	e9 78 06 00 00       	jmp    0x40840f
407d97:	68 d8 1e 40 00       	push   $0x401ed8
407d9c:	ff 76 04             	push   0x4(%esi)
407d9f:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407da5:	59                   	pop    %ecx
407da6:	59                   	pop    %ecx
407da7:	85 c0                	test   %eax,%eax
407da9:	75 1c                	jne    0x407dc7
407dab:	83 bd f4 fd ff ff 03 	cmpl   $0x3,-0x20c(%ebp)
407db2:	74 08                	je     0x407dbc
407db4:	6a 02                	push   $0x2
407db6:	59                   	pop    %ecx
407db7:	e9 47 06 00 00       	jmp    0x408403
407dbc:	ff 76 08             	push   0x8(%esi)
407dbf:	ff 15 0c f0 40 00    	call   *0x40f00c
407dc5:	eb c9                	jmp    0x407d90
407dc7:	68 f4 1e 40 00       	push   $0x401ef4
407dcc:	ff 76 04             	push   0x4(%esi)
407dcf:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407dd5:	59                   	pop    %ecx
407dd6:	59                   	pop    %ecx
407dd7:	85 c0                	test   %eax,%eax
407dd9:	75 0f                	jne    0x407dea
407ddb:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407de1:	8b d6                	mov    %esi,%edx
407de3:	e8 c4 f4 ff ff       	call   0x4072ac
407de8:	eb a6                	jmp    0x407d90
407dea:	68 14 1f 40 00       	push   $0x401f14
407def:	ff 76 04             	push   0x4(%esi)
407df2:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407df8:	59                   	pop    %ecx
407df9:	59                   	pop    %ecx
407dfa:	85 c0                	test   %eax,%eax
407dfc:	75 0f                	jne    0x407e0d
407dfe:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407e04:	8b d6                	mov    %esi,%edx
407e06:	e8 d4 f3 ff ff       	call   0x4071df
407e0b:	eb 83                	jmp    0x407d90
407e0d:	68 3c 1f 40 00       	push   $0x401f3c
407e12:	ff 76 04             	push   0x4(%esi)
407e15:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407e1b:	59                   	pop    %ecx
407e1c:	59                   	pop    %ecx
407e1d:	85 c0                	test   %eax,%eax
407e1f:	75 12                	jne    0x407e33
407e21:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407e27:	8b d6                	mov    %esi,%edx
407e29:	e8 9b f0 ff ff       	call   0x406ec9
407e2e:	e9 5d ff ff ff       	jmp    0x407d90
407e33:	68 64 1f 40 00       	push   $0x401f64
407e38:	ff 76 04             	push   0x4(%esi)
407e3b:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407e41:	59                   	pop    %ecx
407e42:	59                   	pop    %ecx
407e43:	85 c0                	test   %eax,%eax
407e45:	75 0a                	jne    0x407e51
407e47:	e8 4a f1 ff ff       	call   0x406f96
407e4c:	e9 3f ff ff ff       	jmp    0x407d90
407e51:	68 88 1f 40 00       	push   $0x401f88
407e56:	ff 76 04             	push   0x4(%esi)
407e59:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407e5f:	59                   	pop    %ecx
407e60:	59                   	pop    %ecx
407e61:	85 c0                	test   %eax,%eax
407e63:	75 12                	jne    0x407e77
407e65:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407e6b:	8b d6                	mov    %esi,%edx
407e6d:	e8 87 ef ff ff       	call   0x406df9
407e72:	e9 19 ff ff ff       	jmp    0x407d90
407e77:	68 a0 1f 40 00       	push   $0x401fa0
407e7c:	ff 76 04             	push   0x4(%esi)
407e7f:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407e85:	59                   	pop    %ecx
407e86:	59                   	pop    %ecx
407e87:	85 c0                	test   %eax,%eax
407e89:	75 12                	jne    0x407e9d
407e8b:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407e91:	8b d6                	mov    %esi,%edx
407e93:	e8 52 e5 ff ff       	call   0x4063ea
407e98:	e9 f3 fe ff ff       	jmp    0x407d90
407e9d:	68 b8 1f 40 00       	push   $0x401fb8
407ea2:	ff 76 04             	push   0x4(%esi)
407ea5:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407eab:	59                   	pop    %ecx
407eac:	59                   	pop    %ecx
407ead:	85 c0                	test   %eax,%eax
407eaf:	75 13                	jne    0x407ec4
407eb1:	50                   	push   %eax
407eb2:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407eb8:	8b d6                	mov    %esi,%edx
407eba:	e8 0d db ff ff       	call   0x4059cc
407ebf:	e9 cc fe ff ff       	jmp    0x407d90
407ec4:	68 d0 1f 40 00       	push   $0x401fd0
407ec9:	ff 76 04             	push   0x4(%esi)
407ecc:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407ed2:	59                   	pop    %ecx
407ed3:	59                   	pop    %ecx
407ed4:	85 c0                	test   %eax,%eax
407ed6:	75 03                	jne    0x407edb
407ed8:	57                   	push   %edi
407ed9:	eb d7                	jmp    0x407eb2
407edb:	68 fc 1f 40 00       	push   $0x401ffc
407ee0:	ff 76 04             	push   0x4(%esi)
407ee3:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407ee9:	59                   	pop    %ecx
407eea:	59                   	pop    %ecx
407eeb:	85 c0                	test   %eax,%eax
407eed:	75 12                	jne    0x407f01
407eef:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407ef5:	8b d6                	mov    %esi,%edx
407ef7:	e8 01 df ff ff       	call   0x405dfd
407efc:	e9 8f fe ff ff       	jmp    0x407d90
407f01:	68 2c 20 40 00       	push   $0x40202c
407f06:	ff 76 04             	push   0x4(%esi)
407f09:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407f0f:	59                   	pop    %ecx
407f10:	59                   	pop    %ecx
407f11:	85 c0                	test   %eax,%eax
407f13:	75 0a                	jne    0x407f1f
407f15:	e8 be df ff ff       	call   0x405ed8
407f1a:	e9 71 fe ff ff       	jmp    0x407d90
407f1f:	68 58 20 40 00       	push   $0x402058
407f24:	ff 76 04             	push   0x4(%esi)
407f27:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407f2d:	59                   	pop    %ecx
407f2e:	59                   	pop    %ecx
407f2f:	85 c0                	test   %eax,%eax
407f31:	75 12                	jne    0x407f45
407f33:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407f39:	8b d6                	mov    %esi,%edx
407f3b:	e8 f4 d9 ff ff       	call   0x405934
407f40:	e9 4b fe ff ff       	jmp    0x407d90
407f45:	68 74 20 40 00       	push   $0x402074
407f4a:	ff 76 04             	push   0x4(%esi)
407f4d:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407f53:	59                   	pop    %ecx
407f54:	59                   	pop    %ecx
407f55:	85 c0                	test   %eax,%eax
407f57:	75 10                	jne    0x407f69
407f59:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407f5f:	e8 0a ed ff ff       	call   0x406c6e
407f64:	e9 27 fe ff ff       	jmp    0x407d90
407f69:	68 94 20 40 00       	push   $0x402094
407f6e:	ff 76 04             	push   0x4(%esi)
407f71:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407f77:	59                   	pop    %ecx
407f78:	59                   	pop    %ecx
407f79:	85 c0                	test   %eax,%eax
407f7b:	75 0a                	jne    0x407f87
407f7d:	e8 d5 ed ff ff       	call   0x406d57
407f82:	e9 09 fe ff ff       	jmp    0x407d90
407f87:	68 c0 20 40 00       	push   $0x4020c0
407f8c:	ff 76 04             	push   0x4(%esi)
407f8f:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407f95:	59                   	pop    %ecx
407f96:	59                   	pop    %ecx
407f97:	85 c0                	test   %eax,%eax
407f99:	75 12                	jne    0x407fad
407f9b:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx
407fa1:	8b d6                	mov    %esi,%edx
407fa3:	e8 d2 ea ff ff       	call   0x406a7a
407fa8:	e9 e3 fd ff ff       	jmp    0x407d90
407fad:	68 dc 20 40 00       	push   $0x4020dc
407fb2:	ff 76 04             	push   0x4(%esi)
407fb5:	ff 15 e8 f1 40 00    	call   *0x40f1e8
407fbb:	59                   	pop    %ecx
407fbc:	59                   	pop    %ecx
407fbd:	85 c0                	test   %eax,%eax
407fbf:	75 12                	jne    0x407fd3
407fc1:	8b 8d f4 fd ff ff    	mov    -0x20c(%ebp),%ecx