Function at 0x140015430
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 [0x1400ae0c0]
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 0x1400156d5
mov ebp, dword [reloc.WS2_32.dll_accept]
cmp bl, 8
jne 0x140015576
test rsi, rsi
je 0x1400156c4
dec rsi
mov eax, dword [0x1400a019c]
mov dword [rsp + 0x20], eax
cmp byte [0x1400a019f], 0
je 0x140015560
cmp ebp, 2
jl 0x140015525
movdqa xmm3, xmmword [0x1400a07f0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400a0840]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400a0840]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400a0810]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a0820]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x140015560
lea r9, [rsp + 0x20]
mov r8d, r15d
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, r8b
sub al, dl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140015530
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.140003fd0
jmp 0x1400156c4
cmp rsi, 0x63
jae 0x1400156c4
cmp bl, 0x16
jne 0x1400156af
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400156af
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400156c4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400156c4
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
inc r8
cmp byte [rax + r8], 0
jne 0x1400155e5
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140004490
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 0x140015674
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.140012270
sub rdi, 1
jne 0x140015660
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400156c4
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400156a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015701
call fcn.140089574
jmp 0x1400156c4
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.140012270
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
movzx ebx, al
cmp al, 0xd
jne 0x140015476
mov byte [r14 + rsi], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140089510
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