Function at 0x140015930
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
mov rcx, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne bl
mov byte [rsp + 0x80], bl
test bl, bl
jne 0x14001596a
xor dil, dil
jmp 0x140015c01
xor r12d, r12d
mov dword [rsi], r12d
mov rcx, qword [rsi + 0x18]
call fcn.140132640
mov rcx, qword [rsi + 0x20]
call fcn.140132640
mov rcx, qword [rsi + 0x28]
call fcn.140132640
mov rcx, qword [rsi + 0x30]
call fcn.140132640
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.winvnc.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 0x140015a95
lea ecx, [r12 + 0xd]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x140015a95
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 0x140015a95
test eax, eax
jle 0x140015a95
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 0x140015a8c
mov rcx, r14
call fcn.14013268c
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 0x140015a87
mov dword [rsi + 4], eax
mov r8d, eax
mov rdx, rcx
mov ecx, dword [rsi]
call sym.winvnc.exe_crc32_z
mov dword [rsi], eax
jmp 0x140015a8c
call fcn.140132640
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 8], r12d
mov ecx, dword [0x1401fdf54]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140015b09
mov ecx, dword [0x1401fdf54]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x140015b09
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 0x140015b09
test r14d, r14d
jle 0x140015b09
movsxd rdi, r14d
mov rcx, rdi
call fcn.14013268c
mov qword [rsi + 0x20], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.140134960
mov dword [rsi + 8], r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 0xc], r12d
mov ecx, dword [0x1401fdf50]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140015b7d
mov ecx, dword [0x1401fdf50]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x140015b7d
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 0x140015b7d
test r14d, r14d
jle 0x140015b7d
movsxd rdi, r14d
mov rcx, rdi
call fcn.14013268c
mov qword [rsi + 0x28], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.140134960
mov dword [rsi + 0xc], r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsi + 0x10], r12d
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140015bef
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x140015bef
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 0x140015bef
test r14d, r14d
jle 0x140015bef
movsxd rdi, r14d
mov rcx, rdi
call fcn.14013268c
mov qword [rsi + 0x30], rax
mov r8, rdi
mov rdx, r15
mov rcx, rax
call fcn.140134960
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 0x140015c0b
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, dil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret