Function at 0x1400a8a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r14
push r15
mov eax, 0x70
call fcn.1400be0c0
sub rsp, rax
mov rcx, r9
mov rbp, r9
mov r15, r8
mov rbx, rdx
xor esi, esi
call fcn.14005e840
mov rcx, rbp
call fcn.14005e930
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400a8e77
mov rcx, rbp
call fcn.14005e930
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400a8e77
mov rcx, rbp
mov qword [rsp + 0x68], r12
call fcn.14005e930
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400a8e72
mov rcx, rbp
mov qword [rsp + 0xa8], rdi
call fcn.14005e930
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400a8e6a
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.1400a8680
test eax, eax
je 0x1400a8e6a
cmp dword [r12 + 8], esi
je 0x1400a8e6a
mov rdx, r15
mov rcx, rdi
call fcn.14005d650
test rax, rax
je 0x1400a8e6a
mov rcx, r12
mov qword [rsp + 0x60], r13
call fcn.14005d300
mov rcx, rdi
mov ebp, eax
call fcn.14005d300
movsxd rdi, dword [r15 + 8]
cmp edi, dword [r12 + 0xc]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], edi
jle 0x1400a8b78
mov edx, edi
mov rcx, r12
call fcn.14005d5e0
movsxd rax, dword [r12 + 8]
mov rbx, qword [r12]
cmp rax, rdi
jge 0x1400a8b9b
mov r8, rdi
lea rcx, [rbx + rax*8]
xor edx, edx
sub r8, rax
shl r8, 3
call fcn.1400be450
mov dword [r12 + 8], edi
cmp edi, dword [r14 + 0xc]
jle 0x1400a8bb0
mov edx, edi
mov rcx, r14
call fcn.14005d5e0
mov r13, qword [r14]
mov eax, 1
mov r8, rdi
cmp rdi, rax
mov qword [r13], rax
jle 0x1400a8bd6
dec r8
lea rcx, [r13 + 8]
xor edx, edx
shl r8, 3
call fcn.1400be450
mov r8, qword [rsp + 0x28]
mov dword [r14 + 8], edi
cmp edi, dword [r8 + 0xc]
jle 0x1400a8bf4
mov edx, edi
mov rcx, r8
call fcn.14005d5e0
mov r8, qword [rsp + 0x28]
mov rcx, qword [r8]
mov qword [rsp + 0x40], rcx
test edi, edi
jle 0x1400a8c13
mov r8, rdi
xor edx, edx
shl r8, 3
call fcn.1400be450
mov r8, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov dword [r8 + 8], edi
mov r9, qword [rcx]
mov qword [rsp + 0x38], r9
test ebp, ebp
je 0x1400a8d06
nop dword [rax]
mov r9, qword [rbx]
test r9b, 1
jne 0x1400a8ced
mov r8, qword [r13]
mov rax, qword [r15]
mov r11, rsi
mov rcx, qword [rax]
mov r10, r8
lea eax, [rdi - 1]
and r10d, 1
neg r10
and rcx, r10
xor r8, rcx
test eax, eax
jle 0x1400a8cd5
mov rdi, rbx
mov rsi, 0xfffffffffffffff8
lea r12, [r13 + 8]
sub rdi, r13
sub rsi, r13
mov r14d, eax
nop dword [rax + rax]
mov rcx, qword [rdi + r12]
shr r9, 1
shr r8, 1
mov rax, rcx
inc r11
shl rax, 0x3f
or rax, r9
mov r9, rcx
lea rcx, [rsi + r12]
mov qword [rbx + r11*8 - 8], rax
mov rax, qword [r15]
add r12, 8
mov rdx, qword [rcx + rax + 8]
and rdx, r10
xor rdx, qword [r12 - 8]
mov rax, rdx
shl rax, 0x3f
or rax, r8
sub r14, 1
mov r8, rdx
mov qword [r12 - 0x10], rax
jne 0x1400a8c80
mov edi, dword [rsp + 0x24]
xor esi, esi
shr r9, 1
shr r8, 1
sub ebp, 1
mov qword [rbx + r11*8], r9
mov qword [r13 + r11*8], r8
jne 0x1400a8c30
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x38]
cmp ebp, 0x40
jg 0x1400a8d15
cmp qword [rbx], 1
je 0x1400a8e17
mov r11d, dword [rsp + 0x20]
cmp ebp, r11d
jge 0x1400a8d6b
mov r13, qword [rsp + 0x40]
mov eax, ebp
mov ebp, r11d
mov r11d, eax
mov dword [rsp + 0x20], eax
mov rax, r12
mov qword [rsp + 0x48], rcx
mov r12, rcx
mov rcx, rax
mov qword [rsp + 0x30], rax
mov rax, r14
mov rbx, r9
mov rdx, qword [rax]
mov r9, qword [rcx]
mov r14, r8
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x40], rdx
mov r8, rax
mov qword [rsp + 0x38], r9
jmp 0x1400a8d70
mov rdx, qword [rsp + 0x40]
movsxd rax, edi
test edi, edi
jle 0x1400a8dbb
mov r10, rdx
mov rdx, r13
sub r9, rbx
sub r10, rbx
mov rcx, rbx
mov r8, rax
sub rdx, rbx
nop dword [rax]
mov rax, qword [r9 + rcx]
add rcx, 8
xor qword [rcx - 8], rax
mov rax, qword [r10 + rcx - 8]
xor qword [rdx + rcx - 8], rax
sub r8, 1
jne 0x1400a8d90
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x38]
cmp ebp, r11d
jne 0x1400a8c24
lea eax, [rbp - 1]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movsxd rdi, eax
mov rax, rdi
mov rcx, qword [rbx + rdi*8]
test rcx, rcx
jne 0x1400a8df4
nop
test rax, rax
je 0x1400a8df4
mov rcx, qword [rbx + rax*8 - 8]
dec rax
dec edi
test rcx, rcx
je 0x1400a8de0
call fcn.14005d1f0
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x38]
shl edi, 6
lea ebp, [rdi + rax]
mov edi, dword [rsp + 0x24]
jmp 0x1400a8c24
mov edx, dword [r14 + 8]
mov r13, qword [rsp + 0x60]
test edx, edx
jle 0x1400a8e47
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [r14]
lea r8, [rax + rcx*8]
mov rax, qword [r8]
sub r8, 8
test rax, rax
jne 0x1400a8e43
dec edx
test edx, edx
jg 0x1400a8e31
mov dword [r14 + 8], edx
mov rcx, qword [rsp + 0xa0]
mov rdx, r14
call fcn.14005d650
mov rbp, qword [rsp + 0xb8]
test rax, rax
mov eax, 1
cmovne esi, eax
mov rdi, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14005e8b0
mov eax, esi
add rsp, 0x70
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret