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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
cmp edx, 1
je 0x10007128
cmp ecx, 1
je 0x1000703a
mov eax, dword [ebp - 0x1c]
mov ecx, eax
imul eax, esi
shr ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, eax
mov eax, dword [ebp - 0x18]
shr eax, 1
mov dword [ebp - 0x2c], eax
je 0x10007032
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], 0
add eax, eax
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
add eax, esi
mov dword [ebp - 0x14], eax
lea esi, [esi]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x10007020
nop
mov edx, dword [ebp - 0x20]
lea eax, [ebx + edx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
test edx, edx
jle 0x10007011
movzx edx, byte [eax + esi]
movzx edi, byte [eax]
add ebx, 1
add edi, edx
movzx edx, byte [eax + ecx]
add edx, edi
mov edi, dword [ebp - 0x14]
movzx edi, byte [eax + edi]
add eax, dword [ebp + 0x10]
lea edx, [edx + edi + 2]
sar edx, 2
mov byte [ebx - 1], dl
cmp ebx, dword [ebp - 0x10]
jne 0x10006fe0
mov eax, dword [ebp - 0x24]
add dword [ebp + 8], eax
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
add dword [ebp + 8], esi
cmp dword [ebp - 0x1c], eax
jne 0x10006fd0
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x28], 1
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], eax
jne 0x10006fc0
add esp, 0x30
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 1
je 0x10007128
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ecx
je 0x1000723c
cmp dword [ebp - 0x18], 1
je 0x10007150
mov eax, dword [ebp - 0x18]
shr eax, 1
mov dword [ebp - 0x1c], eax
je 0x10007210
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], 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 - 0x20]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
lea ebx, [edi + eax]
test eax, eax
jle 0x100070be
lea esi, [esi]
movzx eax, byte [edx]
movzx ecx, byte [edx + esi]
add edi, 1
add edx, dword [ebp + 0x10]
add eax, ecx
sar eax, 1
mov byte [edi - 1], al
cmp edi, ebx
jne 0x100070a0
mov ecx, dword [ebp - 0x28]
add dword [ebp - 0x14], ecx
add dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], ecx
cmp dword [ebp - 0x1c], eax
jne 0x10007090
mov dword [ebp - 0x2c], 1
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp + 0x14]
add eax, dword [ebp + 8]
cmp dword [ebp - 0x14], eax
jne 0x1000721f
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp + 0x10]
imul eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x10]
add eax, ebx
cmp edi, eax
je 0x10007032
mov dword [esp + 8], 0x198
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]
nop
lea esi, [esi]
cmp dword [ebp - 0x18], 1
jne 0x10007043
mov dword [esp + 8], 0x143
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]
nop
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x100071e9
shr eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
je 0x100071df
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
mov edi, ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
lea ebx, [edi + eax]
test eax, eax
jle 0x100071ae
nop
movzx eax, byte [edx]
movzx ecx, byte [edx + esi]
add edi, 1
add edx, dword [ebp + 0x10]
add eax, ecx
sar eax, 1
mov byte [edi - 1], al
cmp edi, ebx
jne 0x10007190
mov ecx, dword [ebp - 0x28]
add dword [ebp - 0x10], ecx
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], esi
cmp dword [ebp - 0x24], eax
jne 0x10007182
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
imul eax, esi
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], 1
add eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x100070da
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [ebp - 0x10], eax
jmp 0x100071c0
mov dword [esp + 8], 0x170
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]
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp + 0x14]
test eax, eax
je 0x10007032
mov dword [esp + 8], 0x197
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 dword [esp + 8], 0x16d
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]