Function at 0x1400170c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140238500]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
movups xmm0, xmmword [0x1400b3d48]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x1400b3d58]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x1400b3d60]
mov dword [rbp - 1], eax
mov esi, dword [0x140238558]
movdqa xmm6, xmmword [0x1400b4690]
cmp byte [0x1400b3d63], r14b
je 0x14001729e
mov ecx, r14d
cmp esi, 2
jl 0x14001725c
movdqa xmm4, xmmword [0x1400b4620]
movdqa xmm3, xmmword [0x1400b46f0]
movdqa xmm5, xmmword [str.::::]
movdqa xmm0, xmmword [0x1400b46c0]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x15]
mov r8d, dword [rbp - 0x39]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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
paddd xmm1, xmm2
psrad xmm1, 5
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 0x140017170
cmp ecx, 0x1c
jge 0x14001729e
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x140017270
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], r14
lea rax, [rbp - 0x19]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x1400172c0
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.140035750
nop
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rax, qword [rbp + 7]
mov qword [rbp - 0x39], rax
mov rax, qword [rbp + 0x17]
mov qword [rbp - 0x31], rax
call fcn.14009a8e0
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea r8, [rbp - 0x39]
mov edx, eax
lea rcx, [rbp - 0x19]
call fcn.1400110f0
nop
lea rcx, [rbp - 0x19]
call fcn.1400118a0
movzx ebx, al
lea rcx, [rbp - 0x19]
call fcn.1400331c0
test bl, bl
je 0x140017659
movups xmm7, xmmword [str.d__RXOJ]
movups xmmword [rbp - 0x39], xmm7
movsd xmm0, qword [0x1400b2b20]
movsd qword [rbp - 0x29], xmm0
movzx eax, byte [0x1400b2b28]
mov byte [rbp - 0x21], al
mov r8d, r14d
cmp esi, 2
jl 0x1400175d7
movdqa xmm4, xmmword [0x1400b46f0]
movdqa xmm5, xmmword [str.::::]
movdqa xmm3, xmmword [0x1400b4620]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov ecx, dword [0x1400b46c0]
movd xmm0, ecx
paddb xmm3, xmm0
movd eax, xmm7
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp - 0x39], xmm3
movdqa xmm2, xmmword [0x1400b4630]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x35]
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movdqa xmm3, xmmword [0x1400b4640]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x31]
xorps xmm3, xmm1
movd dword [rbp - 0x31], xmm3
movdqa xmm2, xmmword [0x1400b4650]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x2d]
xorps xmm2, xmm1
movd dword [rbp - 0x2d], xmm2
movdqa xmm3, xmmword [0x1400b4660]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x29]
xorps xmm3, xmm1
movd dword [rbp - 0x29], xmm3
movdqa xmm2, xmmword [0x1400b4670]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x25]
xorps xmm2, xmm1
movd dword [rbp - 0x25], xmm2
mov r8d, 0x18
mov eax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop dword [rax]
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 ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x1400175f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
lea rax, [rbp - 0x39]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140017636
mov r8, rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140035750
lea rcx, [rbp - 0x19]
call fcn.140020080
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140017697
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017692
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400999e0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140099880
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret