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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov ebx, eax
mov eax, dword [esp + 0x94]
mov ebp, dword [eax + 8]
sub ebp, dword [eax]
push esi
push edi
mov edi, dword [eax + 0xc]
sub edi, dword [eax + 4]
xor esi, esi
cmp ebp, esi
mov dword [esp + 0x20], ebp
jle 0x41cd27
cmp edi, esi
jle 0x41cd27
push 0x2c
lea eax, [esp + 0x60]
push esi
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x4c], esi
call fcn.00474b70
add esp, 0xc
push esi
push esi
lea eax, [esp + 0x4c]
push eax
mov ecx, 1
mov word [esp + 0x74], cx
push esi
lea ecx, [esp + 0x6c]
push ecx
mov edx, 0x20
push esi
mov dword [esp + 0x74], 0x28
mov word [esp + 0x82], dx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x40], eax
cmp eax, esi
jne 0x41cadf
mov dword [esp + 0x44], esi
jmp 0x41cb0c
mov eax, ebp
shl eax, 5
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, eax
add eax, eax
lea edx, [edi - 1]
imul edx, eax
add dword [esp + 0x44], edx
neg eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
cmp dword [esp + 0x58], esi
jne 0x41cb2d
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x3c], eax
cmp eax, esi
je 0x41cb39
mov ecx, dword [esp + 0x40]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x41cb39
inc dword [esp + 0x58]
xor ecx, ecx
push 0xffffff
mov dword [esp + 0x38], ebp
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
push eax
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edi
call ebp
push 0
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x90]
push edx
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push 0x28
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x1c]
push edx
push esi
call ebp
mov eax, dword [esp + 0x50]
mov ecx, ebx
shr ecx, 8
movzx ebp, bl
shr ebx, 0x10
movzx edx, cl
movzx ecx, bl
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
xor ebx, ebx
shr eax, 2
cmp edi, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
jle 0x41cc78
lea edx, [eax*4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], edi
mov edi, edi
mov eax, dword [esp + 0x20]
cmp eax, ebx
jle 0x41cc65
add ecx, 2
mov edi, eax
lea ecx, [ecx]
mov al, byte [ecx]
test al, al
je 0x41cc5d
movzx ebx, al
mov eax, ebx
imul eax, ebp
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ecx], al
mov eax, ebx
imul eax, dword [esp + 0x1c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ecx - 1], al
mov eax, ebx
imul eax, dword [esp + 0x24]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ecx + 1], bl
mov byte [ecx - 2], al
xor ebx, ebx
add ecx, 4
sub edi, 1
jne 0x41cc10
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x28]
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ecx
jne 0x41cc00
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx]
mov ecx, dword [ecx + 8]
mov byte [esp + 0x17], 1
mov byte [esp + 0x15], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x16], 0xff
mov ebp, dword [esp + 0x14]
push ebp
sub eax, edx
push eax
sub ecx, edi
push ecx
push ebx
push ebx
push esi
push eax
mov eax, dword [esp + 0xa8]
push ecx
push edx
push edi
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
sub dword [esp + 0x58], 1
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
jne 0x41ccd6
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x40], ebx
call esi
cmp dword [esp + 0x40], ebx
je 0x41cd1a
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x41ccef
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], ebx
call esi
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret