Function at 0x140037c70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne bl
mov byte [rsp + 0x90], bl
test bl, bl
jne 0x140037cb2
xor dil, dil
jmp 0x140037f49
xor r12d, r12d
mov dword [rsi], r12d
mov rcx, qword [rsi + 0x18]
call fcn.14011b120
mov rcx, qword [rsi + 0x20]
call fcn.14011b120
mov rcx, qword [rsi + 0x28]
call fcn.14011b120
mov rcx, qword [rsi + 0x30]
call fcn.14011b120
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.AmazonVNCViewer.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 0x140037ddd
lea ecx, [r12 + 0xd]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x140037ddd
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 0x140037ddd
test eax, eax
jle 0x140037ddd
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 0x140037dd4
mov rcx, r14
call fcn.14011b4c0
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 0x140037dcf
mov dword [rsi + 4], eax
mov r8d, eax
mov rdx, rcx
mov ecx, dword [rsi]
call sym.AmazonVNCViewer.exe_crc32_z
mov dword [rsi], eax
jmp 0x140037dd4
call fcn.14011b120
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 8], r12d
mov ecx, dword [0x1402c09f8]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140037e51
mov ecx, dword [0x1402c09f8]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x140037e51
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 0x140037e51
test r14d, r14d
jle 0x140037e51
movsxd rdi, r14d
mov rcx, rdi
call fcn.14011b4c0
mov qword [rsi + 0x20], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.14011fbe0
mov dword [rsi + 8], r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 0xc], r12d
mov ecx, dword [0x1402c09f4]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140037ec5
mov ecx, dword [0x1402c09f4]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x140037ec5
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 0x140037ec5
test r14d, r14d
jle 0x140037ec5
movsxd rdi, r14d
mov rcx, rdi
call fcn.14011b4c0
mov qword [rsi + 0x28], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.14011fbe0
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 0x140037f37
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x140037f37
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 0x140037f37
test r14d, r14d
jle 0x140037f37
movsxd rdi, r14d
mov rcx, rdi
call fcn.14011b4c0
mov qword [rsi + 0x30], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.14011fbe0
mov dword [rsi + 0x10], r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [rsi + 8]
add eax, dword [rsi + 4]
add eax, dword [rsi + 0x10]
add eax, dword [rsi + 0xc]
test eax, eax
setg dil
test bl, bl
je 0x140037f53
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, dil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret