Function at 0x14006a830
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x70
call fcn.1400a59c0
sub rsp, rax
mov ebp, dword [rsp + 0xc0]
mov r13, rcx
mov ecx, ebp
mov qword [rsp + 0x28], r8
mov ebx, 1
mov esi, r9d
shl ebx, cl
mov rdi, r8
mov r11d, edx
cmp edx, dword [r13 + 0xc]
jg 0x14006a878
mov rax, r13
jmp 0x14006a888
mov rcx, r13
call fcn.140043eb0
mov r11d, dword [rsp + 0xa8]
test rax, rax
jne 0x14006a898
add rsp, 0x70
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
movsxd r11, r11d
mov qword [rsp + 0x48], r11
cmp ebp, 3
jg 0x14006a915
xor r10d, r10d
test r11, r11
jle 0x14006aad1
movsxd rbp, ebx
shl rbp, 3
nop dword [rax + rax]
xor r9d, r9d
xor edx, edx
test ebx, ebx
jle 0x14006a8fd
mov r8, rdi
nop dword [rax]
mov ecx, edx
lea r8, [r8 + 8]
xor ecx, esi
inc edx
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 0x14006a8d0
mov rax, qword [r13]
add rdi, rbp
mov qword [rax + r10*8], r9
inc r10
cmp r10, r11
jl 0x14006a8c0
jmp 0x14006aad1
lea ecx, [rbp - 2]
mov qword [rsp + 0x60], r15
mov edx, esi
mov r8d, 1
sar edx, cl
xor r15d, r15d
shl r8d, cl
movsxd rbp, r8d
mov qword [rsp + 0x20], r15
lea ecx, [rdx - 1]
shr ecx, 0x1f
lea eax, [r8 - 1]
and esi, eax
mov eax, edx
not eax
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
neg eax
xor edx, 3
and eax, 1
xor ecx, 2
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 eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and edx, 1
neg rdx
mov qword [rsp + 0xb0], rdx
test r11, r11
jle 0x14006aacc
movsxd rax, ebx
shl rax, 3
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], r14
nop word [rax + rax]
xor ebx, ebx
xor r10d, r10d
test rbp, rbp
jle 0x14006aa9e
mov r13, qword [rsp + 0x30]
mov rax, rbp
mov r15, qword [rsp + 0x38]
neg rax
mov rcx, rbp
mov r11, rbp
shl rcx, 4
neg r11
add rcx, rdi
mov r14, rbp
mov rdi, qword [rsp + 0x40]
lea r12, [rax*8]
add r11, r11
mov rax, qword [rcx + rbp*8]
lea rcx, [rcx + 8]
and rax, rdx
mov r9d, r10d
mov rdx, qword [rcx - 8]
xor r9d, esi
mov r8, qword [r12 + rcx - 8]
and rdx, rdi
or rdx, rax
and r8, r15
mov rax, qword [rcx + r11*8 - 8]
or r8, rdx
lea edx, [r9 - 1]
and rax, r13
shr edx, 0x1f
or rax, r8
not r9d
inc r10d
shr r9d, 0x1f
and edx, r9d
neg edx
and edx, 1
neg rdx
and rdx, rax
or rbx, rdx
mov rdx, qword [rsp + 0xb0]
sub r14, 1
jne 0x14006aa21
mov rdi, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [r13]
add rdi, rax
mov qword [rsp + 0x28], rdi
mov qword [rcx + r15*8], rbx
inc r15
mov qword [rsp + 0x20], r15
cmp r15, r11
jl 0x14006a9e0
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xa8]
mov eax, 1
mov dword [r13 + 8], ecx
add rsp, 0x70
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret