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

Disassembly:
sub esp, 0x58
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
mov ecx, dword [0x6b1ff8]
push edi
push eax
push 0x3c
call fcn.0050e910
mov ecx, dword [esi + 0x5c]
cmp dword [ecx + 0x24], 0
mov ebx, dword [esp + 0x68]
jne 0x57d96c
mov ecx, dword [0x6b4658]
call fcn.004cca80
mov edx, dword [esi + 0x5c]
mov edi, eax
movzx eax, byte [edx + 0x13]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x57d57a
jmp dword [eax*4 + 0x57de9c]
fld dword [esi + 0x40]
fmul qword [0x622188]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
call fcn.005c6400
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0x68]
call fcn.005c6530
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0xc]
fst dword [esp + 0x10]
fld dword [esp + 0x68]
fld st(0)
fchs
fstp dword [esp + 0x14]
fldz
fst dword [esp + 0x18]
fstp dword [esp + 0x24]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x20]
jmp 0x57dae8
fldz
fst dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fstp dword [esp + 0x38]
fld1
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
fld dword [edi + 0x58]
fldz
fmul st(1), st(0)
fld dword [edi + 0x54]
fmul st(1)
fsubp st(2)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x57d646
fld st(0)
fld qword [0x626ab0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [edi + 0x54]
fstp dword [esp + 0x54]
fld dword [edi + 0x58]
fstp dword [esp + 0x58]
fld dword [esp + 0x14]
fld st(0)
fmul st(2)
fld dword [esp + 0x58]
fld st(0)
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x54]
mov dword [esp + 0x1c], eax
fld st(0)
lea eax, [esp + 0x1c]
fmulp st(3)
push eax
fld dword [esp + 0x14]
fld st(0)
fmulp st(6)
fxch st(3)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
fmulp st(1)
mov ecx, eax
fxch st(2)
push ecx
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
call fcn.0058df9f
fldz
fcomp dword [esi + 0x40]
fnstsw ax
test ah, 0x44
jnp 0x57dae8
fld dword [esi + 0x40]
fmul qword [0x622188]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
call fcn.005c6530
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fchs
fstp dword [esp + 0xc]
fld dword [esp + 0x68]
call fcn.005c6400
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fld st(0)
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld st(1)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld st(2)
fld dword [esp + 0x24]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0xc]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x38]
fld st(1)
fmul dword [esp + 0x18]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fsub dword [esp + 0x28]
fstp dword [esp + 0x54]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fsub dword [esp + 0x30]
fstp dword [esp + 0x5c]
fmul st(5)
fstp dword [esp + 0x28]
fld st(4)
fmul dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fmulp st(5)
fxch st(4)
fstp dword [esp + 0x30]
fld st(3)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x34]
fmul st(2)
fstp dword [esp + 0x38]
fmulp st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fadd dword [esp + 0x28]
fstp dword [esp + 0x44]
fld dword [esp + 0x38]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x48]
fld dword [esp + 0x3c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jmp 0x57dae8
fldz
fcomp dword [esi + 0x40]
fnstsw ax
test ah, 0x44
jp 0x57d86a
fld dword [edi + 0x60]
fchs
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
fld dword [edi + 0x64]
fchs
fstp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
fld dword [edi + 0x68]
mov dword [esp + 0x10], edx
fchs
mov dword [esp + 0x14], eax
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov edx, dword [edi + 0x48]
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x24], ecx
jmp 0x57dae8
fld dword [esi + 0x40]
push ecx
fmul qword [0x622188]
lea edx, [edi + 0x54]
lea eax, [esp + 0x48]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fstp dword [esp]
push edx
push eax
call fcn.0058fcce
fld dword [esp + 0x44]
fchs
lea ecx, [esp + 0x54]
fstp dword [esp + 0x34]
push ecx
fld dword [esp + 0x4c]
lea edx, [esp + 0x38]
fchs
push edx
fstp dword [esp + 0x40]
mov eax, ecx
fld dword [esp + 0x54]
push eax
fchs
fstp dword [esp + 0x48]
fld dword [esp + 0x5c]
fstp dword [esp + 0x4c]
fld dword [edi + 0x60]
fchs
fstp dword [esp + 0x60]
fld dword [edi + 0x64]
fchs
fstp dword [esp + 0x64]
fld dword [edi + 0x68]
fchs
fstp dword [esp + 0x68]
fldz
fstp dword [esp + 0x6c]
call fcn.0058fe4a
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push edx
mov eax, edx
push eax
call fcn.0058fe4a
fld dword [esp + 0x54]
fstp dword [esp + 0x10]
lea ecx, [esp + 0x54]
fld dword [esp + 0x58]
push ecx
fstp dword [esp + 0x18]
lea edx, [esp + 0x38]
fld dword [esp + 0x60]
push edx
fstp dword [esp + 0x20]
mov eax, ecx
fld dword [edi + 0x48]
push eax
fstp dword [esp + 0x60]
fld dword [edi + 0x4c]
fstp dword [esp + 0x64]
fld dword [edi + 0x50]
fstp dword [esp + 0x68]
fldz
fstp dword [esp + 0x6c]
call fcn.0058fe4a
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push edx
mov eax, edx
push eax
call fcn.0058fe4a
fld dword [esp + 0x54]
fstp dword [esp + 0x1c]
fld dword [esp + 0x58]
fstp dword [esp + 0x20]
fld dword [esp + 0x5c]
fstp dword [esp + 0x24]
jmp 0x57dae8
fld dword [esi + 0xc]
fsub dword [esi + 0x18]
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fld dword [esi + 0x10]
mov dword [esp + 0x10], ecx
fsub dword [esi + 0x1c]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
fld dword [esi + 0x14]
mov dword [esp + 0x14], edx
fsub dword [esi + 0x20]
fstp dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x57d9b4
push ebx
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call fcn.0058e2c2
fld dword [esp + 0x14]
fld dword [esp + 0x10]
fld dword [esp + 0x18]
fld st(2)
fmulp st(3)
fld st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
call fcn.005c5310
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp + 0x68]
fldz
fld st(0)
fld dword [esp + 0x68]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x57da28
fstp st(0)
fst dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fld1
mov dword [esp + 0x10], eax
fstp dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
jmp 0x57da73
fstp st(1)
fadd qword [0x622160]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
call fcn.005caca0
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fadd qword [0x622160]
fdiv dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fld st(0)
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
fld st(0)
fmul dword [esp + 0x14]
fstp dword [esp + 0x14]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
mov ecx, dword [0x6b4658]
call fcn.004cca80
fld dword [eax + 0x5c]
fld dword [esp + 0x14]
add eax, 0x54
fld st(0)
fmulp st(2)
fld dword [eax + 4]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x54]
fld dword [eax]
fmulp st(2)
fld dword [eax + 8]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fld dword [eax + 4]
fmulp st(2)
fmul dword [eax]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
fsubp st(1)
mov dword [esp + 0x20], ecx
push eax
mov ecx, eax
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x2c], edx
call fcn.0058df9f
fld dword [esi + 0x38]
fmul dword [esi + 0x30]
fchs
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fld st(0)
fmul dword [esp + 0x1c]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
fld st(0)
fmul dword [esp + 0x20]
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
fmul dword [esp + 0x24]
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
fld dword [esi + 0x3c]
mov dword [esp + 0x24], ecx
fmul dword [esi + 0x34]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fld st(0)
fmul dword [esp + 0x10]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
fld st(0)
fmul dword [esp + 0x14]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
fmul dword [esp + 0x18]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x57dd10
mov edx, dword [esi + 0x5c]
cmp dword [edx + 0x20], 0
je 0x57dd10
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0058e2af
fld dword [esp + 0x34]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fst dword [esp + 0x54]
fld dword [esp + 0x38]
fsub dword [esp + 0x14]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fsub dword [esp + 0x18]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fld dword [esp + 0x1c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x58]
mov dword [esi + 0x74], edx
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x5c]
mov dword [esi + 0x78], eax
fld dword [esp + 0x24]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
fxch st(3)
mov dword [esi + 0x7c], ecx
fstp dword [esp + 0x54]
fld dword [esp + 0x68]
fstp dword [esp + 0x58]
fld dword [esp + 0xc]
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fsub st(2)
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x58]
mov dword [esi + 0x88], edx
fsub st(1)
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x5c]
mov dword [esi + 0x8c], eax
fsub st(3)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
fxch st(4)
mov dword [esi + 0x90], ecx
faddp st(3)
fxch st(2)
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fst dword [esp + 0x54]
fld dword [esp + 0x38]
fadd dword [esp + 0x14]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fst dword [esp + 0x58]
fld dword [esp + 0x3c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fst dword [esp + 0x5c]
fld dword [esp + 0x54]
fadd st(5)
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x58]
mov dword [esi + 0x9c], edx
fadd st(6)
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x5c]
mov dword [esi + 0xa0], eax
fadd st(4)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
fxch st(2)
mov dword [esi + 0xa4], ecx
fstp dword [esp + 0x54]
fstp dword [esp + 0x58]
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x58]
fsubrp st(2)
fxch st(1)
jmp 0x57de69
fld dword [esi + 0xc]
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fld dword [esi + 0x10]
fld dword [esp + 0x2c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x58]
fld dword [esi + 0x14]
fld dword [esp + 0x30]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fld dword [esp + 0x34]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x58]
mov dword [esi + 0x74], edx
fld dword [esp + 0x38]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x5c]
mov dword [esi + 0x78], eax
fld dword [esp + 0x3c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x7c], ecx
fld dword [esi + 0xc]
fsub st(6)
fstp dword [esp + 0x54]
fld dword [esi + 0x10]
fsub st(5)
fstp dword [esp + 0x58]
fld dword [esi + 0x14]
fsub st(4)
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fsub st(3)
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x58]
mov dword [esi + 0x88], edx
fsub st(2)
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x5c]
mov dword [esi + 0x8c], eax
fsub st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x90], ecx
fld dword [esi + 0xc]
fadd st(6)
fstp dword [esp + 0x54]
fld dword [esi + 0x10]
fadd st(5)
fstp dword [esp + 0x58]
fld dword [esi + 0x14]
fadd st(4)
fstp dword [esp + 0x5c]
fld st(2)
fadd dword [esp + 0x54]
fstp dword [esp + 0x44]
fld dword [esp + 0x58]
fadd st(2)
fstp dword [esp + 0x48]
fld dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
fadd st(1)
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], eax
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0xa4], ecx
fld dword [esi + 0xc]
faddp st(6)
fxch st(5)
fstp dword [esp + 0x54]
fld dword [esi + 0x10]
faddp st(4)
fxch st(3)
fstp dword [esp + 0x58]
fld dword [esi + 0x14]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x5c]
fsubr dword [esp + 0x54]
fstp dword [esp + 0x44]
fsubr dword [esp + 0x58]
mov edx, dword [esp + 0x44]
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fsubr dword [esp + 0x5c]
mov dword [esi + 0xb0], edx
mov dword [esi + 0xb4], eax
pop edi
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov dword [esi + 0xb8], ecx
pop esi
pop ebx
add esp, 0x58
ret 4