Function at 0x4d0b76
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x4ff490
call fcn.00475fe0
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x88]
cmp ecx, edi
je 0x4d0ba1
cmp dword [ecx + 4], edi
je 0x4d0ba1
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 0x4d0f58
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x30]
call fcn.004e6d26
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
call fcn.004e6d26
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 0x4d0f34
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 0x4d0f34
push dword [ebx + 4]
call edi
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x4d0f34
lea eax, [esi + 0x88]
test eax, eax
je 0x4d0c4e
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], 0x50469c
mov ebx, 0x516b4c
mov byte [ebp - 4], 2
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0x517278
push dword [esi + 0x54]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004bc0bd
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4d0cff
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 0x4d0cf6
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 0x4d0d74
push eax
lea ecx, [ebp - 0x18]
call fcn.004bc0bd
test eax, eax
je 0x4d0d74
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 0x4d0d6b
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.004bc0bd
test eax, eax
je 0x4d0dec
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 0x4d0de3
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 0x4d0ef5
mov dword [ebp - 0x20], 0x50469c
mov byte [ebp - 4], 5
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], 0x51a49c
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_1
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_1
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0x51a49c
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 0x4d0eff
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], 0x517278
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 sub.MFC42.DLL_CDC::CDC
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret