599d63:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
599d66:	8b 55 e0             	mov    -0x20(%ebp),%edx
599d69:	e8 de 21 06 00       	call   0x5fbf4c
599d6e:	3c ff                	cmp    $0xff,%al
599d70:	73 06                	jae    0x599d78
599d72:	8a 07                	mov    (%edi),%al
599d74:	88 07                	mov    %al,(%edi)
599d76:	eb 1b                	jmp    0x599d93
599d78:	8b 45 b4             	mov    -0x4c(%ebp),%eax
599d7b:	8a 50 02             	mov    0x2(%eax),%dl
599d7e:	c1 e2 10             	shl    $0x10,%edx
599d81:	66 8b 10             	mov    (%eax),%dx
599d84:	52                   	push   %edx
599d85:	8b 45 bc             	mov    -0x44(%ebp),%eax
599d88:	e8 13 5e fa ff       	call   0x53fba0
599d8d:	40                   	inc    %eax
599d8e:	c1 e0 04             	shl    $0x4,%eax
599d91:	08 07                	or     %al,(%edi)
599d93:	ff 45 e0             	incl   -0x20(%ebp)
599d96:	83 45 b4 03          	addl   $0x3,-0x4c(%ebp)
599d9a:	47                   	inc    %edi
599d9b:	8b c3                	mov    %ebx,%eax
599d9d:	8b 10                	mov    (%eax),%edx
599d9f:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599da5:	8b 10                	mov    (%eax),%edx
599da7:	ff 52 0c             	call   *0xc(%edx)
599daa:	3b 45 e0             	cmp    -0x20(%ebp),%eax
599dad:	0f 8f 43 ff ff ff    	jg     0x599cf6
599db3:	8b 55 b8             	mov    -0x48(%ebp),%edx
599db6:	8b 4d dc             	mov    -0x24(%ebp),%ecx
599db9:	8b 45 fc             	mov    -0x4(%ebp),%eax
599dbc:	8b 30                	mov    (%eax),%esi
599dbe:	ff 56 0c             	call   *0xc(%esi)
599dc1:	ff 4d e4             	decl   -0x1c(%ebp)
599dc4:	83 7d e4 ff          	cmpl   $0xffffffff,-0x1c(%ebp)
599dc8:	0f 85 07 ff ff ff    	jne    0x599cd5
599dce:	8b 45 b8             	mov    -0x48(%ebp),%eax
599dd1:	e8 f6 89 e6 ff       	call   0x4027cc
599dd6:	8b 45 bc             	mov    -0x44(%ebp),%eax
599dd9:	e8 9a 9c e6 ff       	call   0x403a78
599dde:	e9 56 02 00 00       	jmp    0x59a039
599de3:	ba 08 00 00 00       	mov    $0x8,%edx
599de8:	8b 45 b0             	mov    -0x50(%ebp),%eax
599deb:	e8 24 1e e8 ff       	call   0x41bc14
599df0:	8b c3                	mov    %ebx,%eax
599df2:	8b 10                	mov    (%eax),%edx
599df4:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599dfa:	8b 10                	mov    (%eax),%edx
599dfc:	ff 52 0c             	call   *0xc(%edx)
599dff:	b9 20 00 00 00       	mov    $0x20,%ecx
599e04:	ba 08 00 00 00       	mov    $0x8,%edx
599e09:	e8 d2 6c 05 00       	call   0x5f0ae0
599e0e:	89 45 dc             	mov    %eax,-0x24(%ebp)
599e11:	66 c7 85 70 ff ff ff 	movw   $0x1,-0x90(%ebp)
599e18:	01 00
599e1a:	66 c7 85 72 ff ff ff 	movw   $0x8,-0x8e(%ebp)
599e21:	08 00
599e23:	8b c3                	mov    %ebx,%eax
599e25:	8b 10                	mov    (%eax),%edx
599e27:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599e2d:	8b 10                	mov    (%eax),%edx
599e2f:	ff 52 0c             	call   *0xc(%edx)
599e32:	8b f0                	mov    %eax,%esi
599e34:	8b c3                	mov    %ebx,%eax
599e36:	8b 10                	mov    (%eax),%edx
599e38:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599e3e:	8b 10                	mov    (%eax),%edx
599e40:	ff 52 08             	call   *0x8(%edx)
599e43:	0f af f0             	imul   %eax,%esi
599e46:	85 f6                	test   %esi,%esi
599e48:	79 03                	jns    0x599e4d
599e4a:	83 c6 07             	add    $0x7,%esi
599e4d:	c1 fe 03             	sar    $0x3,%esi
599e50:	8b c3                	mov    %ebx,%eax
599e52:	8b 10                	mov    (%eax),%edx
599e54:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599e5a:	8b 10                	mov    (%eax),%edx
599e5c:	ff 52 08             	call   *0x8(%edx)
599e5f:	f7 6d dc             	imull  -0x24(%ebp)
599e62:	03 f0                	add    %eax,%esi
599e64:	89 b5 78 ff ff ff    	mov    %esi,-0x88(%ebp)
599e6a:	8d 95 64 ff ff ff    	lea    -0x9c(%ebp),%edx
599e70:	b9 28 00 00 00       	mov    $0x28,%ecx
599e75:	8b 45 fc             	mov    -0x4(%ebp),%eax
599e78:	8b 30                	mov    (%eax),%esi
599e7a:	ff 56 0c             	call   *0xc(%esi)
599e7d:	b8 00 03 00 00       	mov    $0x300,%eax
599e82:	e8 25 89 e6 ff       	call   0x4027ac
599e87:	8b 55 f4             	mov    -0xc(%ebp),%edx
599e8a:	8b 12                	mov    (%edx),%edx
599e8c:	89 82 a8 03 00 00    	mov    %eax,0x3a8(%edx)
599e92:	8b 45 f4             	mov    -0xc(%ebp),%eax
599e95:	8b 00                	mov    (%eax),%eax
599e97:	c7 80 ac 03 00 00 00 	movl   $0x100,0x3ac(%eax)
599e9e:	01 00 00
599ea1:	8b 45 f4             	mov    -0xc(%ebp),%eax
599ea4:	8b 00                	mov    (%eax),%eax
599ea6:	8b 80 a8 03 00 00    	mov    0x3a8(%eax),%eax
599eac:	50                   	push   %eax
599ead:	68 ff ff ff 07       	push   $0x7ffffff
599eb2:	68 ff 00 00 00       	push   $0xff
599eb7:	6a ff                	push   $0xffffffff
599eb9:	6a 00                	push   $0x0
599ebb:	8b c3                	mov    %ebx,%eax
599ebd:	8b 10                	mov    (%eax),%edx
599ebf:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599ec5:	8b c8                	mov    %eax,%ecx
599ec7:	b2 01                	mov    $0x1,%dl
599ec9:	a1 08 ee 53 00       	mov    0x53ee08,%eax
599ece:	e8 91 5a fa ff       	call   0x53f964
599ed3:	89 45 bc             	mov    %eax,-0x44(%ebp)
599ed6:	ba 01 00 00 00       	mov    $0x1,%edx
599edb:	8d 85 68 fb ff ff    	lea    -0x498(%ebp),%eax
599ee1:	8d 0c 52             	lea    (%edx,%edx,2),%ecx
599ee4:	8b 75 f4             	mov    -0xc(%ebp),%esi
599ee7:	8b 36                	mov    (%esi),%esi
599ee9:	8b b6 a8 03 00 00    	mov    0x3a8(%esi),%esi
599eef:	8a 4c 0e fd          	mov    -0x3(%esi,%ecx,1),%cl
599ef3:	88 08                	mov    %cl,(%eax)
599ef5:	8d 0c 52             	lea    (%edx,%edx,2),%ecx
599ef8:	8b 75 f4             	mov    -0xc(%ebp),%esi
599efb:	8b 36                	mov    (%esi),%esi
599efd:	8b b6 a8 03 00 00    	mov    0x3a8(%esi),%esi
599f03:	8a 4c 0e fe          	mov    -0x2(%esi,%ecx,1),%cl
599f07:	88 48 01             	mov    %cl,0x1(%eax)
599f0a:	8d 0c 52             	lea    (%edx,%edx,2),%ecx
599f0d:	8b 75 f4             	mov    -0xc(%ebp),%esi
599f10:	8b 36                	mov    (%esi),%esi
599f12:	8b b6 a8 03 00 00    	mov    0x3a8(%esi),%esi
599f18:	8a 4c 0e ff          	mov    -0x1(%esi,%ecx,1),%cl
599f1c:	88 48 02             	mov    %cl,0x2(%eax)
599f1f:	c6 40 03 00          	movb   $0x0,0x3(%eax)
599f23:	42                   	inc    %edx
599f24:	83 c0 04             	add    $0x4,%eax
599f27:	81 fa 00 01 00 00    	cmp    $0x100,%edx
599f2d:	75 b2                	jne    0x599ee1
599f2f:	c6 85 64 fb ff ff 00 	movb   $0x0,-0x49c(%ebp)
599f36:	c6 85 65 fb ff ff 00 	movb   $0x0,-0x49b(%ebp)
599f3d:	c6 85 66 fb ff ff 00 	movb   $0x0,-0x49a(%ebp)
599f44:	c6 85 67 fb ff ff 00 	movb   $0x0,-0x499(%ebp)
599f4b:	8d 95 64 fb ff ff    	lea    -0x49c(%ebp),%edx
599f51:	b9 00 04 00 00       	mov    $0x400,%ecx
599f56:	8b 45 fc             	mov    -0x4(%ebp),%eax
599f59:	8b 30                	mov    (%eax),%esi
599f5b:	ff 56 0c             	call   *0xc(%esi)
599f5e:	8b 45 dc             	mov    -0x24(%ebp),%eax
599f61:	e8 46 88 e6 ff       	call   0x4027ac
599f66:	89 45 b8             	mov    %eax,-0x48(%ebp)
599f69:	8b c3                	mov    %ebx,%eax
599f6b:	8b 10                	mov    (%eax),%edx
599f6d:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599f73:	8b 10                	mov    (%eax),%edx
599f75:	ff 52 08             	call   *0x8(%edx)
599f78:	48                   	dec    %eax
599f79:	83 f8 00             	cmp    $0x0,%eax
599f7c:	0f 8c a7 00 00 00    	jl     0x59a029
599f82:	89 45 e4             	mov    %eax,-0x1c(%ebp)
599f85:	8b c3                	mov    %ebx,%eax
599f87:	8b 10                	mov    (%eax),%edx
599f89:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599f8f:	8b 55 e4             	mov    -0x1c(%ebp),%edx
599f92:	8b 08                	mov    (%eax),%ecx
599f94:	ff 11                	call   *(%ecx)
599f96:	89 45 b4             	mov    %eax,-0x4c(%ebp)
599f99:	8b 7d b8             	mov    -0x48(%ebp),%edi
599f9c:	8b c3                	mov    %ebx,%eax
599f9e:	8b 10                	mov    (%eax),%edx
599fa0:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599fa6:	8b 10                	mov    (%eax),%edx
599fa8:	ff 52 0c             	call   *0xc(%edx)
599fab:	8b f0                	mov    %eax,%esi
599fad:	4e                   	dec    %esi
599fae:	85 f6                	test   %esi,%esi
599fb0:	7c 5c                	jl     0x59a00e
599fb2:	46                   	inc    %esi
599fb3:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)
599fba:	8b c3                	mov    %ebx,%eax
599fbc:	8b 10                	mov    (%eax),%edx
599fbe:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599fc4:	e8 3f d9 05 00       	call   0x5f7908
599fc9:	84 c0                	test   %al,%al
599fcb:	74 1e                	je     0x599feb
599fcd:	8b c3                	mov    %ebx,%eax
599fcf:	8b 10                	mov    (%eax),%edx
599fd1:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
599fd7:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
599fda:	8b 55 e0             	mov    -0x20(%ebp),%edx
599fdd:	e8 6a 1f 06 00       	call   0x5fbf4c
599fe2:	3c ff                	cmp    $0xff,%al
599fe4:	73 05                	jae    0x599feb
599fe6:	c6 07 00             	movb   $0x0,(%edi)
599fe9:	eb 18                	jmp    0x59a003
599feb:	8b 45 b4             	mov    -0x4c(%ebp),%eax
599fee:	8a 50 02             	mov    0x2(%eax),%dl
599ff1:	c1 e2 10             	shl    $0x10,%edx
599ff4:	66 8b 10             	mov    (%eax),%dx
599ff7:	52                   	push   %edx
599ff8:	8b 45 bc             	mov    -0x44(%ebp),%eax
599ffb:	e8 a0 5b fa ff       	call   0x53fba0
59a000:	40                   	inc    %eax
59a001:	88 07                	mov    %al,(%edi)
59a003:	83 45 b4 03          	addl   $0x3,-0x4c(%ebp)
59a007:	47                   	inc    %edi
59a008:	ff 45 e0             	incl   -0x20(%ebp)
59a00b:	4e                   	dec    %esi
59a00c:	75 ac                	jne    0x599fba
59a00e:	8b 55 b8             	mov    -0x48(%ebp),%edx
59a011:	8b 4d dc             	mov    -0x24(%ebp),%ecx
59a014:	8b 45 fc             	mov    -0x4(%ebp),%eax
59a017:	8b 30                	mov    (%eax),%esi
59a019:	ff 56 0c             	call   *0xc(%esi)
59a01c:	ff 4d e4             	decl   -0x1c(%ebp)
59a01f:	83 7d e4 ff          	cmpl   $0xffffffff,-0x1c(%ebp)
59a023:	0f 85 5c ff ff ff    	jne    0x599f85
59a029:	8b 45 b8             	mov    -0x48(%ebp),%eax
59a02c:	e8 9b 87 e6 ff       	call   0x4027cc
59a031:	8b 45 bc             	mov    -0x44(%ebp),%eax
59a034:	e8 3f 9a e6 ff       	call   0x403a78
59a039:	8b c3                	mov    %ebx,%eax
59a03b:	8b 10                	mov    (%eax),%edx
59a03d:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
59a043:	8b 10                	mov    (%eax),%edx
59a045:	ff 52 0c             	call   *0xc(%edx)
59a048:	b9 20 00 00 00       	mov    $0x20,%ecx
59a04d:	ba 01 00 00 00       	mov    $0x1,%edx
59a052:	e8 89 6a 05 00       	call   0x5f0ae0
59a057:	89 45 dc             	mov    %eax,-0x24(%ebp)
59a05a:	8b 45 dc             	mov    -0x24(%ebp),%eax
59a05d:	e8 4a 87 e6 ff       	call   0x4027ac
59a062:	89 45 b8             	mov    %eax,-0x48(%ebp)
59a065:	8b c3                	mov    %ebx,%eax
59a067:	8b 10                	mov    (%eax),%edx
59a069:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
59a06f:	e8 94 d8 05 00       	call   0x5f7908
59a074:	84 c0                	test   %al,%al
59a076:	0f 84 a8 00 00 00    	je     0x59a124
59a07c:	8b 55 e8             	mov    -0x18(%ebp),%edx
59a07f:	8b 45 b0             	mov    -0x50(%ebp),%eax
59a082:	e8 39 1d e8 ff       	call   0x41bdc0
59a087:	83 f8 18             	cmp    $0x18,%eax
59a08a:	0f 84 94 00 00 00    	je     0x59a124
59a090:	8b c3                	mov    %ebx,%eax
59a092:	8b 10                	mov    (%eax),%edx
59a094:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
59a09a:	8b 10                	mov    (%eax),%edx
59a09c:	ff 52 08             	call   *0x8(%edx)
59a09f:	48                   	dec    %eax
59a0a0:	83 f8 00             	cmp    $0x0,%eax
59a0a3:	0f 8c b7 00 00 00    	jl     0x59a160
59a0a9:	89 45 e4             	mov    %eax,-0x1c(%ebp)
59a0ac:	8b 45 b8             	mov    -0x48(%ebp),%eax
59a0af:	33 c9                	xor    %ecx,%ecx
59a0b1:	8b 55 dc             	mov    -0x24(%ebp),%edx
59a0b4:	e8 87 91 e6 ff       	call   0x403240
59a0b9:	8b c3                	mov    %ebx,%eax
59a0bb:	8b 10                	mov    (%eax),%edx
59a0bd:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
59a0c3:	e8 10 d8 05 00       	call   0x5f78d8
59a0c8:	8b 55 e4             	mov    -0x1c(%ebp),%edx
59a0cb:	8b 08                	mov    (%eax),%ecx
59a0cd:	ff 11                	call   *(%ecx)
59a0cf:	8b f8                	mov    %eax,%edi
59a0d1:	8b c3                	mov    %ebx,%eax
59a0d3:	8b 10                	mov    (%eax),%edx
59a0d5:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
59a0db:	8b 10                	mov    (%eax),%edx
59a0dd:	ff 52 0c             	call   *0xc(%edx)
59a0e0:	8b f0                	mov    %eax,%esi
59a0e2:	4e                   	dec    %esi
59a0e3:	85 f6                	test   %esi,%esi
59a0e5:	7c 24                	jl     0x59a10b
59a0e7:	46                   	inc    %esi
59a0e8:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)
59a0ef:	80 3f ff             	cmpb   $0xff,(%edi)
59a0f2:	73 10                	jae    0x59a104
59a0f4:	b9 01 00 00 00       	mov    $0x1,%ecx
59a0f9:	8b 55 e0             	mov    -0x20(%ebp),%edx
59a0fc:	8b 45 b8             	mov    -0x48(%ebp),%eax
59a0ff:	e8 18 5a 01 00       	call   0x5afb1c
59a104:	47                   	inc    %edi
59a105:	ff 45 e0             	incl   -0x20(%ebp)
59a108:	4e                   	dec    %esi
59a109:	75 e4                	jne    0x59a0ef
59a10b:	8b 55 b8             	mov    -0x48(%ebp),%edx
59a10e:	8b 4d dc             	mov    -0x24(%ebp),%ecx
59a111:	8b 45 fc             	mov    -0x4(%ebp),%eax
59a114:	8b 30                	mov    (%eax),%esi
59a116:	ff 56 0c             	call   *0xc(%esi)
59a119:	ff 4d e4             	decl   -0x1c(%ebp)
59a11c:	83 7d e4 ff          	cmpl   $0xffffffff,-0x1c(%ebp)
59a120:	75 8a                	jne    0x59a0ac
59a122:	eb 3c                	jmp    0x59a160
59a124:	8b 45 b8             	mov    -0x48(%ebp),%eax
59a127:	33 c9                	xor    %ecx,%ecx
59a129:	8b 55 dc             	mov    -0x24(%ebp),%edx
59a12c:	e8 0f 91 e6 ff       	call   0x403240
59a131:	8b c3                	mov    %ebx,%eax
59a133:	8b 10                	mov    (%eax),%edx
59a135:	ff 92 d0 00 00 00    	call   *0xd0(%edx)
59a13b:	8b 10                	mov    (%eax),%edx
59a13d:	ff 52 08             	call   *0x8(%edx)
59a140:	48                   	dec    %eax
59a141:	83 f8 00             	cmp    $0x0,%eax
59a144:	7c 1a                	jl     0x59a160
59a146:	89 45 e4             	mov    %eax,-0x1c(%ebp)
59a149:	8b 55 b8             	mov    -0x48(%ebp),%edx
59a14c:	8b 4d dc             	mov    -0x24(%ebp),%ecx
59a14f:	8b 45 fc             	mov    -0x4(%ebp),%eax
59a152:	8b 30                	mov    (%eax),%esi
59a154:	ff 56 0c             	call   *0xc(%esi)
59a157:	ff 4d e4             	decl   -0x1c(%ebp)
59a15a:	83 7d e4 ff          	cmpl   $0xffffffff,-0x1c(%ebp)
59a15e:	75 e9                	jne    0x59a149
59a160:	8b 45 b8             	mov    -0x48(%ebp),%eax
59a163:	e8 64 86 e6 ff       	call   0x4027cc
59a168:	8b 45 fc             	mov    -0x4(%ebp),%eax
59a16b:	e8 48 45 e8 ff       	call   0x41e6b8
59a170:	2b 45 c0             	sub    -0x40(%ebp),%eax
59a173:	1b 55 c4             	sbb    -0x3c(%ebp),%edx
59a176:	8b d0                	mov    %eax,%edx
59a178:	8b 45 cc             	mov    -0x34(%ebp),%eax
59a17b:	e8 94 1a e8 ff       	call   0x41bc14
59a180:	ff 45 e8             	incl   -0x18(%ebp)
59a183:	83 45 9c 04          	addl   $0x4,-0x64(%ebp)
59a187:	83 45 a0 08          	addl   $0x8,-0x60(%ebp)
59a18b:	ff 4d a4             	decl   -0x5c(%ebp)
59a18e:	0f 85 cf f4 ff ff    	jne    0x599663
59a194:	8b c3                	mov    %ebx,%eax
59a196:	e8 dd 98 e6 ff       	call   0x403a78
59a19b:	8b 45 fc             	mov    -0x4(%ebp),%eax
59a19e:	e8 15 45 e8 ff       	call   0x41e6b8
59a1a3:	89 45 c0             	mov    %eax,-0x40(%ebp)
59a1a6:	89 55 c4             	mov    %edx,-0x3c(%ebp)
59a1a9:	ff 75 d4             	push   -0x2c(%ebp)
59a1ac:	ff 75 d0             	push   -0x30(%ebp)
59a1af:	8b 45 fc             	mov    -0x4(%ebp),%eax
59a1b2:	e8 21 45 e8 ff       	call   0x41e6d8
59a1b7:	8b 45 10             	mov    0x10(%ebp),%eax
59a1ba:	85 c0                	test   %eax,%eax
59a1bc:	0f 8c ca 00 00 00    	jl     0x59a28c
59a1c2:	40                   	inc    %eax
59a1c3:	89 45 a4             	mov    %eax,-0x5c(%ebp)
59a1c6:	c7 45 e8 00 00 00 00 	movl   $0x0,-0x18(%ebp)
59a1cd:	8b 45 14             	mov    0x14(%ebp),%eax
59a1d0:	89 45 9c             	mov    %eax,-0x64(%ebp)
59a1d3:	8b 45 9c             	mov    -0x64(%ebp),%eax
59a1d6:	8a 00                	mov    (%eax),%al
59a1d8:	88 45 8c             	mov    %al,-0x74(%ebp)
59a1db:	8b 45 9c             	mov    -0x64(%ebp),%eax
59a1de:	8a 40 04             	mov    0x4(%eax),%al