Function at 0x1400a4600
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rbx, r8
mov r15, rcx
sub rdx, rcx
movabs rax, 0x4924924924924925
imul rdx
mov r13, rdx
sar r13, 4
mov rax, r13
shr rax, 0x3f
add r13, rax
mov rbp, r13
sar rbp, 1
test rbp, rbp
jle 0x1400a489b
lea rsi, [r13 - 1]
mov r12, rsi
sar r12, 1
imul rdi, rbp, 0x38
add rdi, 0x28
add rdi, rcx
xor ecx, ecx
nop dword [rax]
dec rbp
lea rdi, [rdi - 0x38]
mov rax, qword [rdi - 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi - 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x40], rax
mov qword [rdi - 0x28], rcx
mov qword [rdi - 0x20], rcx
mov qword [rdi - 0x18], rcx
mov rax, qword [rdi - 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi - 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
mov qword [rdi - 0x10], rcx
mov qword [rdi - 8], rcx
mov qword [rdi], rcx
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x60]
call fcn.1400ab630
nop
mov r14, rbp
mov r9, rbp
cmp rbp, r12
jge 0x1400a4794
lea rsi, [r9 + r9]
lea rax, [rsi + 2]
imul rdx, rax, 0x38
add rdx, r15
lea r8, [rdx - 0x38]
mov rcx, rbx
call fcn.1400a6d40
movzx r9d, al
xor r9, 1
inc r9
add r9, rsi
imul r8, r9, 0x38
add r8, r15
imul rdx, r14, 0x38
add rdx, r15
mov rcx, qword [rdx]
mov rax, qword [r8]
mov qword [rdx], rax
mov qword [r8], rcx
mov rcx, qword [rdx + 8]
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov qword [r8 + 8], rcx
mov rcx, qword [rdx + 0x10]
mov rax, qword [r8 + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 + 0x10], rcx
mov rcx, qword [rdx + 0x18]
mov rax, qword [r8 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rcx, qword [rdx + 0x20]
mov rax, qword [r8 + 0x20]
mov qword [rdx + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rcx, qword [rdx + 0x28]
mov rax, qword [r8 + 0x28]
mov qword [rdx + 0x28], rax
mov qword [r8 + 0x28], rcx
mov rcx, qword [rdx + 0x30]
mov rax, qword [r8 + 0x30]
mov qword [rdx + 0x30], rax
mov qword [r8 + 0x30], rcx
mov r14, r9
cmp r9, r12
jl 0x1400a46e1
lea rsi, [r13 - 1]
cmp r14, r12
jne 0x1400a4826
test r13b, 1
jne 0x1400a4826
imul r8, r13, 0x38
add r8, r15
imul rdx, r14, 0x38
add rdx, r15
mov rcx, qword [rdx]
mov rax, qword [r8 - 0x38]
mov qword [rdx], rax
mov qword [r8 - 0x38], rcx
mov rcx, qword [rdx + 8]
mov rax, qword [r8 - 0x30]
mov qword [rdx + 8], rax
mov qword [r8 - 0x30], rcx
mov rcx, qword [rdx + 0x10]
mov rax, qword [r8 - 0x28]
mov qword [rdx + 0x10], rax
mov qword [r8 - 0x28], rcx
mov rcx, qword [rdx + 0x18]
mov rax, qword [r8 - 0x20]
mov qword [rdx + 0x18], rax
mov qword [r8 - 0x20], rcx
mov rcx, qword [rdx + 0x20]
mov rax, qword [r8 - 0x18]
mov qword [rdx + 0x20], rax
mov qword [r8 - 0x18], rcx
mov rcx, qword [rdx + 0x28]
mov rax, qword [r8 - 0x10]
mov qword [rdx + 0x28], rax
mov qword [r8 - 0x10], rcx
mov rcx, qword [rdx + 0x30]
mov rax, qword [r8 - 8]
mov qword [rdx + 0x30], rax
mov qword [r8 - 8], rcx
mov r14, rsi
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
mov r8, rbp
mov rdx, r14
mov rcx, r15
call fcn.1400a5870
nop
lea rcx, [rsp + 0x60]
call fcn.1400ab8b0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a486b
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400a486b
mov rcx, qword [rsp + 0x48]
call fcn.14021b7f0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a488d
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400a488d
mov rcx, qword [rsp + 0x30]
call fcn.14021b7f0
test rbp, rbp
mov ecx, 0
jg 0x1400a4670
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret