Function at 0x140005950
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x58], rcx
xor r15d, r15d
mov dword [rbp - 0x60], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r15b
mov esi, 1
mov dword [rbp - 0x60], esi
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ecx, eax
cmp al, 0xd
je 0x140005bea
movzx ebx, byte [rbp - 0x5c]
nop dword [rax + rax]
cmp cl, 8
jne 0x140005a04
cmp qword [rdi + 0x10], 0
je 0x140005bd9
lea rdx, [0x140174ae4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c730
mov rax, qword [rdi + 0x10]
dec rax
mov qword [rdi + 0x10], rax
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400059fb
mov rcx, qword [rdi]
mov byte [rcx + rax], 0
jmp 0x140005bd9
cmp cl, 0x16
jne 0x140005b8d
or esi, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140005a43
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
xor r8d, r8d
lea rdx, [0x140174a38]
lea rcx, [rbp - 0x50]
call fcn.14000d680
jmp 0x140005ac5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
test rax, rax
jne 0x140005a5e
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140005a1c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x140005a74
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140005a1c
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005a90
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000d680
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x60], esi
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rdi
call fcn.14000b910
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8b, 0x2a
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140009d70
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005b08
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.140011c10
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140005b50
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c2a
call fcn.1401433c4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140005bd9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c31
call fcn.1401433c4
jmp 0x140005bd9
mov rdx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
cmp rdx, r8
jae 0x140005bb8
lea rax, [rdx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r8, 0xf
jbe 0x140005bae
mov rax, qword [rdi]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x140005bcd
movzx r9d, cl
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14000d510
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c920
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
movzx ecx, al
cmp al, 0xd
jne 0x1400059c0
lea rdx, [0x14000caf0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140143120
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3