Function at 0x14016a780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1404e8f18]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor edi, edi
mov qword [rbp - 0x39], r9
mov qword [rbp - 0x41], rdx
mov rsi, rdx
mov qword [rbp - 0x59], rcx
mov r15, rcx
test r9, r9
jne 0x14016a816
lea rdx, [rcx + 0x40]
lea rcx, [rbp - 0x29]
lea r8d, [r9 + 0x40]
call fcn.140336c00
mov ecx, edi
lea ebx, [rdi + 1]
mov rax, qword [r15 + rcx*8]
xor qword [rbp + rcx*8 - 0x29], rax
add rcx, rbx
cmp rcx, 8
jl 0x14016a7d9
mov r8d, ebx
lea rcx, [rbp - 0x29]
mov rdx, rsi
call fcn.1401714c0
mov rax, qword [r15 + rdi*8 + 0x40]
xor qword [rbp + rdi*8 - 0x29], rax
add rdi, rbx
cmp rdi, 8
jl 0x14016a7fa
lea rdx, [rsi + 0x40]
jmp 0x14016b08c
mov r14, qword [r9]
lea rax, [r8*2 - 1]
mov r12, qword [r9 + 8]
mov r8d, 0x40
mov r13, qword [r9 + 0x10]
mov rsi, qword [r9 + 0x18]
mov qword [rbp - 0x49], rax
shl rax, 6
mov qword [rbp - 0x31], rax
lea rdx, [rax + rcx]
lea rcx, [rbp - 0x29]
call fcn.140336c00
mov rcx, rdi
mov ebx, 1
mov rax, qword [r15 + rcx*8]
xor qword [rbp + rcx*8 - 0x29], rax
add rcx, rbx
cmp rcx, 8
jl 0x14016a854
mov r8, qword [rbp - 0x29]
movabs r15, 0x7ff000007ff0
and r8, r15
mov r9, rdi
mov r10d, r8d
mov r11d, 2
shr r8, 0x20
add r10, r14
add r8, r12
sub r10, r8
mov rdx, qword [rbp + r9*8 - 0x29]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 - 0x29]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 - 0x29], rdx
add r9, rbx
cmp r9, r11
jl 0x14016a890
mov r9, qword [rbp - 0x19]
mov r8, rdi
movaps xmm0, xmmword [rbp - 0x29]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r14], xmm0
mov rdx, qword [rbp + r8*8 - 0x19]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x19]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x19], rdx
add r8, rbx
cmp r8, r11
jl 0x14016a8dd
mov r9, qword [rbp - 9]
mov r8, rdi
movaps xmm0, xmmword [rbp - 0x19]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r12], xmm0
mov rdx, qword [rbp + r8*8 - 9]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 9]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 9], rdx
add r8, rbx
cmp r8, r11
jl 0x14016a92a
mov r9, qword [rbp + 7]
mov r8, rdi
movaps xmm0, xmmword [rbp - 9]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r14 + 0x10], xmm0
mov rdx, qword [rbp + r8*8 + 7]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 + 7]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 + 7], rdx
add r8, rbx
cmp r8, r11
jl 0x14016a978
mov r9, qword [rbp - 0x29]
mov r8, rdi
movaps xmm0, xmmword [rbp + 7]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r12 + 0x10], xmm0
mov rdx, qword [rbp + r8*8 - 0x29]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x29]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x29], rdx
add r8, rbx
cmp r8, r11
jl 0x14016a9c6
mov r9, qword [rbp - 0x19]
mov r8, rdi
movaps xmm0, xmmword [rbp - 0x29]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r14 + 0x20], xmm0
mov rdx, qword [rbp + r8*8 - 0x19]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x19]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x19], rdx
add r8, rbx
cmp r8, r11
jl 0x14016aa14
mov r9, qword [rbp - 9]
mov r8, rdi
movaps xmm0, xmmword [rbp - 0x19]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r12 + 0x20], xmm0
mov rdx, qword [rbp + r8*8 - 9]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 9]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 9], rdx
add r8, rbx
cmp r8, r11
jl 0x14016aa62
mov r8, qword [rbp + 7]
mov r9, rdi
and r8, r15
mov r10d, r8d
shr r8, 0x20
add r10, r14
add r8, r12
sub r10, r8
mov rdx, qword [rbp + r9*8 + 7]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 + 7]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 + 7], rdx
add r9, rbx
cmp r9, r11
jl 0x14016aaa6
mov r8, qword [rbp - 0x29]
mov r9, rdi
and r8, r15
mov r10d, r8d
shr r8, 0x20
add r10, r14
add r8, r12
sub r10, r8
mov rdx, qword [rbp + r9*8 - 0x29]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 - 0x29]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 - 0x29], rdx
add r9, rbx
cmp r9, r11
jl 0x14016aaea
mov r9, qword [rbp - 0x19]
mov r8, rdi
movaps xmm0, xmmword [rbp - 0x29]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r14 + 0x30], xmm0
mov rdx, qword [rbp + r8*8 - 0x19]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x19]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x19], rdx
add r8, rbx
cmp r8, r11
jl 0x14016ab38
mov r9, qword [rbp - 9]
mov r8, rdi
movaps xmm0, xmmword [rbp - 0x19]
and r9, r15
mov r10d, r9d
shr r9, 0x20
add r10, r14
add r9, r12
sub r10, r9
movups xmmword [rsi + r12 + 0x30], xmm0
mov rdx, qword [rbp + r8*8 - 9]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 9]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 9], rdx
add r8, rbx
cmp r8, r11
jl 0x14016ab86
mov r8, qword [rbp + 7]
mov r9, rdi
and r8, r15
mov r10d, r8d
shr r8, 0x20
add r10, r14
add r8, r12
sub r10, r8
mov rdx, qword [rbp + r9*8 + 7]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 + 7]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 + 7], rdx
add r9, rbx
cmp r9, r11
jl 0x14016abca
mov rax, qword [rbp - 0x59]
lea rcx, [rbp - 0x29]
add rsi, 0x40
mov qword [rbp - 0x51], r13
and rsi, r15
mov r15, qword [rbp - 0x41]
sub rax, r15
sub rax, rcx
mov qword [rbp - 0x59], rax
mov r8d, 0x40
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.140336c00
mov r8, qword [rbp - 0x59]
add r15, 0x40
add r8, r15
mov rdx, rdi
lea rax, [r8 + rdx*8]
mov rcx, qword [rbp + rax - 0x29]
xor qword [rbp + rdx*8 - 0x29], rcx
add rdx, rbx
cmp rdx, 8
jl 0x14016ac35
mov r8, qword [rbp - 0x29]
movabs rax, 0x7ff000007ff0
and r8, rax
mov r9, rdi
mov r10d, r8d
mov r11d, 2
shr r8, 0x20
add r10, r13
add r8, r14
sub r10, r8
mov rdx, qword [rbp + r9*8 - 0x29]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 - 0x29]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [r10 + rcx]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 - 0x29], rdx
add r9, rbx
cmp r9, r11
jl 0x14016ac76
mov r9, qword [rbp - 0x19]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp - 0x29]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r13], xmm0
mov rdx, qword [rbp + r8*8 - 0x19]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x19]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [r10 + rcx]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x19], rdx
add r8, rbx
cmp r8, r11
jl 0x14016accd
mov r9, qword [rbp - 9]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp - 0x19]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r14], xmm0
mov rdx, qword [rbp + r8*8 - 9]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 9]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [r10 + rcx]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 9], rdx
add r8, rbx
cmp r8, r11
jl 0x14016ad24
mov r9, qword [rbp + 7]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp - 9]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r13 + 0x10], xmm0
mov rdx, qword [rbp + r8*8 + 7]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 + 7]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 + 7], rdx
add r8, rbx
cmp r8, r11
jl 0x14016ad7c
mov r9, qword [rbp - 0x29]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp + 7]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r14 + 0x10], xmm0
mov rdx, qword [rbp + r8*8 - 0x29]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x29]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x29], rdx
add r8, rbx
cmp r8, r11
jl 0x14016add4
mov r9, qword [rbp - 0x19]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp - 0x29]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r13 + 0x20], xmm0
mov rdx, qword [rbp + r8*8 - 0x19]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x19]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x19], rdx
add r8, rbx
cmp r8, r11
jl 0x14016ae2c
mov r9, qword [rbp - 9]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp - 0x19]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r14 + 0x20], xmm0
mov rdx, qword [rbp + r8*8 - 9]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 9]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 9], rdx
add r8, rbx
cmp r8, r11
jl 0x14016ae84
mov r8, qword [rbp + 7]
movabs rax, 0x7ff000007ff0
and r8, rax
mov r9, rdi
mov r10d, r8d
shr r8, 0x20
add r10, r13
add r8, r14
sub r10, r8
mov rdx, qword [rbp + r9*8 + 7]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 + 7]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 + 7], rdx
add r9, rbx
cmp r9, r11
jl 0x14016aed2
mov r8, qword [rbp - 0x29]
movabs rax, 0x7ff000007ff0
and r8, rax
mov r9, rdi
mov r10d, r8d
shr r8, 0x20
add r10, r13
add r8, r14
sub r10, r8
mov rdx, qword [rbp + r9*8 - 0x29]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 - 0x29]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 - 0x29], rdx
add r9, rbx
cmp r9, r11
jl 0x14016af20
mov r9, qword [rbp - 0x19]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp - 0x29]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r13 + 0x30], xmm0
mov rdx, qword [rbp + r8*8 - 0x19]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 0x19]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 0x19], rdx
add r8, rbx
cmp r8, r11
jl 0x14016af78
mov r9, qword [rbp - 9]
movabs rax, 0x7ff000007ff0
movaps xmm0, xmmword [rbp - 0x19]
and r9, rax
mov r10d, r9d
mov r8, rdi
shr r9, 0x20
add r10, r13
add r9, r14
sub r10, r9
movups xmmword [rsi + r14 + 0x30], xmm0
mov rdx, qword [rbp + r8*8 - 9]
lea rcx, [r9 + r8*8]
mov eax, dword [rbp + r8*8 - 9]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r8*8 - 9], rdx
add r8, rbx
cmp r8, r11
jl 0x14016afd0
mov r8, qword [rbp + 7]
movabs rax, 0x7ff000007ff0
and r8, rax
mov r9, rdi
mov r10d, r8d
shr r8, 0x20
add r10, r13
add r8, r14
sub r10, r8
mov rdx, qword [rbp + r9*8 + 7]
lea rcx, [r8 + r9*8]
mov eax, dword [rbp + r9*8 + 7]
shr rdx, 0x20
imul rdx, rax
add rdx, qword [rcx + r10]
xor rdx, qword [rcx]
mov qword [rbp + r9*8 + 7], rdx
add r9, rbx
cmp r9, r11
jl 0x14016b01e
add rsi, 0x40
mov r13, r12
movabs rax, 0x7ff000007ff0
mov r12, r14
mov r14, qword [rbp - 0x51]
and rsi, rax
sub qword [rbp - 0x49], rbx
mov qword [rbp - 0x51], r13
jne 0x14016ac15
mov rax, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
add rdx, qword [rbp - 0x41]
mov qword [rax], r13
mov qword [rax + 8], r14
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov r8d, ebx
lea rcx, [rbp - 0x29]
call fcn.1401714c0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1403358f0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret