Function at 0x4063d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4847
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
push ebx
push esi
push edi
mov eax, dword [0x513624]
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 0x4064e4
call fcn.00462c60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4064d0
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.0040b810
push 3
push 0x4e2990
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.0040b810
mov byte [ebp - 4], 1
call fcn.00462c60
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x1e9
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404a90
mov esi, eax
push 0x4e2a94
push esi
mov byte [ebp - 4], 2
call fcn.00405c80
push str.Failed_to_open_clipboard.
push esi
call fcn.00405c80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405f10
lea ecx, [ebp - 0x24]
call fcn.00405400
lea ecx, [ebp - 0x3c]
call fcn.00405400
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 0x4065d1
call fcn.00462c60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4065b7
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.0040b810
push 3
push 0x4e2990
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.0040b810
mov byte [ebp - 4], 4
call fcn.00462c60
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x1ee
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00404a90
mov esi, eax
push 0x4e2a94
push esi
mov byte [ebp - 4], 5
call fcn.00405c80
push str.Failed_to_empty_clipboard.
push esi
call fcn.00405c80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405f10
lea ecx, [ebp - 0x3c]
call fcn.00405400
lea ecx, [ebp - 0x24]
call fcn.00405400
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 0x4065f2
mov eax, dword [ecx + 0x10]
add ecx, 0x18
lea esi, [esi + eax*2]
add esi, 2
cmp ecx, edx
jne 0x4065e2
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 0x4066e8
call fcn.00462c60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4066ce
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.0040b810
push 3
push 0x4e2990
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.0040b810
mov byte [ebp - 4], 7
call fcn.00462c60
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x1fd
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00404a90
mov esi, eax
push 0x4e2a94
push esi
mov byte [ebp - 4], 8
call fcn.00405c80
push str.Failed_to_allocate_global_memory.
push esi
call fcn.00405c80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405f10
lea ecx, [ebp - 0x3c]
call fcn.00405400
lea ecx, [ebp - 0x24]
call fcn.00405400
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 0x4067dd
call fcn.00462c60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4067bc
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.0040b810
push 3
push 0x4e2990
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.0040b810
mov byte [ebp - 4], 0xa
call fcn.00462c60
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x205
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00404a90
mov esi, eax
push 0x4e2a94
push esi
mov byte [ebp - 4], 0xb
call fcn.00405c80
push str.Failed_to_lock_global_memory.
push esi
call fcn.00405c80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.00405f10
lea ecx, [ebp - 0x3c]
call fcn.00405400
lea ecx, [ebp - 0x24]
call fcn.00405400
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 0x406849
mov ebx, dword [ebp - 0x40]
nop dword [eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40682a
mov eax, dword [esi]
push eax
push ebx
push edi
call fcn.004a52fb
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 0x406820
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 0x40694c
call fcn.00462c60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40692b
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.0040b810
push 3
push 0x4e2990
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.0040b810
mov byte [ebp - 4], 0xd
call fcn.00462c60
mov edi, eax
lea ecx, [ebp - 0x1a8]
push 0x220
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00404a90
mov esi, eax
push 0x4e2a94
push esi
mov byte [ebp - 4], 0xe
call fcn.00405c80
push str.Failed_to_set_clipboard_data.
push esi
call fcn.00405c80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.00405f10
lea ecx, [ebp - 0x60]
call fcn.00405400
lea ecx, [ebp - 0x78]
call fcn.00405400
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