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

Disassembly:
sub esp, 0x88
mov eax, dword [ecx + 0x11c]
mov edx, dword [esp + 0x8c]
mov eax, dword [eax + edx*4]
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x11c]
mov eax, dword [eax + edx*4]
mov ecx, dword [ecx + 0x11c]
mov dword [esp + 0x40], esi
mov esi, dword [eax + 0x14]
mov dword [esp + 0x4c], esi
fld dword [esp + 0x4c]
fsub dword [esp + 0x40]
mov dword [esp + 0x3c], edi
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
fstp dword [esp + 8]
mov dword [esp + 0x48], edi
fld dword [esp + 0x48]
mov dword [esp + 0x44], eax
fsub dword [esp + 0x3c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
fstp dword [esp + 0xc]
mov eax, dword [eax + 0x18]
fld dword [esp + 0x44]
mov dword [esp + 0x58], ecx
fsub dword [esp + 0x38]
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
fld dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
fsub dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
fstp dword [esp + 8]
fld dword [esp + 0x54]
mov ecx, dword [esp + 8]
fsub dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0xc]
fld dword [esp + 0x50]
mov eax, dword [esp + 0xc]
fsub dword [esp + 0x38]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld dword [esp + 0x30]
mov dword [esp + 0x28], edx
fmul dword [esp + 0x14]
fld dword [esp + 0x2c]
fmul dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
fld dword [esp + 0x30]
fmul dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x2c]
fmul dword [esp + 0x10]
mov dword [esp + 0x10], eax
fld dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
call fcn.00540bf1
fld dword [esp + 0x14]
fmul dword [esp + 0x3c]
mov ecx, dword [esp + 0x9c]
fld dword [esp + 0x18]
mov eax, 0x80000000
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0x18]
fmul dword [ecx + 8]
fld dword [esp + 0x14]
fmul dword [ecx + 4]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [ecx]
faddp st(1)
fstp dword [esp + 8]
test dword [esp + 8], eax
je 0x5db7ce
mov edx, dword [esp + 0x98]
fld dword [esp + 0x10]
fmul dword [edx]
fld dword [esp + 0x18]
fmul dword [edx + 8]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [edx + 4]
faddp st(1)
fsubr dword [esp + 0xc]
fdiv dword [esp + 8]
fstp dword [esp + 8]
test dword [esp + 8], eax
jne 0x5db7ce
mov eax, dword [esp + 0xa0]
fld dword [esp + 8]
fcomp dword [eax]
fnstsw ax
test ah, 1
je 0x5db7ce
fld dword [esp + 8]
push 0x4a9aa2
fmul dword [ecx + 8]
push 3
push 0xc
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [ecx + 4]
fstp dword [esp + 0x40]
fld dword [esp + 0x14]
fmul dword [ecx]
lea ecx, [esp + 0x78]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fadd dword [edx + 8]
fstp dword [esp + 0x6c]
fld dword [esp + 0x44]
fadd dword [edx + 4]
fstp dword [esp + 0x44]
fld dword [esp + 0x2c]
fadd dword [edx]
fstp dword [esp + 0x70]
call fcn.00401000
xor edi, edi
xor esi, esi
lea ecx, [ecx]
inc edi
mov eax, edi
cdq
mov ecx, 3
idiv ecx
lea eax, [edx + edx*2]
fld dword [esp + eax*4 + 0x40]
lea eax, [esp + eax*4 + 0x38]
fsub dword [esp + esi + 0x40]
fstp dword [esp + 8]
fld dword [eax + 4]
fsub dword [esp + esi + 0x3c]
fstp dword [esp + 0xc]
fld dword [eax]
lea eax, [esp + esi + 0x6c]
fsub dword [esp + esi + 0x38]
mov edx, eax
push eax
push eax
fstp dword [esp + 0x30]
fld dword [esp + 0x20]
fmul dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x10]
mov dword [edx], ecx
fmul dword [esp + 0x18]
fld dword [esp + 0x20]
fmul dword [esp + 0x30]
fsubp st(1)
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x1c]
mov dword [edx + 4], ecx
fmul dword [esp + 0x30]
fld dword [esp + 0x14]
fmul dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], ecx
call fcn.00540bf1
add esi, 0xc
cmp esi, 0x24
jl 0x5db6e0
xor ecx, ecx
fld dword [esp + 0x34]
fsub dword [esp + ecx + 0x3c]
fmul dword [esp + ecx + 0x70]
fld dword [esp + 0x5c]
fsub dword [esp + ecx + 0x40]
fmul dword [esp + ecx + 0x74]
faddp st(1)
fld dword [esp + 0x60]
fsub dword [esp + ecx + 0x38]
fmul dword [esp + ecx + 0x6c]
faddp st(1)
fcomp dword [0x6f3614]
fnstsw ax
test ah, 0x41
je 0x5db7ce
add ecx, 0xc
cmp ecx, 0x24
jl 0x5db784
pop edi
mov al, 1
pop esi
add esp, 0x88
ret 0x10
pop edi
xor al, al
pop esi
add esp, 0x88
ret 0x10