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

Disassembly:
sub esp, 0x34
fld dword [esp + 0x4c]
push ebx
mov ebx, ecx
fadd dword [ebx + 8]
push ebp
push esi
mov esi, dword [esp + 0x48]
fstp dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x48]
fld dword [esi]
fsub dword [edi + 8]
mov eax, dword [edi + 0x7c]
test eax, eax
mov dword [esp + 0x14], ebx
fst dword [esp + 0x20]
fld dword [esi + 4]
fsub dword [edi + 0xc]
fstp dword [esp + 0x24]
fld dword [esi + 8]
fsub dword [edi + 0x10]
fstp dword [esp + 0x28]
jne 0x52d07e
fld dword [esp + 0x28]
fmul dword [edi + 0x54]
fld dword [esp + 0x24]
fmul dword [edi + 0x50]
faddp st(1)
fld st(1)
fmul dword [edi + 0x4c]
faddp st(1)
fst dword [esp + 0x38]
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
and eax, 0x7fffffff
mov dword [esp + 0x48], eax
fld dword [esp + 0x48]
fsub dword [esp + 0x5c]
fsub dword [edi + 0x70]
fstp dword [esp + 0x2c]
fld dword [esp + 0x28]
fmul dword [edi + 0x60]
fld dword [esp + 0x24]
fmul dword [edi + 0x5c]
faddp st(1)
fld st(1)
fmul dword [edi + 0x58]
faddp st(1)
fst dword [esp + 0x3c]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
and ecx, 0x7fffffff
mov dword [esp + 0x48], ecx
fld dword [esp + 0x48]
fsub dword [esp + 0x5c]
fsub dword [edi + 0x74]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fmul dword [edi + 0x6c]
fld dword [esp + 0x24]
fmul dword [edi + 0x68]
faddp st(1)
fxch st(1)
fmul dword [edi + 0x64]
faddp st(1)
fst dword [esp + 0x40]
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
and edx, 0x7fffffff
mov dword [esp + 0x48], edx
jmp 0x52d0e9
mov eax, dword [esp + 0x20]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
and eax, 0x7fffffff
mov dword [esp + 0x48], eax
fld dword [esp + 0x48]
mov eax, dword [esp + 0x28]
fsub dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov edx, ecx
mov dword [esp + 0x48], ecx
fsub dword [edi + 0x70]
and edx, 0x7fffffff
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
fstp dword [esp + 0x2c]
mov ecx, eax
fld dword [esp + 0x48]
and ecx, 0x7fffffff
fsub dword [esp + 0x5c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x48], ecx
fsub dword [edi + 0x74]
fstp dword [esp + 0x30]
fld dword [esp + 0x48]
mov eax, dword [esp + 0x30]
fsub dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
fsub dword [edi + 0x78]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.0052ca80
mov edx, dword [esp + 0x20]
fld dword [edi + edx*4 + 0x70]
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x52d12e
fstp st(0)
fld dword [esp + 0x5c]
fld dword [esp + edx*4 + 0x2c]
lea ecx, [esp + edx*4 + 0x2c]
fcomp dword [ebx + 4]
mov dword [esp + 0x48], ecx
fnstsw ax
test ah, 5
jp 0x52d232
fchs
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x52d234
mov al, byte [esp + 0x60]
test al, al
je 0x52d226
mov ecx, dword [esp + 0x50]
fld dword [esp + edx*4 + 0x38]
fcom dword [0x617db0]
mov eax, esi
mov ebp, dword [eax]
mov ebx, ecx
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
fnstsw ax
test ah, 5
jp 0x52d196
fstp st(0)
fld dword [0x617dc8]
jmp 0x52d1b1
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52d1ab
fld dword [0x617dbc]
jmp 0x52d1b1
fld dword [0x617db0]
mov eax, dword [esp + 0x54]
fchs
fld st(0)
lea edx, [edx + edx*2]
fmul dword [edi + edx*4 + 0x4c]
lea edx, [edi + edx*4 + 0x4c]
fstp dword [eax]
fld st(0)
fmul dword [edx + 4]
fstp dword [eax + 4]
fmul dword [edx + 8]
mov edx, dword [esp + 0x48]
fstp dword [eax + 8]
fld dword [esp + 0x5c]
fadd dword [edx]
fld st(0)
fmul dword [eax]
fadd dword [ecx]
fstp dword [ecx]
fld st(0)
fmul dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [ecx + 4]
fmul dword [eax + 8]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
mov ecx, dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul dword [eax]
fadd dword [esi]
fstp dword [esi]
fld dword [esp + 0x5c]
fmul dword [eax + 4]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [esp + 0x5c]
fmul dword [eax + 8]
mov eax, dword [edx]
fadd dword [esi + 8]
fstp dword [esi + 8]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x34
ret 0x1c
fstp st(0)
xor ebx, ebx
jmp 0x52d240
mov ebp, dword [esp + ebx*4 + 0x20]
fld dword [esp + ebp*4 + 0x2c]
mov edx, dword [esp + 0x58]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [edx], eax
fld dword [edi + ebp*4 + 0x70]
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x52d26d
fstp st(0)
fld dword [esp + 0x5c]
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 5
jp 0x52d49a
fchs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x52d49c
cmp ebp, 2
jl 0x52d29d
xor ecx, ecx
jmp 0x52d2a0
lea ecx, [ebp + 1]
fld dword [esp + ecx*4 + 0x38]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
fsub dword [edi + ecx*4 + 0x70]
fld dword [0x617db0]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x52d2d2
fstp dword [esp + 0x4c]
jmp 0x52d2dc
fstp st(0)
mov dword [esp + 0x4c], 0
fld dword [esp + 0x4c]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jp 0x52d49c
cmp ecx, 2
jl 0x52d2f8
xor ecx, ecx
jmp 0x52d2f9
inc ecx
fld dword [esp + ecx*4 + 0x38]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
fsub dword [edi + ecx*4 + 0x70]
fld dword [0x617db0]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x52d32b
fstp dword [esp + 0x48]
jmp 0x52d335
fstp st(0)
mov dword [esp + 0x48], 0
fld dword [esp + 0x48]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jp 0x52d49c
fld dword [esp + 0x4c]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
je 0x52d36a
fld dword [esp + 0x48]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52d392
fld dword [esp + 0x10]
fadd dword [esp + 0x5c]
fld st(0)
fmulp st(1)
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
faddp st(1)
fsqrt
fsub dword [esp + 0x5c]
fstp dword [edx]
fld dword [edx]
mov ecx, dword [esp + 0x14]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 5
jp 0x52d49c
mov al, byte [esp + 0x60]
test al, al
je 0x52d4ee
mov edx, dword [esp + ebp*4 + 0x38]
push edx
call fcn.00413700
fchs
mov ebx, dword [esp + 0x54]
fld dword [esp + 0x60]
fadd dword [esp + ebp*4 + 0x30]
mov eax, esi
mov edx, dword [eax]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
fmul st(1)
lea ecx, [ebp + ebp*2]
lea ecx, [edi + ecx*4 + 0x4c]
fld st(0)
add esp, 4
fmul dword [ecx]
fadd dword [ebx]
fstp dword [ebx]
fld st(0)
fmul dword [ecx + 4]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
fmul dword [ecx + 8]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
fld dword [esp + 0x4c]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
je 0x52d42d
fld dword [esp + 0x48]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52d4b2
fld dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
fadd dword [edx]
fcomp dword [0x617dcc]
fnstsw ax
test ah, 0x41
jne 0x52d4b2
mov eax, dword [esp + 0x48]
fstp st(0)
mov ecx, dword [esp + 0x4c]
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push edi
call fcn.0052ce50
fld dword [ebx]
fsub dword [esi]
mov edi, dword [esp + 0x54]
mov ecx, edi
fstp dword [edi]
fld dword [ebx + 4]
fsub dword [esi + 4]
fstp dword [edi + 4]
fld dword [ebx + 8]
fsub dword [esi + 8]
fstp dword [edi + 8]
call fcn.00405430
mov edx, dword [esp + 0x5c]
fstp st(0)
push edi
push edx
mov ecx, esi
call fcn.004150d0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x34
ret 0x1c
fstp st(0)
inc ebx
cmp ebx, 3
jl 0x52d240
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x34
ret 0x1c
mov eax, dword [esp + 0x54]
fld st(0)
fmul dword [ecx]
fstp dword [eax]
fld st(0)
fmul dword [ecx + 4]
fstp dword [eax + 4]
fmul dword [ecx + 8]
fstp dword [eax + 8]
fld dword [esp + 0x5c]
fmul dword [eax]
fadd dword [esi]
fstp dword [esi]
fld dword [esp + 0x5c]
fmul dword [eax + 4]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [esp + 0x5c]
fmul dword [eax + 8]
fadd dword [esi + 8]
fstp dword [esi + 8]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x34
ret 0x1c