509a9d:	89 8b 40 01 00 00    	mov    %ecx,0x140(%ebx)
509aa3:	5d                   	pop    %ebp
509aa4:	5f                   	pop    %edi
509aa5:	5e                   	pop    %esi
509aa6:	5b                   	pop    %ebx
509aa7:	c3                   	ret
509aa8:	53                   	push   %ebx
509aa9:	8b d8                	mov    %eax,%ebx
509aab:	56                   	push   %esi
509aac:	57                   	push   %edi
509aad:	51                   	push   %ecx
509aae:	83 bb ec 00 00 00 01 	cmpl   $0x1,0xec(%ebx)
509ab5:	75 67                	jne    0x509b1e
509ab7:	8b 8b f0 00 00 00    	mov    0xf0(%ebx),%ecx
509abd:	8b 41 1c             	mov    0x1c(%ecx),%eax
509ac0:	89 83 00 01 00 00    	mov    %eax,0x100(%ebx)
509ac6:	8b 51 20             	mov    0x20(%ecx),%edx
509ac9:	89 93 04 01 00 00    	mov    %edx,0x104(%ebx)
509acf:	33 d2                	xor    %edx,%edx
509ad1:	c7 41 34 01 00 00 00 	movl   $0x1,0x34(%ecx)
509ad8:	c7 41 38 01 00 00 00 	movl   $0x1,0x38(%ecx)
509adf:	c7 41 3c 01 00 00 00 	movl   $0x1,0x3c(%ecx)
509ae6:	c7 41 40 08 00 00 00 	movl   $0x8,0x40(%ecx)
509aed:	c7 41 44 01 00 00 00 	movl   $0x1,0x44(%ecx)
509af4:	8b 41 20             	mov    0x20(%ecx),%eax
509af7:	8b 71 0c             	mov    0xc(%ecx),%esi
509afa:	f7 f6                	div    %esi
509afc:	8b c2                	mov    %edx,%eax
509afe:	85 c0                	test   %eax,%eax
509b00:	75 02                	jne    0x509b04
509b02:	8b c6                	mov    %esi,%eax
509b04:	89 41 48             	mov    %eax,0x48(%ecx)
509b07:	33 d2                	xor    %edx,%edx
509b09:	c7 83 08 01 00 00 01 	movl   $0x1,0x108(%ebx)
509b10:	00 00 00
509b13:	89 93 0c 01 00 00    	mov    %edx,0x10c(%ebx)
509b19:	e9 11 01 00 00       	jmp    0x509c2f
509b1e:	8b 83 ec 00 00 00    	mov    0xec(%ebx),%eax
509b24:	85 c0                	test   %eax,%eax
509b26:	7e 05                	jle    0x509b2d
509b28:	83 f8 04             	cmp    $0x4,%eax
509b2b:	7e 1f                	jle    0x509b4c
509b2d:	8b 03                	mov    (%ebx),%eax
509b2f:	c7 40 14 18 00 00 00 	movl   $0x18,0x14(%eax)
509b36:	8b 93 ec 00 00 00    	mov    0xec(%ebx),%edx
509b3c:	89 50 18             	mov    %edx,0x18(%eax)
509b3f:	c7 40 1c 04 00 00 00 	movl   $0x4,0x1c(%eax)
509b46:	8b c3                	mov    %ebx,%eax
509b48:	8b 10                	mov    (%eax),%edx
509b4a:	ff 12                	call   *(%edx)
509b4c:	8b 8b e0 00 00 00    	mov    0xe0(%ebx),%ecx
509b52:	c1 e1 03             	shl    $0x3,%ecx
509b55:	8b c1                	mov    %ecx,%eax
509b57:	03 43 18             	add    0x18(%ebx),%eax
509b5a:	48                   	dec    %eax
509b5b:	99                   	cltd
509b5c:	f7 f9                	idiv   %ecx
509b5e:	89 83 00 01 00 00    	mov    %eax,0x100(%ebx)
509b64:	8b 8b e4 00 00 00    	mov    0xe4(%ebx),%ecx
509b6a:	c1 e1 03             	shl    $0x3,%ecx
509b6d:	8b c1                	mov    %ecx,%eax
509b6f:	03 43 1c             	add    0x1c(%ebx),%eax
509b72:	48                   	dec    %eax
509b73:	99                   	cltd
509b74:	f7 f9                	idiv   %ecx
509b76:	89 83 04 01 00 00    	mov    %eax,0x104(%ebx)
509b7c:	33 c9                	xor    %ecx,%ecx
509b7e:	89 8b 08 01 00 00    	mov    %ecx,0x108(%ebx)
509b84:	33 f6                	xor    %esi,%esi
509b86:	8d 83 f0 00 00 00    	lea    0xf0(%ebx),%eax
509b8c:	89 04 24             	mov    %eax,(%esp)
509b8f:	e9 8f 00 00 00       	jmp    0x509c23
509b94:	8b 14 24             	mov    (%esp),%edx
509b97:	8b 0a                	mov    (%edx),%ecx
509b99:	8b 41 08             	mov    0x8(%ecx),%eax
509b9c:	89 41 34             	mov    %eax,0x34(%ecx)
509b9f:	8b 41 0c             	mov    0xc(%ecx),%eax
509ba2:	89 41 38             	mov    %eax,0x38(%ecx)
509ba5:	8b 51 34             	mov    0x34(%ecx),%edx
509ba8:	0f af d0             	imul   %eax,%edx
509bab:	89 51 3c             	mov    %edx,0x3c(%ecx)
509bae:	33 d2                	xor    %edx,%edx
509bb0:	8b 41 34             	mov    0x34(%ecx),%eax
509bb3:	c1 e0 03             	shl    $0x3,%eax
509bb6:	89 41 40             	mov    %eax,0x40(%ecx)
509bb9:	8b 41 1c             	mov    0x1c(%ecx),%eax
509bbc:	8b 79 34             	mov    0x34(%ecx),%edi
509bbf:	f7 f7                	div    %edi
509bc1:	8b c2                	mov    %edx,%eax
509bc3:	85 c0                	test   %eax,%eax
509bc5:	75 02                	jne    0x509bc9
509bc7:	8b c7                	mov    %edi,%eax
509bc9:	89 41 44             	mov    %eax,0x44(%ecx)
509bcc:	33 d2                	xor    %edx,%edx
509bce:	8b 41 20             	mov    0x20(%ecx),%eax
509bd1:	8b 79 38             	mov    0x38(%ecx),%edi
509bd4:	f7 f7                	div    %edi
509bd6:	8b c2                	mov    %edx,%eax
509bd8:	85 c0                	test   %eax,%eax
509bda:	75 02                	jne    0x509bde
509bdc:	8b c7                	mov    %edi,%eax
509bde:	89 41 48             	mov    %eax,0x48(%ecx)
509be1:	8b 79 3c             	mov    0x3c(%ecx),%edi
509be4:	8b 83 08 01 00 00    	mov    0x108(%ebx),%eax
509bea:	03 c7                	add    %edi,%eax
509bec:	83 f8 0a             	cmp    $0xa,%eax
509bef:	7e 24                	jle    0x509c15
509bf1:	8b 13                	mov    (%ebx),%edx
509bf3:	8b c3                	mov    %ebx,%eax
509bf5:	c7 42 14 0b 00 00 00 	movl   $0xb,0x14(%edx)
509bfc:	8b 10                	mov    (%eax),%edx
509bfe:	ff 12                	call   *(%edx)
509c00:	eb 13                	jmp    0x509c15
509c02:	8b 8b 08 01 00 00    	mov    0x108(%ebx),%ecx
509c08:	ff 83 08 01 00 00    	incl   0x108(%ebx)
509c0e:	89 b4 8b 0c 01 00 00 	mov    %esi,0x10c(%ebx,%ecx,4)
509c15:	8b c7                	mov    %edi,%eax
509c17:	83 c7 ff             	add    $0xffffffff,%edi
509c1a:	85 c0                	test   %eax,%eax
509c1c:	7f e4                	jg     0x509c02
509c1e:	46                   	inc    %esi
509c1f:	83 04 24 04          	addl   $0x4,(%esp)
509c23:	3b b3 ec 00 00 00    	cmp    0xec(%ebx),%esi
509c29:	0f 8c 65 ff ff ff    	jl     0x509b94
509c2f:	8b 83 c4 00 00 00    	mov    0xc4(%ebx),%eax
509c35:	85 c0                	test   %eax,%eax
509c37:	7e 18                	jle    0x509c51
509c39:	f7 ab 00 01 00 00    	imull  0x100(%ebx)
509c3f:	3d ff ff 00 00       	cmp    $0xffff,%eax
509c44:	7c 05                	jl     0x509c4b
509c46:	b8 ff ff 00 00       	mov    $0xffff,%eax
509c4b:	89 83 c0 00 00 00    	mov    %eax,0xc0(%ebx)
509c51:	5a                   	pop    %edx
509c52:	5f                   	pop    %edi
509c53:	5e                   	pop    %esi
509c54:	5b                   	pop    %ebx
509c55:	c3                   	ret
509c56:	90                   	nop
509c57:	90                   	nop
509c58:	53                   	push   %ebx
509c59:	8b d8                	mov    %eax,%ebx
509c5b:	56                   	push   %esi
509c5c:	8b b3 44 01 00 00    	mov    0x144(%ebx),%esi
509c62:	8b 46 14             	mov    0x14(%esi),%eax
509c65:	83 e8 01             	sub    $0x1,%eax
509c68:	72 12                	jb     0x509c7c
509c6a:	0f 84 a1 00 00 00    	je     0x509d11
509c70:	48                   	dec    %eax
509c71:	0f 84 f2 00 00 00    	je     0x509d69
509c77:	e9 42 01 00 00       	jmp    0x509dbe
509c7c:	8b c3                	mov    %ebx,%eax
509c7e:	e8 35 fd ff ff       	call   0x5099b8
509c83:	8b c3                	mov    %ebx,%eax
509c85:	e8 1e fe ff ff       	call   0x509aa8
509c8a:	83 bb a8 00 00 00 00 	cmpl   $0x0,0xa8(%ebx)
509c91:	75 20                	jne    0x509cb3
509c93:	8b c3                	mov    %ebx,%eax
509c95:	8b 90 58 01 00 00    	mov    0x158(%eax),%edx
509c9b:	ff 12                	call   *(%edx)
509c9d:	8b c3                	mov    %ebx,%eax
509c9f:	8b 90 5c 01 00 00    	mov    0x15c(%eax),%edx
509ca5:	ff 12                	call   *(%edx)
509ca7:	33 d2                	xor    %edx,%edx
509ca9:	8b c3                	mov    %ebx,%eax
509cab:	8b 88 4c 01 00 00    	mov    0x14c(%eax),%ecx
509cb1:	ff 11                	call   *(%ecx)
509cb3:	8b c3                	mov    %ebx,%eax
509cb5:	8b 90 60 01 00 00    	mov    0x160(%eax),%edx
509cbb:	ff 12                	call   *(%edx)
509cbd:	8b 93 b0 00 00 00    	mov    0xb0(%ebx),%edx
509cc3:	8b c3                	mov    %ebx,%eax
509cc5:	8b 88 64 01 00 00    	mov    0x164(%eax),%ecx
509ccb:	ff 11                	call   *(%ecx)
509ccd:	83 7e 1c 01          	cmpl   $0x1,0x1c(%esi)
509cd1:	7e 07                	jle    0x509cda
509cd3:	ba 03 00 00 00       	mov    $0x3,%edx
509cd8:	eb 02                	jmp    0x509cdc
509cda:	33 d2                	xor    %edx,%edx
509cdc:	8b c3                	mov    %ebx,%eax
509cde:	8b 88 50 01 00 00    	mov    0x150(%eax),%ecx
509ce4:	ff 11                	call   *(%ecx)
509ce6:	33 d2                	xor    %edx,%edx
509ce8:	8b c3                	mov    %ebx,%eax
509cea:	8b 88 48 01 00 00    	mov    0x148(%eax),%ecx
509cf0:	ff 11                	call   *(%ecx)
509cf2:	83 bb b0 00 00 00 00 	cmpl   $0x0,0xb0(%ebx)
509cf9:	74 0a                	je     0x509d05
509cfb:	33 c0                	xor    %eax,%eax
509cfd:	89 46 0c             	mov    %eax,0xc(%esi)
509d00:	e9 c8 00 00 00       	jmp    0x509dcd
509d05:	c7 46 0c 01 00 00 00 	movl   $0x1,0xc(%esi)
509d0c:	e9 bc 00 00 00       	jmp    0x509dcd
509d11:	8b c3                	mov    %ebx,%eax
509d13:	e8 a0 fc ff ff       	call   0x5099b8
509d18:	8b c3                	mov    %ebx,%eax
509d1a:	e8 89 fd ff ff       	call   0x509aa8
509d1f:	83 bb 34 01 00 00 00 	cmpl   $0x0,0x134(%ebx)
509d26:	75 12                	jne    0x509d3a
509d28:	83 bb 3c 01 00 00 00 	cmpl   $0x0,0x13c(%ebx)
509d2f:	74 09                	je     0x509d3a
509d31:	83 bb ac 00 00 00 00 	cmpl   $0x0,0xac(%ebx)
509d38:	74 25                	je     0x509d5f
509d3a:	ba 01 00 00 00       	mov    $0x1,%edx
509d3f:	8b c3                	mov    %ebx,%eax
509d41:	8b 88 64 01 00 00    	mov    0x164(%eax),%ecx
509d47:	ff 11                	call   *(%ecx)
509d49:	ba 02 00 00 00       	mov    $0x2,%edx
509d4e:	8b c3                	mov    %ebx,%eax
509d50:	8b 88 50 01 00 00    	mov    0x150(%eax),%ecx
509d56:	ff 11                	call   *(%ecx)
509d58:	33 d2                	xor    %edx,%edx
509d5a:	89 56 0c             	mov    %edx,0xc(%esi)
509d5d:	eb 6e                	jmp    0x509dcd
509d5f:	c7 46 14 02 00 00 00 	movl   $0x2,0x14(%esi)
509d66:	ff 46 18             	incl   0x18(%esi)
509d69:	83 bb b0 00 00 00 00 	cmpl   $0x0,0xb0(%ebx)
509d70:	75 0e                	jne    0x509d80
509d72:	8b c3                	mov    %ebx,%eax
509d74:	e8 3f fc ff ff       	call   0x5099b8
509d79:	8b c3                	mov    %ebx,%eax
509d7b:	e8 28 fd ff ff       	call   0x509aa8
509d80:	33 d2                	xor    %edx,%edx
509d82:	8b c3                	mov    %ebx,%eax
509d84:	8b 88 64 01 00 00    	mov    0x164(%eax),%ecx
509d8a:	ff 11                	call   *(%ecx)
509d8c:	ba 02 00 00 00       	mov    $0x2,%edx
509d91:	8b c3                	mov    %ebx,%eax
509d93:	8b 88 50 01 00 00    	mov    0x150(%eax),%ecx
509d99:	ff 11                	call   *(%ecx)
509d9b:	83 7e 20 00          	cmpl   $0x0,0x20(%esi)
509d9f:	75 0b                	jne    0x509dac
509da1:	8b c3                	mov    %ebx,%eax
509da3:	8b 90 54 01 00 00    	mov    0x154(%eax),%edx
509da9:	ff 52 08             	call   *0x8(%edx)
509dac:	8b c3                	mov    %ebx,%eax
509dae:	8b 90 54 01 00 00    	mov    0x154(%eax),%edx
509db4:	ff 52 0c             	call   *0xc(%edx)
509db7:	33 c9                	xor    %ecx,%ecx
509db9:	89 4e 0c             	mov    %ecx,0xc(%esi)
509dbc:	eb 0f                	jmp    0x509dcd
509dbe:	8b 03                	mov    (%ebx),%eax
509dc0:	c7 40 14 2f 00 00 00 	movl   $0x2f,0x14(%eax)
509dc7:	8b c3                	mov    %ebx,%eax
509dc9:	8b 10                	mov    (%eax),%edx
509dcb:	ff 12                	call   *(%edx)
509dcd:	8b 4e 1c             	mov    0x1c(%esi),%ecx
509dd0:	49                   	dec    %ecx
509dd1:	3b 4e 18             	cmp    0x18(%esi),%ecx
509dd4:	0f 94 c0             	sete   %al
509dd7:	83 e0 01             	and    $0x1,%eax
509dda:	89 46 10             	mov    %eax,0x10(%esi)
509ddd:	8b 43 08             	mov    0x8(%ebx),%eax
509de0:	85 c0                	test   %eax,%eax
509de2:	74 0c                	je     0x509df0
509de4:	8b 56 18             	mov    0x18(%esi),%edx
509de7:	89 50 0c             	mov    %edx,0xc(%eax)
509dea:	8b 4e 1c             	mov    0x1c(%esi),%ecx
509ded:	89 48 10             	mov    %ecx,0x10(%eax)
509df0:	5e                   	pop    %esi
509df1:	5b                   	pop    %ebx
509df2:	c3                   	ret
509df3:	90                   	nop
509df4:	53                   	push   %ebx
509df5:	8b d8                	mov    %eax,%ebx
509df7:	8b 83 44 01 00 00    	mov    0x144(%ebx),%eax
509dfd:	33 d2                	xor    %edx,%edx
509dff:	89 50 0c             	mov    %edx,0xc(%eax)
509e02:	8b c3                	mov    %ebx,%eax
509e04:	8b 90 54 01 00 00    	mov    0x154(%eax),%edx
509e0a:	ff 52 08             	call   *0x8(%edx)
509e0d:	8b c3                	mov    %ebx,%eax
509e0f:	8b 90 54 01 00 00    	mov    0x154(%eax),%edx
509e15:	ff 52 0c             	call   *0xc(%edx)
509e18:	5b                   	pop    %ebx
509e19:	c3                   	ret
509e1a:	90                   	nop
509e1b:	90                   	nop
509e1c:	53                   	push   %ebx
509e1d:	56                   	push   %esi
509e1e:	8b f0                	mov    %eax,%esi
509e20:	8b 9e 44 01 00 00    	mov    0x144(%esi),%ebx
509e26:	8b c6                	mov    %esi,%eax
509e28:	8b 90 64 01 00 00    	mov    0x164(%eax),%edx
509e2e:	ff 52 08             	call   *0x8(%edx)
509e31:	8b 4b 14             	mov    0x14(%ebx),%ecx
509e34:	83 e9 01             	sub    $0x1,%ecx
509e37:	72 07                	jb     0x509e40
509e39:	74 1a                	je     0x509e55
509e3b:	49                   	dec    %ecx
509e3c:	74 20                	je     0x509e5e
509e3e:	eb 31                	jmp    0x509e71
509e40:	c7 43 14 02 00 00 00 	movl   $0x2,0x14(%ebx)
509e47:	83 be b0 00 00 00 00 	cmpl   $0x0,0xb0(%esi)
509e4e:	75 21                	jne    0x509e71
509e50:	ff 43 20             	incl   0x20(%ebx)
509e53:	eb 1c                	jmp    0x509e71
509e55:	c7 43 14 02 00 00 00 	movl   $0x2,0x14(%ebx)
509e5c:	eb 13                	jmp    0x509e71
509e5e:	83 be b0 00 00 00 00 	cmpl   $0x0,0xb0(%esi)
509e65:	74 07                	je     0x509e6e
509e67:	c7 43 14 01 00 00 00 	movl   $0x1,0x14(%ebx)
509e6e:	ff 43 20             	incl   0x20(%ebx)
509e71:	ff 43 18             	incl   0x18(%ebx)
509e74:	5e                   	pop    %esi
509e75:	5b                   	pop    %ebx
509e76:	c3                   	ret
509e77:	90                   	nop
509e78:	53                   	push   %ebx
509e79:	56                   	push   %esi
509e7a:	8b f0                	mov    %eax,%esi
509e7c:	57                   	push   %edi
509e7d:	8b c6                	mov    %esi,%eax
509e7f:	8b fa                	mov    %edx,%edi
509e81:	ba 01 00 00 00       	mov    $0x1,%edx
509e86:	b9 24 00 00 00       	mov    $0x24,%ecx
509e8b:	8b 58 04             	mov    0x4(%eax),%ebx
509e8e:	ff 13                	call   *(%ebx)
509e90:	8b d8                	mov    %eax,%ebx
509e92:	33 c0                	xor    %eax,%eax
509e94:	89 9e 44 01 00 00    	mov    %ebx,0x144(%esi)
509e9a:	c7 03 58 9c 50 00    	movl   $0x509c58,(%ebx)
509ea0:	c7 43 04 f4 9d 50 00 	movl   $0x509df4,0x4(%ebx)
509ea7:	c7 43 08 1c 9e 50 00 	movl   $0x509e1c,0x8(%ebx)
509eae:	89 43 10             	mov    %eax,0x10(%ebx)
509eb1:	8b c6                	mov    %esi,%eax
509eb3:	e8 50 f5 ff ff       	call   0x509408
509eb8:	83 be a4 00 00 00 00 	cmpl   $0x0,0xa4(%esi)
509ebf:	74 09                	je     0x509eca
509ec1:	8b c6                	mov    %esi,%eax
509ec3:	e8 08 f7 ff ff       	call   0x5095d0
509ec8:	eb 12                	jmp    0x509edc
509eca:	33 d2                	xor    %edx,%edx
509ecc:	89 96 dc 00 00 00    	mov    %edx,0xdc(%esi)
509ed2:	c7 86 a0 00 00 00 01 	movl   $0x1,0xa0(%esi)
509ed9:	00 00 00
509edc:	83 be dc 00 00 00 00 	cmpl   $0x0,0xdc(%esi)
509ee3:	74 0a                	je     0x509eef
509ee5:	c7 86 b0 00 00 00 01 	movl   $0x1,0xb0(%esi)
509eec:	00 00 00
509eef:	85 ff                	test   %edi,%edi
509ef1:	74 1b                	je     0x509f0e
509ef3:	83 be b0 00 00 00 00 	cmpl   $0x0,0xb0(%esi)
509efa:	74 09                	je     0x509f05
509efc:	c7 43 14 01 00 00 00 	movl   $0x1,0x14(%ebx)
509f03:	eb 0e                	jmp    0x509f13
509f05:	c7 43 14 02 00 00 00 	movl   $0x2,0x14(%ebx)
509f0c:	eb 05                	jmp    0x509f13
509f0e:	33 c9                	xor    %ecx,%ecx
509f10:	89 4b 14             	mov    %ecx,0x14(%ebx)
509f13:	33 c0                	xor    %eax,%eax