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

Disassembly:
sub esp, 0x64
mov edx, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x7c]
push edi
mov edi, edx
imul edi, ebp
mov dword [esp + 0x3c], edi
test ebp, ebp
jle 0x44037e
imul eax, edi, 0xc
lea ecx, [esi + edi*4]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x18], ecx
add eax, esi
mov dword [esp + 0x58], eax
lea eax, [esi + edi*8]
mov ebp, dword [esp + 0x58]
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, edx
shl eax, 2
fld dword [ecx]
fadd dword [ebp]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [ecx]
mov ecx, edi
fadd dword [esi + edi*4]
shl ecx, 2
add eax, ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebx + ecx*4]
lea ecx, [ecx + edx*2]
fsubp st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fstp dword [ebx + eax*4 - 4]
mov eax, dword [esp + 0x14]
fld dword [esi + edi*4]
add edi, edx
fsub dword [eax]
mov eax, dword [esp + 0x18]
fstp dword [ebx + ecx*4 - 4]
fld dword [ebp]
fsub dword [eax]
mov eax, edx
shl eax, 2
add dword [esp + 0x14], eax
add ebp, eax
fstp dword [ebx + ecx*4]
mov ecx, dword [esp + 0x18]
add ecx, eax
dec dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
jne 0x4402ff
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x7c]
cmp edx, 2
jl 0x440737
je 0x440656
test ebp, ebp
jle 0x44064d
imul ecx, edi, 0xc
mov eax, edx
shl eax, 4
mov dword [esp + 0x70], eax
lea eax, [esi + edi*4]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], ebx
add ecx, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
xor ebp, ebp
mov eax, ebp
shl eax, 2
lea eax, [eax + edx*2]
cmp edx, 2
jle 0x440622
lea ecx, [ebx + eax*4]
lea eax, [eax + edx*2]
mov dword [esp + 0x2c], ecx
lea eax, [ebx + eax*4]
mov ecx, ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
shl ecx, 2
add eax, 4
mov dword [esp + 0x50], eax
lea edi, [ecx + esi]
lea eax, [ecx + edx*2]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x3c]
lea eax, [ebx + eax*4]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x30], eax
lea eax, [edi*2]
mov dword [esp + 0x1c], ecx
sub ecx, dword [esp + 0x90]
add eax, ebp
mov edi, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
sub ebx, eax
sub dword [esp + 0x1c], eax
lea eax, [edx - 3]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
shr eax, 1
mov dword [esp + 0x5c], ebx
inc eax
jmp 0x440473
mov edi, dword [esp + 0x18]
add dword [esp + 0x20], 8
add edi, 8
mov ebx, dword [esp + 0x20]
fld dword [edx]
add dword [esp + 0x14], 8
mov dword [esp + 0x18], edi
fmul dword [ebx]
fld dword [edx - 4]
fmul dword [ebx - 4]
push 8
pop edi
add dword [esp + 0x24], edi
add dword [esp + 0x28], edi
faddp st(1)
add dword [esp + 0x30], edi
sub dword [esp + 0x2c], edi
sub dword [esp + 0x34], edi
mov edi, dword [esp + 0x14]
fstp dword [esp + 0x4c]
fld dword [ebx]
fmul dword [edx - 4]
fld dword [edx]
fmul dword [ebx - 4]
mov ebx, dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0x60]
fld dword [ebx - 4]
mov ebx, dword [esp + 0x38]
fmul dword [ebx + ecx]
fld dword [edx + esi]
fmul dword [edi]
faddp st(1)
fstp dword [esp + 0x68]
fld dword [ebx + ecx]
fmul dword [edi]
fld dword [edi - 4]
fmul dword [edx + esi]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x64]
fld dword [ebx]
fmul dword [edi - 4]
mov edi, dword [esp + 0x5c]
fld dword [edx + edi]
fmul dword [ecx]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [ebx]
mov ebx, ecx
fmul dword [ebx]
fld dword [edx + edi]
fmul dword [ebx - 4]
mov ebx, dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x4c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x60]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fsubrp st(1)
fstp dword [esp + 0x60]
fld dword [ebx]
fld dword [esp + 0x64]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fsubr dword [ebx]
fstp dword [esp + 0x64]
fld dword [ebx - 4]
add edx, 8
fld dword [esp + 0x68]
fld st(0)
mov ecx, dword [esp + 0x28]
faddp st(2)
add dword [esp + 0x38], 8
fxch st(1)
fstp dword [esp + 0x1c]
fsubr dword [ebx - 4]
mov ebx, dword [esp + 0x84]
fstp dword [esp + 0x68]
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx - 4]
fld dword [esp + 0x50]
fld dword [esp + 0x4c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx]
fld dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
fld st(0)
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ecx - 4]
fld dword [esp + 0x6c]
fld st(0)
fld dword [esp + 0x64]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ecx]
mov ecx, dword [esp + 0x30]
fxch st(3)
faddp st(2)
fxch st(1)
fstp dword [ecx - 4]
faddp st(1)
fstp dword [ecx]
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
fsubrp st(2)
fxch st(1)
fstp dword [ecx - 4]
fsub dword [esp + 0x50]
fstp dword [ecx]
mov ecx, dword [esp + 0x54]
dec eax
jne 0x44046f
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
add ebp, edx
add eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov eax, edx
shl eax, 2
add dword [esp + 0x44], eax
add ecx, eax
dec dword [esp + 0x58]
mov dword [esp + 0x48], ecx
jne 0x4403b8
mov ebp, dword [esp + 0x7c]
test dl, 1
jne 0x440737
lea ecx, [edx - 1]
mov eax, edx
shl eax, 2
add ecx, edi
mov dword [esp + 0x54], eax
test ebp, ebp
jle 0x440737
fld dword [0x779b48]
mov eax, edx
shl eax, 2
fld st(0)
mov dword [esp + 0x6c], eax
fchs
lea eax, [ebx + edx*4]
mov dword [esp + 0x68], eax
lea eax, [ecx + edi*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x64], eax
lea eax, [esi + ecx*4]
mov dword [esp + 0x78], eax
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x64]
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x60], eax
lea eax, [ecx + edi]
sub ecx, edi
lea eax, [esi + eax*4]
mov dword [esp + 0x5c], eax
mov edi, eax
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
lea eax, [esi + ecx*4]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x6c]
fld dword [edx]
fadd dword [ebx]
mov ebp, dword [esp + 0x58]
fld st(1)
fmulp st(1)
fstp dword [esp + 0x4c]
fld dword [ebx]
add ebx, eax
fsub dword [edx]
mov dword [esp + 0x78], ebx
add edx, eax
fld st(2)
fmulp st(1)
fstp dword [esp + 0x10]
fld dword [ebp]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ecx - 4]
fsubr dword [ebp]
add ebp, eax
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x54]
shl ebp, 2
fstp dword [esi - 4]
fld dword [esp + 0x4c]
fld st(0)
fsub dword [edi]
fstp dword [ecx]
add ecx, ebp
fadd dword [edi]
add edi, eax
fstp dword [esi]
add esi, ebp
dec dword [esp + 0x7c]
jne 0x4406d2
fstp st(1)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret