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

Disassembly:
push 0xffffffffffffffff
push 0x4af7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4efd34]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x2c]
call fcn.0048955b
xor esi, esi
mov ecx, 0x4f1a40
mov dword [esp + 0x64], esi
call fcn.00491a57
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.0048997d
lea ecx, [esp + 0x3c]
call fcn.0048955b
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.0048997d
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.0048b095
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x415575
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.0048f1c8
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.00489bb5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.00489c3a
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 0x41561f
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 0x4156cb
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], vtable.CPalette.0
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 0x415690
push 0x408
call fcn.00488fa2
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.00489bb5
push esi
call fcn.00488fa7
add esp, 4
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00415290
mov esi, eax
push esi
push edi
mov ecx, ebx
call fcn.004151d0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 3
mov dword [esp + 0x24], vtable.CGdiObject.0
call fcn.00489c08
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4156d6
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.00489c3a
lea ecx, [esp + 0x1c]
call fcn.00489bde
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 0x41570f
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.CGdiObject.0
call fcn.00489c08
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0
call fcn.004899f7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004899f7
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