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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d838
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 0x4069e0
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 0x4069f5
mov dword [esi + 8], eax
mov dword [esi], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jle 0x406a05
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x406a25
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 0x5e7598
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x406a52
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 0x406a7e
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 0x406a9a
mov dword [ebp - 0x1c], ebx
mov ecx, ebx
cmp edx, ebx
jge 0x406aa3
mov dword [ebp - 0x18], ebx
mov edx, ebx
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x5c]
cmp eax, ebx
jle 0x406aaf
mov eax, ebx
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x60]
cmp esi, ebx
jle 0x406abb
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 0x406b11
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 0x5e7590
push 0x5e7568
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 0x406ba7
lea ecx, [ebp - 0x38]
call fcn.0056eed4
push edi
mov byte [ebp - 4], 1
call fcn.0056ef76
test eax, eax
je 0x406b40
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x38]
call fcn.0056ef8b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xd0]
test eax, eax
je 0x406b60
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x34]
push eax
push edx
call fcn.0056f0cc
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.0056eff3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.0056f009
jmp 0x406bc5
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 0x406c86
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, edi
je 0x406c1b
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 0x406afc
cmp dword [ecx + 4], edi
je 0x406afc
call fcn.0056fb6a
jmp 0x406afc
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