Function at 0x1400876c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x37], rax
movzx eax, byte [0x140171e82]
mov rdi, rcx
movzx ecx, word [0x140171e80]
xor al, 0x42
movsd xmm0, qword [0x140171e78]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x39
xor byte [rbp - 0x27], 0x3a
xor byte [rbp - 0x26], 0x3b
xor byte [rbp - 0x25], 0x3c
xor byte [rbp - 0x24], 0x3d
xor byte [rbp - 0x23], 0x3e
xor byte [rbp - 0x22], 0x3f
mov word [rbp - 0x21], cx
xor cl, 0x40
xor byte [rbp - 0x20], 0x41
mov byte [rbp - 0x21], cl
lea rcx, [rbp - 0x29]
mov byte [rbp - 0x29], 0x75
mov byte [rbp - 0x1f], al
call qword [0x140151418]
mov rbx, rax
test rax, rax
je 0x140087964
cmp byte [0x140171d4d], 0
movups xmm0, xmmword [0x140171d30]
mov ecx, dword [0x140171d48]
mov dword [rbp - 1], ecx
movzx ecx, word [0x140171d4c]
movups xmmword [rbp - 0x19], xmm0
mov word [rbp + 3], cx
movsd xmm0, qword [0x140171d40]
movsd qword [rbp - 9], xmm0
je 0x14008791d
xor ecx, ecx
cmp dword [0x14018e0d8], 2
jl 0x1400878dc
movdqa xmm0, xmmword [0x1401783b0]
lea rdx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x140178510]
movdqa xmmword [rbp + 0x27], xmm0
mov r8d, dword [rbp + 0x27]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x140178200]
nop dword [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
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 [0x140178340]
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
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400877d0
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x1e
jge 0x14008791d
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x1e
jl 0x1400878f0
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [0x1401513f8]
test rax, rax
je 0x14008795b
movdqa xmm0, xmmword [0x140178150]
lea rcx, [rbp + 0x27]
mov qword [rbp + 0xf], rcx
lea rdx, [rbp + 7]
mov rcx, rdi
mov dword [rbp + 7], 0x13
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x17], 0x10
call rax
mov rcx, rbx
call qword [0x1401513f0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140148480
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret