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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x88
cmp dx, 1
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
push edi
jne 0x562e3a
test cx, cx
jbe 0x563130
movzx ecx, cx
lea edx, [ecx + ecx*2]
lea ebp, [ebx + edx*8]
mov edx, ecx
shl edx, 4
mov dword [esp + 0x10], 0
mov esi, ebx
lea edi, [ebx + ecx*8]
add edx, ebx
mov dword [esp + 0x18], ecx
lea esp, [esp]
movzx ecx, word [esp + 0x10]
lea ebx, [eax + ecx*8 + 0x1c]
add dword [esp + 0x10], 4
fld dword [eax + ecx*8]
add esi, 8
fadd dword [eax + ecx*8 + 0x10]
add edx, 8
add edi, 8
add ebp, 8
sub dword [esp + 0x18], 1
fstp dword [esp + 0x54]
fld dword [eax + ecx*8]
fsub dword [eax + ecx*8 + 0x10]
fstp dword [esp + 0x1c]
fld dword [eax + ecx*8 + 0x14]
fadd dword [eax + ecx*8 + 4]
fstp dword [esp + 0x58]
fld dword [eax + ecx*8 + 4]
fsub dword [eax + ecx*8 + 0x14]
fstp dword [esp + 0x20]
fld dword [eax + ecx*8 + 0x18]
fadd dword [eax + ecx*8 + 8]
fstp dword [esp + 0x48]
fld dword [eax + ecx*8 + 8]
fsub dword [eax + ecx*8 + 0x18]
lea ecx, [eax + ecx*8 + 0xc]
fstp dword [esp + 0x44]
fld dword [ebx]
fadd dword [ecx]
fstp dword [esp + 0x4c]
fld dword [ebx]
fsub dword [ecx]
fstp dword [esp + 0x40]
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x54]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esi - 8]
fsubrp st(1)
fstp dword [edx - 8]
fld dword [esp + 0x4c]
fld st(0)
fld dword [esp + 0x58]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esi - 4]
fsubrp st(1)
fstp dword [edx - 4]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x40]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [edi - 8]
faddp st(1)
fstp dword [ebp - 8]
fld dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x44]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [edi - 4]
faddp st(1)
fstp dword [ebp - 4]
jne 0x562d50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
xor esi, esi
cmp cx, si
jbe 0x563130
movzx ebp, cx
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ebp
jmp 0x562e60
test dx, dx
jbe 0x563116
mov ecx, dword [esp + 0xac]
movzx esi, word [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xa8]
add ecx, 4
mov dword [esp + 0x3c], ecx
lea ecx, [ebx + esi*8]
mov dword [esp + 0x28], ecx
movzx ecx, word [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [eax + ecx*8]
movzx ecx, dx
mov edx, ecx
imul edx, ebp
lea ebp, [esi + edx*2]
add ebp, edx
lea ebp, [ebx + ebp*8]
mov dword [esp + 0x2c], ebp
lea ebp, [esi + edx*2]
add edx, esi
lea ebp, [ebx + ebp*8]
lea edx, [ebx + edx*8]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
sub ebx, ebp
lea esi, [edx + ecx]
lea esi, [eax + esi*8]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x14], esi
sub ebx, ebp
mov ebp, dword [esp + 0xa4]
lea esi, [edx + ecx*2]
add esi, ecx
sub ebp, dword [esp + 0xac]
lea edx, [edx + ecx*2]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x14]
lea esi, [eax + esi*8]
lea edx, [eax + edx*8]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x24], ecx
jmp 0x562f24
mov ebp, dword [esp + 0x5c]
fld dword [edi]
mov ecx, dword [esp + 0x28]
fadd dword [edx]
fstp dword [esp + 0x60]
fld dword [edi]
fsub dword [edx]
fstp dword [esp + 0x68]
fld dword [edi + 4]
fadd dword [edx + 4]
fstp dword [esp + 0x64]
fld dword [edi + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x6c]
fld dword [esi]
fadd dword [ebx]
fstp dword [esp + 0x78]
fld dword [ebx]
fsub dword [esi]
fstp dword [esp + 0x8c]
fld dword [esi + 4]
fadd dword [ebx + 4]
fstp dword [esp + 0x7c]
fld dword [esi + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x88]
fld dword [esp + 0x68]
fld st(0)
fld dword [esp + 0x88]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x70]
faddp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x6c]
fld st(0)
fld dword [esp + 0x8c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x74]
faddp st(1)
fstp dword [esp + 0x94]
fld dword [esp + 0x78]
fld st(0)
fld dword [esp + 0x60]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx]
fsubrp st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x7c]
fld st(0)
fld dword [esp + 0x64]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx + 4]
mov ecx, dword [esp + 0x10]
fsubrp st(1)
fstp dword [esp + 0x84]
fld dword [ecx + ebp]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
fstp dword [esp + 0x1c]
fld dword [ecx + ebp]
mov ebp, dword [esp + 0x34]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x74]
fld st(0)
fmulp st(2)
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x70]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fstp dword [ebp]
add dword [esp + 0x28], 8
add dword [esp + 0x34], 8
fmulp st(1)
add edx, 8
fxch st(2)
add esi, 8
add edi, 8
fmulp st(1)
add ebx, 8
fsubp st(1)
fstp dword [ebp + 4]
mov ebp, dword [esp + 0x38]
fld dword [ecx - 4]
fstp dword [esp + 0x14]
fld dword [ecx]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x84]
fld st(0)
fmulp st(2)
fld dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x80]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fstp dword [ebp]
fmulp st(1)
fxch st(2)
fmulp st(1)
fsubp st(1)
fstp dword [ebp + 4]
mov ebp, dword [esp + 0x10]
fld dword [ebp]
mov ebp, dword [esp + 0x54]
fstp dword [esp + 0x14]
fld dword [ecx + ebp]
mov ebp, dword [esp + 0x2c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x94]
fld st(0)
fmulp st(2)
fld dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x90]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fstp dword [ebp]
fmulp st(1)
fxch st(2)
fmulp st(1)
fsubp st(1)
fstp dword [ebp + 4]
mov ebp, 8
add dword [esp + 0x38], ebp
add dword [esp + 0x10], ebp
add dword [esp + 0x2c], ebp
add ecx, ebp
sub dword [esp + 0x24], 1
mov dword [esp + 0x3c], ecx
jne 0x562f20
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
add dword [esp + 0x30], edx
lea ecx, [edx*4]
add dword [esp + 0x18], ecx
sub dword [esp + 0x50], 1
jne 0x562e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret