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

Disassembly:
sub esp, 0x68
push ebp
mov ebp, dword [esp + 0x70]
push 0x830150
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x5c6c1d
pop ebp
add esp, 0x68
ret
push ebx
push esi
push edi
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esp + 0x80]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x8c]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x88]
mov edx, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xc]
and ebx, 0xfffffff0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
test bl, 0x10
je 0x5c6c84
mov edx, ebx
and edx, 0xffffffef
or edx, 0x420
push edx
push esi
jmp 0x5c6c92
mov ecx, ebx
or ecx, 0x400
push ecx
lea edx, [esp + 0x34]
push edx
push eax
push ebp
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x38]
sub eax, dword [esi]
sub ecx, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
jge 0x5c6cb8
mov ecx, eax
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
sub eax, dword [esi + 4]
sub edx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
cmp eax, edx
jge 0x5c6cd0
mov edx, eax
xor eax, eax
push ebp
mov dword [esp + 0x60], eax
push ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x20]
push eax
mov ecx, 1
mov word [esp + 0x68], cx
push ebp
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], edx
push ecx
mov edx, 0x20
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x68], 0x28
mov word [esp + 0x76], dx
mov dword [esp + 0x78], ebp
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
push ebp
push edi
mov dword [esp + 0x30], ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x5c6e4d
push 0xffffff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 2
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x7c]
and ebx, 0xffffffef
or ebx, 0x820
push ebx
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
mov ecx, edx
shr ecx, 0x10
shr edx, 8
cmp dword [esp + 0x58], 0
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], dl
mov dword [esp + 0x14], 0
jle 0x5c6e45
mov ebx, dword [esp + 0x54]
lea ecx, [ecx]
xor esi, esi
test ebx, ebx
jle 0x5c6e2f
movzx ebp, byte [esp + 0x84]
movzx edx, dl
movzx ecx, cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
lea esp, [esp]
mov dl, byte [eax]
movzx ecx, dl
mov ebx, ebp
imul ebx, ecx
sar ebx, 8
mov byte [eax], bl
mov ebx, dword [esp + 0x1c]
imul ebx, ecx
sar ebx, 8
mov byte [eax + 1], bl
mov ebx, dword [esp + 0x20]
inc eax
imul ebx, ecx
inc eax
sar ebx, 8
mov byte [eax], bl
inc eax
mov byte [eax], dl
mov ebx, dword [esp + 0x54]
inc esi
inc eax
cmp esi, ebx
jl 0x5c6df0
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x13]
inc dword [esp + 0x14]
mov esi, dword [esp + 0x58]
cmp dword [esp + 0x14], esi
jl 0x5c6dd0
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x2c]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebx
mov eax, ebp
pop ebp
add esp, 0x68
ret