Function at 0x1401d7660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x130
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1402ef1e8]
xor rax, rsp
mov qword [rbp + 0xe8], rax
mov r9d, 4
mov rdi, rcx
mov r8, rdx
lea rcx, [rbp + 0xc0]
lea edx, [r9 + 0x1d]
call fcn.1401d8ff0
movzx eax, byte [rbp + 0xc0]
lea rcx, [rbp + 0x60]
and eax, 0x7f
xor edx, edx
lea r8d, [rax + rax]
call fcn.1401d7940
mov rax, qword [rbp + 0x90]
movabs rsi, 0xffffffff00000000
mov r10, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x78]
mov r9, qword [rbp + 0x70]
mov r11, qword [rbp + 0x68]
mov rbx, qword [rbp + 0x60]
mov qword [rbp + 0x38], r10
or r10, rax
or r10, rcx
mov qword [rbp + 0x30], rax
or r10, rdx
mov qword [rbp + 0x48], rsi
or r10, r8
mov qword [rbp], rbx
or r10, r9
mov qword [rbp + 8], r11
or r10, r11
mov qword [rbp + 0x10], r9
or r10, rbx
mov qword [rbp + 0x18], r8
mov esi, 0xfffffffe
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x40], 1
lea rax, [r10 - 1]
mov qword [rbp + 0x50], 0xffffffffffffffff
shr rax, 0x3f
not r10
shr r10, 0x3f
and rax, r10
mov qword [rbp + 0x58], rsi
neg rax
movq xmm2, rax
not rax
punpcklqdq xmm2, xmm2
movq xmm3, rax
xor eax, eax
punpcklqdq xmm3, xmm3
nop word [rax + rax]
movdqu xmm1, xmmword [rbp + rax*8]
movdqu xmm0, xmmword [rbp + rax*8 + 0x40]
pand xmm1, xmm2
pand xmm0, xmm3
pxor xmm1, xmm0
movdqu xmmword [rbp + rax*8 + 0x40], xmm1
add rax, 2
cmp rax, 4
jl 0x1401d7780
mov r15d, 6
lea rsi, [0x140282000]
lea r14d, [r15 + 0x1e]
nop dword [rax]
movzx ecx, r15b
mov rax, r15
shr rax, 3
and cl, 7
add r15, 7
movzx edx, byte [rbp + rax + 0xc1]
movzx eax, byte [rbp + rax + 0xc0]
shl rdx, 8
or rdx, rax
shr rdx, cl
movzx ecx, dl
mov edx, 0xff
sub rdx, rcx
mov eax, ecx
shr rax, 7
dec rax
mov rbx, rax
and rax, rcx
not rbx
lea rcx, [rbp + 0x60]
and rdx, rbx
or rdx, rax
mov r8, rdx
and edx, 1
shr r8, 1
add r8, rdx
mov rdx, rsi
call fcn.14018b320
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.1401899c0
and ebx, 1
dec rbx
shr rbx, 0x3f
dec rbx
xor eax, eax
movq xmm2, rbx
not rbx
punpcklqdq xmm2, xmm2
movq xmm3, rbx
punpcklqdq xmm3, xmm3
nop
movdqu xmm0, xmmword [rbp + rax + 0x80]
movdqu xmm1, xmmword [rbp + rax + 0xa0]
pand xmm0, xmm3
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x80], xmm1
add rax, 0x10
cmp rax, 0x20
jl 0x1401d7860
lea r8, [rbp + 0x60]
lea rdx, [rbp]
lea rcx, [rbp]
call fcn.14018c380
add rsi, 0x1000
sub r14, 1
jne 0x1401d77c0
mov rax, qword [rbp]
mov qword [rdi], rax
mov rax, qword [rbp + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x10], rax
mov rax, qword [rbp + 0x18]
mov qword [rdi + 0x18], rax
mov rax, qword [rbp + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x28]
mov qword [rdi + 0x28], rax
mov rax, qword [rbp + 0x30]
mov qword [rdi + 0x30], rax
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x38], rax
mov rax, qword [rbp + 0x40]
mov qword [rdi + 0x40], rax
mov rax, qword [rbp + 0x48]
mov qword [rdi + 0x48], rax
mov rax, qword [rbp + 0x50]
mov qword [rdi + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rdi + 0x58], rax
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.1401d94a0
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret