407b75:	89 75 fc             	mov    %esi,-0x4(%ebp)
407b78:	85 ff                	test   %edi,%edi
407b7a:	74 49                	je     0x407bc5
407b7c:	66 39 37             	cmp    %si,(%edi)
407b7f:	74 44                	je     0x407bc5
407b81:	56                   	push   %esi
407b82:	ff 15 0c 40 41 00    	call   *0x41400c
407b88:	57                   	push   %edi
407b89:	ff 15 08 40 41 00    	call   *0x414008
407b8f:	8b f0                	mov    %eax,%esi
407b91:	89 75 f0             	mov    %esi,-0x10(%ebp)
407b94:	85 f6                	test   %esi,%esi
407b96:	74 26                	je     0x407bbe
407b98:	56                   	push   %esi
407b99:	ff 15 04 40 41 00    	call   *0x414004
407b9f:	85 c0                	test   %eax,%eax
407ba1:	74 1b                	je     0x407bbe
407ba3:	8b 03                	mov    (%ebx),%eax
407ba5:	ff 75 08             	push   0x8(%ebp)
407ba8:	56                   	push   %esi
407ba9:	8b b8 94 00 00 00    	mov    0x94(%eax),%edi
407baf:	8b cf                	mov    %edi,%ecx
407bb1:	53                   	push   %ebx
407bb2:	ff 15 10 22 41 00    	call   *0x412210
407bb8:	ff d7                	call   *%edi
407bba:	8b f8                	mov    %eax,%edi
407bbc:	eb 0c                	jmp    0x407bca
407bbe:	bf 0e 00 07 80       	mov    $0x8007000e,%edi
407bc3:	eb 05                	jmp    0x407bca
407bc5:	bf 57 00 07 80       	mov    $0x80070057,%edi
407bca:	56                   	push   %esi
407bcb:	ff 15 0c 40 41 00    	call   *0x41400c
407bd1:	8b c7                	mov    %edi,%eax
407bd3:	e8 44 6a 00 00       	call   0x40e61c
407bd8:	c2 04 00             	ret    $0x4
407bdb:	6a 04                	push   $0x4
407bdd:	b8 3f ef 40 00       	mov    $0x40ef3f,%eax
407be2:	e8 67 6a 00 00       	call   0x40e64e
407be7:	83 65 f0 00          	andl   $0x0,-0x10(%ebp)
407beb:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
407bef:	8d 45 f0             	lea    -0x10(%ebp),%eax
407bf2:	50                   	push   %eax
407bf3:	ba e4 45 40 00       	mov    $0x4045e4,%edx
407bf8:	e8 66 ff ff ff       	call   0x407b63
407bfd:	8b f8                	mov    %eax,%edi
407bff:	85 ff                	test   %edi,%edi
407c01:	75 1b                	jne    0x407c1e
407c03:	8b 45 f0             	mov    -0x10(%ebp),%eax
407c06:	ff 75 08             	push   0x8(%ebp)
407c09:	50                   	push   %eax
407c0a:	8b 08                	mov    (%eax),%ecx
407c0c:	8b b1 88 00 00 00    	mov    0x88(%ecx),%esi
407c12:	8b ce                	mov    %esi,%ecx
407c14:	ff 15 10 22 41 00    	call   *0x412210
407c1a:	ff d6                	call   *%esi
407c1c:	8b f8                	mov    %eax,%edi
407c1e:	c7 45 fc 02 00 00 00 	movl   $0x2,-0x4(%ebp)
407c25:	8b 4d f0             	mov    -0x10(%ebp),%ecx
407c28:	85 c9                	test   %ecx,%ecx
407c2a:	74 10                	je     0x407c3c
407c2c:	8b 11                	mov    (%ecx),%edx
407c2e:	51                   	push   %ecx
407c2f:	8b 72 08             	mov    0x8(%edx),%esi
407c32:	8b ce                	mov    %esi,%ecx
407c34:	ff 15 10 22 41 00    	call   *0x412210
407c3a:	ff d6                	call   *%esi
407c3c:	8b c7                	mov    %edi,%eax
407c3e:	e8 d9 69 00 00       	call   0x40e61c
407c43:	c2 04 00             	ret    $0x4
407c46:	6a 04                	push   $0x4
407c48:	b8 3f ef 40 00       	mov    $0x40ef3f,%eax
407c4d:	e8 fc 69 00 00       	call   0x40e64e
407c52:	83 65 f0 00          	andl   $0x0,-0x10(%ebp)
407c56:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
407c5a:	8d 45 f0             	lea    -0x10(%ebp),%eax
407c5d:	50                   	push   %eax
407c5e:	e8 00 ff ff ff       	call   0x407b63
407c63:	8b f8                	mov    %eax,%edi
407c65:	85 ff                	test   %edi,%edi
407c67:	75 18                	jne    0x407c81
407c69:	8b 45 f0             	mov    -0x10(%ebp),%eax
407c6c:	ff 75 08             	push   0x8(%ebp)
407c6f:	50                   	push   %eax
407c70:	8b 08                	mov    (%eax),%ecx
407c72:	8b 71 68             	mov    0x68(%ecx),%esi
407c75:	8b ce                	mov    %esi,%ecx
407c77:	ff 15 10 22 41 00    	call   *0x412210
407c7d:	ff d6                	call   *%esi
407c7f:	8b f8                	mov    %eax,%edi
407c81:	c7 45 fc 02 00 00 00 	movl   $0x2,-0x4(%ebp)
407c88:	8b 4d f0             	mov    -0x10(%ebp),%ecx
407c8b:	85 c9                	test   %ecx,%ecx
407c8d:	74 10                	je     0x407c9f
407c8f:	8b 11                	mov    (%ecx),%edx
407c91:	51                   	push   %ecx
407c92:	8b 72 08             	mov    0x8(%edx),%esi
407c95:	8b ce                	mov    %esi,%ecx
407c97:	ff 15 10 22 41 00    	call   *0x412210
407c9d:	ff d6                	call   *%esi
407c9f:	8b c7                	mov    %edi,%eax
407ca1:	e8 76 69 00 00       	call   0x40e61c
407ca6:	c2 04 00             	ret    $0x4
407ca9:	6a 2c                	push   $0x2c
407cab:	b8 82 ef 40 00       	mov    $0x40ef82,%eax
407cb0:	e8 cc 69 00 00       	call   0x40e681
407cb5:	8b f2                	mov    %edx,%esi
407cb7:	8b d9                	mov    %ecx,%ebx
407cb9:	8b 45 0c             	mov    0xc(%ebp),%eax
407cbc:	89 45 c8             	mov    %eax,-0x38(%ebp)
407cbf:	33 c0                	xor    %eax,%eax
407cc1:	89 45 cc             	mov    %eax,-0x34(%ebp)
407cc4:	c7 45 fc 01 00 00 00 	movl   $0x1,-0x4(%ebp)
407ccb:	85 f6                	test   %esi,%esi
407ccd:	74 5d                	je     0x407d2c
407ccf:	66 39 06             	cmp    %ax,(%esi)
407cd2:	74 58                	je     0x407d2c
407cd4:	50                   	push   %eax
407cd5:	ff 15 0c 40 41 00    	call   *0x41400c
407cdb:	56                   	push   %esi
407cdc:	ff 15 08 40 41 00    	call   *0x414008
407ce2:	8b f0                	mov    %eax,%esi
407ce4:	89 75 d4             	mov    %esi,-0x2c(%ebp)
407ce7:	85 f6                	test   %esi,%esi
407ce9:	74 30                	je     0x407d1b
407ceb:	56                   	push   %esi
407cec:	ff 15 04 40 41 00    	call   *0x414004
407cf2:	85 c0                	test   %eax,%eax
407cf4:	74 25                	je     0x407d1b
407cf6:	8b 3b                	mov    (%ebx),%edi
407cf8:	8d 45 cc             	lea    -0x34(%ebp),%eax
407cfb:	50                   	push   %eax
407cfc:	56                   	push   %esi
407cfd:	53                   	push   %ebx
407cfe:	8b bf 90 00 00 00    	mov    0x90(%edi),%edi
407d04:	8b cf                	mov    %edi,%ecx
407d06:	ff 15 10 22 41 00    	call   *0x412210
407d0c:	ff d7                	call   *%edi
407d0e:	56                   	push   %esi
407d0f:	8b f8                	mov    %eax,%edi
407d11:	ff 15 0c 40 41 00    	call   *0x41400c
407d17:	33 db                	xor    %ebx,%ebx
407d19:	eb 1f                	jmp    0x407d3a
407d1b:	56                   	push   %esi
407d1c:	ff 15 0c 40 41 00    	call   *0x41400c
407d22:	bf 0e 00 07 80       	mov    $0x8007000e,%edi
407d27:	e9 0e 01 00 00       	jmp    0x407e3a
407d2c:	33 db                	xor    %ebx,%ebx
407d2e:	53                   	push   %ebx
407d2f:	ff 15 0c 40 41 00    	call   *0x41400c
407d35:	bf 57 00 07 80       	mov    $0x80070057,%edi
407d3a:	85 ff                	test   %edi,%edi
407d3c:	0f 85 f8 00 00 00    	jne    0x407e3a
407d42:	33 c0                	xor    %eax,%eax
407d44:	c7 45 ec 07 00 00 00 	movl   $0x7,-0x14(%ebp)
407d4b:	89 5d e8             	mov    %ebx,-0x18(%ebp)
407d4e:	66 89 45 d8          	mov    %ax,-0x28(%ebp)
407d52:	89 5d d0             	mov    %ebx,-0x30(%ebp)
407d55:	c6 45 fc 04          	movb   $0x4,-0x4(%ebp)
407d59:	eb 70                	jmp    0x407dcb
407d5b:	89 5d d4             	mov    %ebx,-0x2c(%ebp)
407d5e:	c6 45 fc 05          	movb   $0x5,-0x4(%ebp)
407d62:	8d 55 d4             	lea    -0x2c(%ebp),%edx
407d65:	8b 45 d0             	mov    -0x30(%ebp),%eax
407d68:	52                   	push   %edx
407d69:	50                   	push   %eax
407d6a:	8b 08                	mov    (%eax),%ecx
407d6c:	8b 71 68             	mov    0x68(%ecx),%esi
407d6f:	8b ce                	mov    %esi,%ecx
407d71:	ff 15 10 22 41 00    	call   *0x412210
407d77:	ff d6                	call   *%esi
407d79:	85 c0                	test   %eax,%eax
407d7b:	8b 45 d4             	mov    -0x2c(%ebp),%eax
407d7e:	75 40                	jne    0x407dc0
407d80:	85 c0                	test   %eax,%eax
407d82:	74 3c                	je     0x407dc0
407d84:	83 7d e8 00          	cmpl   $0x0,-0x18(%ebp)
407d88:	74 0c                	je     0x407d96
407d8a:	51                   	push   %ecx
407d8b:	8d 4d d8             	lea    -0x28(%ebp),%ecx
407d8e:	e8 18 01 00 00       	call   0x407eab
407d93:	8b 45 d4             	mov    -0x2c(%ebp),%eax
407d96:	66 39 18             	cmp    %bx,(%eax)
407d99:	75 04                	jne    0x407d9f
407d9b:	8b d3                	mov    %ebx,%edx
407d9d:	eb 14                	jmp    0x407db3
407d9f:	8b d0                	mov    %eax,%edx
407da1:	8d 72 02             	lea    0x2(%edx),%esi
407da4:	66 8b 0a             	mov    (%edx),%cx
407da7:	83 c2 02             	add    $0x2,%edx
407daa:	66 3b cb             	cmp    %bx,%cx
407dad:	75 f5                	jne    0x407da4
407daf:	2b d6                	sub    %esi,%edx
407db1:	d1 fa                	sar    $1,%edx
407db3:	52                   	push   %edx
407db4:	50                   	push   %eax
407db5:	8d 4d d8             	lea    -0x28(%ebp),%ecx
407db8:	e8 48 01 00 00       	call   0x407f05
407dbd:	8b 45 d4             	mov    -0x2c(%ebp),%eax
407dc0:	50                   	push   %eax
407dc1:	c6 45 fc 04          	movb   $0x4,-0x4(%ebp)
407dc5:	ff 15 0c 40 41 00    	call   *0x41400c
407dcb:	8b 45 cc             	mov    -0x34(%ebp),%eax
407dce:	8d 55 d0             	lea    -0x30(%ebp),%edx
407dd1:	52                   	push   %edx
407dd2:	50                   	push   %eax
407dd3:	8b 08                	mov    (%eax),%ecx
407dd5:	8b 71 24             	mov    0x24(%ecx),%esi
407dd8:	8b ce                	mov    %esi,%ecx
407dda:	ff 15 10 22 41 00    	call   *0x412210
407de0:	ff d6                	call   *%esi
407de2:	85 c0                	test   %eax,%eax
407de4:	0f 84 71 ff ff ff    	je     0x407d5b
407dea:	83 7d ec 08          	cmpl   $0x8,-0x14(%ebp)
407dee:	8b 45 d8             	mov    -0x28(%ebp),%eax
407df1:	73 03                	jae    0x407df6
407df3:	8d 45 d8             	lea    -0x28(%ebp),%eax
407df6:	50                   	push   %eax
407df7:	ff 15 08 40 41 00    	call   *0x414008
407dfd:	8b f8                	mov    %eax,%edi
407dff:	8b 45 c8             	mov    -0x38(%ebp),%eax
407e02:	89 38                	mov    %edi,(%eax)
407e04:	f7 df                	neg    %edi
407e06:	1b ff                	sbb    %edi,%edi
407e08:	81 e7 f2 ff f8 7f    	and    $0x7ff8fff2,%edi
407e0e:	81 c7 0e 00 07 80    	add    $0x8007000e,%edi
407e14:	c6 45 fc 06          	movb   $0x6,-0x4(%ebp)
407e18:	8b 45 d0             	mov    -0x30(%ebp),%eax
407e1b:	85 c0                	test   %eax,%eax
407e1d:	74 10                	je     0x407e2f
407e1f:	8b 08                	mov    (%eax),%ecx
407e21:	50                   	push   %eax
407e22:	8b 71 08             	mov    0x8(%ecx),%esi
407e25:	8b ce                	mov    %esi,%ecx
407e27:	ff 15 10 22 41 00    	call   *0x412210
407e2d:	ff d6                	call   *%esi
407e2f:	53                   	push   %ebx
407e30:	6a 01                	push   $0x1
407e32:	8d 4d d8             	lea    -0x28(%ebp),%ecx
407e35:	e8 b6 e6 ff ff       	call   0x4064f0
407e3a:	c7 45 fc 07 00 00 00 	movl   $0x7,-0x4(%ebp)
407e41:	8b 4d cc             	mov    -0x34(%ebp),%ecx
407e44:	85 c9                	test   %ecx,%ecx
407e46:	74 10                	je     0x407e58
407e48:	8b 11                	mov    (%ecx),%edx
407e4a:	51                   	push   %ecx
407e4b:	8b 72 08             	mov    0x8(%edx),%esi
407e4e:	8b ce                	mov    %esi,%ecx
407e50:	ff 15 10 22 41 00    	call   *0x412210
407e56:	ff d6                	call   *%esi
407e58:	8b c7                	mov    %edi,%eax
407e5a:	e8 d1 67 00 00       	call   0x40e630
407e5f:	c2 08 00             	ret    $0x8
407e62:	8b ff                	mov    %edi,%edi
407e64:	55                   	push   %ebp
407e65:	8b ec                	mov    %esp,%ebp
407e67:	6a ff                	push   $0xffffffff
407e69:	68 a7 ef 40 00       	push   $0x40efa7
407e6e:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
407e74:	50                   	push   %eax
407e75:	56                   	push   %esi
407e76:	a1 54 13 41 00       	mov    0x411354,%eax
407e7b:	33 c5                	xor    %ebp,%eax
407e7d:	50                   	push   %eax
407e7e:	8d 45 f4             	lea    -0xc(%ebp),%eax
407e81:	64 a3 00 00 00 00    	mov    %eax,%fs:0x0
407e87:	8b 09                	mov    (%ecx),%ecx
407e89:	85 c9                	test   %ecx,%ecx
407e8b:	74 10                	je     0x407e9d
407e8d:	8b 01                	mov    (%ecx),%eax
407e8f:	51                   	push   %ecx
407e90:	8b 70 08             	mov    0x8(%eax),%esi
407e93:	8b ce                	mov    %esi,%ecx
407e95:	ff 15 10 22 41 00    	call   *0x412210
407e9b:	ff d6                	call   *%esi
407e9d:	8b 4d f4             	mov    -0xc(%ebp),%ecx
407ea0:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
407ea7:	59                   	pop    %ecx
407ea8:	5e                   	pop    %esi
407ea9:	c9                   	leave
407eaa:	c3                   	ret
407eab:	8b ff                	mov    %edi,%edi
407ead:	56                   	push   %esi
407eae:	8b f1                	mov    %ecx,%esi
407eb0:	57                   	push   %edi
407eb1:	8b 4e 10             	mov    0x10(%esi),%ecx
407eb4:	8b c1                	mov    %ecx,%eax
407eb6:	f7 d0                	not    %eax
407eb8:	83 f8 01             	cmp    $0x1,%eax
407ebb:	76 42                	jbe    0x407eff
407ebd:	8d 79 01             	lea    0x1(%ecx),%edi
407ec0:	51                   	push   %ecx
407ec1:	57                   	push   %edi
407ec2:	8b ce                	mov    %esi,%ecx
407ec4:	e8 12 e5 ff ff       	call   0x4063db
407ec9:	84 c0                	test   %al,%al
407ecb:	74 2b                	je     0x407ef8
407ecd:	83 7e 14 08          	cmpl   $0x8,0x14(%esi)
407ed1:	8b 4e 10             	mov    0x10(%esi),%ecx
407ed4:	72 04                	jb     0x407eda
407ed6:	8b 06                	mov    (%esi),%eax
407ed8:	eb 02                	jmp    0x407edc
407eda:	8b c6                	mov    %esi,%eax
407edc:	6a 2c                	push   $0x2c
407ede:	5a                   	pop    %edx
407edf:	66 89 14 48          	mov    %dx,(%eax,%ecx,2)
407ee3:	83 7e 14 08          	cmpl   $0x8,0x14(%esi)
407ee7:	89 7e 10             	mov    %edi,0x10(%esi)
407eea:	72 04                	jb     0x407ef0
407eec:	8b 06                	mov    (%esi),%eax
407eee:	eb 02                	jmp    0x407ef2
407ef0:	8b c6                	mov    %esi,%eax
407ef2:	33 c9                	xor    %ecx,%ecx
407ef4:	66 89 0c 78          	mov    %cx,(%eax,%edi,2)
407ef8:	5f                   	pop    %edi
407ef9:	8b c6                	mov    %esi,%eax
407efb:	5e                   	pop    %esi
407efc:	c2 04 00             	ret    $0x4
407eff:	e8 5e d1 ff ff       	call   0x405062
407f04:	cc                   	int3
407f05:	8b ff                	mov    %edi,%edi
407f07:	55                   	push   %ebp
407f08:	8b ec                	mov    %esp,%ebp
407f0a:	51                   	push   %ecx
407f0b:	56                   	push   %esi
407f0c:	57                   	push   %edi
407f0d:	8b 7d 08             	mov    0x8(%ebp),%edi
407f10:	8b f1                	mov    %ecx,%esi
407f12:	57                   	push   %edi
407f13:	e8 50 e2 ff ff       	call   0x406168
407f18:	84 c0                	test   %al,%al
407f1a:	74 1c                	je     0x407f38
407f1c:	83 7e 14 08          	cmpl   $0x8,0x14(%esi)
407f20:	72 04                	jb     0x407f26
407f22:	8b 06                	mov    (%esi),%eax
407f24:	eb 02                	jmp    0x407f28
407f26:	8b c6                	mov    %esi,%eax
407f28:	ff 75 0c             	push   0xc(%ebp)
407f2b:	2b f8                	sub    %eax,%edi
407f2d:	d1 ff                	sar    $1,%edi
407f2f:	57                   	push   %edi
407f30:	56                   	push   %esi
407f31:	e8 6f 00 00 00       	call   0x407fa5
407f36:	eb 61                	jmp    0x407f99
407f38:	8b 4e 10             	mov    0x10(%esi),%ecx
407f3b:	8b c1                	mov    %ecx,%eax
407f3d:	53                   	push   %ebx
407f3e:	8b 5d 0c             	mov    0xc(%ebp),%ebx
407f41:	f7 d0                	not    %eax
407f43:	3b c3                	cmp    %ebx,%eax
407f45:	76 58                	jbe    0x407f9f