Function at 0x140017ef0
Capabilities:
Encode data using xor
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400aa0c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
xor r15d, r15d
mov esi, r15d
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ebx, eax
cmp al, 0xd
je 0x1400181b5
mov ebp, dword [reloc.WS2_32.dll_accept]
cmp bl, 8
jne 0x140018049
test rsi, rsi
je 0x1400181a4
dec rsi
mov eax, dword [0x14009c284]
mov dword [rsp + 0x20], eax
cmp byte [0x14009c287], 0
je 0x140018033
cmp ebp, 2
jl 0x140017fed
movdqa xmm3, xmmword [0x14009c2c0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14009c310]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14009c310]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14009c2e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14009c2f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555_t]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x140018033
lea r9, [rsp + 0x20]
mov r8d, r15d
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, r8b
sub al, dl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140018000
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013620
jmp 0x1400181a4
cmp rsi, 0x63
jae 0x1400181a4
cmp bl, 0x16
jne 0x14001818f
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14001818f
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400181a4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400181a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400180c0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140014cd0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov ebx, 0x63
sub rbx, rsi
mov rdi, qword [rsp + 0x38]
cmp rdi, rbx
cmovb rbx, rdi
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
seta r9b
cmova r8, qword [rsp + 0x28]
add r8, rbx
lea rdx, [rsp + 0x28]
test r9b, r9b
cmovne rdx, qword [rsp + 0x28]
lea rcx, [r14 + rsi]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add rsi, rbx
test rdi, rdi
je 0x140018154
nop word [rax + rax]
mov dl, 0x2a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013e20
sub rdi, 1
jne 0x140018140
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400181a4
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400181e1
call fcn.140085540
jmp 0x1400181a4
mov byte [r14 + rsi], bl
inc rsi
mov dl, 0x2a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013e20
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
movzx ebx, al
cmp al, 0xd
jne 0x140017f36
mov byte [r14 + rsi], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140085210
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3