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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp edx, 1
je 0x10007ea0
cmp ecx, 1
je 0x10007da5
mov eax, edx
imul edx, esi
shr eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
shr eax, 1
mov dword [ebp - 0x28], eax
je 0x10007d9d
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x24], 0
add eax, eax
add edi, esi
sub eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
nop
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x10007d87
nop
mov eax, dword [ebp - 0x1c]
lea edx, [ebx + eax]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
test eax, eax
jle 0x10007d78
movsx eax, byte [edx]
movsx ecx, byte [edx + esi]
add ecx, eax
mov eax, dword [ebp + 0x14]
movsx eax, byte [edx + eax]
add ecx, eax
movsx eax, byte [edx + edi]
add eax, ecx
lea ecx, [eax + 5]
add eax, 2
cmovs eax, ecx
add ebx, 1
add edx, dword [ebp + 0x10]
sar eax, 2
mov byte [ebx - 1], al
cmp dword [ebp - 0x10], ebx
jne 0x10007d40
mov eax, dword [ebp - 0x20]
add dword [ebp + 8], eax
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
add dword [ebp + 8], esi
cmp dword [ebp - 0x18], eax
jne 0x10007d30
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x24], 1
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x28], eax
jne 0x10007d20
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 1
je 0x10007ea0
cmp edx, dword [ebp - 0x20]
je 0x10007f7d
cmp dword [ebp - 0x20], 1
je 0x10007ed0
mov eax, dword [ebp - 0x20]
shr eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
je 0x10007f70
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], 0
mov edi, ebx
mov dword [ebp + 0xc], ebx
add eax, eax
sub eax, esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
lea ebx, [edi + eax]
test eax, eax
jle 0x10007e35
nop
lea esi, [esi]
movsx eax, byte [ecx]
movsx edx, byte [ecx + esi]
add edi, 1
add ecx, dword [ebp + 0x10]
add edx, eax
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov byte [edi - 1], al
cmp edi, ebx
jne 0x10007e10
mov ebx, dword [ebp - 0x2c]
add dword [ebp - 0x10], ebx
add dword [ebp - 0x14], 1
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], ebx
cmp dword [ebp - 0x18], eax
jne 0x10007dfb
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp + 0x14]
add eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x10007f53
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp + 0x10]
imul eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x28]
add ebx, eax
cmp edi, ebx
je 0x10007d9d
mov dword [esp + 8], 0x1fc
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str._char__dest____char__dataOut___components__element_size__halfWidth__halfHeight_
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
cmp dword [ebp - 0x20], 1
jne 0x10007dae
mov dword [esp + 8], 0x1a9
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 esi, esi
lea edi, [edi]
cmp edx, 1
je 0x10007f9a
shr edx, 1
mov dword [ebp - 0x14], edx
je 0x10007d9d
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0
mov edi, ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
lea ebx, [edi + eax]
test eax, eax
jle 0x10007f35
mov esi, esi
lea edi, [edi]
movsx eax, byte [ecx]
movsx edx, byte [ecx + esi]
add edi, 1
add ecx, dword [ebp + 0x10]
add edx, eax
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov byte [edi - 1], al
cmp edi, ebx
jne 0x10007f10
mov eax, dword [ebp - 0x18]
add dword [ebp + 8], eax
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
add dword [ebp + 8], esi
cmp dword [ebp - 0x14], eax
jne 0x10007efa
mov dword [ebp - 0x28], 1
mov ebx, dword [ebp + 0xc]
jmp 0x10007e64
mov dword [esp + 8], 0x1f9
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_mipmap.c
mov dword [esp], str.src____const_char__dataIn__ysizeheight_
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [ebp - 0x10], eax
jmp 0x10007e4a
mov dword [esp + 8], 0x1d1
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]
mov dword [esp + 8], 0x1d4
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]
mov esi, esi
lea edi, [edi]