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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
jne 0x406a00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
mov dword [ebp - 4], 0
jle 0x406a15
mov dword [esi + 8], eax
mov dword [esi], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jle 0x406a25
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x406a45
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x406a72
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
mov dword [ebp - 0x24], edi
jne 0x406a9e
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
cmp ecx, ebx
mov dword [ebp - 0x18], edx
jge 0x406aba
mov dword [ebp - 0x1c], ebx
mov ecx, ebx
cmp edx, ebx
jge 0x406ac3
mov dword [ebp - 0x18], ebx
mov edx, ebx
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x5c]
cmp eax, ebx
jle 0x406acf
mov eax, ebx
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x60]
cmp esi, ebx
jle 0x406adb
mov esi, ebx
sub eax, ecx
sub esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push esi
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x406b31
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ecx
call esi
push edi
call esi
mov edx, dword [ebp - 0x14]
push 0
push 0x5d6590
push 0x5d6568
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x406bc7
lea ecx, [ebp - 0x38]
call fcn.0055fdcc
push edi
mov byte [ebp - 4], 1
call fcn.0055fe6e
test eax, eax
je 0x406b60
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x38]
call fcn.0055fe83
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xd0]
test eax, eax
je 0x406b80
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x34]
push eax
push edx
call fcn.0055ffc4
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push 0xcc0020
neg eax
sbb eax, eax
push ecx
and eax, edx
mov edx, dword [ebp - 0x1c]
push edx
push eax
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0x38]
call fcn.0055feeb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.0055ff01
jmp 0x406be5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
push 0xcc0020
push eax
push ecx
push edx
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x28]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ecx
call esi
push edi
call esi
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
mov dword [ebp + 8], edi
mov dword [ebp - 0x24], edi
je 0x406ca6
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, edi
je 0x406c3b
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x20]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0xd0]
cmp ecx, edi
je 0x406b1c
cmp dword [ecx + 4], edi
je 0x406b1c
call fcn.00560a62
jmp 0x406b1c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8