Function at 0x1400c1a60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1403ec5f8]
mov rbx, r9
mov rax, qword [0x1403ec5f8]
sub r9d, 1
movsxd rax, r9d
mov r10, r8
mov r14, rcx
js 0x1400c1aa8
cmp qword [r8 + rax*8], 0
jne 0x1400c1b0f
dec r9d
sub rax, 1
jns 0x1400c1a98
xor r13d, r13d
mov eax, 0xfa
lea rbp, [r13 + 7]
shr rbp, 3
mov r15d, 0
cmp rbp, 4
mov ecx, 0x1e
cmova eax, ecx
test bpl, 7
mov dword [rsp + 0x88], eax
mov rax, rbp
setne r15b
shr rax, 3
add r15, rax
lea rdi, [r15*8]
mov rsi, rdi
sub rsi, rbp
mov qword [rsp + 0x20], rsi
cmp rbx, r15
jae 0x1400c1b43
mov eax, 0xfffffffc
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
movsxd r8, r9d
movabs rcx, 0x8000000000000000
xor eax, eax
mov rdx, qword [r10 + r8*8]
test rcx, rdx
jne 0x1400c1b33
shr rcx, 1
inc rax
cmp rax, 0x40
jb 0x1400c1b22
lea r13, [r8 + 1]
shl r13, 6
sub r13, rax
jmp 0x1400c1aab
mov qword [rsp + 0x70], r12
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.1400f8fb0
mov r8, rbx
add rdi, r14
sub r8, r15
xor edx, edx
shl r8, 3
mov rcx, rdi
call fcn.1400f8fb0
mov rcx, qword [rsp + 0x98]
lea rdx, [rsi + r14]
mov r8, rbp
call qword [rsp + 0x90]
mov r12d, eax
test eax, eax
jne 0x1400c1bcf
test r15, r15
je 0x1400c1bcf
lea rax, [rdi - 8]
mov r8, r14
cmp r14, rax
ja 0x1400c1bcf
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rax]
mov rdx, qword [r8]
bswap rcx
mov qword [r8], rcx
add r8, 8
bswap rdx
mov qword [rax], rdx
sub rax, 8
cmp r8, rax
jbe 0x1400c1bb0
test r12d, r12d
jne 0x1400c1db5
lea rsi, [rbp*8]
xor edi, edi
sub rsi, r13
mov r8, rsi
and esi, 0x3f
shr r8, 6
cmp r8, rbx
ja 0x1400c1c98
jne 0x1400c1c03
test rsi, rsi
jne 0x1400c1c98
test r8, r8
je 0x1400c1c4b
mov rdx, rbx
mov r9, rdi
sub rdx, r8
je 0x1400c1c31
mov rcx, r14
mov r9, rdx
nop dword [rax]
mov rax, qword [rcx + r8*8]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x1400c1c20
cmp r9, rbx
jae 0x1400c1c4b
mov r8, rbx
lea rcx, [r14 + r9*8]
sub r8, r9
xor edx, edx
shl r8, 3
call fcn.1400f8fb0
test rsi, rsi
je 0x1400c1caa
mov r9, rbx
test rbx, rbx
je 0x1400c1caa
mov r10d, 0x40
lea r8, [rbx - 1]
sub r10, rsi
lea r8, [r14 + r8*8]
nop dword [rax]
mov rdx, qword [r8]
lea r8, [r8 - 8]
mov rcx, rsi
mov rax, rdx
shr rax, cl
mov rcx, r10
or rax, rdi
mov rdi, rdx
shl rdi, cl
mov qword [r8 + 8], rax
sub r9, 1
jne 0x1400c1c70
jmp 0x1400c1caa
lea r8, [rbx*8]
xor edx, edx
mov rcx, r14
call fcn.1400f8fb0
sub dword [rsp + 0x88], 1
je 0x1400c1dcc
mov r9, qword [0x1403ec5f8]
mov r8, qword [0x1403ec5f8]
xor r8, qword [rsp + 0x78]
mov rax, qword [r14]
mov rcx, r8
xor r9, rax
mov rax, qword [0x1403ec5f8]
xor rcx, r9
sub r9, r8
shr rcx, 0x3f
xor rcx, rax
mov rax, qword [0x1403ec5f8]
mov rdx, rcx
neg rcx
shr rdx, 1
neg rdx
or rdx, rcx
shr rdx, 0x3f
neg rdx
xor rax, rdx
and rdx, r8
not rax
and r9, rax
mov rax, qword [0x1403ec5f8]
mov rdi, qword [0x1403ec5f8]
or r9, rdx
shr r9, 0x3f
mov edx, 1
xor rax, r9
mov rsi, rax
neg rax
shr rsi, 1
neg rsi
or rsi, rax
shr rsi, 0x3f
dec rsi
cmp rdx, rbx
jae 0x1400c1d7f
nop dword [rax]
mov rax, qword [r14 + rdx*8]
inc rdx
mov rcx, qword [0x1403ec5f8]
xor rcx, rax
mov rax, rcx
neg rcx
shr rax, 1
neg rax
or rax, rcx
shr rax, 0x3f
neg rax
or rdi, rax
cmp rdx, rbx
jb 0x1400c1d50
mov rdx, qword [rsp + 0x80]
mov r8, rbx
mov rcx, r14
call fcn.1400c1200
mov rcx, qword [0x1403ec5f8]
or rdi, rsi
mov rsi, qword [rsp + 0x20]
and rax, rdi
lea rdi, [r15*8]
cmp rax, rcx
je 0x1400c1b50
mov eax, r12d
mov r12, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0xfffffff2
jmp 0x1400c1db8