Function at 0x4cb0cb
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x4f08e4
call fcn.00471450
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x88]
cmp ecx, edi
je 0x4cb0f6
cmp dword [ecx + 4], edi
je 0x4cb0f6
call sub.MFC42.DLL_CGdiObject::DeleteObject
push dword [esi + 0x20]
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x48], ebx
je 0x4cb4ad
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::CDC
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CDC::CDC
push dword [ebx + 4]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov byte [ebp - 4], 1
call edi
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x4cb489
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x5c]
push eax
push ecx
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x88]
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
je 0x4cb489
push dword [ebx + 4]
call edi
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x4cb489
lea eax, [esi + 0x88]
test eax, eax
je 0x4cb1a3
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x2c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push 0xffffff
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::FillSolidRect
mov dword [ebp - 0x18], 0x4f65ac
mov ebx, 0x50567c
mov byte [ebp - 4], 2
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0x5081f8
push dword [esi + 0x54]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004bb9c7
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4cb254
lea eax, [ebp - 0x74]
push eax
push 0x18
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 0x3c]
push 0xcc0020
push ecx
push ecx
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push ecx
push ecx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4cb24b
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4cb2c9
push eax
lea ecx, [ebp - 0x18]
call fcn.004bb9c7
test eax, eax
je 0x4cb2c9
lea eax, [ebp - 0x74]
push eax
push 0x18
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 0x3c]
push 0xcc0020
push ecx
push ecx
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push ecx
push ecx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4cb2c0
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x475
lea ecx, [ebp - 0x18]
call fcn.004bb9c7
test eax, eax
je 0x4cb341
lea eax, [ebp - 0x74]
push eax
push 0x18
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x64]
push 0
mov edx, dword [esi + 0x60]
push 0
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push ecx
push edx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4cb338
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esi + 0x5c]
cmp dword [eax - 8], 0
je 0x4cb44a
mov dword [ebp - 0x20], 0x4f65ac
mov byte [ebp - 4], 5
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], 0x50ab6c
push 0x11
mov byte [ebp - 4], 7
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0xb0]
push eax
push 0x3c
push dword [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::Detach
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa0], 0x2bc
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CDC::SelectObject
push dword [esi + 0x80]
lea ecx, [ebp - 0x30]
mov edi, eax
call sub.MFC42.DLL_CDC::SetTextColor
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x44], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x5c]
lea edx, [esi + 0x70]
push 0x24
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call dword [eax + 0x70]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::SetBkMode
push dword [ebp - 0x44]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::SetTextColor
push edi
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::SelectObject
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0x50ab6c
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4cb454
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x2c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0x5081f8
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
push dword [ebx + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004d87a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004d87a2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret