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

Disassembly:
push 0xffffffffffffffff
push 0x594e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8d0]
fld dword [esi + 8]
mov eax, dword [esi]
fld dword [esi + 4]
mov ebx, ecx
fstp dword [esp + 0x24]
mov ecx, esi
mov edx, dword [ecx]
fstp dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
fld dword [esp + 0x8d8]
fmul dword [0x5999e8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x8d4]
mov dword [esp + 0x38], edx
fst dword [esp + 0x44]
mov ecx, dword [ecx + 8]
fld dword [eax + 8]
mov dword [esp + 0x40], ecx
fsub dword [esi + 8]
push edi
fstp dword [esp + 0x20]
fld dword [eax + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x10]
fld dword [eax]
fsub dword [esi]
fld st(0)
fld dword [esp + 0x20]
fmul dword [0x5999e8]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fmul dword [0x5999e8]
fstp dword [esp + 0x10]
fmul dword [0x5999e8]
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fadd dword [esi + 8]
fld dword [esp + 0x10]
fadd dword [esi + 4]
fld dword [esp + 0x14]
fadd dword [esi]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld st(1)
mov dword [esp + 0x38], edx
fstp dword [esp + 0x64]
fld dword [eax + 8]
fsub dword [esi + 8]
fld dword [eax + 4]
fsub dword [esi + 4]
fld st(2)
fstp dword [esp + 0x14]
fxch st(1)
fmul dword [0x5999e8]
fstp dword [esp + 0x10]
fmul dword [0x5999e8]
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fmul dword [0x5999e8]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fadd dword [esi + 8]
fld dword [esp + 0x20]
fadd dword [esi + 4]
fld dword [esp + 0x14]
fadd dword [esi]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
fld st(1)
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x80]
mov dword [esp + 0x58], ecx
fld dword [eax + 8]
mov ecx, dword [esp + 0x1c]
fsub dword [esi + 8]
mov dword [esp + 0x5c], edx
fld dword [eax + 4]
mov dword [esp + 0x60], ecx
fsub dword [esi + 4]
mov edx, eax
fld st(2)
mov ecx, dword [edx]
fstp dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
fxch st(1)
mov ecx, dword [edx + 4]
fmul dword [0x5999e8]
mov edx, dword [edx + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
fstp dword [esp + 0x10]
mov ecx, eax
mov edx, dword [ecx]
fmul dword [0x5999e8]
mov dword [esp + 0x74], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x20]
mov dword [esp + 0x78], edx
fld dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
fmul dword [0x5999e8]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fadd dword [esi + 8]
fld dword [esp + 0x20]
fadd dword [esi + 4]
fld dword [esp + 0x14]
fadd dword [esi]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], edx
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fxch st(1)
mov dword [esp + 0x70], edx
fstp dword [esp + 0x9c]
fld dword [eax + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x10]
fld dword [eax + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fmul dword [0x5999e8]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fmul dword [0x5999e8]
fstp dword [esp + 0x20]
fmul dword [0x5999e8]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fadd dword [esi + 8]
fld dword [esp + 0x20]
fadd dword [esi + 4]
fld dword [esp + 0x14]
fadd dword [esi]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], edx
mov edi, dword [0x5f2048]
mov eax, esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
call fcn.00530120
lea edx, [esp + 0xa0]
mov dword [esp + 0x14], 0x5b042c
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0xbf800000
mov ecx, dword [esp + 0x8dc]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x8d8], 0
call fcn.00542720
mov eax, dword [esp + 0xa4]
test eax, eax
jbe 0x5316ba
lea ebp, [esp + 0xac]
lea eax, [esp + eax*4 + 0xac]
mov ecx, ebp
cmp ecx, eax
je 0x5316ba
lea ebx, [ebx]
mov edi, dword [ebp]
test edi, edi
mov dword [esp + 0x10], edi
je 0x5316a1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
cmp eax, 0x8ac9f7a6
jne 0x531653
mov al, byte [ebx + 0xe75]
test al, al
je 0x5316a1
mov ecx, dword [ebx + 0x9c0]
mov eax, dword [ebx + 0x9bc]
cmp ecx, eax
je 0x531672
cmp dword [eax], edi
je 0x53166e
add eax, 4
cmp eax, ecx
jne 0x531663
cmp ecx, eax
jne 0x5316a1
mov ecx, dword [ebx + 0x9d0]
mov eax, dword [ebx + 0x9cc]
cmp ecx, eax
je 0x531691
cmp dword [eax], edi
je 0x53168d
add eax, 4
cmp eax, ecx
jne 0x531682
cmp ecx, eax
jne 0x5316a1
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x9c8]
call fcn.004d7650
mov ecx, dword [esp + 0xa4]
add ebp, 4
lea edx, [esp + ecx*4 + 0xac]
cmp ebp, edx
jne 0x531630
mov edi, dword [esi]
mov eax, dword [ebx + 0x9d0]
mov ecx, dword [ebx + 0x9cc]
sub esp, 0xc
mov edx, esp
mov dword [edx], edi
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [edx + 4], edi
mov dword [edx + 8], esi
mov edx, eax
sub edx, ecx
sar edx, 2
push edx
push eax
push ecx
call fcn.00530ed0
mov ecx, dword [esp + 0x8dc]
add esp, 0x18
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c0
ret 0xc