Function at 0x1800dfa70
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.1800b48c0
test eax, eax
je 0x1800dfc33
lea rdx, [rsp + 0x40]
call fcn.1800dc590
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x1800dfde9
cmp dword [0x18016b410], 2
jl 0x1800dfbfa
movdqa xmm0, xmmword [0x180151660]
mov rcx, rax
movdqa xmm5, xmmword [0x1801508d0]
movdqa xmm4, xmmword [0x180151a50]
movdqa xmm6, xmmword [0x180150cc0]
movdqa xmm7, xmmword [0x180151570]
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
movdqa xmm0, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
add ebx, 8
pmuldq xmm0, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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
psrad xmm1, 4
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 0x1800dfb10
cmp eax, 0x16
jge 0x1800dfde9
movsxd r8, ebx
add r8, r9
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x16
jge 0x1800dfde9
jmp 0x1800dfc00
mov rcx, rsi
call fcn.1800b4b60
test eax, eax
je 0x1800dfdbf
lea rdx, [rsp + 0x40]
call fcn.1800dc5c0
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x1800dfe08
cmp dword [0x18016b410], 2
jl 0x1800dfd8a
movdqa xmm0, xmmword [0x180151660]
mov rcx, rax
movdqa xmm5, xmmword [0x1801508d0]
movdqa xmm4, xmmword [0x180151a50]
movdqa xmm6, xmmword [0x180150cc0]
movdqa xmm7, xmmword [0x180151570]
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
movdqa xmm0, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
add ebx, 8
pmuldq xmm0, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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
psrad xmm1, 4
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 0x1800dfca0
cmp eax, 0x16
jge 0x1800dfe08
movsxd r8, ebx
add r8, r9
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x16
jge 0x1800dfe08
jmp 0x1800dfd90
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.1800641c0
lea rdx, [0x180165af8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1800641c0
lea rdx, [0x180165af8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3