Function at 0x4023a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40aac0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
mov eax, dword [0x411028]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x4023f5
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc90u.dll_CDC::FromHandle
mov dword [ebp + 8], eax
mov dword [esp + 0x10], 1
mov esi, eax
lea ecx, [esp + 0x3c]
call sub.mfc90u.dll_CDC::CDC
mov dword [esp + 0x68], ebx
cmp esi, ebx
jne 0x40240a
xor eax, eax
jmp 0x40240d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CDC::Attach
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.CBitmap.0
mov byte [esp + 0x68], 1
mov edx, dword [edi + 0x20]
mov esi, dword [edi + 0x80]
lea ecx, [esp + 0x4c]
push ecx
push edx
add esi, 0x16
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
sub ebx, dword [esp + 0x4c]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ebx
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x28]
test eax, eax
je 0x402488
mov edx, dword [esp + 0x40]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CBrush::CBrush
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [edi + 0x78]
push eax
push esi
push ebx
push 0
push 0
lea ecx, [esp + 0x50]
call sub.mfc90u.dll_CDC::FillSolidRect_1
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.CPen.0
push 0xa0a0a0
push 1
push 0
mov byte [esp + 0x74], 3
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CGdiObject::Attach
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CDC::SelectObject_1
dec esi
push esi
push 0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], eax
call sub.mfc90u.dll_CDC::MoveTo
push esi
push ebx
lea ecx, [esp + 0x44]
call sub.mfc90u.dll_CDC::LineTo
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call sub.mfc90u.dll_CDC::SelectObject_1
lea esi, [edi + 0x150]
lea ecx, [esp + 0x3c]
call fcn.00403c20
lea esi, [edi + 0x224]
lea ecx, [esp + 0x3c]
call fcn.00403c20
lea esi, [edi + 0x2a4]
lea ecx, [esp + 0x3c]
call fcn.00403c20
lea esi, [edi + 0x324]
lea ecx, [esp + 0x3c]
call fcn.00405030
lea esi, [edi + 0x468]
lea ecx, [esp + 0x3c]
call fcn.00403c20
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push 0xcc0020
push 0
push 0
push ecx
push edx
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x10], 0
je 0x4025b7
mov esi, dword [esi + 4]
mov eax, dword [edi + 0x20]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CPen.0
call fcn.00401be0
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.00401be0
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.00401be0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
call fcn.004097ec
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4