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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
neg eax
mov dword [esp + 0x60], eax
mov eax, ecx
neg eax
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x1c]
neg eax
mov dword [esp + 0x70], eax
push edi
mov edi, dword [ebp + 0x14]
mov eax, edi
neg eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x78], eax
neg edx
mov eax, ebx
neg eax
mov dword [esp + 0x7c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x88], eax
lea eax, [edx + 0x40]
add edx, 8
mov dword [esp + 0x70], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], 4
mov dword [esp + 0x80], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
jmp 0x582db0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x58342d
mov eax, dword [edx - 8]
mov dword [esp + 0x40], eax
mov eax, dword [edx - 4]
mov edx, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], edx
fld dword [esp + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x34]
dec edx
mov dword [esp + 0x38], edx
shl edx, 4
fmul dword [edx + esi + 8]
fld dword [esp + 0x44]
fmul dword [edx + esi + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [edx + esi]
faddp st(1)
fadd dword [esp + 0x60]
fcomp dword [0x891068]
fnstsw ax
test ah, 0x41
jne 0x582e76
fld dword [edx + esi + 4]
mov ecx, dword [edx + esi]
fld dword [edx + esi + 8]
mov eax, dword [esp + 0x5c]
mov dword [eax], ecx
fxch st(1)
fstp dword [eax + 4]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x1b], 1
fstp dword [eax + 8]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + eax*8]
fld dword [ebx + eax*8 + 4]
mov eax, dword [esp + 0x3c]
fstp dword [eax + 4]
mov dword [eax], ecx
fld dword [edx + edi + 4]
mov eax, dword [edx + edi]
fld dword [edx + edi + 8]
mov ecx, dword [esp + 0x70]
fld dword [edx + edi + 0xc]
mov dword [ecx], eax
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fxch st(1)
fstp dword [ecx + 4]
mov dword [ecx + 0xc], eax
fstp dword [ecx + 8]
jmp 0x582e83
mov dword [esp + 0x1c], 0
mov byte [esp + 0x1b], 0
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x2c], 0
jbe 0x583395
mov eax, dword [esp + 0x38]
shl eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
shl eax, 4
add ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x5c]
add ecx, eax
lea eax, [edi + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esi + 8]
mov dword [esp + 0x20], eax
mov eax, edi
sub eax, esi
mov dword [esp + 0x38], eax
jmp 0x582ed0
mov eax, dword [esp + 0x20]
fld dword [esp + 0x44]
fmul dword [eax - 4]
fld dword [esp + 0x48]
fmul dword [eax]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [eax - 8]
faddp st(1)
fadd dword [esp + 0x60]
fcomp dword [0x891068]
fnstsw ax
mov al, byte [esp + 0x1b]
test ah, 0x41
jne 0x58316c
test al, al
mov eax, dword [esp + 0x20]
jne 0x5830f2
fld dword [eax - 8]
fsub dword [edx + esi]
fld dword [eax - 4]
fsub dword [edx + esi + 4]
fld dword [eax]
fsub dword [edx + esi + 8]
fstp dword [esp + 0x118]
mov eax, dword [esp + 0x118]
mov dword [ecx + 8], eax
fxch st(1)
fstp dword [ecx]
mov eax, dword [esp + 0x2c]
fstp dword [ecx + 4]
fld dword [esp + 0x48]
fmul dword [edx + esi + 8]
fld dword [esp + 0x44]
fmul dword [edx + esi + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [edx + esi]
faddp st(1)
fadd dword [esp + 0x60]
fld dword [esp + 0x48]
fmul dword [ecx + 8]
fld dword [esp + 0x44]
fmul dword [ecx + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [ecx]
faddp st(1)
fdivp st(1)
fchs
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 + esi + 4]
fld dword [edx + esi + 8]
fld dword [ecx]
fadd dword [edx + esi]
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 + 0xa8]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xa0], eax
fmul st(1)
fstp dword [esp + 0xac]
mov eax, dword [esp + 0xac]
fld dword [esp + 0xa0]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x30]
fadd dword [eax + ebx]
fld dword [esp + 0xa4]
fadd dword [eax + ebx + 4]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
fxch st(1)
fstp dword [eax + ebx*8]
fstp dword [eax + ebx*8 + 4]
mov eax, dword [esp + 0x24]
fld dword [eax - 0xc]
mov ebx, dword [esp + 0x38]
fsub dword [edx + edi]
add ecx, 0x10
fld dword [eax - 8]
mov eax, dword [esp + 0x20]
fsub dword [edx + edi + 4]
mov byte [esp + 0x1b], 1
fld dword [ebx + eax]
mov ebx, dword [esp + 0x24]
fsub dword [edx + edi + 8]
fstp dword [esp + 0x108]
fld dword [ebx]
fsub dword [edx + edi + 0xc]
fstp dword [esp + 0x10c]
fxch st(1)
fmul st(2)
fstp dword [esp + 0xc0]
fmul st(1)
fstp dword [esp + 0xc4]
fld dword [esp + 0x108]
fmul st(1)
fstp dword [esp + 0xc8]
fmul dword [esp + 0x10c]
fld dword [esp + 0xc0]
fadd dword [edx + edi]
fld dword [esp + 0xc4]
fadd dword [edx + edi + 4]
fld dword [esp + 0xc8]
fadd dword [edx + edi + 8]
fstp dword [esp + 0xf8]
mov ebx, dword [esp + 0xf8]
fxch st(2)
fadd dword [edx + edi + 0xc]
mov edx, dword [esp + 0x28]
mov dword [edx + 8], ebx
fstp dword [esp + 0xfc]
mov ebx, dword [esp + 0xfc]
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 [esp + 0x58]
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 [esp + 0x3c]
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 + 0x38]
mov ebx, dword [esp + 0x20]
fld dword [edx + ebx]
mov edx, dword [esp + 0x24]
mov ebx, dword [edx]
fxch st(1)
mov dword [esp + 0x9c], ebx
mov ebx, dword [edx - 0xc]
mov edx, dword [esp + 0x28]
fstp dword [edx + 4]
mov dword [edx], ebx
mov ebx, dword [esp + 0x9c]
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 0x583355
test al, al
je 0x583355
mov eax, dword [esp + 0x20]
fld dword [eax - 8]
fsub dword [edx + esi]
fld dword [eax - 4]
fsub dword [edx + esi + 4]
fld dword [eax]
fsub dword [edx + esi + 8]
fstp dword [esp + 0x128]
mov eax, dword [esp + 0x128]
mov dword [ecx + 8], eax
fxch st(1)
fstp dword [ecx]
mov eax, dword [esp + 0x2c]
fstp dword [ecx + 4]
fld dword [esp + 0x48]
fmul dword [edx + esi + 8]
fld dword [esp + 0x44]
fmul dword [edx + esi + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [edx + esi]
faddp st(1)
fadd dword [esp + 0x60]
fld dword [esp + 0x48]
fmul dword [ecx + 8]
fld dword [esp + 0x44]
fmul dword [ecx + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [ecx]
faddp st(1)
fdivp st(1)
fchs
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 + esi + 4]
fld dword [edx + esi + 8]
fld dword [edx + esi]
fadd dword [ecx]
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 + 0x94]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x8c], eax
fmul st(1)
fstp dword [esp + 0x98]
mov eax, dword [esp + 0x98]
fld dword [esp + 0x8c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x30]
fadd dword [eax + ebx]
fld dword [esp + 0x90]
fadd dword [eax + ebx + 4]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
fxch st(1)
fstp dword [eax + ebx*8]
fstp dword [eax + ebx*8 + 4]
mov eax, dword [esp + 0x24]
fld dword [eax - 0xc]
mov ebx, dword [esp + 0x20]
fsub dword [edx + edi]
add ecx, 0x10
fld dword [eax - 8]
mov eax, dword [esp + 0x38]
fsub dword [edx + edi + 4]
mov byte [esp + 0x1b], 0
fld dword [eax + ebx]
mov eax, dword [esp + 0x24]
fsub dword [edx + edi + 8]
fstp dword [esp + 0xd8]
fld dword [eax]
mov eax, dword [esp + 0x28]
fsub dword [edx + edi + 0xc]
fstp dword [esp + 0xdc]
fxch st(1)
fmul st(2)
fstp dword [esp + 0xb0]
fmul st(1)
fstp dword [esp + 0xb4]
fld dword [esp + 0xd8]
fmul st(1)
fstp dword [esp + 0xb8]
fmul dword [esp + 0xdc]
fld dword [esp + 0xb0]
fadd dword [edx + edi]
fld dword [esp + 0xb4]
fadd dword [edx + edi + 4]
fld dword [esp + 0xb8]
fadd dword [edx + edi + 8]
fstp dword [esp + 0xe8]
fxch st(2)
fadd dword [edx + edi + 0xc]
mov edx, dword [esp + 0xe8]
mov dword [eax + 8], edx
fstp dword [esp + 0xec]
mov edx, dword [esp + 0xec]
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 + 0x64]
lea edx, [edx + ebx - 8]
add ebx, 0x10
mov dword [esp + 0x20], ebx
add dword [esp + 0x24], 0x10
mov ebx, dword [esp + 0x34]
inc eax
cmp eax, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
jb 0x582ed0
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x7c], esi
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x74], ebx
mov ebx, eax
mov eax, ecx
mov ecx, edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x84], edi
mov edi, eax
mov eax, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x68]
inc eax
add edx, 0x10
cmp eax, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x68], edx
jl 0x582dac
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c