Function at 0x1400bb1d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov ebx, r9d
mov r13, r8
mov esi, edx
mov rdi, rcx
mov ecx, edx
sub ecx, 0xe
je 0x1400bb443
sub ecx, 1
je 0x1400bb392
sub ecx, 1
je 0x1400bb2e9
cmp ecx, 1
je 0x1400bb23d
test r9d, r9d
je 0x1400bb4ef
mov edx, esi
mov rcx, r13
call fcn.14008e548
add ebx, 0xffffffff
jne 0x1400bb229
jmp 0x1400bb4ef
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x10], 0
and qword [rbp - 0x30], 0
mov r9, rbx
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
mov rax, rbx
sub rax, rsi
sar rax, 3
cmp r9, rax
jae 0x1400bb283
lea rax, [rsi + r9*8]
cmp rax, rsi
jne 0x1400bb275
mov qword [rdi + 8], rsi
mov rbx, rsi
jmp 0x1400bb2a7
cmp rax, rbx
je 0x1400bb2a7
mov rbx, rax
mov qword [rdi + 8], rax
jmp 0x1400bb2a7
jbe 0x1400bb2a7
sub r9, rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400bd05c
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
cmp rsi, rbx
je 0x1400bb2e4
mov r15d, 1
mov rdi, rsi
add rsi, 8
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.140095ad0
mov rax, qword [rbp - 0x30]
mov rcx, rax
shr rcx, 1
and rax, r15
neg rax
xor rcx, rax
mov qword [rdi], rcx
cmp rsi, rbx
jne 0x1400bb2b2
jmp 0x1400bb4ef
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x10], 0
and qword [rbp - 0x30], 0
mov r9, rbx
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
mov rax, rbx
sub rax, rsi
sar rax, 3
cmp r9, rax
jae 0x1400bb32f
lea rax, [rsi + r9*8]
cmp rax, rsi
jne 0x1400bb321
mov qword [rdi + 8], rsi
mov rbx, rsi
jmp 0x1400bb353
cmp rax, rbx
je 0x1400bb353
mov rbx, rax
mov qword [rdi + 8], rax
jmp 0x1400bb353
jbe 0x1400bb353
sub r9, rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400bd05c
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
cmp rsi, rbx
je 0x1400bb38d
mov r15d, 1
mov rdi, rsi
add rsi, 8
mov byte [rbp - 0x10], 0
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.140089188
mov eax, dword [rbp + 0x28]
mov ecx, eax
shr ecx, 1
and eax, r15d
neg eax
xor eax, ecx
cdqe
mov qword [rdi], rax
cmp rsi, rbx
jne 0x1400bb35e
jmp 0x1400bb4ef
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x10], 0
and qword [rbp - 0x30], 0
mov r9, rbx
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
mov rax, rbx
sub rax, rsi
sar rax, 3
cmp r9, rax
jae 0x1400bb3d8
lea rax, [rsi + r9*8]
cmp rax, rsi
jne 0x1400bb3ca
mov qword [rdi + 8], rsi
mov rbx, rsi
jmp 0x1400bb3fc
cmp rax, rbx
je 0x1400bb3fc
mov rbx, rax
mov qword [rdi + 8], rax
jmp 0x1400bb3fc
jbe 0x1400bb3fc
sub r9, rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400bd05c
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
cmp rsi, rbx
je 0x1400bb43e
mov r15d, 1
mov rdi, rsi
add rsi, 8
mov byte [rbp - 0x10], 0
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14009de40
movzx eax, word [rbp + 0x28]
movzx ecx, ax
shr cx, 1
and ax, r15w
neg ax
xor ax, cx
movsx rax, ax
mov qword [rdi], rax
cmp rsi, rbx
jne 0x1400bb407
jmp 0x1400bb4ef
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x10], 0
and qword [rbp - 0x30], 0
mov rdx, rbx
mov rax, qword [rdi + 8]
mov r9, qword [rdi]
mov rcx, rax
sub rcx, r9
sar rcx, 3
cmp rbx, rcx
jae 0x1400bb489
lea rcx, [r9 + rbx*8]
cmp rcx, r9
jne 0x1400bb47b
mov qword [rdi + 8], r9
mov rax, r9
jmp 0x1400bb4b0
cmp rcx, rax
je 0x1400bb4b0
mov rax, rcx
mov qword [rdi + 8], rcx
jmp 0x1400bb4b0
jbe 0x1400bb4b0
sub rdx, rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rcx
mov r9, rdx
mov r8, rax
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400bd05c
mov rax, qword [rdi + 8]
mov r9, qword [rdi]
cmp r9, rax
je 0x1400bb4ef
mov r15d, 1
mov r11, r9
add r9, 8
mov byte [rbp - 0x10], 0
mov ecx, dword [r13 + 0x18]
mov r10d, dword [r13 + 0x20]
sub ecx, r10d
cmp ecx, r15d
jb 0x1400bb50a
mov rdx, qword [r13 + 0x10]
movsx r8, byte [r10 + rdx]
lea ecx, [r10 + 1]
mov dword [r13 + 0x20], ecx
mov qword [r11], r8
cmp r9, rax
jne 0x1400bb4bb
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
mov edx, r15d
mov rcx, r13
call fcn.14006dad0
int3