Function at 0x14014b910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r14
mov eax, 0x60
call fcn.140189b00
sub rsp, rax
mov ebp, dword [rsp + 0xb0]
mov r11, rcx
mov edi, 1
mov ecx, ebp
movsxd r13, edx
mov r14d, r9d
shl edi, cl
cmp r13d, dword [r11 + 0xc]
mov rbx, r8
jg 0x14014b950
mov rax, r11
jmp 0x14014b963
mov edx, r13d
mov rcx, r11
call fcn.1400bb6b0
mov r11, qword [rsp + 0x90]
test rax, rax
jne 0x14014b974
add rsp, 0x60
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret
cmp ebp, 3
mov qword [rsp + 0x98], rsi
mov rsi, r13
jg 0x14014b9f8
xor r10d, r10d
test r13d, r13d
jle 0x14014bb96
movsxd rbp, edi
shl rbp, 3
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x14014b9df
mov r8, rbx
nop
nop
nop
nop
mov ecx, edx
add edx, 1
add r8, 8
xor ecx, r14d
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov rax, qword [r8 - 8]
neg ecx
and ecx, 1
neg rcx
and rcx, rax
or r9, rcx
cmp edx, edi
jl 0x14014b9b0
mov rax, qword [r11]
add r10, 1
add rbx, rbp
cmp r10, r13
mov qword [rax + r10*8 - 8], r9
jl 0x14014b997
jmp 0x14014bb96
lea ecx, [rbp - 2]
mov edx, r14d
mov r8d, 1
sar edx, cl
shl r8d, cl
mov qword [rsp + 0x50], r15
lea ecx, [rdx - 1]
lea eax, [r8 - 1]
xor r15d, r15d
and r14d, eax
shr ecx, 0x1f
mov eax, edx
not eax
movsxd rbp, r8d
mov qword [rsp + 0x20], r15
shr eax, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 1
and eax, 1
neg rax
mov qword [rsp + 0x28], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
mov ecx, edx
xor edx, 3
xor ecx, 2
neg eax
and eax, 1
neg rax
mov qword [rsp + 0x38], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
lea ecx, [rdx - 1]
not edx
shr ecx, 0x1f
neg eax
shr edx, 0x1f
and ecx, edx
and eax, 1
neg ecx
neg rax
and ecx, 1
mov qword [rsp + 0x30], rax
neg rcx
test r13d, r13d
mov qword [rsp + 0xa0], rcx
jle 0x14014bb91
movsxd rax, edi
mov qword [rsp + 0x58], r12
shl rax, 3
mov qword [rsp + 0x40], rax
xor r12d, r12d
xor r11d, r11d
xor r10d, r10d
test rbp, rbp
jle 0x14014bb65
mov r15, qword [rsp + 0x28]
mov r9, rbp
lea rax, [rbp + rbp*2]
shl r9, 4
lea rdi, [rbx + rbp*8]
lea rsi, [rbx + rax*8]
add r9, rbx
nop
nop
nop
nop
mov rax, qword [rsi]
mov r8d, r11d
add r10, 1
and rax, rcx
mov rcx, qword [r9]
mov rdx, qword [rdi]
and rcx, qword [rsp + 0x30]
and rdx, qword [rsp + 0x38]
xor r8d, r14d
or rcx, rax
mov rax, qword [rbx + r10*8 - 8]
add r11d, 1
or rdx, rcx
lea ecx, [r8 - 1]
and rax, r15
shr ecx, 0x1f
or rax, rdx
not r8d
shr r8d, 0x1f
add rsi, 8
add r9, 8
and ecx, r8d
add rdi, 8
neg ecx
and ecx, 1
neg rcx
and rcx, rax
or r12, rcx
cmp r10, rbp
mov rcx, qword [rsp + 0xa0]
jl 0x14014baf0
mov r15, qword [rsp + 0x20]
mov rsi, r13
mov r11, qword [rsp + 0x90]
add rbx, qword [rsp + 0x40]
add r15, 1
cmp r15, rsi
mov rax, qword [r11]
mov qword [rsp + 0x20], r15
mov qword [rax + r15*8 - 8], r12
jl 0x14014bab4
mov r12, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
test r13d, r13d
mov rsi, qword [rsp + 0x98]
mov dword [r11 + 8], r13d
jle 0x14014bbd9
lea eax, [r13 - 1]
movsxd rcx, eax
mov rax, qword [r11]
lea rdx, [rax + rcx*8]
nop
nop
nop
mov rcx, qword [rdx]
sub rdx, 8
test rcx, rcx
jne 0x14014bbd5
sub r13d, 1
test r13d, r13d
jg 0x14014bbc0
mov dword [r11 + 8], r13d
mov eax, 1
add rsp, 0x60
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret