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

Disassembly:
push 0xffffffffffffffff
push 0x4a6c88
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3e9c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x2c]
call fcn.0048012b
xor esi, esi
mov ecx, 0x4e5da0
mov dword [esp + 0x64], esi
call fcn.004886ea
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.0048054d
lea ecx, [esp + 0x3c]
call fcn.0048012b
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.0048054d
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.00486e52
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x415555
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.00485231
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.00480785
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.0048080a
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 0x4155ff
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 0x4156a8
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 0x415671
push 0x408
call fcn.0047fb72
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.00480785
push esi
call fcn.0047fb77
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], ebp
call fcn.00401820
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4156b3
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.0048080a
lea ecx, [esp + 0x1c]
call fcn.004807ae
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 0x4156ec
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.004805c7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004805c7
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