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

Disassembly:
sub esp, 0x29c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov eax, dword [0x65b4d8]
test eax, eax
je 0x5fee9b
mov ecx, 2
mov dword [0x64c27c], ecx
fld dword [0x6be118]
fst dword [esp + 0x22c]
fst dword [esp + 0x230]
fst dword [esp + 0x234]
fstp dword [esp + 0x238]
mov edx, 0
mov dword [esp + 0x20c], edx
mov eax, dword [0x65b4c8]
sar eax, 0x1f
shr eax, 0x1f
add eax, dword [0x65b4c8]
mov ebp, eax
sar ebp, 1
test ebp, ebp
jle 0x5fec48
mov ecx, 1
lea edx, [0x658098]
mov eax, dword [esp + 0x2a8]
mov dword [esp + 0x254], eax
mov ebx, dword [esp + 0x2a0]
mov dword [esp + 0x224], ebx
mov esi, dword [esp + 0x2a4]
mov dword [esp + 0x228], esi
mov eax, ecx
mov dword [esp + 0x214], eax
mov ecx, ebp
mov dword [esp + 0x258], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, 1
mov dword [esp + 0x218], edx
mov eax, 2
mov dword [esp + 0x250], eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x20c]
inc ecx
mov dword [esp + 0x20c], ecx
mov edx, dword [0x65b4c8]
mov dword [esp + 0x210], edx
test edx, edx
jle 0x5fe8dc
fld dword [0x6be118]
mov eax, dword [esp + 0x210]
mov esi, eax
mov ecx, dword [esp + 0x214]
mov ebx, ecx
add ebx, ebx
mov edx, dword [esp + 0x218]
mov dword [esp + 0x21c], edx
mov eax, 1
mov ebp, eax
mov edi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
fst dword [ebp*4 + 0x65988c]
mov ecx, ebp
inc ebp
mov edx, ebp
sar edx, 0x1f
shr edx, 0x1f
add edx, ebp
sar edx, 1
fld dword [edx*4 + 0x658a7c]
mov eax, ecx
dec eax
imul eax, esi
add eax, ebx
add eax, dword [esp + 0x21c]
mov edx, dword [esp + 0x254]
fmul dword [edx + eax*4 - 0xc]
fstp dword [ecx*4 + 0x658f2c]
dec edi
jg 0x5fe898
fstp st(0)
fld dword [0x6be19c]
mov eax, dword [esp + 0x20c]
fstp dword [eax*4 + 0x65988c]
fld dword [0x6be118]
fst dword [eax*4 + 0x65a1ec]
fstp dword [eax*4 + 0x65ab4c]
mov ecx, 1
mov dword [esp + 0x200], ecx
mov ebp, dword [0x65b4cc]
test ebp, ebp
jle 0x5feb6a
mov edx, dword [esp + 0x20c]
mov edi, edx
nop
mov eax, dword [esp + 0x200]
mov dword [esp + 0x204], eax
inc eax
mov dword [esp + 0x208], eax
mov ecx, dword [0x65b4c4]
cmp ecx, eax
jge 0x5fe958
mov edx, 1
mov dword [esp + 0x208], edx
mov eax, 0
mov dword [esp + 0x220], eax
mov esi, dword [esp + 0x224]
mov dword [esp], esi
mov ebx, dword [esp + 0x228]
mov dword [esp + 4], ebx
lea ecx, [0x658098]
mov dword [esp + 8], ecx
lea edx, [0x65809c]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x200]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x204]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x208]
mov dword [esp + 0x18], eax
mov dword [esp + 0x6c], esi
lea esi, [esp + 0x220]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
call fcn.005fa948
mov eax, dword [esp + 0x204]
mov ecx, dword [esp + 0x208]
add eax, eax
mov edx, eax
dec edx
add ecx, ecx
mov dword [esp + 0x7c], ebx
mov ebx, ecx
dec ebx
fld dword [edx*4 + 0x658f2c]
fmul dword [0x64c108]
fadd dword [edi*4 + 0x65a1ec]
fld dword [eax*4 + 0x658f2c]
fmul dword [0x64c10c]
faddp st(1)
fld dword [ebx*4 + 0x658f2c]
fmul dword [0x64c128]
faddp st(1)
fld dword [ecx*4 + 0x658f2c]
fmul dword [0x64c12c]
faddp st(1)
fld dword [0x64c100]
fmul dword [edx*4 + 0x65988c]
fld dword [0x64c104]
fmul dword [eax*4 + 0x65988c]
faddp st(1)
fld dword [0x64c120]
fmul dword [ebx*4 + 0x65988c]
faddp st(1)
fld dword [0x64c124]
fmul dword [ecx*4 + 0x65988c]
faddp st(1)
fsubp st(1)
fstp dword [edi*4 + 0x65a1ec]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
lea ecx, [0x6580a0]
mov dword [esp + 8], ecx
lea ecx, [0x6580a4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
call fcn.005fa948
mov edx, dword [esp + 0x70]
fld dword [edx*4 + 0x658f2c]
fmul dword [0x64c118]
fadd dword [edi*4 + 0x65ab4c]
mov eax, dword [esp + 0x6c]
fld dword [eax*4 + 0x658f2c]
fmul dword [0x64c11c]
faddp st(1)
fld dword [ebx*4 + 0x658f2c]
fmul dword [0x64c138]
faddp st(1)
mov ecx, dword [esp + 0x80]
fld dword [ecx*4 + 0x658f2c]
fmul dword [0x64c13c]
faddp st(1)
fld dword [0x64c110]
fmul dword [edx*4 + 0x65988c]
fld dword [0x64c114]
fmul dword [eax*4 + 0x65988c]
faddp st(1)
fld dword [0x64c130]
fmul dword [ebx*4 + 0x65988c]
faddp st(1)
fld dword [0x64c134]
fmul dword [ecx*4 + 0x65988c]
faddp st(1)
fsubp st(1)
fstp dword [edi*4 + 0x65ab4c]
mov edx, dword [esp + 0x200]
inc edx
mov dword [esp + 0x200], edx
dec ebp
jg 0x5fe928
mov ebp, dword [esp + 0x218]
cmp ebp, 1
jne 0x5feb96
mov eax, dword [esp + 0x20c]
fld dword [eax*4 + 0x65a1ec]
fadd dword [esp + 0x22c]
fstp dword [esp + 0x22c]
cmp ebp, 1
jne 0x5febbb
mov ecx, dword [esp + 0x20c]
fld dword [ecx*4 + 0x65ab4c]
fadd dword [esp + 0x230]
fstp dword [esp + 0x230]
cmp ebp, 2
jne 0x5febe0
mov edx, dword [esp + 0x20c]
fld dword [edx*4 + 0x65a1ec]
fadd dword [esp + 0x234]
fstp dword [esp + 0x234]
cmp ebp, 2
jne 0x5fec05
mov eax, dword [esp + 0x20c]
fld dword [eax*4 + 0x65ab4c]
fadd dword [esp + 0x238]
fstp dword [esp + 0x238]
mov ecx, ebp
inc ecx
mov dword [esp + 0x218], ecx
mov edx, dword [esp + 0x250]
dec edx
mov dword [esp + 0x250], edx
jg 0x5fe838
mov eax, dword [esp + 0x214]
inc eax
mov dword [esp + 0x214], eax
mov ecx, dword [esp + 0x258]
dec ecx
mov dword [esp + 0x258], ecx
jg 0x5fe818
mov ebx, 1
mov esi, dword [0x65b4c8]
test esi, esi
jle 0x5fec7c
fld dword [0x6be118]
mov ebp, ebx
mov edi, esi
nop
nop
nop
fst dword [ebp*4 + 0x65988c]
fst dword [ebp*4 + 0x658f2c]
inc ebp
dec edi
jg 0x5fec68
fstp st(0)
fld dword [esp + 0x22c]
fadd dword [0x6be398]
fld dword [esp + 0x238]
fadd dword [0x6be398]
fmulp st(1)
fld dword [esp + 0x230]
fmul dword [esp + 0x234]
fsubp st(1)
fstp dword [esp + 0x25c]
test esi, esi
jle 0x5fed46
fld dword [esp + 0x238]
fadd dword [0x6be398]
fld dword [esp + 0x234]
fld dword [esp + 0x25c]
fld dword [esp + 0x22c]
fadd dword [0x6be398]
fld dword [esp + 0x230]
mov ebp, ebx
mov edi, esi
fxch st(4)
fxch st(1)
fxch st(3)
fxch st(2)
nop
nop
nop
nop
nop
nop
fld st(1)
fmul dword [ebp*4 + 0x65a1ec]
fchs
fld st(3)
fmul dword [ebp*4 + 0x65ab4c]
faddp st(1)
fdiv st(1)
fld st(4)
fmul dword [ebp*4 + 0x65ab4c]
fchs
fld st(6)
fmul dword [ebp*4 + 0x65a1ec]
faddp st(1)
fdiv st(2)
fxch st(1)
fstp dword [ebp*4 + 0x65a1ec]
fstp dword [ebp*4 + 0x65ab4c]
inc ebp
dec edi
jg 0x5fecf8
fstp st(1)
fstp st(1)
fstp st(0)
fstp st(0)
fstp st(0)
test esi, esi
jle 0x5fee9b
mov edx, esi
mov dword [esp + 0x248], edx
fld dword [0x6be118]
mov eax, edx
sar eax, 0x1f
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [esp + 0x244], eax
mov ecx, dword [esp + 0x2a8]
mov dword [esp + 0x24c], ecx
mov dword [esp + 0x260], edx
mov ebx, 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
fst dword [esp + 0x23c]
fst dword [esp + 0x240]
mov eax, 1
mov dword [esp + 0x208], eax
mov ecx, dword [esp + 0x244]
test ecx, ecx
jle 0x5fee1a
mov esi, ebx
fld dword [esp + 0x23c]
mov edx, 1
mov ebp, edx
fld dword [esp + 0x240]
mov eax, dword [esp + 0x244]
mov edi, eax
fxch st(1)
nop
nop
nop
nop
nop
mov ecx, ebp
add ecx, ecx
add ecx, esi
mov edx, dword [esp + 0x24c]
fadd dword [edx + ecx*4 - 8]
fxch st(1)
fadd dword [edx + ecx*4 - 4]
fxch st(1)
inc ebp
dec edi
jg 0x5fede8
fstp dword [esp + 0x23c]
mov dword [esp + 0x208], ebp
fstp dword [esp + 0x240]
mov eax, dword [esp + 0x248]
test eax, eax
jle 0x5fee7d
mov ecx, ebx
fld dword [esp + 0x240]
fld dword [esp + 0x23c]
mov edx, 1
mov ebp, edx
mov eax, dword [esp + 0x248]
mov esi, eax
add ecx, ebp
shl ecx, 2
mov edi, ecx
add edi, dword [esp + 0x24c]
nop
fld st(0)
fmul dword [ebp*4 + 0x65a1ec]
fadd dword [edi - 4]
fld st(2)
fmul dword [ebp*4 + 0x65ab4c]
faddp st(1)
fstp dword [edi - 4]
inc ebp
add edi, 4
dec esi
jg 0x5fee58
fstp st(0)
fstp st(0)
add ebx, dword [esp + 0x248]
mov ecx, dword [esp + 0x260]
dec ecx
mov dword [esp + 0x260], ecx
jg 0x5fed98
fstp st(0)
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
add esp, 0x29c
ret