Function at 0x405fe0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce8a7
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
push ebx
push esi
push edi
mov eax, dword [0x50b624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4060f4
call fcn.0045d090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4060e0
push 0x55
push str.d:jenkins.jenkinsworkspacegroup_cleandesktop_quickdesktop_quickcommonutils.cc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], al
call fcn.0040a6f0
push 3
push 0x4db970
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.0040a6f0
mov byte [ebp - 4], 1
call fcn.0045d090
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x1c7
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404840
mov esi, eax
push 0x4dba74
push esi
mov byte [ebp - 4], 2
call fcn.00405890
push str.Failed_to_open_clipboard.
push esi
call fcn.00405890
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405b20
lea ecx, [ebp - 0x24]
call fcn.004051b0
lea ecx, [ebp - 0x3c]
call fcn.004051b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4061e1
call fcn.0045d090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4061c7
push 0x55
push str.d:jenkins.jenkinsworkspacegroup_cleandesktop_quickdesktop_quickcommonutils.cc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.0040a6f0
push 3
push 0x4db970
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0040a6f0
mov byte [ebp - 4], 4
call fcn.0045d090
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x1cc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00404840
mov esi, eax
push 0x4dba74
push esi
mov byte [ebp - 4], 5
call fcn.00405890
push str.Failed_to_empty_clipboard.
push esi
call fcn.00405890
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405b20
lea ecx, [ebp - 0x3c]
call fcn.004051b0
lea ecx, [ebp - 0x24]
call fcn.004051b0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov esi, 0x14
mov edx, dword [eax + 4]
mov ecx, dword [eax]
cmp ecx, edx
je 0x406202
mov eax, dword [ecx + 0x10]
add ecx, 0x18
lea esi, [esi + eax*2]
add esi, 2
cmp ecx, edx
jne 0x4061f2
add esi, 2
push esi
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [ebp - 0x48], ebx
test ebx, ebx
jne 0x4062f8
call fcn.0045d090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4062de
push 0x55
push str.d:jenkins.jenkinsworkspacegroup_cleandesktop_quickdesktop_quickcommonutils.cc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.0040a6f0
push 3
push 0x4db970
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], bl
call fcn.0040a6f0
mov byte [ebp - 4], 7
call fcn.0045d090
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x1db
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00404840
mov esi, eax
push 0x4dba74
push esi
mov byte [ebp - 4], 8
call fcn.00405890
push str.Failed_to_allocate_global_memory.
push esi
call fcn.00405890
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405b20
lea ecx, [ebp - 0x3c]
call fcn.004051b0
lea ecx, [ebp - 0x24]
call fcn.004051b0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4063ed
call fcn.0045d090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4063cc
push 0x55
push str.d:jenkins.jenkinsworkspacegroup_cleandesktop_quickdesktop_quickcommonutils.cc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.0040a6f0
push 3
push 0x4db970
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 9
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0040a6f0
mov byte [ebp - 4], 0xa
call fcn.0045d090
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x1e3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00404840
mov esi, eax
push 0x4dba74
push esi
mov byte [ebp - 4], 0xb
call fcn.00405890
push str.Failed_to_lock_global_memory.
push esi
call fcn.00405890
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405b20
lea ecx, [ebp - 0x3c]
call fcn.004051b0
lea ecx, [ebp - 0x24]
call fcn.004051b0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 0xffffffec
mov dword [eax], 0x14
shr esi, 1
lea edi, [eax + 0x14]
mov dword [ebp - 0x40], esi
mov esi, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 1
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [ebp - 0x44], eax
cmp esi, eax
je 0x406459
mov ebx, dword [ebp - 0x40]
nop dword [eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40643a
mov eax, dword [esi]
push eax
push ebx
push edi
call fcn.0049f3eb
mov eax, dword [esi + 0x10]
add esp, 0xc
add esi, 0x18
lea edi, [edi + eax*2]
add edi, 2
cmp esi, dword [ebp - 0x44]
jne 0x406430
mov ebx, dword [ebp - 0x48]
xor eax, eax
push ebx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xf
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x40655c
call fcn.0045d090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40653b
push 0x55
push str.d:jenkins.jenkinsworkspacegroup_cleandesktop_quickdesktop_quickcommonutils.cc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], al
call fcn.0040a6f0
push 3
push 0x4db970
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.0040a6f0
mov byte [ebp - 4], 0xd
call fcn.0045d090
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0x1fe
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00404840
mov esi, eax
push 0x4dba74
push esi
mov byte [ebp - 4], 0xe
call fcn.00405890
push str.Failed_to_set_clipboard_data.
push esi
call fcn.00405890
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.00405b20
lea ecx, [ebp - 0x60]
call fcn.004051b0
lea ecx, [ebp - 0x78]
call fcn.004051b0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret