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

Disassembly:
push 0xffffffffffffffff
push 0x4a9468
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e86e0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x2c]
call fcn.00482959
xor esi, esi
mov ecx, 0x4ea5e0
mov dword [esp + 0x64], esi
call fcn.0048af14
mov ebp, eax
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
lea ecx, [esp + 0x30]
call fcn.00482d7b
lea ecx, [esp + 0x3c]
call fcn.00482959
mov ecx, dword [esp + 0x30]
push ecx
mov byte [esp + 0x68], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x40]
call fcn.00482d7b
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], vtable.CBitmap.0
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0x6c], 2
call dword [sym.imp.USER32.dll_GetWindowRect]
call fcn.0048449d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4155f5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov byte [esp + 0x68], 3
call fcn.0048898d
mov esi, dword [esp + 0x58]
sub esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
sub edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
push esi
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.00482fb3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.00483038
mov edx, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
push edx
push esi
push edi
push 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [esp + 0x6c]
test edi, edi
jne 0x41569f
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [esp + 0x20]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x415748
mov ebp, vtable.CPalette.0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x34]
push 0x26
push eax
mov byte [esp + 0x6c], 4
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, 0x100
je 0x415711
push 0x408
call fcn.00482392
add esp, 4
mov esi, eax
lea ecx, [esi + 4]
push ecx
push 0xff
mov word [esi], 0x300
mov edx, dword [esp + 0x38]
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 + 0x28]
call fcn.00482fb3
push esi
call fcn.00482397
add esp, 4
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00415330
mov esi, eax
push esi
push edi
mov ecx, ebx
call fcn.00415270
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 3
mov dword [esp + 0x24], ebp
call fcn.00401820
mov eax, dword [esp + 0x18]
test eax, eax
je 0x415753
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.00483038
lea ecx, [esp + 0x1c]
call fcn.00482fdc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x64], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41578c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.00401820
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0
call fcn.00482df5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00482df5
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