Function at 0x1400961e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1406f6480]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, rdx
mov qword [rsp + 0x20], rdx
xor esi, esi
lea rdx, [r8 + 0xaf0]
mov rcx, qword [0x1406fdbd8]
call fcn.1400837c0
mov rbx, rax
lea rdx, [rax + 0x10]
mov rcx, qword [0x1406fdbd8]
call fcn.1400835f0
movsxd r15, eax
mov r14, r15
test eax, eax
jne 0x1400963de
mov rax, qword [0x140163e98]
mov qword [rsp + 0x20], rax
cmp byte [0x140163e9f], sil
je 0x1400963a0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140096359
movdqa xmm4, xmmword [0x140165560]
movdqa xmm2, xmmword [0x140162500]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140165480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401654f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [rsp + 0x20]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x140165470]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140165480]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401654f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x1400963a0
lea r9, [rsp + 0x20]
mov r8d, esi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140096370
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400963c0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140078470
jmp 0x1400964f4
lea rdx, [rbx + 8]
mov rcx, qword [0x1406fdbd8]
call fcn.1400837c0
mov rdi, rax
mov eax, 2
mul r14
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140155f30
mov r14, rax
lea r8d, [r15 + r15]
mov rdx, rax
mov rcx, rdi
call fcn.1400b4520
mov rcx, r14
lea edx, [r15 - 1]
and edx, 3
dec r15d
nop dword [rax + rax]
cmp esi, r15d
jge 0x14009644a
add edx, 3
inc esi
movzx eax, dx
and ax, 7
add word [rcx], ax
add rcx, 2
jmp 0x140096430
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
nop dword [rax + rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140096460
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400829d0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x30]
cmova rdx, qword [rsp + 0x30]
lea r9, [rsp + 0x28]
mov rcx, rbp
call fcn.140082210
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400964f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400964ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400964ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015590c
mov rax, rbp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140155770
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret