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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6223f8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x5204ed
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
jmp 0x5206e9
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], ecx
fstp qword [esp + 0x3c]
lea ecx, [esp + 0x14]
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
push ecx
mov ecx, esi
fstp qword [esp + 0x48]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fstp qword [esp + 0x50]
fild dword [esp + 0x10]
fstp qword [esp + 0x58]
call fcn.0051d930
fld qword [eax]
lea edx, [esp + 0x3c]
fstp qword [esp + 0x24]
push edx
fld qword [eax + 8]
lea ecx, [esp + 0x50]
fstp qword [esp + 0x30]
call fcn.005f18e0
movzx ecx, word [esi + 0x20]
fldz
test cl, 2
jne 0x520685
fld st(0)
fucomp st(2)
fnstsw ax
test ah, 0x44
jnp 0x520685
fld qword [esp + 0x54]
fsub qword [esp + 0x44]
fld qword [esp + 0x4c]
fsub qword [esp + 0x3c]
fchs
test cl, 1
je 0x52058d
fxch st(1)
fchs
fxch st(1)
fchs
fild dword [esi + 0x1c]
fld st(0)
fmulp st(3)
fxch st(2)
fdiv st(4)
fadd qword [esp + 0x24]
fxch st(2)
fmulp st(1)
fdivrp st(3)
fxch st(2)
fadd qword [esp + 0x2c]
fxch st(2)
fcom st(1)
fnstsw ax
fld qword [0x634650]
test ah, 1
jne 0x5205bd
fadd st(1), st(0)
jmp 0x5205bf
fsub st(1), st(0)
fxch st(1)
call fcn.005fbb60
fxch st(1)
fcomp st(2)
mov dword [esp + 0xc], eax
fnstsw ax
test ah, 0x41
jp 0x5205d9
faddp st(1)
jmp 0x5205db
fsubp st(1)
call fcn.005fbb60
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0051f0a0
fcomp qword [0x636ea0]
fnstsw ax
test ah, 5
jp 0x5206e1
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x28]
call fcn.005f18c0
push eax
mov ecx, esi
call fcn.005200c0
test eax, eax
jne 0x5206e1
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00520ec0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], 0
call fcn.00520fb0
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], 0xffffffff
call fcn.00520f30
jmp 0x5206e1
fstp st(1)
fld qword [esp + 0x24]
fld qword [0x636e88]
fmul st(1), st(0)
fxch st(1)
fsub qword [esp + 0x3c]
fld qword [esp + 0x2c]
fmulp st(2)
fxch st(1)
fsub qword [esp + 0x44]
fxch st(1)
fcom st(2)
fnstsw ax
fld qword [0x634650]
test ah, 1
jne 0x5206ba
fadd st(1), st(0)
jmp 0x5206bc
fsub st(1), st(0)
fxch st(1)
call fcn.005fbb60
fxch st(2)
fcomp st(1)
mov dword [esp + 0xc], eax
fnstsw ax
test ah, 0x41
jp 0x5206d6
faddp st(1)
jmp 0x5206d8
fsubrp st(1)
call fcn.005fbb60
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4