Function at 0x428af0
Capabilities:
Check for peb beingdebugged flag
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x42dbc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov esi, eax
lea eax, [edi + 0x54]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x40]
lea edx, [esp + 0x20]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call sub.MFC42.DLL_CDC::LPtoDP
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 1
lea edx, [ecx + ebx + 2]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], edx
lea edx, [eax + ecx + 7]
mov ecx, esi
mov dword [esp + 0x14], edx
call sub.MFC42.DLL_CDC::SetBkMode
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0x18
call ebp
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CBrush::CBrush
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mov dword [esp + 0x60], 0
call sub.MFC42.DLL_CDC::SelectObject_2
push 0
push 0
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 1
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
sub eax, ebx
sub ecx, edx
mov edx, dword [esi + 4]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esi]
push 0x17
mov dword [esp + 0x1c], edx
call ebp
push eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
call dword [eax + 0x38]
push 0
mov ecx, esi
call sub.MFC42.DLL_CDC::SetTextAlign
mov eax, dword [edi + 0x40]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push 3
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x44]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], edx
call sub.MFC42.DLL_CWnd::ClientToScreen
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x4c]
add eax, 0x14
sub edx, ecx
inc ecx
push edx
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_2
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, 0x42ec20
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x34], 0x42ec0c
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 8