Function at 0x4e34dc
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x516914
call fcn.00484660
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x88]
cmp ecx, edi
je 0x4e3507
cmp dword [ecx + 4], edi
je 0x4e3507
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 0x4e38c1
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x30]
call fcn.004fbd32
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
call fcn.004fbd32
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 0x4e389d
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 0x4e389d
push dword [ebx + 4]
call edi
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x4e389d
lea eax, [esi + 0x88]
test eax, eax
je 0x4e35b4
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], 0x51c8ec
mov ebx, 0x53111c
mov byte [ebp - 4], 2
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0x531108
push dword [esi + 0x54]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004ce11a
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4e3665
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 0x4e365c
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 0x4e36da
push eax
lea ecx, [ebp - 0x18]
call fcn.004ce11a
test eax, eax
je 0x4e36da
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 0x4e36d1
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.004ce11a
test eax, eax
je 0x4e3752
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 0x4e3749
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 0x4e385e
mov dword [ebp - 0x20], 0x51c8ec
mov byte [ebp - 4], 5
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], 0x534314
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 0x824
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], 0x534314
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 0x4e3868
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], 0x531108
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