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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
and esp, 0xfffffff0
sub esp, 0x9c
cmp dword [ebp + 8], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
je 0x1000fd64
cmp dword [ebp + 0xc], 1
je 0x1000fd5e
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
shr eax, 0x1f
add eax, dword [ebp + 8]
sar eax, 1
mov dword [esp + 0x34], eax
mov ebx, eax
mov eax, dword [ebp + 0xc]
shr eax, 0x1f
add eax, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0x18]
sub edx, eax
cmp dword [ebp + 0xc], 1
mov eax, edx
jle 0x1000fef0
add eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
lea ecx, [edx + edx]
mov dword [esp + 0x38], 0
and eax, 0xfffffffc
cmp dword [ebp + 8], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov eax, 1
cmovg eax, ebx
mov dword [esp + 0x18], 0
imul eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
cmp dword [ebp + 8], 1
jle 0x1000fd0d
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp + 0x18]
lea ebx, [esp + 0x5c]
lea edi, [esp + 0x4c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x6c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], eax
mov eax, ebx
mov ebx, edi
mov edi, eax
lea esi, [esi]
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x48]
mov dword [esp + 8], edi
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp], edx
add ecx, esi
mov dword [esp + 4], ecx
call eax
lea ecx, [esp + 0x7c]
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp], edx
add ecx, esi
mov dword [esp + 4], ecx
call eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x8c]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x20]
lea eax, [esi + edx]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], ecx
call eax
cmp dword [esp + 0x3c], 3
je 0x1000fd57
pxor xmm0, xmm0
mov eax, edi
lea edx, [esp + 0x9c]
movups xmmword [esp + 0x4c], xmm0
addps xmm0, xmmword [eax]
add eax, 0x10
cmp eax, edx
jne 0x1000fc61
mulps xmm0, xmmword [0x10025340]
mov eax, dword [esp + 0x20]
movups xmmword [esp + 0x4c], xmm0
cmp eax, 4
je 0x1000fcb7
movss xmm1, dword [0x10025350]
mov edx, dword [esp + 0x3c]
pxor xmm0, xmm0
addss xmm0, dword [edi + eax*4]
addss xmm0, dword [edi + eax*4 + 0x10]
addss xmm0, dword [edi + eax*4 + 0x20]
addss xmm0, dword [edi + eax*4 + 0x30]
mulss xmm0, xmm1
movss dword [ebx + eax*4], xmm0
add eax, 1
cmp edx, eax
jg 0x1000fc8c
mov eax, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call eax
add dword [esp + 0x48], 1
add esi, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x34], eax
jg 0x1000fbc8
mov eax, dword [esp + 0x34]
mov edx, 0
mov ebx, dword [esp + 0x38]
sub eax, 1
cmp dword [ebp + 8], 1
cmovle eax, edx
lea eax, [ebx + eax + 1]
mov ebx, dword [esp + 0xc]
add dword [esp + 0x1c], ebx
mov dword [esp + 0x38], eax
add dword [esp + 0x18], 1
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], ebx
cmp dword [esp + 0x14], eax
jg 0x1000fb8f
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x1c]
add eax, dword [ebp + 0x10]
cmp dword [esp + 0x1c], eax
jne 0x100100f2
mov eax, dword [esp + 0x34]
imul eax, dword [esp + 0x14]
cmp dword [esp + 0x38], eax
jne 0x1001010f
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x1000fc80
cmp dword [ebp + 8], 1
jne 0x1000fd6e
cmp dword [ebp + 0xc], 1
je 0x100100ab
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
je 0x100100c8
cmp dword [ebp + 0xc], 1
je 0x1000ff04
mov ebx, dword [ebp + 0xc]
shr ebx, 0x1f
add ebx, dword [ebp + 0xc]
sar ebx, 1
cmp dword [ebp + 0xc], 1
jle 0x100100e8
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x5c]
lea edi, [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x38], ebx
mov ebx, edx
add eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
and eax, 0xfffffffc
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, ecx
mov ecx, edi
mov edi, eax
mov eax, dword [esp + 0x48]
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], edx
call esi
mov eax, dword [esp + 0x48]
add eax, dword [ebp + 0x1c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x20]
mov dword [esp + 8], edx
mov dword [esp], eax
call esi
cmp dword [esp + 0x3c], 3
mov ecx, dword [esp + 0x30]
je 0x10010087
pxor xmm0, xmm0
addps xmm0, xmmword [esp + 0x5c]
addps xmm0, xmmword [esp + 0x6c]
mulps xmm0, xmmword [0x10025360]
mov eax, dword [esp + 0x34]
movups xmmword [esp + 0x4c], xmm0
cmp eax, 4
je 0x1000fe62
movss xmm1, dword [0x10025250]
mov edx, dword [esp + 0x3c]
pxor xmm0, xmm0
addss xmm0, dword [edi + eax*4]
addss xmm0, dword [edi + eax*4 + 0x10]
mulss xmm0, xmm1
movss dword [ecx + eax*4], xmm0
add eax, 1
cmp edx, eax
jg 0x1000fe43
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], ebx
add ebx, 1
mov dword [esp], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
call eax
mov edx, dword [esp + 0x40]
add dword [esp + 0x48], edx
cmp dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x30]
jg 0x1000fdd2
mov ebx, dword [esp + 0x38]
mov eax, 1
mov edx, eax
test ebx, ebx
cmovg edx, ebx
cmp dword [ebp + 0xc], 1
cmovg eax, ebx
imul eax, dword [esp + 0x40]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x1c]
add ecx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x1001008e
cmp ebx, edx
je 0x1000fd4f
mov dword [esp + 8], 0x1864
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.outIndex__halfWidth__halfHeight
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
jmp 0x1000fd28
cmp dword [ebp + 8], 1
je 0x10010149
mov eax, dword [ebp + 8]
xor edx, edx
shr eax, 0x1f
add eax, dword [ebp + 8]
sar eax, 1
cmp dword [ebp + 8], 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
jle 0x10010037
mov eax, dword [ebp + 0x18]
lea edi, [esp + 0x4c]
xor edx, edx
lea ecx, [esp + 0x5c]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x40], esi
mov esi, edx
add eax, eax
mov dword [esp + 0x34], edi
mov edi, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
and eax, 0xfffffffc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x18]
add ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp], ecx
call eax
cmp dword [esp + 0x3c], 3
je 0x10010080
pxor xmm0, xmm0
addps xmm0, xmmword [esp + 0x5c]
addps xmm0, xmmword [esp + 0x6c]
mulps xmm0, xmmword [0x10025360]
mov eax, dword [esp + 0x30]
movups xmmword [esp + 0x4c], xmm0
cmp eax, 4
je 0x1000ffef
movss xmm1, dword [0x10025250]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
pxor xmm0, xmm0
addss xmm0, dword [edi + eax*4]
addss xmm0, dword [edi + eax*4 + 0x10]
mulss xmm0, xmm1
movss dword [ecx + eax*4], xmm0
add eax, 1
cmp edx, eax
jg 0x1000ffd0
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], esi
add esi, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call eax
add ebx, dword [esp + 0x38]
cmp dword [esp + 0x48], esi
jg 0x1000ff61
mov esi, dword [esp + 0x48]
mov eax, 1
test esi, esi
mov edx, esi
cmovle edx, eax
cmp dword [ebp + 8], 1
cmovg eax, esi
imul eax, dword [esp + 0x38]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
imul ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
sub esi, ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x1c]
add eax, esi
cmp eax, ecx
jne 0x1001012c
cmp dword [esp + 0x48], edx
je 0x1000fd4f
mov dword [esp + 8], 0x183b
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.outIndex__halfWidth__halfHeight
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
xor eax, eax
jmp 0x1000ffc0
xor eax, eax
jmp 0x1000fe37
mov dword [esp + 8], 0x1863
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.src____const_char__dataIn__rowSizeInBytesheight_
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x17b3
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.__width__1__height__1_
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x180d
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.width___height
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
mov eax, dword [ebp + 0x10]
xor edx, edx
jmp 0x1000feb2
mov dword [esp + 8], 0x17f8
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.src____const_char__dataIn__rowSizeInBytesheight_
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x17f9
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.outIndex__halfWidth__halfHeight
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x183a
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.src____const_char__dataIn__rowSizeInBytes_
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x1812
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.width___1
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
lea edi, [edi]