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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
xor ecx, ecx
xor ebp, ebp
fld dword [esi + 0x10]
fadd dword [esi]
push edi
mov dword [esp + 0x28], ebp
fadd dword [esi + 0x20]
fcom dword [0x5333ec]
fnstsw ax
test ah, 0x41
jne 0x4ec719
fadd dword [0x5333e0]
fsqrt
fld st(0)
fmul dword [0x533504]
fstp dword [esp + 0x1c]
fdivr dword [0x533504]
fld dword [esi + 0x14]
fsub dword [esi + 0x1c]
fmul st(1)
fchs
fstp dword [esp + 0x10]
fld dword [esi + 0x18]
fsub dword [esi + 8]
fmul st(1)
fchs
fstp dword [esp + 0x14]
fld dword [esi + 4]
fsub dword [esi + 0xc]
fmul st(1)
fchs
fstp dword [esp + 0x18]
fstp st(0)
jmp 0x4ec7e3
fstp st(0)
fld dword [esi + 0x10]
fcomp dword [esi]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], ecx
fnstsw ax
test ah, 0x41
jne 0x4ec740
mov ecx, 1
fld dword [esi + 0x20]
mov eax, ecx
shl eax, 4
fcomp dword [eax + esi]
fnstsw ax
test ah, 0x41
jne 0x4ec757
mov ecx, 2
mov edx, dword [esp + ecx*4 + 0x2c]
mov eax, ecx
shl eax, 4
mov edi, dword [esp + edx*4 + 0x2c]
mov ebx, edx
fld dword [eax + esi]
shl ebx, 4
mov eax, edi
fsub dword [ebx + esi]
shl eax, 4
fsub dword [eax + esi]
fadd dword [0x5333e0]
fsqrt
fld st(0)
fmul dword [0x533504]
fstp dword [esp + ecx*4 + 0x10]
fcom dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x4ec79e
fdivr dword [0x533504]
lea ebx, [edx + edx*2]
lea eax, [ecx + ecx*2]
add ebx, ecx
lea ebp, [eax + edx]
add eax, edi
fld dword [esi + ebx*4]
fadd dword [esi + ebp*4]
lea ebx, [edi + edi*2]
mov ebp, dword [esp + 0x28]
add ecx, ebx
fmul st(1)
fstp dword [esp + edx*4 + 0x10]
fld dword [esi + ecx*4]
fadd dword [esi + eax*4]
lea eax, [edx + edx*2]
add eax, edi
add ebx, edx
fmul st(1)
fstp dword [esp + edi*4 + 0x10]
fld dword [esi + eax*4]
fsub dword [esi + ebx*4]
fmul st(1)
fchs
fstp dword [esp + 0x1c]
fstp st(0)
mov edi, dword [esp + 0x9c]
mov eax, dword [edi + 0x5c]
test eax, eax
mov dword [edi + 0x60], eax
jle 0x4ec9c0
fld dword [0x5333ec]
fld dword [0x5333ec]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x40], 0
fst dword [esp + 0x30]
fld dword [0x5333ec]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
fst dword [esp + 0x34]
fld dword [esp + 0x40]
fld dword [esp + 0x44]
lea ecx, [edx + 0x10]
mov ebx, eax
fxch st(1)
fadd dword [edx]
fxch st(1)
fadd dword [ecx - 0xc]
fld dword [esp + 0x48]
fadd dword [ecx - 8]
fstp dword [esp + 0x48]
fld dword [ecx - 4]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x4ec87d
fld dword [ecx]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x4ec87d
fld dword [ecx + 4]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x4ec8ea
fld dword [edx]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x4ec8ac
fld dword [ecx - 0xc]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x4ec8ac
fld dword [ecx - 8]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x4ec8ea
fld dword [ecx - 8]
fmul dword [ecx]
fld dword [ecx + 4]
fmul dword [ecx - 0xc]
fsubp st(1)
fld dword [ecx - 8]
fmul dword [ecx - 4]
fld dword [edx]
fmul dword [ecx + 4]
fsubp st(1)
fchs
fstp dword [esp + 0x64]
fld dword [ecx - 0xc]
fmul dword [ecx - 4]
fld dword [edx]
fmul dword [ecx]
fsubp st(1)
fstp dword [esp + 0x68]
faddp st(5)
fld dword [esp + 0x64]
faddp st(4)
fld dword [esp + 0x68]
faddp st(3)
add edx, 0x18
add ecx, 0x18
dec ebx
jne 0x4ec83a
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
lea edx, [edi + 0x3c]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fstp dword [esp + 0x34]
mov dword [edx], eax
mov eax, dword [esp + 0x48]
fstp dword [esp + 0x30]
fld dword [edi + 4]
fld st(0)
fmul dword [esp + 0x40]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
fstp dword [esp + 0x60]
fld st(0)
fmul dword [esp + 0x44]
fstp dword [esp + 0x64]
fmul dword [esp + 0x48]
fld st(0)
fmul dword [esi + 8]
fld dword [esp + 0x64]
fmul dword [esi + 4]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x40]
fld st(0)
fmul dword [esi + 0x14]
fld dword [esp + 0x60]
fmul dword [esi + 0xc]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esi + 0x10]
faddp st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x64]
fmul dword [esi + 0x1c]
fld dword [esp + 0x60]
fmul dword [esi + 0x18]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x20]
mov dword [edi + 0x5c], 0
faddp st(1)
fld dword [esp + 0x40]
fadd dword [edi + 0x18]
fstp dword [edi + 0x18]
fld dword [esp + 0x44]
fadd dword [edi + 0x1c]
fstp dword [edi + 0x1c]
fadd dword [edi + 0x20]
fstp dword [edi + 0x20]
fadd dword [edi + 0x30]
fstp dword [edi + 0x30]
fld dword [esp + 0x30]
fadd dword [edi + 0x34]
fstp dword [edi + 0x34]
fld dword [esp + 0x34]
fadd dword [edi + 0x38]
fstp dword [edi + 0x38]
fld dword [edi + 0x30]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x4ec9f4
fld dword [edi + 0x34]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x4ec9f4
fld dword [edi + 0x38]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x4ecd92
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push ecx
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.004b3c20
fld dword [esp + 0x88]
fmul dword [edi + 0x38]
fld dword [esp + 0x84]
fmul dword [edi + 0x34]
lea eax, [edi + 0x48]
add esp, 0x10
mov edx, eax
faddp st(1)
fld dword [esp + 0x70]
fmul dword [edi + 0x30]
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x84]
fmul dword [edi + 0x38]
fld dword [esp + 0x80]
fmul dword [edi + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
faddp st(1)
fld dword [esp + 0x7c]
fmul dword [edi + 0x30]
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x90]
fmul dword [edi + 0x38]
fld dword [esp + 0x8c]
fmul dword [edi + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
faddp st(1)
fld dword [esp + 0x88]
fmul dword [edi + 0x30]
faddp st(1)
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
fld dword [edi + 0x4c]
fmul dword [esi + 4]
fld dword [esi]
fmul dword [eax]
faddp st(1)
fld dword [edi + 0x50]
fmul dword [esi + 8]
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esi + 0xc]
fmul dword [eax]
fld dword [edi + 0x50]
fmul dword [esi + 0x14]
mov ecx, dword [esp + 0x2c]
faddp st(1)
fld dword [edi + 0x4c]
fmul dword [esi + 0x10]
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esi + 0x1c]
fmul dword [edi + 0x4c]
fld dword [edi + 0x50]
fmul dword [esi + 0x20]
faddp st(1)
fld dword [eax]
fmul dword [esi + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
faddp st(1)
mov dword [edx + 4], ecx
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
fld dword [eax]
fmul dword [0x533504]
fld dword [edi + 0x4c]
fmul dword [0x533504]
fld dword [edi + 0x50]
fmul dword [0x533504]
fst dword [esp + 0x34]
fsub st(1)
fld dword [esp + 0x14]
fsub dword [esp + 0x18]
fmulp st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fld st(2)
fchs
fmulp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x34]
fadd st(1)
fld dword [esp + 0x1c]
fsub dword [esp + 0x10]
fmulp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fadd st(2)
fld dword [esp + 0x14]
fadd dword [esp + 0x10]
fmulp st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x1c]
fsub dword [esp + 0x18]
fld st(1)
fmulp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x18]
fadd dword [esp + 0x1c]
fxch st(1)
fchs
fmulp st(1)
fst dword [esp + 0x4c]
fadd dword [esp + 0x50]
fadd dword [esp + 0x54]
fld dword [esp + 0x34]
fsub st(2)
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
fmulp st(1)
fadd st(1)
fmul dword [0x533504]
fstp dword [esp + 0x24]
fld dword [esp + 0x10]
fadd dword [esp + 0x1c]
fxch st(2)
fmulp st(2)
fxch st(1)
fadd dword [esp + 0x24]
fsub st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x24]
fadd dword [esp + 0x28]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x30]
fld dword [esp + 0x24]
fadd dword [esp + 0x5c]
fsub dword [esp + 0x50]
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
fadd dword [esp + 0x58]
fsub dword [esp + 0x54]
fstp dword [esp + 0x38]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x38]
fadd dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fdivr qword [0x5333f8]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fxch st(1)
fmul st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fdivr qword [0x5333f8]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fxch st(1)
fmul st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fadd st(0), st(0)
mov dword [esi + 0x24], 0
mov ebp, 1
fstp dword [esp + 0x6c]
fld dword [esp + 0x14]
fmul dword [esp + 0x10]
fadd st(0), st(0)
fstp dword [esp + 0x54]
fld dword [esp + 0x18]
fmul dword [esp + 0x10]
fadd st(0), st(0)
fstp dword [esp + 0x4c]
fld dword [esp + 0x10]
fmul st(1)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fadd st(0), st(0)
fstp dword [esp + 0x28]
fld dword [esp + 0x18]
fmul dword [esp + 0x14]
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x14]
fmul st(1)
fadd st(0), st(0)
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [esp + 0x50]
fmul dword [esp + 0x18]
fadd st(0), st(0)
fld dword [0x5333e0]
fsub dword [esp + 0x28]
fsub dword [esp + 0x50]
fstp dword [esi]
fld dword [esp + 0x54]
fsub st(1)
fstp dword [esi + 4]
fld dword [esp + 0x24]
fadd dword [esp + 0x4c]
fstp dword [esi + 8]
fadd dword [esp + 0x54]
fstp dword [esi + 0xc]
fld dword [0x5333e0]
fsub dword [esp + 0x6c]
fld st(0)
fsub dword [esp + 0x50]
fstp dword [esi + 0x10]
fld dword [esp + 0x58]
fsub dword [esp + 0x5c]
fstp dword [esi + 0x14]
fld dword [esp + 0x4c]
fsub dword [esp + 0x24]
fstp dword [esi + 0x18]
fld dword [esp + 0x58]
fadd dword [esp + 0x5c]
fstp dword [esi + 0x1c]
fsub dword [esp + 0x28]
fstp dword [esi + 0x20]
push edi
call fcn.004ecdb0
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret