Function at 0x14008f700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
mov eax, 0x68
call fcn.140150d80
sub rsp, rax
mov r14d, dword [rsp + 0xc0]
mov r13, rcx
movsxd rbp, edx
mov ebx, 1
mov ecx, r14d
mov esi, r9d
shl ebx, cl
mov rdi, r8
mov qword [rsp + 0x28], r8
mov dword [rsp + 0xa8], ebp
cmp ebp, dword [r13 + 0xc]
jg 0x14008f74f
mov rax, r13
jmp 0x14008f759
mov edx, ebp
mov rcx, r13
call fcn.140076c50
test rax, rax
jne 0x14008f76b
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r11, rbp
mov qword [rsp + 0x48], rbp
cmp r14d, 3
jg 0x14008f7e6
xor r10d, r10d
test ebp, ebp
jle 0x14008f9ac
movsxd r14, ebx
shl r14, 3
nop dword [rax + rax]
xor r9d, r9d
xor edx, edx
test ebx, ebx
jle 0x14008f7cd
mov r8, rdi
nop dword [rax]
mov ecx, edx
inc edx
lea r8, [r8 + 8]
xor ecx, esi
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, ebx
jl 0x14008f7a0
mov rax, qword [r13]
inc r10
add rdi, r14
mov qword [rax + r10*8 - 8], r9
cmp r10, rbp
jl 0x14008f790
jmp 0x14008f9ac
lea ecx, [r14 - 2]
mov edx, esi
mov r8d, 1
sar edx, cl
shl r8d, cl
mov qword [rsp + 0xb8], r12
lea ecx, [rdx - 1]
lea eax, [r8 - 1]
xor r12d, r12d
and esi, eax
shr ecx, 0x1f
mov eax, edx
not eax
movsxd r14, r8d
mov qword [rsp + 0x20], r12
shr eax, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 1
and eax, 1
neg rax
mov qword [rsp + 0x30], rax
lea eax, [rcx - 1]
not ecx
shr eax, 0x1f
shr ecx, 0x1f
and eax, ecx
mov ecx, edx
xor edx, 3
neg eax
xor ecx, 2
and eax, 1
neg rax
mov qword [rsp + 0x38], rax
lea eax, [rcx - 1]
not ecx
shr eax, 0x1f
shr ecx, 0x1f
and eax, ecx
neg eax
and eax, 1
neg rax
mov qword [rsp + 0x40], rax
lea eax, [rdx - 1]
not edx
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
neg edx
and edx, 1
neg rdx
mov qword [rsp + 0xb0], rdx
test ebp, ebp
jle 0x14008f9a4
movsxd rax, ebx
mov qword [rsp + 0x60], r15
shl rax, 3
mov qword [rsp + 0x50], rax
nop dword [rax]
nop word [rax + rax]
xor ebx, ebx
xor r10d, r10d
test r14, r14
jle 0x14008f974
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rax, r14
shl rax, 4
mov rcx, r14
mov r11, r14
neg rcx
add rax, rdi
mov rdi, qword [rsp + 0x40]
neg r11
mov r15, r14
lea rbp, [rcx*8]
add r11, r11
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rax + r14*8]
mov r9d, r10d
inc r10d
and rcx, rdx
mov rdx, qword [rax]
mov r8, qword [rax + rbp]
and rdx, rdi
xor r9d, esi
and r8, r12
or rdx, rcx
mov rcx, qword [rax + r11*8]
lea rax, [rax + 8]
or r8, rdx
lea edx, [r9 - 1]
and rcx, r13
shr edx, 0x1f
or rcx, r8
not r9d
shr r9d, 0x1f
and edx, r9d
neg edx
and edx, 1
neg rdx
and rdx, rcx
or rbx, rdx
mov rdx, qword [rsp + 0xb0]
dec r15
jne 0x14008f900
mov rdi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x48]
add rdi, qword [rsp + 0x50]
mov rax, qword [r13]
inc r12
mov qword [rax + r12*8 - 8], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], rdi
cmp r12, r11
jl 0x14008f8b0
mov ebp, dword [rsp + 0xa8]
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0xb8]
mov dword [r13 + 8], ebp
test ebp, ebp
jle 0x14008f9d8
lea eax, [rbp - 1]
movsxd rcx, eax
mov rax, qword [r13]
lea rdx, [rax + rcx*8]
mov rcx, qword [rdx]
lea rdx, [rdx - 8]
test rcx, rcx
jne 0x14008f9d4
dec ebp
test ebp, ebp
jg 0x14008f9c2
mov dword [r13 + 8], ebp
mov eax, 1
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret