Function at 0x14006cd10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [0x1402a7200]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14006cd53
lea rcx, [rbp - 0x69]
call fcn.14004a670
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 7]
call fcn.140074fc0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x14006cdb3
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cdae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cdae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b9b4
lea rbx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rbx, qword [rbp + 7]
xor esi, esi
cmp dword [rdi], esi
jne 0x14006cf7a
movups xmm0, xmmword [str.xEUY_S]
movups xmmword [rbp - 0x69], xmm0
movzx eax, byte [0x140086de0]
mov byte [rbp - 0x59], al
mov r9, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov ecx, esi
cmp dword [0x1402a7258], 2
jl 0x14006cf2d
movdqa xmm5, xmmword [0x140085510]
movdqa xmm4, xmmword [0x140088520]
movdqa xmm6, xmmword [0x1400883b0]
movdqa xmm0, xmmword [str.1111111111111111]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x65]
mov r8d, dword [rbp - 0x49]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140088410]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140088410]
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, 0x10
jl 0x14006ce23
cmp ecx, 0x11
jge 0x14006cf6e
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x14006cf40
lea rdx, [rbp - 0x69]
mov rcx, r9
call fcn.14004a170
mov qword [rbp - 0x35], rsi
mov qword [rbp - 0x2d], rsi
mov qword [rbp - 0x25], rsi
mov qword [rbp - 0x1d], rsi
mov qword [rbp - 0x15], rsi
mov dword [rbp - 0xd], esi
mov qword [rbp - 1], 0x3e8
mov dword [rbp + 3], 2
mov eax, dword [rdi]
mov dword [rbp - 0x39], eax
mov qword [rbp - 9], rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x39]
call qword [0x1402a7aa8]
mov rbx, qword [rbp - 0x11]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x14006d011
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d00c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d00c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b9b4
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14007bad0
mov rbx, qword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret