Function at 0x140050e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1a0
movaps xmmword [rsp + 0x190], xmm6
mov rax, qword [0x1400e06c0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov dword [rsp + 0x30], 1
movups xmm0, xmmword [str.cuUZXXLb_]
movups xmmword [rsp + 0x38], xmm0
movsd xmm0, qword [0x1400cf130]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x1400cf138]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1400cf13c]
mov word [rsp + 0x54], ax
cmp byte [0x1400cf13d], sil
je 0x14005105c
mov ecx, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140051024
movdqa xmm4, xmmword [0x1400cf420]
movdqa xmm3, xmmword [0x1400cf8d0]
movdqa xmm5, xmmword [str.1111]
movdqa xmm0, xmmword [0x1400cf520]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x3c]
movdqa xmm6, xmmword [0x1400cf4b0]
mov r8d, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140050f40
cmp ecx, 0x1e
jge 0x14005105c
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x140051030
lea rdx, [rsp + 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x70]
or edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x74]
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [rsp + 0x74]
add eax, 0xfffffffe
cmp eax, 0x100
jae 0x140051137
mov byte [rsp + rax + 0x80], 0
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400510f0
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.14004fd10
mov rax, rbx
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400b5570
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
call fcn.1400b5a70
int3