Function at 0x56d310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7a0b62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xba4
mov eax, dword [0x830b20]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x34], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0xbb8], 0
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esp + 0x38]
call fcn.00760a04
mov edx, dword [0x830b20]
mov dword [esp + 0x2c], edx
add esi, 0x418
lea ecx, [esp + 0x2c]
push esi
mov byte [esp + 0xbbc], 1
call fcn.00760a04
mov esi, dword [ebx + 0x516d1c]
lea eax, [esp + 0x84]
lea ecx, [esp + 0x88]
push eax
push ecx
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
mov dword [esp + 0x34], esi
call fcn.007605f0
mov ecx, ebx
call fcn.0056cfe0
lea eax, [esp + 0xac]
lea ecx, [esp + 0xa8]
push eax
push ecx
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
call fcn.007605f0
mov ecx, ebx
call fcn.0056cfe0
mov ecx, dword [esp + 0x88]
mov eax, dword [ebx + esi*4 + 0xf0]
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
shl ecx, 4
add ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x84]
lea edi, [edx + edx*4]
lea edx, [edx + edi*2]
shl edx, 4
mov edi, dword [edx + eax]
mov dword [esp + 0x6c], edi
mov edx, dword [edx + eax + 4]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xa8]
lea edi, [edx + edx*4]
lea edx, [edx + edi*2]
shl edx, 4
mov edi, dword [edx + eax]
mov dword [esp + 0x38], edi
mov edx, dword [edx + eax + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xac]
lea edi, [edx + edx*4]
lea edx, [edx + edi*2]
shl edx, 4
mov edi, dword [edx + eax]
mov dword [esp + 0x7c], edi
mov edx, dword [edx + eax + 4]
mov dword [esp + 0x80], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
lea edi, [edx + edx*4]
lea edx, [edx + edi*2]
shl edx, 4
mov edi, dword [edx + eax]
mov dword [esp + 0x4c], edi
mov edx, dword [edx + eax + 4]
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
lea edi, [edx + edx*4]
lea edx, [edx + edi*2]
shl edx, 4
mov edi, dword [edx + eax]
mov dword [esp + 0x74], edi
mov eax, dword [edx + eax + 4]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp edx, eax
jne 0x56d4b1
cmp dword [esp + 0x50], ecx
je 0x56d504
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
mov edx, dword [ebx + esi*4 + 0xf0]
lea edi, [eax + eax*4]
lea eax, [eax + edi*2]
shl eax, 4
mov edi, dword [eax + edx]
mov dword [esp + 0x5c], edi
mov eax, dword [eax + edx + 4]
mov dword [esp + 0x60], eax
lea eax, [ecx + ecx*4]
lea ecx, [ecx + eax*2]
shl ecx, 4
mov eax, dword [ecx + edx]
mov dword [esp + 0x6c], eax
mov ecx, dword [ecx + edx + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x38]
cmp edx, eax
jne 0x56d51c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x56d572
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov ecx, dword [ebx + esi*4 + 0xf0]
lea edi, [edx + edx*4]
lea edx, [edx + edi*2]
shl edx, 4
mov edi, dword [edx + ecx]
mov dword [esp + 0x38], edi
mov edx, dword [edx + ecx + 4]
mov dword [esp + 0x3c], edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
shl eax, 4
mov edx, dword [eax + ecx]
mov dword [esp + 0x7c], edx
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 8]
test eax, eax
je 0x56d69c
push 0x829a3c
lea ecx, [esp + 0x38]
call fcn.0075cca2
mov edx, dword [0x830b20]
mov edi, eax
mov dword [esp + 0xb0], edx
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc0], 2
call fcn.0075cc08
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xbbc], 3
call fcn.007609b4
lea ecx, [esp + 0xc]
mov byte [esp + 0xbb8], 2
call fcn.0076087b
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00749c29
mov ecx, dword [ebx + esi*4 + 0xf0]
lea edx, [eax + eax*4]
add esp, 4
lea eax, [eax + edx*2]
shl eax, 4
mov edx, dword [ecx + eax + 0x18]
lea ecx, [ecx + eax + 0x18]
mov dword [esp + 0x58], edx
mov dword [ecx], 0xffffffff
mov ecx, dword [ebx + esi*4 + 0xf0]
mov dword [ecx + eax + 0x1c], 0xffffffff
mov edx, dword [ebx + esi*4 + 0xf0]
mov dword [edx + eax + 0x14], 0
mov ecx, dword [ebx + esi*4 + 0xf0]
lea eax, [ecx + eax + 0x10]
mov ecx, dword [eax]
and ecx, 0xfffffff0
mov dword [eax], ecx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
mov eax, dword [edx - 8]
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0075cb8c
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xbbc], 4
call fcn.007609b4
lea ecx, [esp + 0x28]
mov byte [esp + 0xbb8], 2
call fcn.0076087b
lea ecx, [esp + 0xb0]
mov byte [esp + 0xbb8], 1
call fcn.0076087b
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x56d581
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x48]
push edx
call fcn.007605f0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xbb8], 5
mov eax, dword [eax - 8]
test eax, eax
je 0x56d7df
push 0x829a3c
lea ecx, [esp + 0x30]
call fcn.0075cca2
mov ecx, dword [0x830b20]
mov edi, eax
mov dword [esp + 0xa4], ecx
lea edx, [esp + 0xc]
push edi
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc0], 6
call fcn.0075cc08
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0xbbc], 7
call fcn.007609b4
lea ecx, [esp + 0xc]
mov byte [esp + 0xbb8], 6
call fcn.0076087b
mov eax, dword [esp + 0xa4]
push eax
call fcn.00749c29
mov edx, dword [ebx + esi*4 + 0xf0]
lea ecx, [eax + eax*4]
add esp, 4
lea eax, [eax + ecx*2]
shl eax, 4
lea ecx, [edx + eax + 0x18]
mov edx, dword [edx + eax + 0x18]
mov dword [ecx], 0xffffffff
mov ecx, dword [ebx + esi*4 + 0xf0]
mov dword [esp + 0x98], edx
mov dword [ecx + eax + 0x1c], 0xffffffff
mov edx, dword [ebx + esi*4 + 0xf0]
mov dword [edx + eax + 0x14], 0
mov ecx, dword [ebx + esi*4 + 0xf0]
lea eax, [ecx + eax + 0x10]
mov ecx, dword [eax]
and ecx, 0xfffffff0
mov dword [eax], ecx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
mov eax, dword [edx - 8]
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0075cb8c
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xbbc], 8
call fcn.007609b4
lea ecx, [esp + 0x28]
mov byte [esp + 0xbb8], 6
call fcn.0076087b
lea ecx, [esp + 0xa4]
mov byte [esp + 0xbb8], 5
call fcn.0076087b
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x56d6c1
mov ecx, dword [esp + 0x58]
test ecx, ecx
jl 0x56e993
mov eax, dword [esp + 0x98]
test eax, eax
jl 0x56e993
cmp ecx, eax
je 0x56e993
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x3c]
sub edx, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
sub eax, edi
sub ecx, edx
fstp qword [esp + 0x64]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x7c]
fild dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
sub edx, eax
fstp qword [esp + 0x8c]
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
fstp qword [esp + 0x4c]
fild dword [esp + 0xc]
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004f9f10
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
fstp qword [esp + 0xb4]
push edx
push eax
call fcn.004f9f10
fadd qword [esp + 0xb4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
fsqrt
fstp qword [esp + 0xa4]
call fcn.004f9f10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
fstp qword [esp + 0xb4]
push eax
push ecx
call fcn.004f9f10
fadd qword [esp + 0xb4]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
mov edi, dword [ebx + esi*4 + 0xdc]
fsqrt
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
fmul qword [esp + 0xb0]
fld qword [esp + 0xa0]
fmul qword [esp + 0x78]
fld qword [esp + 0x30]
fmul qword [esp + 0x60]
fsubp st(1)
fdiv st(1)
fchs
fstp qword [esp + 0x88]
fld qword [esp + 0x60]
fmul qword [esp + 0xa0]
fld qword [esp + 0x30]
fmul qword [esp + 0x78]
mov dword [esp + 0x78], edi
faddp st(1)
fdiv st(1)
fstp qword [esp + 0x60]
fstp st(0)
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.004fc7c0
fstp qword [esp + 0xb4]
test edi, edi
mov dword [esp + 0x44], 0
jle 0x56e088
xor edi, edi
mov dword [esp + 0x10], edi
mov ecx, dword [ebx + esi*4 + 0xf0]
mov edx, dword [ecx + edi + 0x10]
lea eax, [ecx + edi]
and edx, 0xf
cmp dl, 1
jne 0x56df91
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x98]
cmp ecx, edx
jne 0x56df91
mov edx, dword [esp + 0x38]
mov ecx, dword [eax]
cmp ecx, edx
jne 0x56daa1
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp edx, ecx
jne 0x56daa1
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x60]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + eax*4 + 0xf0]
mov eax, dword [esp + 0x88]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x10]
shl eax, 4
lea esi, [edx + ecx + 0x26]
lea edi, [eax + ecx + 0x26]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ebx + ecx*4 + 0xf0]
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
lea esi, [edx + ecx + 0x62]
shl eax, 4
mov dword [esp + 0xc], esi
lea edi, [eax + ecx + 0x62]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ebx + ecx*4 + 0xf0]
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
lea edx, [edx + ecx + 0x9e]
shl eax, 4
lea edi, [eax + ecx + 0x9e]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x56df72
mov ecx, dword [esp + 0x7c]
mov edx, dword [eax]
cmp edx, ecx
jne 0x56dbba
mov edx, dword [esp + 0x80]
mov ecx, dword [eax + 4]
cmp ecx, edx
jne 0x56dbba
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [ebx + edx*4 + 0xf0]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x10]
shl eax, 4
lea esi, [edx + ecx + 0x26]
lea edi, [eax + ecx + 0x26]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ebx + ecx*4 + 0xf0]
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
lea esi, [edx + ecx + 0x62]
shl eax, 4
mov dword [esp + 0xc], esi
lea edi, [eax + ecx + 0x62]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ebx + ecx*4 + 0xf0]
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
lea esi, [edx + ecx + 0x9e]
shl eax, 4
mov dword [esp + 0xc], esi
lea edi, [eax + ecx + 0x9e]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x56df76
mov ecx, dword [ebx + 0x516d1c]
xor eax, eax
mov dword [esp + 0xc], ecx
mov ecx, 0x7cb8c8
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xc4], 0x7cab08
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], eax
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0xbc0], 0xb
call fcn.00407880
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x44]
mov dword [edx], eax
mov ecx, dword [ebx + esi*4 + 0xf0]
lea edx, [ecx + edi + 0x26]
lea ecx, [esp + 0x40]
push edx
call fcn.007608e9
lea eax, [esp + 0x28]
push 1
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc0], 0xc
call fcn.0075cc08
mov ecx, dword [esp + 0x28]
push 0x82986c
push ecx
mov byte [esp + 0xbc0], 0xd
call fcn.00749a55
add esp, 8
test eax, eax
jne 0x56dd8a
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x40]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0075cb8c
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xbb8], 0xe
push ecx
call fcn.00749c29
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
add esp, 4
push eax
mov eax, dword [ebx + edi*4 + 0xf0]
push edx
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + esi + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.005f8330
push eax
lea eax, [esp + 0x18]
push 0x82ef5c
push eax
call fcn.0075cfe3
mov ecx, dword [ebx + edi*4 + 0xf0]
mov edi, dword [esp + 0x20]
xor eax, eax
add esp, 0xc
lea edx, [ecx + esi + 0x26]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xbb8], 0xd
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + ecx*4 + 0xf0]
or ecx, 0xffffffff
lea edx, [edx + eax + 0x62]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0076087b
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov ecx, dword [ebx + esi*4 + 0xf0]
mov edx, dword [esp + 0x38]
add ecx, edi
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0xc]
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld qword [esp + 0x4c]
fmul st(2)
fld qword [esp + 0x74]
fmul st(2)
fsubp st(1)
fiadd dword [esp + 0x5c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56dddf
fadd qword [0x7ca990]
jmp 0x56dde5
fsub qword [0x7ca990]
call fcn.007496f4
fld qword [esp + 0x4c]
fmul st(1)
fld qword [esp + 0x74]
fmul st(3)
mov edx, dword [esp + 0x18]
faddp st(1)
mov dword [edx], eax
fiadd dword [esp + 0x60]
fstp st(2)
fstp st(0)
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56de1b
fadd qword [0x7ca990]
jmp 0x56de21
fsub qword [0x7ca990]
call fcn.007496f4
mov ecx, dword [ebx + esi*4 + 0xf0]
mov dword [ecx + edi + 4], eax
mov edx, dword [ebx + esi*4 + 0xf0]
add edx, edi
mov ecx, dword [edx + 0x18]
lea eax, [ecx + ecx*8]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*8]
lea eax, [eax + eax*8]
cmp byte [ebx + eax*8 + 0x577d48], 1
jne 0x56df0e
add edx, 0x9e
push edx
call fcn.00749c34
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + edi*4 + 0xf0]
fadd qword [esp + 0xb8]
mov ecx, dword [ecx + esi + 0x18]
lea eax, [ecx + ecx*8]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*8]
lea edx, [eax + eax*8]
mov eax, dword [0x830b20]
fadd qword [ebx + edx*8 + 0x577d78]
mov dword [esp + 0x34], eax
fstp qword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push ecx
push edx
lea eax, [esp + 0x3c]
push 0x82b134
push eax
mov byte [esp + 0xbcc], 0xf
call fcn.0075cfe3
mov ecx, dword [ebx + edi*4 + 0xf0]
mov edi, dword [esp + 0x44]
xor eax, eax
add esp, 0x14
lea edx, [ecx + esi + 0x9e]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xbb8], 0xd
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0076087b
lea ecx, [esp + 0x28]
mov byte [esp + 0xbb8], 0xc
call fcn.0076087b
lea ecx, [esp + 0x40]
mov byte [esp + 0xbb8], 0xb
call fcn.0076087b
mov dword [esp + 0xc4], 0x7cab08
mov eax, dword [esp + 0xc8]
mov byte [esp + 0xbb8], 0x10
test eax, eax
je 0x56df57
push eax
call fcn.007604d0
add esp, 4
mov eax, 0x7cb8c8
mov dword [esp + 0xd8], eax
mov dword [esp + 0xec], eax
mov byte [esp + 0xbb8], 5
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + ecx*4 + 0xf0]
mov ecx, dword [esp + 0x58]
mov dword [eax + edx + 0x18], ecx
mov edx, dword [ebx + esi*4 + 0xf0]
mov eax, dword [edx + edi + 0x10]
lea ecx, [edx + edi]
and eax, 0xf
mov dword [esp + 0x18], ecx
cmp al, 2
jne 0x56e069
mov edx, dword [esp + 0x98]
mov eax, dword [ecx + 0x18]
cmp eax, edx
jne 0x56e069
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0xc]
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld qword [esp + 0x4c]
fmul st(2)
fld qword [esp + 0x74]
fmul st(2)
fsubp st(1)
fiadd dword [esp + 0x5c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e008
fadd qword [0x7ca990]
jmp 0x56e00e
fsub qword [0x7ca990]
call fcn.007496f4
fld qword [esp + 0x4c]
fmul st(1)
fld qword [esp + 0x74]
fmul st(3)
mov ecx, dword [esp + 0x18]
faddp st(1)
mov dword [ecx], eax
fiadd dword [esp + 0x60]
fstp st(2)
fstp st(0)
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e044
fadd qword [0x7ca990]
jmp 0x56e04a
fsub qword [0x7ca990]
call fcn.007496f4
mov edx, dword [ebx + esi*4 + 0xf0]
mov ecx, dword [esp + 0x58]
mov dword [edx + edi + 4], eax
mov eax, dword [ebx + esi*4 + 0xf0]
mov dword [eax + edi + 0x18], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
inc eax
add edi, 0xb0
cmp eax, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], edi
jl 0x56d968
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.005d80d0
mov eax, dword [esp + 0x8c]
mov ecx, ebx
push eax
call fcn.005d80d0
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x58]
xor ecx, ecx
lea eax, [eax + eax*4]
mov dword [esp + 0x44], ecx
shl eax, 3
mov dword [esp + 0x8c], eax
jmp 0x56e0ce
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x8c]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [esp + 0x40], eax
mov eax, dword [eax + 0x3960bc]
cmp eax, 1
jle 0x56e377
fild dword [esp + 0x5c]
lea edx, [edx + edx*4]
mov dword [esp + 0xc], 1
mov dword [esp + 0x30], 0x80
fstp qword [esp + 0x6c]
fild dword [esp + 0x60]
lea eax, [ecx + edx*8]
fstp qword [esp + 0x7c]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*4 + 0x3960b4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov ecx, 0x20
mov edi, dword [edx + 0x3960b8]
mov edx, dword [esp + 0x38]
add esi, edi
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x168]
sub eax, ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fild dword [esp + 0x64]
fmul qword [esp + 0x4c]
fld st(1)
fmul qword [esp + 0x74]
fsubp st(1)
fadd qword [esp + 0x6c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e18e
fadd qword [0x7ca990]
jmp 0x56e194
fsub qword [0x7ca990]
call fcn.007496f4
fild dword [esp + 0x14]
mov dword [esp + 0x164], eax
fmul qword [esp + 0x74]
fxch st(1)
fmul qword [esp + 0x4c]
faddp st(1)
fadd qword [esp + 0x7c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e1c9
fadd qword [0x7ca990]
jmp 0x56e1cf
fsub qword [0x7ca990]
call fcn.007496f4
mov edi, dword [esp + 0x10]
mov dword [esp + 0x168], eax
fld qword [esp + 0x178]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
fadd qword [esp + 0xb4]
lea esi, [ecx + 1]
mov dword [esp + 0x28], ecx
test esi, esi
fstp qword [esp + 0x178]
jne 0x56e22a
test eax, eax
je 0x56e21d
push eax
mov dword [esp + 0x20], ecx
call fcn.007604d0
add esp, 4
mov dword [edi + 4], 0
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
jmp 0x56e330
test eax, eax
jne 0x56e251
mov ecx, esi
shl ecx, 7
push ecx
call fcn.007604a7
add esp, 4
mov dword [edi + 4], eax
push esi
push eax
call fcn.00528840
mov dword [edi + 0xc], esi
mov dword [edi + 8], esi
jmp 0x56e330
mov edx, dword [edi + 0xc]
cmp esi, edx
mov dword [esp + 0x1c], edx
jg 0x56e288
cmp ecx, esi
jge 0x56e278
mov edx, esi
sub edx, ecx
shl ecx, 7
add ecx, eax
push edx
push ecx
call fcn.00528840
mov dword [edi + 8], esi
jmp 0x56e330
jle 0x56e280
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov dword [edi + 8], esi
jmp 0x56e330
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x56e2b2
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x56e2a6
mov eax, 4
jmp 0x56e2b2
cmp eax, 0x400
jle 0x56e2b2
mov eax, 0x400
mov ecx, dword [esp + 0x1c]
add eax, ecx
cmp esi, eax
mov dword [esp + 0x18], eax
jl 0x56e2c4
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x18]
shl edx, 7
push edx
call fcn.007604a7
mov edx, dword [esp + 0x14]
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 8]
mov esi, dword [edx + 4]
shl ecx, 7
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
lea edi, [edx + 1]
mov edx, edi
mov ecx, dword [esi + 8]
sub edx, ecx
shl ecx, 7
add ecx, eax
push edx
push ecx
call fcn.00528840
mov eax, dword [esi + 4]
push eax
call fcn.007604d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
shl edi, 7
mov eax, dword [edx + 4]
mov ecx, 0x20
add edi, eax
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x100]
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
add esi, 0x80
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 0x3960bc]
mov dword [esp + 0x30], esi
cmp eax, edx
jl 0x56e11d
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x320dbc]
cmp eax, 1
jl 0x56e7ef
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x28], ecx
jle 0x56e7ef
fild dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
fstp qword [esp + 0x6c]
fild dword [esp + 0x60]
fstp qword [esp + 0x7c]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, 0x28c
mov edi, dword [eax + 0x320db8]
add esi, edi
lea edi, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18c]
mov eax, dword [esp + 0x190]
mov dword [esp + 0xbc], ecx
sub ecx, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc0], eax
sub eax, ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fild dword [esp + 0x64]
fmul qword [esp + 0x4c]
fld st(1)
fmul qword [esp + 0x74]
fsubp st(1)
fadd qword [esp + 0x6c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e42b
fadd qword [0x7ca990]
jmp 0x56e431
fsub qword [0x7ca990]
call fcn.007496f4
fild dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x18c], esi
fmul qword [esp + 0x74]
fxch st(1)
fmul qword [esp + 0x4c]
faddp st(1)
fadd qword [esp + 0x7c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e468
fadd qword [0x7ca990]
jmp 0x56e46e
fsub qword [0x7ca990]
call fcn.007496f4
mov dword [esp + 0x190], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xaf4]
mov dword [esp + 0x9c], esi
test eax, eax
mov dword [esp + 0xc], 0
jle 0x56e573
lea esi, [esp + 0x194]
mov ecx, dword [esi]
mov edx, dword [esp + 0xbc]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0xc0]
add ecx, edx
mov edx, dword [esp + 0x38]
sub ecx, edx
add eax, edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x14], ecx
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fild dword [esp + 0x64]
fmul qword [esp + 0x4c]
fld st(1)
fmul qword [esp + 0x74]
fsubp st(1)
fadd qword [esp + 0x6c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e500
fadd qword [0x7ca990]
jmp 0x56e506
fsub qword [0x7ca990]
call fcn.007496f4
fild dword [esp + 0x14]
mov edi, eax
fmul qword [esp + 0x74]
fxch st(1)
fmul qword [esp + 0x4c]
faddp st(1)
fadd qword [esp + 0x7c]
fcom qword [0x7ca988]
fnstsw ax
test ah, 1
jne 0x56e536
fadd qword [0x7ca990]
jmp 0x56e53c
fsub qword [0x7ca990]
call fcn.007496f4
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
sub edi, edx
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xaf4]
inc eax
add esi, 8
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x56e4a6
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x320dbc]
lea edi, [ebx + eax*4 + 0x320db4]
mov esi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x14], esi
inc esi
test esi, esi
jne 0x56e5c9
test eax, eax
je 0x56e5bc
push eax
mov dword [esp + 0x20], ecx
call fcn.007604d0
add esp, 4
mov dword [edi + 4], 0
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
jmp 0x56e79f
test eax, eax
jne 0x56e625
lea eax, [esi + esi*8]
lea ecx, [eax + eax*8]
lea eax, [esi + ecx*2]
shl eax, 4
push eax
mov dword [esp + 0x20], eax
call fcn.007604a7
mov ecx, dword [esp + 0x20]
mov edx, eax
mov dword [edi + 4], edx
mov dword [esp + 0x68], edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x64]
add eax, 0xa30
dec esi
jne 0x56e609
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
jmp 0x56e79f
mov edx, dword [edi + 0xc]
cmp esi, edx
mov dword [esp + 0x1c], edx
jg 0x56e6a7
cmp ecx, esi
jge 0x56e690
mov edx, esi
lea esi, [ecx + ecx*8]
sub edx, ecx
lea esi, [esi + esi*8]
lea edi, [ecx + esi*2]
shl edi, 4
add edi, eax
lea eax, [edx + edx*8]
mov dword [esp + 0x1c], edi
lea ecx, [eax + eax*8]
xor eax, eax
lea ecx, [edx + ecx*2]
shl ecx, 4
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x56e67d
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 1]
add ecx, 0xa30
dec eax
jne 0x56e674
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
jmp 0x56e79f
jle 0x56e681
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
jmp 0x56e79f
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x56e6d1
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x56e6c5
mov eax, 4
jmp 0x56e6d1
cmp eax, 0x400
jle 0x56e6d1
mov eax, 0x400
mov edx, dword [esp + 0x1c]
add eax, edx
cmp esi, eax
mov dword [esp + 0x18], eax
jl 0x56e6e3
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ecx*8]
lea eax, [eax + eax*8]
lea ecx, [ecx + eax*2]
shl ecx, 4
push ecx
call fcn.007604a7
mov esi, dword [esp + 0x14]
mov edi, eax
add esp, 4
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
lea edx, [ecx + ecx*8]
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*2]
shl ecx, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
sub edx, ecx
lea esi, [ecx + ecx*8]
lea esi, [esi + esi*8]
lea edi, [ecx + esi*2]
shl edi, 4
add edi, eax
lea eax, [edx + edx*8]
mov dword [esp + 0x1c], edi
lea eax, [eax + eax*8]
lea ecx, [edx + eax*2]
xor eax, eax
shl ecx, 4
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x56e779
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 1]
add ecx, 0xa30
dec eax
jne 0x56e770
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
push eax
call fcn.007604d0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
add esp, 4
inc eax
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x180]
lea eax, [ecx + ecx*8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x10]
lea edi, [ecx + edx*2]
mov ecx, dword [eax + 4]
shl edi, 4
mov eax, dword [esp + 0x28]
add edi, ecx
mov ecx, 0x28c
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
add esi, 0xa30
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0x320dbc]
mov dword [esp + 0x30], esi
cmp eax, edx
jl 0x56e3ac
mov ecx, dword [esp + 0x44]
inc ecx
cmp ecx, 0x28
mov dword [esp + 0x44], ecx
jl 0x56e0c3
mov edx, dword [esp + 0x48]
mov eax, dword [edx - 8]
test eax, eax
je 0x56e91b
mov edi, dword [esp + 0x24]
push 0x829a3c
lea ecx, [esp + 0x4c]
call fcn.0075cca2
mov esi, eax
mov eax, dword [0x830b20]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x8c]
push esi
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0xbc0], 0x13
call fcn.0075cc08
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbbc], 0x14
call fcn.007609b4
lea ecx, [esp + 0x8c]
mov byte [esp + 0xbb8], 0x13
call fcn.0076087b
mov edx, dword [esp + 0x18]
push edx
call fcn.00749c29
mov edx, dword [ebx + edi*4 + 0xf0]
lea ecx, [eax + eax*4]
add esp, 4
lea eax, [eax + ecx*2]
or ecx, 0xffffffff
shl eax, 4
mov dword [edx + eax + 0x18], ecx
mov edx, dword [ebx + edi*4 + 0xf0]
mov dword [edx + eax + 0x1c], ecx
mov ecx, dword [ebx + edi*4 + 0xf0]
mov dword [ecx + eax + 0x14], 0
mov edx, dword [ebx + edi*4 + 0xf0]
mov ecx, dword [edx + eax + 0x10]
lea eax, [edx + eax + 0x10]
and ecx, 0xfffffff0
mov dword [eax], ecx
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x1c]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0075cb8c
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbbc], 0x15
call fcn.007609b4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbb8], 0x13
call fcn.0076087b
lea ecx, [esp + 0x18]
mov byte [esp + 0xbb8], 5
call fcn.0076087b
mov edx, dword [esp + 0x48]
mov eax, dword [edx - 8]
test eax, eax
jne 0x56e814
mov eax, dword [esp + 0x58]
mov esi, 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xbb8], 1
mov dword [ebx + eax*4 + 0x515d58], esi
mov eax, dword [esp + 0x98]
mov dword [ebx + eax*4 + 0x515d58], esi
mov dword [ebx + eax*4 + 0x516398], 0
call fcn.0076087b
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbb8], 0
call fcn.0076087b
lea ecx, [esp + 0x34]
mov dword [esp + 0xbb8], 0xffffffff
call fcn.0076087b
mov eax, esi
mov ecx, dword [esp + 0xbb0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x48]
mov byte [esp + 0xbb8], 1
call fcn.0076087b
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbb8], 0
call fcn.0076087b
lea ecx, [esp + 0x34]
mov dword [esp + 0xbb8], 0xffffffff
call fcn.0076087b
mov ecx, dword [esp + 0xbb0]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4