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

Disassembly:
sub esp, 0xe8
push ebx
mov ebx, dword [esp + 0xf4]
push ebp
push esi
mov esi, dword [esp + 0x104]
test esi, esi
push edi
mov ebp, ecx
mov dword [0xab32f4], 0
je 0x514d50
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x514d50
mov ecx, 0x10
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
jmp 0x514d8e
mov esi, dword [esp + 0xfc]
mov ecx, 0x10
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xa0]
mov ecx, 0x10
mov esi, ebx
lea edi, [esp + 0x60]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [0x97e23c]
lea ecx, [esp + 0x64]
push ecx
call dword [0x97e23c]
add esp, 8
mov edi, dword [esp + 0xfc]
push ebx
push edi
mov ecx, ebp
call fcn.00514b50
fldz
xor eax, eax
fstp dword [esp + 0x14]
mov dword [ebp + 0xb0], eax
mov dword [ebp + 0xb4], eax
lea esi, [ebp + 0x10]
mov dword [ebp + 0x1f8], eax
mov eax, 1
test byte [ebp + 0xb0], al
mov dword [ebp + 0x1fc], eax
je 0x514dea
mov edi, edi
add dword [ebp + 0x1f8], eax
shl dword [ebp + 0x1fc], 1
mov edx, dword [ebp + 0xb0]
test dword [ebp + 0x1fc], edx
jne 0x514dd0
fld dword [esi]
mov ecx, dword [ebp + 8]
fchs
lea edx, [esp + 0x54]
fstp dword [esp + 0x3c]
push edx
fld dword [esi + 4]
lea edx, [esp + 0xf0]
fchs
push edx
fstp dword [esp + 0x48]
fld dword [esi + 8]
fchs
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
fld st(0)
fmul dword [esp + 0xac]
fld dword [esp + 0x44]
fld st(0)
fmul dword [esp + 0xa8]
faddp st(2)
fld dword [esp + 0x4c]
fld st(0)
fmul dword [esp + 0xb0]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x5c]
fld st(2)
fmul dword [esp + 0xbc]
fld dword [esp + 0xb8]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esp + 0xc0]
faddp st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0xcc]
fmulp st(3)
fmul dword [esp + 0xc8]
faddp st(2)
fmul dword [esp + 0xd0]
faddp st(1)
fstp dword [esp + 0x64]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp + 0x1f8]
mov edx, dword [eax]
lea ecx, [ecx + ecx*2]
mov dword [ebp + ecx*4 + 0x20], edx
mov edx, dword [eax + 4]
mov dword [ebp + ecx*4 + 0x24], edx
mov eax, dword [eax + 8]
mov dword [ebp + ecx*4 + 0x28], eax
fld dword [edi]
mov eax, dword [ebp + 0x1f8]
lea ecx, [ebp + ecx*4 + 0x20]
lea ecx, [eax + eax*2]
fmul dword [ebp + ecx*4 + 0x20]
lea eax, [ebp + ecx*4 + 0x20]
fld dword [eax + 4]
fmul dword [edi + 4]
faddp st(1)
fld dword [eax + 8]
fmul dword [edi + 8]
faddp st(1)
fadd dword [edi + 0xc]
fstp dword [esp + 0x30]
fld dword [eax + 4]
fmul dword [edi + 0x14]
fld dword [edi + 0x10]
fmul dword [eax]
faddp st(1)
fld dword [edi + 0x18]
fmul dword [eax + 8]
faddp st(1)
fadd dword [edi + 0x1c]
fstp dword [esp + 0x34]
fld dword [eax + 4]
fmul dword [edi + 0x24]
fld dword [edi + 0x20]
fmul dword [eax]
mov ecx, dword [ebp + 0xc]
faddp st(1)
fld dword [edi + 0x28]
fmul dword [eax + 8]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xe4]
faddp st(1)
push eax
fadd dword [edi + 0x2c]
fstp dword [esp + 0x40]
fld dword [esi + 4]
fmul dword [esp + 0x6c]
fld dword [esi]
fmul dword [esp + 0x68]
faddp st(1)
fld dword [esi + 8]
fmul dword [esp + 0x70]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [esi + 4]
fmul dword [esp + 0x7c]
fld dword [esp + 0x78]
fmul dword [esi]
faddp st(1)
fld dword [esi + 8]
fmul dword [esp + 0x80]
faddp st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x88]
fmul dword [esi]
fld dword [esi + 4]
fmul dword [esp + 0x8c]
faddp st(1)
fld dword [esi + 8]
fmul dword [esp + 0x90]
faddp st(1)
fstp dword [esp + 0x58]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
call edx
mov ecx, dword [ebp + 0x1f8]
mov edx, dword [eax]
lea ecx, [ecx + ecx*2]
mov dword [ebp + ecx*4 + 0x50], edx
mov edx, dword [eax + 4]
mov dword [ebp + ecx*4 + 0x54], edx
mov eax, dword [eax + 8]
mov dword [ebp + ecx*4 + 0x58], eax
fld dword [ebx]
mov eax, dword [ebp + 0x1f8]
lea ecx, [ebp + ecx*4 + 0x50]
lea ecx, [eax + eax*2]
fmul dword [ebp + ecx*4 + 0x50]
lea eax, [ebp + ecx*4 + 0x50]
fld dword [eax + 4]
fmul dword [ebx + 4]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [ebx + 0xc]
fstp dword [esp + 0x24]
fld dword [ebx + 0x14]
fmul dword [eax + 4]
fld dword [ebx + 0x10]
fmul dword [eax]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebx + 0x18]
faddp st(1)
fadd dword [ebx + 0x1c]
fstp dword [esp + 0x28]
fld dword [ebx + 0x20]
fmul dword [eax]
fld dword [eax + 4]
fmul dword [ebx + 0x24]
faddp st(1)
fld dword [ebx + 0x28]
fmul dword [eax + 8]
faddp st(1)
fadd dword [ebx + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fsub dword [esp + 0x24]
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
fsub dword [esp + 0x28]
fstp dword [esp + 0x1c]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [esi + 4]
fmul dword [esp + 0x1c]
fld dword [esi]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esi + 8]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fdiv dword [ebp + 0x1c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x515073
fstp st(0)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x515075
fstp st(1)
fld dword [esp + 0x104]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x5151c2
fsubr dword [ebp + 0x1c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [ebp + 0x1c]
fmul dword [0x97a790]
fcompp
fnstsw ax
test ah, 1
je 0x5151bf
add dword [0xab32f4], 1
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.00514ae0
test al, al
jne 0x5151b8
cmp dword [0xab32f4], 0x64
jg 0x5151b8
mov eax, dword [ebp + 0x1f8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
mov dword [ebp + eax*4 + 0x80], ecx
mov ecx, dword [esp + 0x20]
lea eax, [ebp + eax*4 + 0x80]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0xb0]
or edx, dword [ebp + 0x1fc]
push esi
mov ecx, ebp
mov dword [ebp + 0xb4], edx
call fcn.00514a30
test al, al
je 0x5151b8
fld dword [esi + 4]
fmul st(0), st(0)
fld dword [esi]
fmul st(0), st(0)
faddp st(1)
fld dword [esi + 8]
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.0074c5a0
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov ecx, 0xf
cmp dword [ebp + 0xb0], ecx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [ebp + 0x1c]
jge 0x51517c
fld dword [0x97a794]
fcompp
fnstsw ax
test ah, 5
jp 0x51517e
xor eax, eax
jmp 0x514db5
fstp st(0)
cmp dword [ebp + 0xb0], ecx
jne 0x5151bf
fldz
fcom dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x5151a6
pop edi
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 0x14
pop edi
fstp st(0)
fld dword [ebp + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 0x14
add dword [0xab32f8], 1
fld dword [ebp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 0x14