Function at 0x140037160
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140037198
xor eax, eax
jmp 0x140037426
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x1400371b0
test rax, rax
jle 0x14003741b
lea rsi, [rax*2 + 2]
mov rdx, rsi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140037210
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
mov r8, rsi
mov rdx, r14
call fcn.1400452f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x40], rax
lea rax, vtable.CVolObject.0
mov qword [rbp - 0x40], rax
xor r13d, r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
lea rax, vtable.CVolMem.0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], r13
mov eax, 0x40
mov qword [rbp - 0x10], rax
test r14, r14
je 0x14003738b
cmp word [r14], r13w
je 0x14003738b
mov rsi, rdi
nop word [rax + rax]
lea rsi, [rsi + 1]
cmp word [r14 + rsi*2], 0
jne 0x140037270
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9d, [rsi + 1]
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r12, eax
mov r15, qword [rbp - 0x28]
test r15, r15
je 0x14003731f
cmp r12, qword [rbp - 0x18]
je 0x140037362
test eax, eax
jne 0x1400372dd
mov rdx, r15
lea rcx, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
call qword [rax + 0x18]
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], r13
mov r15, r13
jmp 0x140037362
mov rbx, qword [rbp - 0x10]
test rbx, rbx
mov eax, 0x40
cmovle rbx, rax
mov rax, qword [rbp - 0x20]
cmp rax, r12
jl 0x1400372fe
sub rax, r12
cmp rax, rbx
jle 0x14003735e
mov rax, r12
cqo
idiv rbx
sub rbx, rdx
add rbx, r12
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
call qword [rax + 0x10]
jmp 0x140037353
test eax, eax
jne 0x140037328
mov r15, r13
jmp 0x140037362
mov rbx, qword [rbp - 0x10]
test rbx, rbx
mov eax, 0x40
cmovle rbx, rax
mov rax, r12
cqo
idiv rbx
sub rbx, rdx
add rbx, r12
mov rdx, rbx
lea rcx, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
call qword [rax]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
mov r15, rax
mov qword [rbp - 0x18], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
lea r9d, [rsi + 1]
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x140037392
lea r15, [0x140067eeb]
lea rdi, [rdi + 1]
cmp byte [r15 + rdi], 0
jne 0x140037392
lea rdx, [rdi + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1400373e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
lea r8, [rdi + 1]
mov rdx, r15
call fcn.1400452f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
nop
lea rax, vtable.CVolMem.0
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140037404
lea rcx, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
call qword [r8 + 0x18]
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], r13
lea rcx, vtable.CVolObject.0
mov qword [rbp - 0x40], rcx
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret