Function at 0x1400fff00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, r9
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
mov r13d, dword [rax]
test r13d, r13d
sete al
test r8, r8
sete cl
or cl, al
jne 0x1400fff64
mov eax, r13d
mov al, byte [rbx + rax]
xor al, byte [rdi]
inc rdi
mov byte [rsi], al
inc rsi
lea rbp, [r8 - 1]
inc r13d
and r13d, 0xf
je 0x1400fff67
cmp r8, 1
mov r8, rbp
jne 0x1400fff3c
jmp 0x1400fff67
mov rbp, r8
mov r12, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x90]
cmp rbp, 0x10
jb 0x140100096
mov rcx, r14
mov rdx, rbx
mov r8, r15
mov rax, r12
call qword [0x1401689f8]
movzx eax, byte [r14 + 0xf]
inc eax
mov byte [r14 + 0xf], al
shr eax, 8
movzx ecx, byte [r14 + 0xe]
add ecx, eax
mov byte [r14 + 0xe], cl
shr ecx, 8
movzx eax, byte [r14 + 0xd]
add eax, ecx
mov byte [r14 + 0xd], al
shr eax, 8
movzx ecx, byte [r14 + 0xc]
add ecx, eax
mov byte [r14 + 0xc], cl
shr ecx, 8
movzx eax, byte [r14 + 0xb]
add eax, ecx
mov byte [r14 + 0xb], al
shr eax, 8
movzx ecx, byte [r14 + 0xa]
add ecx, eax
mov byte [r14 + 0xa], cl
shr ecx, 8
movzx eax, byte [r14 + 9]
add eax, ecx
mov byte [r14 + 9], al
shr eax, 8
movzx ecx, byte [r14 + 8]
add ecx, eax
mov byte [r14 + 8], cl
shr ecx, 8
movzx eax, byte [r14 + 7]
add eax, ecx
mov byte [r14 + 7], al
shr eax, 8
movzx ecx, byte [r14 + 6]
add ecx, eax
mov byte [r14 + 6], cl
shr ecx, 8
movzx eax, byte [r14 + 5]
add eax, ecx
mov byte [r14 + 5], al
shr eax, 8
movzx ecx, byte [r14 + 4]
add ecx, eax
mov byte [r14 + 4], cl
shr ecx, 8
movzx eax, byte [r14 + 3]
add eax, ecx
mov byte [r14 + 3], al
shr eax, 8
movzx ecx, byte [r14 + 2]
add ecx, eax
mov byte [r14 + 2], cl
shr ecx, 8
movzx eax, byte [r14 + 1]
add eax, ecx
mov byte [r14 + 1], al
shr eax, 8
add byte [r14], al
mov rax, qword [rbx]
xor rax, qword [rdi]
mov qword [rsi], rax
mov rax, qword [rbx + 8]
xor rax, qword [rdi + 8]
mov qword [rsi + 8], rax
add rbp, 0xfffffffffffffff0
add rsi, 0x10
add rdi, 0x10
cmp rbp, 0xf
ja 0x1400fff81
xor r13d, r13d
test rbp, rbp
je 0x14010019a
mov rcx, r14
mov rdx, rbx
mov r8, r15
mov rax, r12
call qword [0x1401689f8]
movzx eax, byte [r14 + 0xf]
inc eax
mov byte [r14 + 0xf], al
shr eax, 8
movzx ecx, byte [r14 + 0xe]
add ecx, eax
mov byte [r14 + 0xe], cl
shr ecx, 8
movzx eax, byte [r14 + 0xd]
add eax, ecx
mov byte [r14 + 0xd], al
shr eax, 8
movzx ecx, byte [r14 + 0xc]
add ecx, eax
mov byte [r14 + 0xc], cl
shr ecx, 8
movzx eax, byte [r14 + 0xb]
add eax, ecx
mov byte [r14 + 0xb], al
shr eax, 8
movzx ecx, byte [r14 + 0xa]
add ecx, eax
mov byte [r14 + 0xa], cl
shr ecx, 8
movzx eax, byte [r14 + 9]
add eax, ecx
mov byte [r14 + 9], al
shr eax, 8
movzx ecx, byte [r14 + 8]
add ecx, eax
mov byte [r14 + 8], cl
shr ecx, 8
movzx eax, byte [r14 + 7]
add eax, ecx
mov byte [r14 + 7], al
shr eax, 8
movzx ecx, byte [r14 + 6]
add ecx, eax
mov byte [r14 + 6], cl
shr ecx, 8
movzx eax, byte [r14 + 5]
add eax, ecx
mov byte [r14 + 5], al
shr eax, 8
movzx ecx, byte [r14 + 4]
add ecx, eax
mov byte [r14 + 4], cl
shr ecx, 8
movzx eax, byte [r14 + 3]
add eax, ecx
mov byte [r14 + 3], al
shr eax, 8
movzx ecx, byte [r14 + 2]
add ecx, eax
mov byte [r14 + 2], cl
shr ecx, 8
movzx eax, byte [r14 + 1]
add eax, ecx
mov byte [r14 + 1], al
shr eax, 8
add byte [r14], al
mov eax, r13d
mov cl, byte [rbx + rax]
xor cl, byte [rdi + rax]
inc r13d
mov byte [rsi + rax], cl
dec rbp
jne 0x140100186
mov rax, qword [rsp + 0xa0]
mov dword [rax], r13d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret