Function at 0x407440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x408f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CClientDC::CClientDC
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], 0
call sub.MFC42.DLL_CDC::CDC
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov byte [esp + 0x54], 1
and eax, ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::Attach
lea eax, [esi + 0x248]
test eax, eax
je 0x4074a9
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x1c]
mov edi, eax
lea eax, [esp + 0x18]
push 0xcc0020
neg eax
sbb eax, eax
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
and eax, ecx
mov ecx, dword [esp + 0x40]
push 0
push 0
push eax
push 0x28
push 0x38
push 0xbe
push 0x2a
push ecx
call ebp
lea eax, [esi + 0x250]
test eax, eax
je 0x4074f3
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x1c]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
push 0
push 0
push eax
mov eax, dword [esp + 0x4c]
push 0x28
push 0x38
push 0xfa
push 0x2a
push eax
call ebp
test edi, edi
je 0x40752f
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x1c]
push edi
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0xc]
mov dword [esi + 0x258], edi
call sub.MFC42.DLL_CString::CString_2
push 0xfe
push edi
push 0xfe
lea edx, [esp + 0x18]
push str._c_d_c
push edx
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x74]
add esp, 0x14
mov dword [esi + 0x60], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x4099ec
push 0
push str.Andalus
push 0x8c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 3
call sub.MFC42.DLL_CFont::CreatePointFont
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::SelectObject_2
push 1
lea ecx, [esp + 0x3c]
mov edi, eax
call sub.MFC42.DLL_CDC::SetBkMode
push 0xff0000
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::SetTextColor
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x5c]
mov eax, dword [edx*4 + 0x40d06c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x5c]
mov ebp, 0x2a
mov esi, 0x62
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0xbe
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0xe6
mov ecx, dword [eax - 8]
lea edx, [esp + 0x28]
push 1
push edx
push ecx
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 4
call dword [eax + 0x70]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 3
call fcn.00407f1a
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0xfa
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x122
mov ecx, dword [eax - 8]
lea edx, [esp + 0x28]
push 1
push edx
push ecx
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [eax + 0x70]
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CDC::SelectObject_2
mov dword [esp + 0x10], 0x4097d8
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0x4097c4
mov byte [esp + 0x54], 1
call fcn.00407f1a
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 0
call fcn.00408178
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.00407f56
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret 8