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

Disassembly:
push 0xffffffffffffffff
push 0x46aa68
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489e34]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x2c]
call fcn.0044850e
xor esi, esi
mov ecx, 0x48b720
mov dword [esp + 0x64], esi
call fcn.0044ff28
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.00448930
lea ecx, [esp + 0x3c]
call fcn.0044850e
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.00448930
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.0044ea29
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40d245
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.0044c2e7
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.00448b68
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.00448bed
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 0x40d2ef
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 0x40d39b
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 0x40d360
push 0x408
call fcn.004476a2
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.00448b68
push esi
call fcn.004476a7
add esp, 4
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0040cf90
mov esi, eax
push esi
push edi
mov ecx, ebx
call fcn.0040ced0
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.00448bbb
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40d3a6
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.00448bed
lea ecx, [esp + 0x1c]
call fcn.00448b91
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 0x40d3df
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.00448bbb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0
call fcn.004489aa
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004489aa
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