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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 8]
sub esp, 0x84
cmp byte [edx + 0x10], 0
push ebx
push esi
push edi
mov edi, eax
mov esi, ecx
je 0x10079d18
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10079d18
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10079d18
cmp byte [ebp + 0x24], 0
je 0x10079b05
cmp dword [eax + 0x5c], 0
je 0x10079b05
mov ebx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x1c]
push ebx
push edi
push esi
mov esi, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push esi
push eax
push ecx
push edx
call fcn.10079ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0xff
push esi
mov ecx, edi
lea eax, [esp + 0x64]
call fcn.10079460
push 0xff
push 0xff
or bl, 0xff
or cl, 0xff
call fcn.10079340
add esp, 8
push eax
push 0
push 0
mov ebx, edi
mov ecx, esi
lea eax, [esp + 0x68]
call fcn.100796f0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x84]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x84]
push 0
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x60]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
push edx
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.GDI32.dll_SetTextCharacterExtra]
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x84]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [ebp + 0x1f]
push edx
mov edx, dword [ebp + 8]
push esi
mov ecx, edi
lea eax, [esp + 0x30]
call fcn.10079460
xor ecx, ecx
imul esi, edi
mov dword [esp + 0xc], esi
test esi, esi
jle 0x10079cc7
mov eax, dword [esp + 0x78]
movzx esi, byte [eax + ecx*4 + 1]
movzx edx, byte [eax + ecx*4 + 2]
movzx eax, byte [eax + ecx*4]
add edx, esi
add edx, eax
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x44]
mov ebx, 0xff
sub ebx, eax
mov byte [edx + ecx*4 + 3], bl
movzx edi, byte [ebp + 0x1e]
imul edi, ebx
mov eax, 0x80808081
imul edi
mov esi, edx
mov edx, dword [esp + 0x44]
add esi, edi
sar esi, 7
mov eax, esi
shr eax, 0x1f
add eax, esi
mov byte [edx + ecx*4 + 2], al
movzx edi, byte [ebp + 0x1d]
imul edi, ebx
mov eax, 0x80808081
imul edi
mov esi, edx
mov edx, dword [esp + 0x44]
add esi, edi
sar esi, 7
mov eax, esi
shr eax, 0x1f
add eax, esi
mov byte [edx + ecx*4 + 1], al
movzx esi, byte [ebp + 0x1c]
imul esi, ebx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x44]
mov byte [edx + ecx*4], al
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x10079c20
cmp byte [esp + 0x38], 0
je 0x10079cfb
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push 0
push 0
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea esi, [esp + 0x28]
call fcn.100794c0
lea esi, [esp + 0x5c]
call fcn.100794c0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x20