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

Disassembly:
sub esp, 0xdc
mov eax, dword [0x680038]
push ebx
push ebp
mov ebp, ecx
fild dword [eax + 0x41a38]
mov ecx, dword [ebp + 0x20]
push esi
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov edx, dword [ebp + 0x24]
fild qword [esp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov ecx, dword [ebp]
push 1
fdivp st(1)
push esi
fstp dword [esp + 0x24]
fild dword [eax + 0x41a3c]
fild qword [esp + 0x14]
fdivp st(1)
fstp dword [esp + 0x1c]
call fcn.00536350
mov ecx, dword [ebp]
push 1
push esi
call fcn.005363a0
fld dword [esp + 0x1c]
fcomp dword [0x5f53f4]
fnstsw ax
test ah, 0x44
jp 0x52e043
fld dword [esp + 0x14]
fcomp dword [0x5f53f4]
fnstsw ax
test ah, 0x44
jp 0x52e043
push esi
jmp 0x52e045
push 1
mov ecx, dword [ebp]
call fcn.005365d0
mov ecx, dword [0x680038]
push esi
mov dword [esp + 0x28], eax
call fcn.00537c00
mov ebx, dword [esp + 0xec]
mov ecx, dword [0x680038]
cmp bl, 0xff
jne 0x52e073
push 1
jmp 0x52e075
push 3
call fcn.00539300
mov eax, dword [ebp + 0x244]
mov dword [esp + 0x28], esi
cmp eax, esi
jbe 0x52e2d0
and ebx, 0xff
lea ecx, [ebp + 0x28]
shl ebx, 0x18
mov eax, ebx
push edi
or eax, 0xffffff
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x1c], ecx
lea esi, [ebp + 0x15c]
lea edi, [ebp + 0x68]
jmp 0x52e0d7
mov eax, dword [esp + 0x78]
fld dword [esp + 0x20]
fmul dword [edi - 4]
fld dword [esp + 0x18]
fmul dword [edi]
fld dword [edi + 0x74]
fadd dword [0x5f53f4]
mov dword [esp + 0xdc], 0x3f000000
mov dword [esp + 0xc0], 0x3f000000
mov dword [esp + 0xa4], 0x3f000000
mov dword [esp + 0x88], 0x3f000000
fmul dword [esp + 0x20]
fld dword [edi + 0x78]
fadd dword [0x5f53f4]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x8c], eax
fmul dword [esp + 0x18]
fstp dword [esp + 0x24]
fld st(2)
fstp dword [esp + 0x38]
fld st(1)
mov edx, dword [esp + 0x38]
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], edx
fst dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi - 8]
mov dword [esp + 0x84], edx
mov edx, dword [esi - 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x4c]
fxch st(1)
fstp dword [esp + 0x48]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi - 4]
fstp dword [esp + 0x58]
mov dword [esp + 0x34], edx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x68], ecx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x58]
fstp dword [esp + 0x6c]
mov dword [esp + 0x9c], edx
mov edx, dword [esi]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], edx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0xb8], edx
mov edx, dword [esi]
mov dword [esp + 0x54], ecx
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], edx
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x70], edx
mov dword [esp + 0xd4], edx
mov edx, dword [esi - 8]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xe8], ecx
mov ebx, dword [edx]
mov eax, dword [ebx + 0xc]
test eax, eax
jl 0x52e278
mov ecx, dword [0x68b18c]
push eax
call fcn.00536af0
mov eax, dword [ebx + 0x10]
mov ecx, dword [0x68b18c]
push eax
push 0
call fcn.005364e0
mov ecx, dword [ebp]
push 0x144
call fcn.00536970
lea ecx, [esp + 0x7c]
push 0x1c
push ecx
mov ecx, dword [ebp]
push 2
call fcn.0053d650
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add ecx, 4
inc eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x244]
add edi, 8
add esi, 0x10
cmp eax, ecx
mov dword [esp + 0x2c], eax
jb 0x52e0d3
pop edi
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp]
push edx
call fcn.005365d0
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 4