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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x30], ebp
mov eax, dword [ebp + 0x29c]
dec eax
js 0x5fbeac
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
inc eax
mov dword [esp + 0x68], eax
lea esi, [ebp + edx*4 + 0x2c]
lea ebp, [esi - 0x28]
lea ecx, [edi + 0x20]
push ebp
call fcn.0053e600
fadd dword [edi + 0x38]
push ebp
lea ecx, [edi + 0x10]
fstp dword [esp + 0x70]
call fcn.0053e600
fadd dword [edi + 0x34]
push ebp
mov ecx, edi
fstp dword [esp + 0x14]
call fcn.0053e600
fadd dword [edi + 0x30]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
fstp dword [esp + 0x20]
lea ecx, [esp + 0x40]
call fcn.0053e5d0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
lea eax, [esi + 8]
lea ebp, [esi - 0x18]
push ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [ebx + 0x20]
mov dword [eax + 0xc], edx
call fcn.0053e600
fadd dword [ebx + 0x38]
push ebp
lea ecx, [ebx + 0x10]
fstp dword [esp + 0x1c]
call fcn.0053e600
fadd dword [ebx + 0x34]
push ebp
mov ecx, ebx
fstp dword [esp + 0x20]
call fcn.0053e600
fadd dword [ebx + 0x30]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x50]
call fcn.0053e5d0
mov edx, dword [esp + 0x44]
lea eax, [esi - 8]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0x28]
fld dword [esi + 0x10]
fsub dword [esi]
lea edx, [esp + 0x2c]
fstp dword [esp + 0x24]
fld dword [esi + 0xc]
fsub dword [esi - 4]
fstp dword [esp + 0x28]
fld dword [esi + 8]
fsub dword [eax]
lea eax, [esp + 0x24]
push eax
push ecx
fstp dword [esp + 0x34]
push edx
lea ecx, [esp + 0x60]
call fcn.0053e5d0
fld dword [esp + 0x5c]
fmul dword [esi + 0x20]
fld dword [esp + 0x58]
fmul dword [esi + 0x1c]
mov edx, dword [esi + 0x58]
mov eax, dword [esp + 0x68]
inc edx
sub esi, 0xa4
faddp st(1)
fld dword [esp + 0x54]
fmul dword [esi + 0xbc]
mov dword [esi + 0xfc], edx
dec eax
mov dword [esp + 0x68], eax
faddp st(1)
fstp dword [esi + 0xcc]
jne 0x5fbd61
mov ebp, dword [esp + 0x30]
mov esi, dword [ebp + 0x29c]
dec esi
mov dword [esp + 0x68], esi
js 0x5fc03f
lea eax, [esi + esi*4]
lea ecx, [esi + eax*8]
lea ebx, [ebp + ecx*4 + 0x48]
fld dword [ebp + 0x2a0]
fcomp dword [ebx + 0xc]
fnstsw ax
test ah, 1
je 0x5fbf2a
lea edi, [ebx - 0x44]
mov ecx, ebp
push edi
call fcn.005fb840
mov eax, dword [ebp + 0x29c]
dec eax
cmp esi, eax
je 0x5fbf1f
lea edx, [eax + eax*4]
mov ecx, 0x29
lea eax, [eax + edx*8]
lea eax, [ebp + eax*4]
lea esi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x68]
xor ecx, ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov byte [eax + 0x78], cl
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], ecx
dec dword [ebp + 0x29c]
jmp 0x5fc02c
fld dword [ebx + 4]
fmul dword [ebx + 0xc]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
fstp dword [esp + 0x74]
fld dword [ebx]
fmul dword [ebx + 0xc]
lea ecx, [esp + 0x60]
fstp dword [esp + 0x78]
fld dword [ebx - 4]
fmul dword [ebx + 0xc]
fstp dword [esp + 0x3c]
call fcn.0053e5d0
fld dword [ebx - 0xc]
fsub dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
fstp dword [esp + 0x38]
fld dword [ebx - 0x10]
fsub dword [esp + 0x64]
lea ecx, [esp + 0x50]
fstp dword [esp + 0x34]
fld dword [ebx - 0x14]
fsub dword [esp + 0x60]
fstp dword [esp + 0x30]
call fcn.0053e5d0
fld dword [ebx - 0x1c]
fsub dword [esp + 0x4c]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
fstp dword [esp + 0x74]
fld dword [ebx - 0x20]
fsub dword [esp + 0x54]
lea ecx, [esp + 0x40]
fstp dword [esp + 0x78]
fld dword [ebx - 0x24]
fsub dword [esp + 0x50]
fstp dword [esp + 0x3c]
call fcn.0053e5d0
fld dword [ebp + 0x2a0]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
faddp st(1)
fld st(1)
fmul st(2)
fcompp
fnstsw ax
test ah, 1
fstp st(0)
je 0x5fc00c
push esi
mov ecx, ebp
call fcn.005fc150
jmp 0x5fc02c
mov eax, dword [0xa85618]
test eax, eax
je 0x5fc02c
mov ecx, dword [ebp + 0x298]
mov edx, dword [ebp + 0x294]
push ecx
lea ecx, [ebx - 0x44]
push edx
push ecx
call eax
add esp, 0xc
dec esi
sub ebx, 0xa4
test esi, esi
mov dword [esp + 0x68], esi
jge 0x5fbec7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8