Function at 0x140038500
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne bl
mov byte [rsp + 0x78], bl
test bl, bl
jne 0x14003853b
xor dil, dil
jmp 0x1400387d2
xor r12d, r12d
mov dword [rsi], r12d
mov rcx, qword [rsi + 0x18]
call fcn.14011c3a0
mov rcx, qword [rsi + 0x20]
call fcn.14011c3a0
mov rcx, qword [rsi + 0x28]
call fcn.14011c3a0
mov rcx, qword [rsi + 0x30]
call fcn.14011c3a0
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x30], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.vncviewer.exe_crc32_z
mov dword [rsi], eax
mov dword [rsi + 4], r12d
lea ecx, [r12 + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140038666
lea ecx, [r12 + 0xd]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x140038666
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalSize]
test rbp, rbp
je 0x140038666
test eax, eax
jle 0x140038666
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 - 1]
mov r8, rbp
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
test eax, eax
jle 0x14003865d
mov rcx, r14
call fcn.14011c740
mov qword [rsi + 0x18], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
lea r9d, [r12 - 1]
mov r8, rbp
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsi + 0x18]
test eax, eax
jle 0x140038658
mov dword [rsi + 4], eax
mov r8d, eax
mov rdx, rcx
mov ecx, dword [rsi]
call sym.vncviewer.exe_crc32_z
mov dword [rsi], eax
jmp 0x14003865d
call fcn.14011c3a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 8], r12d
mov ecx, dword [0x1401bfbe0]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400386da
mov ecx, dword [0x1401bfbe0]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400386da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov r14, rax
test r15, r15
je 0x1400386da
test r14d, r14d
jle 0x1400386da
movsxd rdi, r14d
mov rcx, rdi
call fcn.14011c740
mov qword [rsi + 0x20], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.140121290
mov dword [rsi + 8], r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 0xc], r12d
mov ecx, dword [0x1401bfbdc]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14003874e
mov ecx, dword [0x1401bfbdc]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x14003874e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov r14, rax
test r15, r15
je 0x14003874e
test r14d, r14d
jle 0x14003874e
movsxd rdi, r14d
mov rcx, rdi
call fcn.14011c740
mov qword [rsi + 0x28], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.140121290
mov dword [rsi + 0xc], r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 0x10], r12d
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400387c0
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400387c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov r14, rax
test r15, r15
je 0x1400387c0
test r14d, r14d
jle 0x1400387c0
movsxd rdi, r14d
mov rcx, rdi
call fcn.14011c740
mov qword [rsi + 0x30], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.140121290
mov dword [rsi + 0x10], r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [rsi + 0xc]
add eax, dword [rsi + 8]
add eax, dword [rsi + 0x10]
add eax, dword [rsi + 4]
test eax, eax
setg dil
test bl, bl
je 0x1400387dc
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, dil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret