Function at 0x180076fc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xa0
movups xmm1, xmmword [0x18009b5c0]
mov r10d, dword [0x1800a5018]
mov ebx, 0x1f
movups xmm0, xmmword [0x18009b5b0]
xor ecx, ecx
movaps xmmword [rax - 0x18], xmm6
movups xmmword [rax - 0x58], xmm1
lea r11d, [rbx - 0x1a]
movaps xmmword [rax - 0x28], xmm7
psrldq xmm1, 0xf
movaps xmmword [rax - 0x38], xmm8
movups xmmword [rax - 0x68], xmm0
movd eax, xmm1
test al, al
je 0x1800771aa
mov r8d, ecx
cmp r10d, 2
jl 0x18007716f
movdqa xmm0, xmmword [str.0000000000000000]
lea rdx, [rsp + 0x44]
movdqa xmm5, xmmword [0x18009d8f0]
movdqa xmm4, xmmword [0x18009dd40]
movdqa xmm7, xmmword [0x18009d940]
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x20]
movd xmm6, r11d
movd xmm8, ebx
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x18009d9f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r9d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18009d9f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp r8d, 0x20
jl 0x180077060
jmp 0x1800771aa
lea r9, [rsp + 0x40]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul edx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x20
jl 0x180077180
movups xmm1, xmmword [0x18009b4a8]
movups xmm0, xmmword [0x18009b498]
pextrw eax, xmm1, 7
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
test ax, ax
je 0x18007733a
cmp r10d, 2
jl 0x180077309
movdqa xmm5, xmmword [0x18009d8f0]
lea rdx, [rsp + 0x20]
movdqa xmm4, xmmword [0x18009dd40]
movdqa xmm7, xmmword [0x18009d940]
movaps xmmword [rsp + 0x60], xmm9
movdqa xmm9, xmmword [0x18009d9d0]
movd xmm6, r11d
movd xmm8, ebx
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x10
jl 0x180077210
movaps xmm9, xmmword [rsp + 0x60]
jmp 0x18007733a
lea r9, [rsp + 0x20]
nop
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
mul ecx
shr edx, 5
movzx eax, dx
imul edx, eax, 0x33
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r9 - 2], ax
cmp ecx, 0x10
jl 0x180077310
mov r9b, 1
lea rdx, [rsp + 0x40]
mov r8d, r11d
lea rcx, [rsp + 0x20]
call fcn.180079280
call rax
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x70]
add rsp, 0xa0
pop rbx
ret