Function at 0x4efff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x556300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CClientDC::CClientDC
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0
call sub.MFC42.DLL_CDC::CDC
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
mov byte [esp + 0x4c], 1
and eax, edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::Attach
mov esi, dword [esp + 0x54]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebp, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esp + 0x38]
sub ecx, ebp
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [esp + 0x58]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
jne 0x4f007f
xor eax, eax
jmp 0x4f0082
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
push 0
push 1
push 0
lea ecx, [esp + 0x1c]
mov ebx, eax
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CDC::SelectObject
mov edi, dword [esi + 4]
mov ebp, dword [esi]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x30]
sub ecx, edi
sub edx, ebp
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x38]
push edi
push ebp
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esi + 4]
mov edx, dword [esi]
inc ecx
inc edx
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
inc ecx
dec edx
push ecx
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add eax, 2
add ecx, 2
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 2
add ecx, 2
push eax
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esi + 4]
mov eax, dword [esi]
add edx, 2
add eax, 3
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 2
add eax, 3
push edx
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
dec ecx
lea eax, [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
dec ecx
push ecx
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 2
inc ecx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 2
dec ecx
push eax
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::LineTo
test ebx, ebx
je 0x4f01f8
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x24]
push ebx
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CDC::DeleteDC
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x10], 0x558628
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0x558614
mov byte [esp + 0x4c], 0
call fcn.005480e2
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 0xffffffff
call fcn.005482c8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8