Function at 0x140090320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, dword [0x1400c0090]
xor r9d, r9d
mov rbx, r8
movdqa xmm3, xmmword [0x1400af210]
mov rdi, rdx
movdqa xmm4, xmmword [0x1400af610]
mov r11, rcx
movdqa xmm5, xmmword [0x1400af0e0]
movaps xmmword [rsp + 0x20], xmm6
movdqa xmm6, xmmword [0x1400af180]
movaps xmmword [rsp + 0x10], xmm7
movdqa xmm7, xmmword [0x1400af120]
cmp byte [rdx + 0xe], r9b
je 0x140090481
mov r8d, r9d
cmp esi, 2
jl 0x140090443
movdqa xmm2, xmmword [0x1400af100]
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
mov r8d, 8
pmuldq xmm1, xmm4
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm5
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, dword [rdx]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm3
xorps xmm1, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movd dword [rdx], xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, dword [rdx + 4]
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm3
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
movsxd r10, r8d
add r10, rdi
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r10, [r10 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r10 - 1], al
cmp r8d, 0xf
jl 0x140090450
mov qword [r11], rdi
cmp byte [rbx + 0x1e], r9b
je 0x1400905c2
cmp esi, 2
jl 0x14009058b
movdqa xmmword [rsp], xmm3
mov rcx, rbx
mov edx, dword [rsp]
movd xmm2, r9d
lea eax, [r9 + 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 r9d, 8
pmuldq xmm0, xmm4
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, xmm7
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
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, xmm7
psubd xmm3, xmm0
movd xmm0, edx
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp r9d, 0x18
jl 0x1400904a2
cmp r9d, 0x1f
jge 0x1400905c2
movsxd r8, r9d
add r8, rbx
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp r9d, 0x1f
jl 0x140090591
mov rsi, qword [rsp + 0x48]
mov rax, r11
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x10]
mov qword [r11 + 8], rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret