Function at 0x18010f260
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
mov rsi, qword [rcx]
lea r8, [rax + 8]
mov rdi, rcx
movaps xmmword [rax - 0x18], xmm6
xor ebx, ebx
movaps xmmword [rax - 0x28], xmm7
mov rcx, rsi
mov qword [rax + 8], rbx
call fcn.1800d8350
test eax, eax
je 0x18010f435
lea rdx, [rsp + 0x40]
call fcn.18010bbc0
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x18010f5fb
cmp dword [0x1801c8570], 2
jl 0x18010f3f2
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]
nop word [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 0x18010f300
cmp eax, 0x16
jge 0x18010f5fb
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 0x18010f5fb
jmp 0x18010f400
mov rcx, rsi
call fcn.1800d85f0
test eax, eax
je 0x18010f5d1
lea rdx, [rsp + 0x40]
call fcn.18010bbf0
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x18010f61a
cmp dword [0x1801c8570], 2
jl 0x18010f592
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 0x18010f4a0
cmp eax, 0x16
jge 0x18010f61a
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 0x18010f61a
jmp 0x18010f5a0
mov rax, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov qword [rdi], rax
mov rsp, r11
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