Function at 0x18010fa20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x80
mov rdi, qword [0x1802043d8]
lea r8, [rax + 0x10]
movaps xmmword [rax - 0x18], xmm6
lea rdx, [0x18010b150]
xor ebx, ebx
movaps xmmword [rax - 0x28], xmm7
mov rcx, rdi
mov qword [rax + 0x10], rbx
call fcn.1800d8350
test eax, eax
je 0x18010fbf5
lea rdx, [rsp + 0x40]
call fcn.18010bbc0
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x18010fdbb
cmp dword [0x1801c8570], 2
jl 0x18010fbb2
movdqa xmm0, xmmword [0x1801a5650]
mov rcx, rax
movdqa xmm5, xmmword [0x1801a5470]
movdqa xmm4, xmmword [0x1801a5ad0]
movdqa xmm6, xmmword [0x1801a54e0]
movdqa xmm7, xmmword [0x1801a5540]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
paddd xmm3, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add ebx, 8
pmuldq xmm0, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
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
movd xmm0, edx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp ebx, 0x10
jl 0x18010fac0
cmp eax, 0x16
jge 0x18010fdbb
movsxd r8, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x16
jge 0x18010fdbb
jmp 0x18010fbc0
mov rcx, rdi
call fcn.1800d85f0
test eax, eax
je 0x18010fd91
lea rdx, [rsp + 0x40]
call fcn.18010bbf0
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x18010fdda
cmp dword [0x1801c8570], 2
jl 0x18010fd52
movdqa xmm0, xmmword [0x1801a5650]
mov rcx, rax
movdqa xmm5, xmmword [0x1801a5470]
movdqa xmm4, xmmword [0x1801a5ad0]
movdqa xmm6, xmmword [0x1801a54e0]
movdqa xmm7, xmmword [0x1801a5540]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
paddd xmm3, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add ebx, 8
pmuldq xmm0, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
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
movd xmm0, edx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp ebx, 0x10
jl 0x18010fc60
cmp eax, 0x16
jge 0x18010fdda
movsxd r8, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x16
jge 0x18010fdda
jmp 0x18010fd60
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov qword [0x1802043d8], rax
add rsp, 0x80
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1800665f0
lea rdx, [0x1801c2908]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1800665f0
lea rdx, [0x1801c2908]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3