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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
mov ebp, ecx
imul ebp, dword [esp + 0x70]
push esi
lea esi, [ebp + ebp]
push edi
mov dword [esp + 0x2c], ebp
mov edi, ebp
mov dword [esp + 0x18], esi
xor esi, esi
cmp ebx, 4
lea ebp, [ebp + ebp*2]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x30], esi
jl 0x657de9
add ebx, 0xfffffffc
shr ebx, 2
inc ebx
mov dword [esp + 0x38], ebx
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x30], ebx
lea ebx, [ebx]
fld dword [eax + edi*4]
mov ebx, dword [esp + 0x18]
fadd dword [eax + ebp*4]
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
lea ebp, [ebx + ecx*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x18]
fld dword [eax + edi*4]
add ebx, ecx
fadd dword [eax + ebp*4]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
lea ebp, [ebx + ecx*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x18]
fld dword [eax + edi*4]
add ebx, ecx
fadd dword [eax + ebp*4]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
lea ebp, [ebx + ecx*4]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x18]
fld dword [eax + edi*4]
add ebx, ecx
fadd dword [eax + ebp*4]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
lea ebp, [ebx + ecx*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add dword [esp + 0x18], ecx
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
sub dword [esp + 0x38], 1
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
jne 0x657c10
mov ebx, dword [esp + 0x78]
cmp dword [esp + 0x30], ebx
jge 0x657ea3
mov ebx, dword [esp + 0x10]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x18]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x78]
sub ebx, dword [esp + 0x30]
lea edi, [eax + edi*4]
lea ebp, [ecx*4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ebx
fld dword [edi]
mov edi, dword [esp + 0x34]
fadd dword [edi]
mov edi, dword [esp + 0x28]
lea ebx, [esi*4]
fstp dword [esp + 0x14]
fld dword [edi]
lea edi, [ebx + ebp]
fadd dword [eax + esi*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [edx + edi*4 - 4]
lea edi, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, edi
mov edi, dword [esp + 0x28]
fsub dword [edi]
mov edi, dword [esp + 0x34]
add dword [esp + 0x34], ebp
add dword [esp + 0x28], ebp
fstp dword [edx + ebx*4 - 4]
add esi, ecx
fld dword [edi]
mov edi, dword [esp + 0x38]
fsub dword [edi]
add edi, ebp
sub dword [esp + 0x30], 1
mov dword [esp + 0x38], edi
fstp dword [edx + ebx*4]
jne 0x657e23
mov ebx, dword [esp + 0x78]
cmp ecx, 2
jl 0x6584d1
je 0x658185
xor edi, edi
mov dword [esp + 0x58], edi
test ebx, ebx
jle 0x65817c
mov esi, dword [esp + 0x2c]
mov ebx, ecx
add esi, esi
shl ebx, 4
add esi, esi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x5c], esi
cmp ecx, 2
lea ebp, [ecx + ecx]
lea esi, [ebp + edi*4]
jle 0x65815c
mov ebx, dword [esp + 0x2c]
add ebx, edi
mov dword [esp + 0x3c], ebx
lea ebx, [edx + esi*4]
mov dword [esp + 0x28], ebx
lea ebx, [eax + edi*4]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x2c]
lea ebx, [edi + ebx*2]
lea edi, [ebp + edi*4]
lea edi, [edx + edi*4]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x80]
add esi, ebp
mov ebp, dword [esp + 0x7c]
sub edi, ebp
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x84]
sub edi, ebp
lea esi, [edx + esi*4]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x80]
sub edi, dword [esp + 0x84]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x7c]
lea edi, [ecx - 3]
shr edi, 1
add esi, 4
inc edi
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x34]
jmp 0x657f94
mov ebx, dword [esp + 0x60]
fld dword [esi]
mov ebp, 8
add ebx, ebp
fmul dword [ebx + eax]
add dword [esp + 0x30], ebp
fld dword [ebx + eax - 4]
add dword [esp + 0x24], ebp
fmul dword [esi - 4]
sub dword [esp + 0x28], ebp
sub dword [esp + 0x18], ebp
add edi, ebp
faddp st(1)
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x2c]
fstp dword [esp + 0x20]
add edi, edi
fld dword [ebx + eax]
add dword [esp + 0x3c], 2
fmul dword [esi - 4]
add dword [esp + 0x40], 2
fld dword [esi]
add edi, edi
fmul dword [ebx + eax - 4]
add edi, ebx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x50]
fsubp st(1)
fstp dword [esp + 0x64]
fld dword [ebx + ebp]
mov ebp, dword [esp + 0x48]
fmul dword [edi + eax - 4]
fld dword [esi + ebp]
mov ebp, dword [esp + 0x44]
fmul dword [edi + eax]
faddp st(1)
fstp dword [esp + 0x6c]
fld dword [ebx + ebp]
mov ebp, dword [esp + 0x48]
fmul dword [edi + eax]
fld dword [edi + eax - 4]
fmul dword [esi + ebp]
mov ebp, dword [esp + 0x2c]
add ebp, ebp
add ebp, ebp
fsubp st(1)
add edi, ebp
lea ebp, [edi + eax - 4]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x4c]
fstp dword [esp + 0x68]
fld dword [esi + ebp]
mov ebp, dword [esp + 0x50]
fmul dword [edi + eax]
fld dword [ebp]
fmul dword [ebx]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [ebx]
fmul dword [edi + eax]
mov edi, dword [esp + 0x4c]
fld dword [ebp]
fmul dword [esi + edi]
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x64]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fsubrp st(1)
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
add ebx, 8
fstp dword [esp + 0x64]
add esi, 8
sub dword [esp + 0x54], 1
fld dword [edi]
fld dword [esp + 0x68]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fsubr dword [edi]
fstp dword [esp + 0x34]
fld dword [edi - 4]
fld dword [esp + 0x6c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fsubr dword [edi - 4]
fstp dword [esp + 0x6c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 4]
fld dword [esp + 0x68]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp]
mov ebp, dword [esp + 0x28]
fld dword [esp + 0x6c]
fld st(0)
fld dword [esp + 0x64]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 4]
fld dword [esp + 0x50]
fsub dword [esp + 0x34]
fstp dword [ebp]
mov ebp, dword [esp + 0x24]
faddp st(1)
fstp dword [ebp - 4]
fld dword [esp + 0x34]
fadd dword [esp + 0x50]
mov dword [esp + 0x50], ebx
fstp dword [ebp]
mov ebp, dword [esp + 0x18]
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp - 4]
fsubp st(1)
fstp dword [ebp]
jne 0x657f90
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
add dword [esp + 0x10], ebx
lea esi, [ecx*4]
add dword [esp + 0x38], esi
add edi, ecx
sub dword [esp + 0x5c], 1
mov dword [esp + 0x58], edi
jne 0x657ee1
test cl, 1
jne 0x6584d1
cmp dword [esp + 0x78], 4
fld qword [0x6b9e30]
mov edi, dword [esp + 0x2c]
fld qword [0x6b9e28]
lea esi, [edi + ecx - 1]
lea edi, [esi + edi*2]
mov dword [esp + 0x10], edi
lea ebp, [ecx*4]
mov edi, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], 0
jl 0x658418
lea ebx, [ebp*4]
lea ebp, [ecx + ecx*2]
lea ebp, [edx + ebp*4]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x2c]
add ebp, esi
lea ebp, [eax + ebp*4]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebx
lea ebx, [ecx*4]
lea ebp, [ebx + eax - 4]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x78]
add ebp, 0xfffffffc
shr ebp, 2
inc ebp
mov dword [esp + 0x5c], ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0x30], ebp
fld dword [eax + esi*4]
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
add dword [esp + 0x10], ecx
add dword [esp + 0x28], ecx
add dword [esp + 0x28], ecx
fmul st(2)
fstp dword [esp + 0x20]
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [ebp]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + edi*4 - 4]
fsubr dword [ebp]
mov ebp, dword [esp + 0x18]
fstp dword [ebp - 4]
mov ebp, dword [esp + 0x1c]
fld dword [esp + 0x20]
add dword [esp + 0x1c], ebx
fld st(0)
lea ebx, [ecx*4]
fsub dword [ebp]
fstp dword [edx + edi*4]
add edi, ebx
mov ebx, dword [esp + 0x34]
fadd dword [ebp]
mov ebp, dword [esp + 0x18]
add dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
fstp dword [ebp]
lea ebp, [ecx*4]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
mov dword [esp + 0x24], ebx
add dword [esp + 0x10], ecx
fmul st(2)
fstp dword [esp + 0x20]
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [ebx]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + edi*4 - 4]
fsubr dword [ebx]
mov ebx, dword [esp + 0x1c]
fstp dword [ebp - 4]
fld dword [esp + 0x20]
fld st(0)
fsub dword [ebx]
fstp dword [edx + edi*4]
fadd dword [ebx]
fstp dword [ebp]
lea ebp, [ecx*4]
fld dword [eax + esi*4]
add ebx, ebp
mov dword [esp + 0x1c], ebx
lea ebx, [ecx*4]
add edi, ebx
mov ebx, dword [esp + 0x34]
add dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
mov dword [esp + 0x24], ebx
fmul st(2)
add dword [esp + 0x10], ecx
add dword [esp + 0x28], ecx
add dword [esp + 0x28], ecx
fstp dword [esp + 0x20]
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [ebx]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + edi*4 - 4]
fsubr dword [ebx]
mov ebx, dword [esp + 0x1c]
fstp dword [ebp - 4]
fld dword [esp + 0x20]
fld st(0)
fsub dword [ebx]
fstp dword [edx + edi*4]
fadd dword [ebx]
fstp dword [ebp]
lea ebp, [ecx*4]
fld dword [eax + esi*4]
add ebx, ebp
mov dword [esp + 0x1c], ebx
lea ebx, [ecx*4]
add edi, ebx
mov ebx, dword [esp + 0x34]
add dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fadd dword [eax + ebp*4]
mov dword [esp + 0x24], ebx
add dword [esp + 0x10], ecx
fmul st(2)
fstp dword [esp + 0x20]
fld dword [eax + esi*4]
add esi, ecx
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [ebx]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx + edi*4 - 4]
fsubr dword [ebx]
mov ebx, dword [esp + 0x1c]
fstp dword [ebp - 4]
fld dword [esp + 0x20]
fld st(0)
fsub dword [ebx]
fstp dword [edx + edi*4]
fadd dword [ebx]
fstp dword [ebp]
lea ebp, [ecx*4]
add ebx, ebp
mov dword [esp + 0x1c], ebx
lea ebx, [ecx*4]
add edi, ebx
mov ebx, dword [esp + 0x34]
add dword [esp + 0x18], ebx
lea ebx, [ecx*4]
add dword [esp + 0x24], ebx
sub dword [esp + 0x5c], 1
jne 0x658208
mov ebx, dword [esp + 0x78]
cmp dword [esp + 0x30], ebx
jge 0x6584cd
lea ebx, [ecx*4]
add ebx, ebx
add ebx, ebx
lea ebp, [ecx*4]
lea ecx, [edi + ecx*2]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x10]
lea ecx, [edx + ecx*4]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
lea ebx, [eax + esi*4]
add esi, ecx
lea ecx, [eax + esi*4]
mov esi, dword [esp + 0x28]
lea eax, [eax + esi*4 - 4]
mov esi, dword [esp + 0x78]
sub esi, dword [esp + 0x30]
lea edx, [edx + edi*4]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x78], esi
fld dword [ebx]
mov esi, dword [esp + 0x38]
fadd dword [esi]
fmul st(2)
fstp dword [esp + 0x20]
fld dword [ebx]
add ebx, ebp
fsub dword [esi]
add esi, ebp
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [eax]
fld dword [esp + 0x14]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [edx - 4]
fsubr dword [eax]
add eax, ebp
fstp dword [edi - 4]
fld dword [esp + 0x20]
fld st(0)
fsub dword [ecx]
fstp dword [edx]
add edx, esi
fadd dword [ecx]
add ecx, ebp
fstp dword [edi]
add edi, esi
sub dword [esp + 0x78], 1
jne 0x658478
fstp st(1)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret