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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
dec edx
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x34], edx
shl edx, 4
fld dword [edx + edi]
fcomp dword [ebp + 0x24]
fnstsw ax
test ah, 0x41
mov eax, dword [ebp + 0x10]
jp 0x583eb4
fld dword [edx + edi + 4]
mov eax, dword [edx + edi]
fld dword [edx + edi + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
fxch st(1)
fstp dword [ecx + 4]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x1b], 1
fstp dword [ecx + 8]
mov ecx, dword [ebx + eax*8]
fld dword [ebx + eax*8 + 4]
mov eax, dword [ebp + 0xc]
fstp dword [eax + 4]
mov dword [eax], ecx
fld dword [edx + esi + 4]
mov ecx, dword [edx + esi]
fld dword [edx + esi + 8]
mov eax, dword [ebp + 0x10]
fld dword [edx + esi + 0xc]
mov dword [eax], ecx
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fxch st(1)
fstp dword [eax + 4]
mov dword [eax + 0xc], ecx
fstp dword [eax + 8]
jmp 0x583ec1
mov dword [esp + 0x1c], 0
mov byte [esp + 0x1b], 0
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov dword [esp + 0x2c], 0
jbe 0x5842fe
mov ecx, dword [esp + 0x34]
shl ecx, 3
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
shl ecx, 4
add eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
add ecx, eax
lea eax, [esi + 0xc]
mov dword [esp + 0x24], eax
lea eax, [edi + 8]
mov dword [esp + 0x20], eax
mov eax, esi
sub eax, edi
mov dword [esp + 0x34], eax
mov eax, 0xfffffff8
sub eax, edi
mov dword [esp + 0x48], eax
jmp 0x583f20
mov ebx, dword [ebp + 0x18]
jmp 0x583f20
mov eax, dword [esp + 0x20]
fld dword [eax - 8]
fcomp dword [ebp + 0x24]
fnstsw ax
mov al, byte [esp + 0x1b]
test ah, 0x41
jp 0x58413a
test al, al
mov eax, dword [esp + 0x20]
jne 0x5840c7
fld dword [eax - 8]
fsub dword [edx + edi]
fld dword [eax - 4]
fsub dword [edx + edi + 4]
fld dword [eax]
fsub dword [edx + edi + 8]
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
mov dword [ecx + 8], eax
fxch st(1)
fstp dword [ecx]
mov eax, dword [esp + 0x2c]
fstp dword [ecx + 4]
fld dword [ebp + 0x24]
fsub dword [edx + edi]
fdiv dword [ecx]
fld st(0)
fmul dword [ecx]
fstp dword [ecx]
fld st(0)
fmul dword [ecx + 4]
fstp dword [ecx + 4]
fld st(0)
fmul dword [ecx + 8]
fstp dword [ecx + 8]
fld dword [edx + edi + 4]
fld dword [edx + edi + 8]
fld dword [ecx]
fadd dword [edx + edi]
fstp dword [ecx]
fxch st(1)
fadd dword [ecx + 4]
fstp dword [ecx + 4]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
fld dword [ebx + eax*8]
mov eax, dword [esp + 0x30]
fsub dword [eax + ebx]
mov eax, dword [esp + 0x2c]
fld dword [ebx + eax*8 + 4]
mov eax, dword [esp + 0x30]
fsub dword [eax + ebx + 4]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
fmul st(1)
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
fadd dword [eax + ebx]
fld dword [esp + 0x44]
fadd dword [eax + ebx + 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x1c]
fxch st(1)
fstp dword [ebx + eax*8]
fstp dword [ebx + eax*8 + 4]
mov eax, dword [esp + 0x24]
fld dword [eax - 0xc]
mov ebx, dword [esp + 0x34]
fsub dword [edx + esi]
fld dword [eax - 8]
mov eax, dword [esp + 0x20]
fsub dword [edx + esi + 4]
fld dword [ebx + eax]
mov ebx, dword [esp + 0x24]
fsub dword [edx + esi + 8]
fstp dword [esp + 0xb8]
fld dword [ebx]
fsub dword [edx + esi + 0xc]
fstp dword [esp + 0xbc]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0xb8]
add ecx, 0x10
fmul st(1)
mov byte [esp + 0x1b], 1
fstp dword [esp + 0x78]
fmul dword [esp + 0xbc]
fld dword [esp + 0x70]
fadd dword [edx + esi]
fld dword [esp + 0x74]
fadd dword [edx + esi + 4]
fld dword [esp + 0x78]
fadd dword [edx + esi + 8]
fstp dword [esp + 0xa8]
mov ebx, dword [esp + 0xa8]
fxch st(2)
fadd dword [edx + esi + 0xc]
mov edx, dword [esp + 0x28]
mov dword [edx + 8], ebx
fstp dword [esp + 0xac]
mov ebx, dword [esp + 0xac]
mov dword [edx + 0xc], ebx
mov ebx, dword [esp + 0x1c]
fstp dword [edx]
inc ebx
fstp dword [edx + 4]
add edx, 0x10
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x28], edx
fld dword [eax - 4]
mov edx, dword [eax - 8]
fld dword [eax]
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
fxch st(1)
mov edx, dword [ebp + 0xc]
fstp dword [ecx + 4]
add ecx, 0x10
fstp dword [ecx - 8]
fld dword [ebx + eax*8 + 4]
mov ebx, dword [ebx + eax*8]
mov eax, dword [esp + 0x1c]
mov dword [edx + eax*8], ebx
fstp dword [edx + eax*8 + 4]
mov edx, dword [esp + 0x24]
fld dword [edx - 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
fld dword [edx + ebx]
mov edx, dword [esp + 0x24]
mov ebx, dword [edx]
fxch st(1)
mov dword [esp + 0x54], ebx
mov ebx, dword [edx - 0xc]
mov edx, dword [esp + 0x28]
fstp dword [edx + 4]
mov dword [edx], ebx
mov ebx, dword [esp + 0x54]
inc eax
fstp dword [edx + 8]
mov dword [edx + 0xc], ebx
add edx, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
jmp 0x5842c5
test al, al
je 0x5842c5
mov eax, dword [esp + 0x20]
fld dword [eax - 8]
fsub dword [edx + edi]
fld dword [eax - 4]
fsub dword [edx + edi + 4]
fld dword [eax]
fsub dword [edx + edi + 8]
fstp dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
mov dword [ecx + 8], eax
fxch st(1)
fstp dword [ecx]
mov eax, dword [esp + 0x2c]
fstp dword [ecx + 4]
fld dword [ebp + 0x24]
fsub dword [edx + edi]
fdiv dword [ecx]
fld st(0)
fmul dword [ecx]
fstp dword [ecx]
fld st(0)
fmul dword [ecx + 4]
fstp dword [ecx + 4]
fld st(0)
fmul dword [ecx + 8]
fstp dword [ecx + 8]
fld dword [edx + edi + 4]
fld dword [edx + edi + 8]
fld dword [ecx]
fadd dword [edx + edi]
fstp dword [ecx]
fxch st(1)
fadd dword [ecx + 4]
fstp dword [ecx + 4]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
fld dword [ebx + eax*8]
mov eax, dword [esp + 0x30]
fsub dword [eax + ebx]
mov eax, dword [esp + 0x2c]
fld dword [ebx + eax*8 + 4]
mov eax, dword [esp + 0x30]
fsub dword [eax + ebx + 4]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
fmul st(1)
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
fld dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
fadd dword [eax + ebx]
fld dword [esp + 0x5c]
fadd dword [eax + ebx + 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x1c]
fxch st(1)
fstp dword [ebx + eax*8]
fstp dword [ebx + eax*8 + 4]
mov eax, dword [esp + 0x24]
fld dword [eax - 0xc]
mov ebx, dword [esp + 0x20]
fsub dword [edx + esi]
fld dword [eax - 8]
mov eax, dword [esp + 0x34]
fsub dword [edx + esi + 4]
fld dword [eax + ebx]
mov eax, dword [esp + 0x24]
fsub dword [edx + esi + 8]
fstp dword [esp + 0x88]
fld dword [eax]
fsub dword [edx + esi + 0xc]
fstp dword [esp + 0x8c]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x60]
fmul st(1)
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x88]
add ecx, 0x10
fmul st(1)
mov byte [esp + 0x1b], 0
fstp dword [esp + 0x68]
fmul dword [esp + 0x8c]
fld dword [esp + 0x60]
fadd dword [edx + esi]
fld dword [esp + 0x64]
fadd dword [edx + esi + 4]
fld dword [esp + 0x68]
fadd dword [edx + esi + 8]
fstp dword [esp + 0x98]
fxch st(2)
fadd dword [edx + esi + 0xc]
mov edx, dword [esp + 0x98]
mov dword [eax + 8], edx
fstp dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x1c]
fstp dword [eax]
inc edx
fstp dword [eax + 4]
add eax, 0x10
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
lea edx, [eax*8]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x48]
add edx, ebx
add ebx, 0x10
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x24]
add ebx, 0x10
inc eax
mov dword [esp + 0x24], ebx
cmp eax, dword [ebp + 0x20]
mov dword [esp + 0x2c], eax
jb 0x583f14
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret