Function at 0x140001700
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0x88
mov rax, qword [0x14000e028]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1400015e0
call qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [rbp + 0xf], 0x10
lea rdx, [rbp - 9]
mov r8, qword [rbp + 7]
mov rcx, rbx
cmovae rdx, qword [rbp - 9]
call fcn.1400028f0
lea rdx, [0x1400021e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x1400017b1
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017ac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008fe4
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1400015e0
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm0, xmm0
lea rcx, [rbp + 0x17]
xor eax, eax
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x37], rax
movups xmmword [rbp + 0x27], xmm0
call fcn.140001aa0
cmp qword [rbp + 0xf], 0x10
lea rcx, [rbp - 9]
mov rdx, qword [rbp + 7]
lea r9, [rbp + 0x17]
cmovae rcx, qword [rbp - 9]
add rdx, rcx
mov dword [rsp + 0x20], 0x10
cmp qword [rbp + 0xf], 0x10
lea rcx, [rbp - 9]
cmovae rcx, qword [rbp - 9]
call fcn.140002730
lea rcx, [rbp + 0x17]
movzx ebx, al
call fcn.140002050
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x140001852
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140001852
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140001890
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000188b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000188b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008fe4
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0x80], r15
test bl, bl
je 0x140001a57
mov rbx, qword [0x14000e058]
lea rdi, [0x14000e048]
xor r15d, r15d
movabs rax, 0x7fffffffffffffff
cmp qword [0x14000e060], 0x10
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
cmovae rdi, qword [0x14000e048]
mov qword [rbp + 0xf], r15
cmp rbx, rax
ja 0x140001a95
lea rsi, [r15 - 1]
mov r14d, 0xf
mov qword [rbp + 0xf], r14
cmp rbx, 0x10
jae 0x140001920
movups xmm0, xmmword [rdi]
mov qword [rbp + 7], rbx
movups xmmword [rbp - 9], xmm0
movq r15, xmm0
jmp 0x1400019a5
mov r14, rbx
or r14, 0xf
cmp r14, rax
jbe 0x140001931
mov r14, rax
jmp 0x14000193d
mov eax, 0x16
cmp r14, rax
cmovb r14, rax
mov rcx, r14
add rcx, 1
cmovb rcx, rsi
cmp rcx, 0x1000
jb 0x14000197d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a8f
mov rcx, rax
call fcn.140008d50
test rax, rax
je 0x140001a48
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x14000198a
test rcx, rcx
je 0x14000198a
call fcn.140008d50
mov r15, rax
lea r8, [rbx + 1]
mov qword [rbp - 9], r15
mov rdx, rdi
mov qword [rbp + 7], rbx
mov rcx, r15
mov qword [rbp + 0xf], r14
call sub.VCRUNTIME140.dll_memcpy
cmp r14, 0x10
lea rax, [rbp - 9]
cmovae rax, r15
cmp byte [rax + rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1400019b1
lea rdx, [rsi + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp r14, 0x10
lea rbx, [rbp - 9]
mov rcx, rax
mov rdi, rax
cmovae rbx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rsi + 1]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
cmp r14, 0x10
jb 0x140001a57
lea rdx, [r14 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140001a4f
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140008fe4
mov r14, qword [rsp + 0xb0]
xor eax, eax
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140008d30
add rsp, 0x88
pop rbx
pop rbp
ret
call fcn.140001170
int3
call fcn.140001210
int3