Function at 0x1400c2070
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
lea rbx, [r8 - 1]
mov qword [rsp + 0x58], r13
mov r15, rbx
mov qword [rsp + 0x50], rdx
sar r15, 1
mov r12, r9
mov r13, r8
mov rbp, rdx
mov r14, rcx
mov rsi, rdx
cmp rdx, r15
jge 0x1400c21a4
nop dword [rax]
nop word [rax + rax]
lea rbx, [rsi + rsi]
lea rax, [rbx + 2]
imul rdx, rax, 0x88
lea rcx, [rsp + 0x70]
add rdx, r14
lea r8, [rdx - 0x88]
call fcn.1400c3c40
movzx eax, al
lea rsi, [rbx + 1]
xor rax, 1
add rsi, rax
imul rdi, rsi, 0x88
imul rbx, rbp, 0x88
add rdi, r14
mov rax, qword [rdi]
lea rdx, [rdi + 0x20]
add rbx, r14
mov qword [rbx], rax
lea rcx, [rbx + 0x20]
movzx eax, byte [rdi + 8]
mov byte [rbx + 8], al
mov rax, qword [rdi + 0xc]
mov qword [rbx + 0xc], rax
mov eax, dword [rdi + 0x14]
mov dword [rbx + 0x14], eax
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0x18], eax
call fcn.140012c80
lea rdx, [rdi + 0x40]
lea rcx, [rbx + 0x40]
call fcn.140012c80
movzx eax, byte [rdi + 0x60]
mov rbp, rsi
mov byte [rbx + 0x60], al
movzx eax, byte [rdi + 0x61]
mov byte [rbx + 0x61], al
mov eax, dword [rdi + 0x64]
mov dword [rbx + 0x64], eax
movzx eax, byte [rdi + 0x68]
mov byte [rbx + 0x68], al
movzx eax, byte [rdi + 0x69]
mov byte [rbx + 0x69], al
mov eax, dword [rdi + 0x6c]
mov dword [rbx + 0x6c], eax
mov eax, dword [rdi + 0x70]
mov dword [rbx + 0x70], eax
mov eax, dword [rdi + 0x74]
mov dword [rbx + 0x74], eax
mov rax, qword [rdi + 0x78]
mov qword [rbx + 0x78], rax
mov eax, dword [rdi + 0x80]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x84]
mov dword [rbx + 0x84], eax
cmp rsi, r15
jl 0x1400c20c0
lea rbx, [r13 - 1]
cmp rsi, r15
jne 0x1400c21d2
test r13b, 1
jne 0x1400c21d2
imul rdx, r13, 0x88
imul rcx, rbp, 0x88
add rdx, 0xffffffffffffff78
add rdx, r14
add rcx, r14
call fcn.1400c2f90
mov rbp, rbx
mov r15, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov r13, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
cmp r15, rbp
jge 0x1400c22be
nop
lea rsi, [rbp - 1]
mov r8, r12
sar rsi, 1
lea rcx, [rsp + 0x70]
imul rbx, rsi, 0x88
add rbx, r14
mov rdx, rbx
call fcn.1400c3c40
test al, al
je 0x1400c22be
mov rax, qword [rbx]
lea rdx, [rbx + 0x20]
imul rdi, rbp, 0x88
add rdi, r14
mov qword [rdi], rax
lea rcx, [rdi + 0x20]
movzx eax, byte [rbx + 8]
mov byte [rdi + 8], al
mov rax, qword [rbx + 0xc]
mov qword [rdi + 0xc], rax
mov eax, dword [rbx + 0x14]
mov dword [rdi + 0x14], eax
mov eax, dword [rbx + 0x18]
mov dword [rdi + 0x18], eax
call fcn.140012c80
lea rdx, [rbx + 0x40]
lea rcx, [rdi + 0x40]
call fcn.140012c80
movzx eax, byte [rbx + 0x60]
mov rbp, rsi
mov byte [rdi + 0x60], al
movzx eax, byte [rbx + 0x61]
mov byte [rdi + 0x61], al
mov eax, dword [rbx + 0x64]
mov dword [rdi + 0x64], eax
movzx eax, byte [rbx + 0x68]
mov byte [rdi + 0x68], al
movzx eax, byte [rbx + 0x69]
mov byte [rdi + 0x69], al
mov eax, dword [rbx + 0x6c]
mov dword [rdi + 0x6c], eax
mov eax, dword [rbx + 0x70]
mov dword [rdi + 0x70], eax
mov eax, dword [rbx + 0x74]
mov dword [rdi + 0x74], eax
mov rax, qword [rbx + 0x78]
mov qword [rdi + 0x78], rax
mov eax, dword [rbx + 0x80]
mov dword [rdi + 0x80], eax
mov eax, dword [rbx + 0x84]
mov dword [rdi + 0x84], eax
cmp r15, rsi
jl 0x1400c21f0
imul rcx, rbp, 0x88
mov rdx, r12
add rcx, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
jmp fcn.1400c2f90