Function at 0x7ff7980c9f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov esi, r8d
mov rbp, rdx
mov r8, qword [0x7ff7981d4da8]
mov rdi, rcx
test r8, r8
jne 0x7ff7980ca36c
mov eax, dword [0x7ff798187a20]
movups xmm0, xmmword [0x7ff798187a10]
mov r10d, dword [0x7ff7981d4360]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x7ff798187a24]
mov byte [rsp + 0x5c], al
movaps xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x48], xmm0
cmp r10d, 2
jl 0x7ff7980ca0df
movdqa xmm0, xmmword [0x7ff798187d20]
lea rcx, [rsp + 0x4c]
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x7ff798187d10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], 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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x7ff7980c9fd0
cmp r8d, 0x15
jge 0x7ff7980ca124
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x7ff7980ca0f0
mov eax, dword [0x7ff798187a08]
xor ecx, ecx
mov dword [rsp + 0x40], eax
movzx eax, byte [0x7ff798187a0c]
mov byte [rsp + 0x44], al
movups xmm0, xmmword [0x7ff7981879f8]
movups xmmword [rsp + 0x30], xmm0
cmp r10d, 2
jl 0x7ff7980ca29c
movdqa xmm0, xmmword [0x7ff798187d20]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x7ff798187d10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], 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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff798187d10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x7ff7980ca190
cmp ecx, 0x15
jge 0x7ff7980ca2df
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x15
jl 0x7ff7980ca2b0
mov r8, qword [0x7ff7981d4d88]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [0x7ff798187900]
mov rcx, rdi
call fcn.7ff7980c8360
movaps xmm6, xmmword [rsp + 0x80]
mov qword [0x7ff7981d4da8], rax
test rax, rax
je 0x7ff7980ca368
lea rbx, [rax + 8]
mov dword [rsp + 0x60], 0
lea r8, [rbx + 1]
mov qword [0x7ff7981d4da8], rbx
mov r9d, 4
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.7ff7980c9670
test al, al
jne 0x7ff7980ca353
mov qword [0x7ff7981d4da8], 0
jmp 0x7ff7980ca389
movsxd r8, dword [rsp + 0x60]
add r8, 5
add r8, rbx
mov qword [0x7ff7981d4da8], r8
jne 0x7ff7980ca36c
xor al, al
jmp 0x7ff7980ca389
mov r9, rbp
mov qword [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x20], esi
mov rcx, rdi
call fcn.7ff7980c4010
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.7ff798179f10
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret