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

Disassembly:
push 0xffffffffffffffff
push 0x5a21c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x619e70]
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.0056e6de
xor esi, esi
mov ecx, 0x62c588
mov dword [esp + 0x64], esi
call fcn.00571daf
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.0056eb5d
lea ecx, [esp + 0x38]
call fcn.0056e6de
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.0056eb5d
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.0056e330
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x405b67
push 0x80004005
call fcn.00402a30
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.00576332
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.0056eda0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.0056ee2f
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 0x405c0d
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 0x405cb8
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 0x405c82
push 0x408
call fcn.0056cbbf
mov esi, eax
add esp, 4
lea edx, [esi + 4]
push edx
mov ecx, 0x300
push 0xff
mov word [esi], cx
mov eax, dword [esp + 0x34]
push 0
push eax
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.0056eda0
push esi
call fcn.0056cbb4
add esp, 4
push 0
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
call fcn.00405d50
mov esi, eax
test esi, esi
je 0x405c9f
mov ebx, ebp
call fcn.00405f40
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.004025b0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x405cc3
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
push eax
push edx
call fcn.0056ee2f
lea ecx, [esp + 0x18]
call fcn.0056edcc
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cfc
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.004025b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0
call fcn.0056ebdc
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], 0xffffffff
call fcn.0056ebdc
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