407a2e:	89 7d 08             	mov    %edi,0x8(%ebp)
407a31:	e8 3a fe 00 00       	call   0x417870
407a36:	01 75 08             	add    %esi,0x8(%ebp)
407a39:	83 c4 0c             	add    $0xc,%esp
407a3c:	66 81 7f 02 ff ff    	cmpw   $0xffff,0x2(%edi)
407a42:	8d 47 10             	lea    0x10(%edi),%eax
407a45:	74 03                	je     0x407a4a
407a47:	8d 47 08             	lea    0x8(%edi),%eax
407a4a:	8b 55 f0             	mov    -0x10(%ebp),%edx
407a4d:	33 db                	xor    %ebx,%ebx
407a4f:	66 89 18             	mov    %bx,(%eax)
407a52:	ff 75 fc             	push   -0x4(%ebp)
407a55:	52                   	push   %edx
407a56:	e8 06 fd ff ff       	call   0x407761
407a5b:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
407a5f:	8b f0                	mov    %eax,%esi
407a61:	89 75 f0             	mov    %esi,-0x10(%ebp)
407a64:	8d 42 18             	lea    0x18(%edx),%eax
407a67:	75 03                	jne    0x407a6c
407a69:	8d 42 12             	lea    0x12(%edx),%eax
407a6c:	66 83 38 7b          	cmpw   $0x7b,(%eax)
407a70:	75 08                	jne    0x407a7a
407a72:	8b 45 0c             	mov    0xc(%ebp),%eax
407a75:	89 14 98             	mov    %edx,(%eax,%ebx,4)
407a78:	eb 2a                	jmp    0x407aa4
407a7a:	2b f2                	sub    %edx,%esi
407a7c:	56                   	push   %esi
407a7d:	52                   	push   %edx
407a7e:	ff 75 08             	push   0x8(%ebp)
407a81:	e8 ea fd 00 00       	call   0x417870
407a86:	01 75 08             	add    %esi,0x8(%ebp)
407a89:	83 c4 0c             	add    $0xc,%esp
407a8c:	66 81 7f 02 ff ff    	cmpw   $0xffff,0x2(%edi)
407a92:	8d 47 10             	lea    0x10(%edi),%eax
407a95:	74 03                	je     0x407a9a
407a97:	8d 47 08             	lea    0x8(%edi),%eax
407a9a:	66 ff 00             	incw   (%eax)
407a9d:	8b 45 0c             	mov    0xc(%ebp),%eax
407aa0:	83 24 98 00          	andl   $0x0,(%eax,%ebx,4)
407aa4:	8b 55 f0             	mov    -0x10(%ebp),%edx
407aa7:	43                   	inc    %ebx
407aa8:	3b 5d f4             	cmp    -0xc(%ebp),%ebx
407aab:	7c a5                	jl     0x407a52
407aad:	8b 45 f4             	mov    -0xc(%ebp),%eax
407ab0:	8b 4d 0c             	mov    0xc(%ebp),%ecx
407ab3:	83 0c 81 ff          	orl    $0xffffffff,(%ecx,%eax,4)
407ab7:	8b c7                	mov    %edi,%eax
407ab9:	5f                   	pop    %edi
407aba:	5e                   	pop    %esi
407abb:	5b                   	pop    %ebx
407abc:	c9                   	leave
407abd:	c2 08 00             	ret    $0x8
407ac0:	56                   	push   %esi
407ac1:	57                   	push   %edi
407ac2:	8b 7c 24 0c          	mov    0xc(%esp),%edi
407ac6:	8b f1                	mov    %ecx,%esi
407ac8:	8b 4e 04             	mov    0x4(%esi),%ecx
407acb:	57                   	push   %edi
407acc:	e8 ae 8f 03 00       	call   0x440a7f
407ad1:	85 c0                	test   %eax,%eax
407ad3:	75 05                	jne    0x407ada
407ad5:	e8 57 d9 02 00       	call   0x435431
407ada:	83 66 0c 00          	andl   $0x0,0xc(%esi)
407ade:	89 7e 08             	mov    %edi,0x8(%esi)
407ae1:	5f                   	pop    %edi
407ae2:	5e                   	pop    %esi
407ae3:	c2 04 00             	ret    $0x4
407ae6:	e9 46 4c 03 00       	jmp    0x43c731
407aeb:	8b c1                	mov    %ecx,%eax
407aed:	c3                   	ret
407aee:	8b c1                	mov    %ecx,%eax
407af0:	8b 4c 24 04          	mov    0x4(%esp),%ecx
407af4:	83 60 04 00          	andl   $0x0,0x4(%eax)
407af8:	89 08                	mov    %ecx,(%eax)
407afa:	8b 4c 24 08          	mov    0x8(%esp),%ecx
407afe:	89 48 08             	mov    %ecx,0x8(%eax)
407b01:	c2 08 00             	ret    $0x8
407b04:	55                   	push   %ebp
407b05:	8b ec                	mov    %esp,%ebp
407b07:	83 ec 10             	sub    $0x10,%esp
407b0a:	53                   	push   %ebx
407b0b:	33 db                	xor    %ebx,%ebx
407b0d:	39 5d 0c             	cmp    %ebx,0xc(%ebp)
407b10:	56                   	push   %esi
407b11:	57                   	push   %edi
407b12:	8b f1                	mov    %ecx,%esi
407b14:	89 5d fc             	mov    %ebx,-0x4(%ebp)
407b17:	89 5d f8             	mov    %ebx,-0x8(%ebp)
407b1a:	74 3b                	je     0x407b57
407b1c:	e8 e0 5d 06 00       	call   0x46d901
407b21:	8b 78 0c             	mov    0xc(%eax),%edi
407b24:	68 f0 00 00 00       	push   $0xf0
407b29:	ff 75 0c             	push   0xc(%ebp)
407b2c:	57                   	push   %edi
407b2d:	ff 15 60 03 4b 00    	call   *0x4b0360
407b33:	3b c3                	cmp    %ebx,%eax
407b35:	74 20                	je     0x407b57
407b37:	50                   	push   %eax
407b38:	57                   	push   %edi
407b39:	ff 15 64 03 4b 00    	call   *0x4b0364
407b3f:	3b c3                	cmp    %ebx,%eax
407b41:	89 45 f8             	mov    %eax,-0x8(%ebp)
407b44:	75 07                	jne    0x407b4d
407b46:	33 c0                	xor    %eax,%eax
407b48:	e9 23 01 00 00       	jmp    0x407c70
407b4d:	50                   	push   %eax
407b4e:	ff 15 68 03 4b 00    	call   *0x4b0368
407b54:	89 45 fc             	mov    %eax,-0x4(%ebp)
407b57:	39 5d fc             	cmp    %ebx,-0x4(%ebp)
407b5a:	8b 5d 08             	mov    0x8(%ebp),%ebx
407b5d:	8b 7d 10             	mov    0x10(%ebp),%edi
407b60:	c7 45 f4 01 00 00 00 	movl   $0x1,-0xc(%ebp)
407b67:	74 1e                	je     0x407b87
407b69:	8b 06                	mov    (%esi),%eax
407b6b:	57                   	push   %edi
407b6c:	ff 75 fc             	push   -0x4(%ebp)
407b6f:	8b ce                	mov    %esi,%ecx
407b71:	53                   	push   %ebx
407b72:	ff 50 1c             	call   *0x1c(%eax)
407b75:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
407b79:	89 45 f4             	mov    %eax,-0xc(%ebp)
407b7c:	74 09                	je     0x407b87
407b7e:	ff 75 f8             	push   -0x8(%ebp)
407b81:	ff 15 bc 02 4b 00    	call   *0x4b02bc
407b87:	8b 43 48             	mov    0x48(%ebx),%eax
407b8a:	85 c0                	test   %eax,%eax
407b8c:	0f 84 db 00 00 00    	je     0x407c6d
407b92:	8b 48 40             	mov    0x40(%eax),%ecx
407b95:	83 65 0c 00          	andl   $0x0,0xc(%ebp)
407b99:	85 c9                	test   %ecx,%ecx
407b9b:	89 4d 08             	mov    %ecx,0x8(%ebp)
407b9e:	89 4d f8             	mov    %ecx,-0x8(%ebp)
407ba1:	74 11                	je     0x407bb4
407ba3:	8d 48 3c             	lea    0x3c(%eax),%ecx
407ba6:	8d 45 08             	lea    0x8(%ebp),%eax
407ba9:	50                   	push   %eax
407baa:	e8 b3 f8 ff ff       	call   0x407462
407baf:	8b 00                	mov    (%eax),%eax
407bb1:	89 45 0c             	mov    %eax,0xc(%ebp)
407bb4:	33 c0                	xor    %eax,%eax
407bb6:	39 47 08             	cmp    %eax,0x8(%edi)
407bb9:	89 45 fc             	mov    %eax,-0x4(%ebp)
407bbc:	0f 86 ab 00 00 00    	jbe    0x407c6d
407bc2:	8b 4d 0c             	mov    0xc(%ebp),%ecx
407bc5:	85 c9                	test   %ecx,%ecx
407bc7:	74 34                	je     0x407bfd
407bc9:	8b 49 04             	mov    0x4(%ecx),%ecx
407bcc:	8b 57 0c             	mov    0xc(%edi),%edx
407bcf:	8b 49 28             	mov    0x28(%ecx),%ecx
407bd2:	3b 0c c2             	cmp    (%edx,%eax,8),%ecx
407bd5:	75 26                	jne    0x407bfd
407bd7:	8b 45 08             	mov    0x8(%ebp),%eax
407bda:	85 c0                	test   %eax,%eax
407bdc:	89 45 f8             	mov    %eax,-0x8(%ebp)
407bdf:	74 16                	je     0x407bf7
407be1:	8b 4b 48             	mov    0x48(%ebx),%ecx
407be4:	8d 45 08             	lea    0x8(%ebp),%eax
407be7:	83 c1 3c             	add    $0x3c,%ecx
407bea:	50                   	push   %eax
407beb:	e8 72 f8 ff ff       	call   0x407462
407bf0:	8b 00                	mov    (%eax),%eax
407bf2:	89 45 0c             	mov    %eax,0xc(%ebp)
407bf5:	eb 66                	jmp    0x407c5d
407bf7:	83 65 0c 00          	andl   $0x0,0xc(%ebp)
407bfb:	eb 60                	jmp    0x407c5d
407bfd:	8b 4f 0c             	mov    0xc(%edi),%ecx
407c00:	c1 e0 03             	shl    $0x3,%eax
407c03:	83 3c 08 00          	cmpl   $0x0,(%eax,%ecx,1)
407c07:	89 45 f0             	mov    %eax,-0x10(%ebp)
407c0a:	74 51                	je     0x407c5d
407c0c:	6a 0c                	push   $0xc
407c0e:	e8 42 84 03 00       	call   0x440055
407c13:	8b f0                	mov    %eax,%esi
407c15:	85 f6                	test   %esi,%esi
407c17:	59                   	pop    %ecx
407c18:	74 25                	je     0x407c3f
407c1a:	8b 47 0c             	mov    0xc(%edi),%eax
407c1d:	8b 55 f0             	mov    -0x10(%ebp),%edx
407c20:	8b 4b 1c             	mov    0x1c(%ebx),%ecx
407c23:	03 c2                	add    %edx,%eax
407c25:	ff 30                	push   (%eax)
407c27:	8b 78 04             	mov    0x4(%eax),%edi
407c2a:	51                   	push   %ecx
407c2b:	ff 15 50 08 4b 00    	call   *0x4b0850
407c31:	83 66 04 00          	andl   $0x0,0x4(%esi)
407c35:	89 7e 08             	mov    %edi,0x8(%esi)
407c38:	8b 7d 10             	mov    0x10(%ebp),%edi
407c3b:	89 06                	mov    %eax,(%esi)
407c3d:	eb 02                	jmp    0x407c41
407c3f:	33 f6                	xor    %esi,%esi
407c41:	8b 4b 48             	mov    0x48(%ebx),%ecx
407c44:	83 c1 3c             	add    $0x3c,%ecx
407c47:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
407c4b:	56                   	push   %esi
407c4c:	74 0a                	je     0x407c58
407c4e:	ff 75 f8             	push   -0x8(%ebp)
407c51:	e8 7e 4b 03 00       	call   0x43c7d4
407c56:	eb 05                	jmp    0x407c5d
407c58:	e8 d4 4a 03 00       	call   0x43c731
407c5d:	8b 45 fc             	mov    -0x4(%ebp),%eax
407c60:	40                   	inc    %eax
407c61:	3b 47 08             	cmp    0x8(%edi),%eax
407c64:	89 45 fc             	mov    %eax,-0x4(%ebp)
407c67:	0f 82 55 ff ff ff    	jb     0x407bc2
407c6d:	8b 45 f4             	mov    -0xc(%ebp),%eax
407c70:	5f                   	pop    %edi
407c71:	5e                   	pop    %esi
407c72:	5b                   	pop    %ebx
407c73:	c9                   	leave
407c74:	c2 0c 00             	ret    $0xc
407c77:	55                   	push   %ebp
407c78:	8b ec                	mov    %esp,%ebp
407c7a:	53                   	push   %ebx
407c7b:	8b 5d 08             	mov    0x8(%ebp),%ebx
407c7e:	8b 43 48             	mov    0x48(%ebx),%eax
407c81:	85 c0                	test   %eax,%eax
407c83:	0f 84 fc 00 00 00    	je     0x407d85
407c89:	8b 40 40             	mov    0x40(%eax),%eax
407c8c:	85 c0                	test   %eax,%eax
407c8e:	89 45 08             	mov    %eax,0x8(%ebp)
407c91:	0f 84 ad 00 00 00    	je     0x407d44
407c97:	56                   	push   %esi
407c98:	57                   	push   %edi
407c99:	8b 4b 48             	mov    0x48(%ebx),%ecx
407c9c:	8d 45 08             	lea    0x8(%ebp),%eax
407c9f:	83 c1 3c             	add    $0x3c,%ecx
407ca2:	50                   	push   %eax
407ca3:	e8 ba f7 ff ff       	call   0x407462
407ca8:	8b 30                	mov    (%eax),%esi
407caa:	8b 46 04             	mov    0x4(%esi),%eax
407cad:	85 c0                	test   %eax,%eax
407caf:	0f 84 83 00 00 00    	je     0x407d38
407cb5:	8b b8 90 00 00 00    	mov    0x90(%eax),%edi
407cbb:	eb 31                	jmp    0x407cee
407cbd:	ff 76 04             	push   0x4(%esi)
407cc0:	8b cf                	mov    %edi,%ecx
407cc2:	e8 cf 7a 00 00       	call   0x40f796
407cc7:	66 8b 47 04          	mov    0x4(%edi),%ax
407ccb:	66 85 c0             	test   %ax,%ax
407cce:	74 15                	je     0x407ce5
407cd0:	0f b7 c0             	movzwl %ax,%eax
407cd3:	50                   	push   %eax
407cd4:	8b cb                	mov    %ebx,%ecx
407cd6:	e8 01 8e 03 00       	call   0x440adc
407cdb:	ff 70 4c             	push   0x4c(%eax)
407cde:	8b cf                	mov    %edi,%ecx
407ce0:	e8 70 9a 00 00       	call   0x411755
407ce5:	8b cf                	mov    %edi,%ecx
407ce7:	e8 b3 7a 00 00       	call   0x40f79f
407cec:	8b f8                	mov    %eax,%edi
407cee:	85 ff                	test   %edi,%edi
407cf0:	75 cb                	jne    0x407cbd
407cf2:	8b 46 04             	mov    0x4(%esi),%eax
407cf5:	66 8b 80 94 00 00 00 	mov    0x94(%eax),%ax
407cfc:	66 85 c0             	test   %ax,%ax
407cff:	74 37                	je     0x407d38
407d01:	0f b7 c0             	movzwl %ax,%eax
407d04:	50                   	push   %eax
407d05:	8b cb                	mov    %ebx,%ecx
407d07:	e8 d0 8d 03 00       	call   0x440adc
407d0c:	8b f8                	mov    %eax,%edi
407d0e:	8b 4f 4c             	mov    0x4c(%edi),%ecx
407d11:	8b 01                	mov    (%ecx),%eax
407d13:	ff 90 b4 00 00 00    	call   *0xb4(%eax)
407d19:	8b 46 04             	mov    0x4(%esi),%eax
407d1c:	8b 4f 4c             	mov    0x4c(%edi),%ecx
407d1f:	89 88 94 00 00 00    	mov    %ecx,0x94(%eax)
407d25:	8b 47 4c             	mov    0x4c(%edi),%eax
407d28:	8b 88 8c 00 00 00    	mov    0x8c(%eax),%ecx
407d2e:	8b 01                	mov    (%ecx),%eax
407d30:	6a 01                	push   $0x1
407d32:	ff 76 04             	push   0x4(%esi)
407d35:	ff 50 08             	call   *0x8(%eax)
407d38:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
407d3c:	0f 85 57 ff ff ff    	jne    0x407c99
407d42:	5f                   	pop    %edi
407d43:	5e                   	pop    %esi
407d44:	8b 43 48             	mov    0x48(%ebx),%eax
407d47:	8b 40 40             	mov    0x40(%eax),%eax
407d4a:	85 c0                	test   %eax,%eax
407d4c:	89 45 08             	mov    %eax,0x8(%ebp)
407d4f:	74 34                	je     0x407d85
407d51:	8b 4b 48             	mov    0x48(%ebx),%ecx
407d54:	8d 45 08             	lea    0x8(%ebp),%eax
407d57:	83 c1 3c             	add    $0x3c,%ecx
407d5a:	50                   	push   %eax
407d5b:	e8 02 f7 ff ff       	call   0x407462
407d60:	8b 00                	mov    (%eax),%eax
407d62:	8b 48 04             	mov    0x4(%eax),%ecx
407d65:	85 c9                	test   %ecx,%ecx
407d67:	74 16                	je     0x407d7f
407d69:	83 b9 8c 00 00 00 00 	cmpl   $0x0,0x8c(%ecx)
407d70:	74 0d                	je     0x407d7f
407d72:	8b c1                	mov    %ecx,%eax
407d74:	8b 88 8c 00 00 00    	mov    0x8c(%eax),%ecx
407d7a:	8b 01                	mov    (%ecx),%eax
407d7c:	ff 50 0c             	call   *0xc(%eax)
407d7f:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
407d83:	75 cc                	jne    0x407d51
407d85:	5b                   	pop    %ebx
407d86:	5d                   	pop    %ebp
407d87:	c2 04 00             	ret    $0x4
407d8a:	8b c1                	mov    %ecx,%eax
407d8c:	c7 00 10 ac 48 00    	movl   $0x48ac10,(%eax)
407d92:	c3                   	ret
407d93:	56                   	push   %esi
407d94:	8b f1                	mov    %ecx,%esi
407d96:	e8 13 00 00 00       	call   0x407dae
407d9b:	f6 44 24 08 01       	testb  $0x1,0x8(%esp)
407da0:	74 06                	je     0x407da8
407da2:	56                   	push   %esi
407da3:	e8 96 60 06 00       	call   0x46de3e
407da8:	8b c6                	mov    %esi,%eax
407daa:	5e                   	pop    %esi
407dab:	c2 04 00             	ret    $0x4
407dae:	c3                   	ret
407daf:	6a 04                	push   $0x4
407db1:	e8 70 60 06 00       	call   0x46de26
407db6:	85 c0                	test   %eax,%eax
407db8:	74 07                	je     0x407dc1
407dba:	8b c8                	mov    %eax,%ecx
407dbc:	e9 c9 ff ff ff       	jmp    0x407d8a
407dc1:	33 c0                	xor    %eax,%eax
407dc3:	c3                   	ret
407dc4:	68 af 7d 40 00       	push   $0x407daf
407dc9:	e8 2c 62 06 00       	call   0x46dffa
407dce:	c3                   	ret
407dcf:	56                   	push   %esi
407dd0:	8b 74 24 08          	mov    0x8(%esp),%esi
407dd4:	85 f6                	test   %esi,%esi
407dd6:	75 11                	jne    0x407de9
407dd8:	68 af 7d 40 00       	push   $0x407daf
407ddd:	b9 18 a9 4a 00       	mov    $0x4aa918,%ecx
407de2:	e8 13 62 06 00       	call   0x46dffa
407de7:	8b f0                	mov    %eax,%esi
407de9:	e8 13 5b 06 00       	call   0x46d901
407dee:	89 b0 38 10 00 00    	mov    %esi,0x1038(%eax)
407df4:	5e                   	pop    %esi
407df5:	c3                   	ret
407df6:	b8 6c 2b 48 00       	mov    $0x482b6c,%eax
407dfb:	e8 7c fe 00 00       	call   0x417c7c
407e00:	81 ec 88 00 00 00    	sub    $0x88,%esp
407e06:	a1 40 8b 4a 00       	mov    0x4a8b40,%eax
407e0b:	53                   	push   %ebx
407e0c:	57                   	push   %edi
407e0d:	8b 7d 14             	mov    0x14(%ebp),%edi
407e10:	89 45 f0             	mov    %eax,-0x10(%ebp)
407e13:	33 db                	xor    %ebx,%ebx
407e15:	39 5d 10             	cmp    %ebx,0x10(%ebp)
407e18:	8d 47 12             	lea    0x12(%edi),%eax