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

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetBkColor]
sub eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
push 0xffffff
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x427847
mov edx, dword [esp + 0x6c]
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push 2
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x6c]
push esi
push eax
call edi
mov ebx, dword [esp + 0x74]
push 0x8c
push 0xffffff
push ebx
call fcn.00436c70
push 0xb4
push 0xffffff
push ebx
mov dword [esp + 0x2c], eax
call fcn.00436c70
push 0xd2
push 0xffffff
push ebx
call fcn.00436c70
push 0xc8
push 0xffffff
push ebx
mov dword [esp + 0x48], eax
call fcn.00436c70
mov ecx, dword [esp + 0xa8]
push 0x64
push ecx
push ebx
mov dword [esp + 0x5c], eax
call fcn.00436c70
mov esi, dword [esp + 0xa8]
add esp, 0x3c
push 0x13
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x6c]
mov edx, dword [ebp]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push ebx
push eax
mov dword [esp + 0x78], edx
call dword [sym.imp.GDI32.dll_SetDCPenColor]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push 0
push esi
add ebx, 2
push ebx
push ecx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [esp + 0x6c]
push esi
lea eax, [edi - 2]
push eax
push edx
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
dec esi
call dword [sym.imp.GDI32.dll_SetDCPenColor]
mov edx, dword [esp + 0x6c]
push 0
push esi
push ebx
push edx
call dword [sym.imp.GDI32.dll_MoveToEx]
push esi
lea eax, [edi - 2]
push eax
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
push ecx
push edx
dec esi
call dword [sym.imp.GDI32.dll_SetDCPenColor]
push 0
push esi
mov eax, dword [esp + 0x74]
push ebx
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x6c]
push esi
lea eax, [edi - 2]
push eax
push ecx
call dword [sym.imp.GDI32.dll_LineTo]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
lea eax, [esi - 2]
dec edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
lea eax, [edi - 1]
mov dword [esp + 0x38], ecx
inc ecx
mov dword [esp + 0x58], eax
lea eax, [edi - 2]
mov dword [esp + 0x40], ecx
lea ecx, [esi - 1]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
jmp 0x4279c4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + eax*8 + 0x3c]
mov eax, dword [esp + eax*8 + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 6
mov dword [esp + 0x10], eax
jl 0x4279c0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
lea eax, [esi - 1]
inc ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x6c]
lea ecx, [edi - 2]
lea eax, [edi - 1]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], edx
xor ebx, ebx
jmp 0x427a30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + ebx*8 + 0x3c]
mov edx, dword [esp + ebx*8 + 0x38]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
inc ebx
cmp ebx, 4
jl 0x427a30
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x70]
inc eax
lea ecx, [edi - 1]
mov dword [esp + 0x38], eax
lea eax, [esi - 1]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], ecx
xor esi, esi
lea esp, [esp]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + esi*8 + 0x3c]
mov ecx, dword [esp + esi*8 + 0x38]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
inc esi
cmp esi, 4
jl 0x427a90
mov eax, dword [esp + 0x6c]
mov ebp, dword [ebp + 4]
push 0x9c9b91
push eax
call dword [sym.imp.GDI32.dll_SetDCPenColor]
mov ecx, dword [esp + 0x6c]
mov esi, dword [sym.imp.GDI32.dll_MoveToEx]
push 0
push ebp
push ebx
push ecx
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
push edx
push ebx
mov ebx, dword [sym.imp.GDI32.dll_LineTo]
push eax
call ebx
mov ecx, dword [esp + 0x6c]
push 0
push ebp
push edi
push ecx
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
push edx
push edi
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret