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

Disassembly:
push 0xffffffffffffffff
push 0x4e05b8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5265f0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
call fcn.004baaab
xor esi, esi
mov ecx, 0x52f7a8
mov dword [esp + 0x64], esi
call fcn.004bd1ca
mov ebx, eax
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
lea ecx, [esp + 0x2c]
call fcn.004baecd
lea ecx, [esp + 0x38]
call fcn.004baaab
mov byte [esp + 0x64], 1
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.004baecd
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.CBitmap.0
lea edx, [esp + 0x48]
mov byte [esp + 0x64], 2
mov eax, dword [ebx + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
call fcn.004bc162
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x404037
push 0x80004005
call fcn.00401a50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
mov byte [esp + 0x68], 3
call fcn.004b87f2
mov esi, dword [esp + 0x54]
sub esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
sub edi, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push esi
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.004bb105
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.004bb18a
mov edx, dword [esp + 0x2c]
push 0xcc0020
push 0
push 0
push edx
push esi
push edi
push 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
jne 0x4040dd
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [esp + 0x1c]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x404185
mov edi, vtable.CPalette.0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], edi
mov byte [esp + 0x64], 4
mov eax, dword [esp + 0x30]
push 0x26
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, 0x100
je 0x40414f
push 0x408
call fcn.004b3e82
add esp, 4
mov esi, eax
lea ecx, [esi + 4]
push ecx
push 0xff
mov word [esi], 0x300
mov edx, dword [esp + 0x34]
push 0
push edx
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
push esi
mov word [esi + 2], ax
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
lea ecx, [esp + 0x24]
call fcn.004bb105
push esi
call fcn.004b3e87
add esp, 4
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
call fcn.00404220
mov esi, eax
test esi, esi
je 0x40416c
mov ebx, ebp
call fcn.00404410
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [esp + 0x64], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call fcn.00401870
mov eax, dword [esp + 0x14]
test eax, eax
je 0x404190
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.004bb18a
lea ecx, [esp + 0x18]
call fcn.004bb12e
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4041c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CBitmap.0
call fcn.00401870
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0
call fcn.004baf47
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], 0xffffffff
call fcn.004baf47
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4