Function at 0x140001570
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov r10d, dword [0x14001c018]
xorps xmm0, xmm0
movaps xmmword [rax - 0x18], xmm6
xor ecx, ecx
movaps xmmword [rax - 0x28], xmm7
mov r8d, ecx
movaps xmmword [rax - 0x38], xmm8
mov eax, dword [0x14000f5b0]
mov dword [rbp - 0x71], eax
lea ebx, [rcx + 0x1f]
movzx eax, word [0x14000f5b4]
lea r11d, [rcx + 5]
mov word [rbp - 0x6d], ax
movzx eax, byte [0x14000f5b6]
mov byte [rbp - 0x6b], al
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [str.UQS]
movsd qword [rbp - 0x79], xmm0
cmp r10d, 2
jl 0x1400016fd
movdqa xmm2, xmmword [0x140019070]
mov r8d, 8
movdqa xmm3, xmmword [0x140019080]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140019120]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140019090]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.UQS]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400190c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400190d0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x79], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140019090]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x75]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400190c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400190d0]
xorps xmm2, xmm0
movd dword [rbp - 0x75], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x140001710
cmp byte [0x14000f5a5], cl
lea rax, [rbp - 0x79]
movsd xmm0, qword [0x14000f598]
mov qword [rbp - 0x41], rax
mov eax, dword [0x14000f5a0]
mov dword [rbp - 0x71], eax
movzx eax, word [0x14000f5a4]
mov word [rbp - 0x6d], ax
movsd qword [rbp - 0x79], xmm0
je 0x1400018d4
mov r8d, ecx
cmp r10d, 2
jl 0x140001892
movdqa xmm2, xmmword [0x140019070]
mov r8d, 8
movdqa xmm3, xmmword [0x140019080]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140019120]
movdqa xmm0, xmm2
mov eax, dword [0x1400190d0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140019090]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400190c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14000f598]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x79], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140019090]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400190c0]
movd xmm1, dword [rbp - 0x75]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x1400018a0
mov qword [rbp - 0x39], rcx
lea rax, [rbp - 0x79]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x79]
mov qword [rbp - 0x29], rax
mov eax, dword [0x14000f5d0]
mov dword [rbp - 0x51], eax
movzx eax, byte [0x14000f5d4]
mov byte [rbp - 0x4d], al
mov qword [rbp - 1], rcx
movups xmm0, xmmword [str.__AFD]
movups xmmword [rbp - 0x69], xmm0
movsd xmm0, qword [0x14000f5c8]
movsd qword [rbp - 0x59], xmm0
cmp r10d, 2
jl 0x140001a6c
movdqa xmm0, xmmword [0x1400190d0]
lea rdx, [rbp - 0x65]
movdqa xmm5, xmmword [0x140019070]
movdqa xmm4, xmmword [0x140019120]
movdqa xmm7, xmmword [0x140019090]
movdqa xmmword [rbp - 0x79], xmm0
mov r8d, dword [rbp - 0x79]
movd xmm6, r11d
movd xmm8, ebx
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
mov eax, ecx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400190c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400190c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140001960
cmp eax, 0x1d
jge 0x140001aaf
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
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
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x1d
jl 0x140001a80
lea rax, [rbp - 0x69]
lea rcx, [rbp - 0x49]
mov qword [rbp + 0xf], rax
call fcn.140005300
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret