Function at 0x4028b0
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x40cf68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x34]
mov ebx, ecx
mov dword [esp + 0xc], ebx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
jle 0x4028e2
mov dword [esi + 8], eax
mov dword [esi], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jle 0x4028f2
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x402912
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push ebp
push edi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [esi]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x3c], ecx
test ebp, ebp
jge 0x402947
xor ebp, ebp
test ecx, ecx
jge 0x402957
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x60]
cmp eax, edx
jle 0x402960
mov eax, edx
mov edx, dword [ebx + 0x64]
cmp esi, edx
jle 0x402969
mov esi, edx
sub eax, ebp
sub esi, ecx
mov ebx, eax
mov eax, dword [esp + 0x10]
push esi
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x402a19
lea ecx, [esp + 0x1c]
call fcn.0040c66c
push edi
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CDC::FromHandle
test eax, eax
je 0x4029b2
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xd8]
test eax, eax
je 0x4029d4
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push 0xcc0020
neg eax
sbb eax, eax
push ecx
and eax, edx
push ebp
push eax
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
jmp 0x402a36
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push 0xcc0020
push edx
push ebp
push eax
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edx
mov ebx, eax
call esi
push edi
call esi
mov eax, dword [esp + 0x40]
pop edi
test eax, eax
pop ebp
je 0x402a97
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x402a97
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call fcn.00404960
add esp, 4
mov esi, eax
push esi
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x24]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8