Function at 0x1800de030
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 [0x1801a3f70]
lea r8, [rax + 0x10]
movaps xmmword [rax - 0x18], xmm6
lea rdx, [0x1800db9d0]
xor ebx, ebx
movaps xmmword [rax - 0x28], xmm7
mov rcx, rdi
mov qword [rax + 0x10], rbx
call fcn.1800b48c0
test eax, eax
je 0x1800de1f3
lea rdx, [rsp + 0x40]
call fcn.1800dc590
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x1800de3a9
cmp dword [0x18016b410], 2
jl 0x1800de1ba
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 0x1800de0d0
cmp eax, 0x16
jge 0x1800de3a9
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 0x1800de3a9
jmp 0x1800de1c0
mov rcx, rdi
call fcn.1800b4b60
test eax, eax
je 0x1800de37f
lea rdx, [rsp + 0x40]
call fcn.1800dc5c0
mov r9, rax
cmp byte [rax + 0x15], bl
je 0x1800de3c8
cmp dword [0x18016b410], 2
jl 0x1800de34a
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 0x1800de260
cmp eax, 0x16
jge 0x1800de3c8
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 0x1800de3c8
jmp 0x1800de350
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov qword [0x1801a3f70], rax
add rsp, 0x80
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