Function at 0x14002b0f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov esi, dword [0x1400bd088]
xor r9d, r9d
mov rbx, r8
movaps xmmword [rsp + 0x10], xmm6
mov r11, rcx
mov qword [rsp + 0x30], rdi
mov rdi, rdx
cmp byte [rdx + 0xe], r9b
je 0x14002b261
mov r10d, r9d
cmp esi, 2
jl 0x14002b220
movdqa xmm2, xmmword [0x1400abcd0]
mov r10d, 8
movdqa xmm4, xmmword [0x1400ac1f0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400abd70]
movdqa xmm0, xmm2
punpckhdq xmm0, 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, xmmword [0x1400abd80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rdx]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400abe70]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rdx], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400abd80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rdx + 4]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400abe70]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
movsxd r8, r10d
add r8, rdi
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul r10d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r10b
inc r10d
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp r10d, 0xf
jl 0x14002b230
mov qword [r11], rdi
mov rdi, qword [rsp + 0x30]
cmp byte [rbx + 0x1e], r9b
je 0x14002b3f1
cmp esi, 2
jl 0x14002b3b7
movdqa xmm0, xmmword [0x1400abe70]
mov rcx, rbx
movdqa xmm5, xmmword [0x1400abcd0]
movdqa xmm4, xmmword [0x1400ac1f0]
movdqa xmm6, xmmword [0x1400abd80]
movdqa xmmword [rsp], xmm0
mov edx, dword [rsp]
nop word [rax + rax]
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
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp r9d, 0x18
jl 0x14002b2b0
cmp r9d, 0x1f
jge 0x14002b3f1
movsxd r8, r9d
add r8, rbx
nop dword [rax]
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, 0x33
xor byte [r8 - 1], al
cmp r9d, 0x1f
jl 0x14002b3c0
movaps xmm6, xmmword [rsp + 0x10]
mov rax, r11
mov qword [r11 + 8], rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret