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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
lea rax, [r8 - 1]
mov qword [rsp + 0xc8], rdx
mov rsi, rax
mov qword [rsp + 0x40], rax
sar rsi, 1
mov r15, r9
mov rbp, rdx
mov r14, rcx
mov r13, rdx
mov r12, rdx
cmp rdx, rsi
jge 0x1800dc316
vmovups xmm0, xmmword [rcx]
mov rdi, qword [rcx + 8]
mov r14, qword [rcx]
vmovups xmmword [rsp + 0x48], xmm0
vmovups xmmword [rsp + 0x58], xmm0
vmovq r13, xmm0
vmovq r15, xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x28], rdi
nop dword [rax]
mov rax, qword [r13 + 0x10]
lea rbx, [r12 + r12]
mov rdx, qword [r15 + 8]
dec rax
mov r8, qword [r13 + 8]
mov r9, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
inc r9
add rcx, 2
add r9, rbx
and r9, rax
add rcx, rbx
mov rax, qword [r15 + 0x10]
dec rax
and rcx, rax
mov r8, qword [r8 + r9*8]
mov rdx, qword [rdx + rcx*8]
lea rcx, [rsp + 0xe0]
call fcn.1800d7cb0
movzx r12d, al
mov r8d, 0x1800
mov rax, qword [r14 + 0x10]
xor r12, 1
dec rax
inc r12
add r12, rbx
lea rcx, [r12 + rdi]
and rcx, rax
mov rax, qword [r14 + 8]
mov rdi, qword [rax + rcx*8]
mov rax, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x28]
dec rax
add rcx, rbp
and rcx, rax
lea rdx, [rdi + 0x10]
mov rax, qword [r14 + 8]
mov rbx, qword [rax + rcx*8]
mov eax, dword [rdi]
mov dword [rbx], eax
lea rcx, [rbx + 0x10]
mov eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rdi + 8]
mov dword [rbx + 8], eax
movzx eax, byte [rdi + 0xc]
mov byte [rbx + 0xc], al
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x1810]
mov rbp, r12
mov dword [rbx + 0x1810], eax
mov eax, dword [rdi + 0x1814]
mov dword [rbx + 0x1814], eax
mov eax, dword [rdi + 0x1818]
mov dword [rbx + 0x1818], eax
movzx eax, byte [rdi + 0x181c]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x181c], al
cmp r12, rsi
jl 0x1800dc200
mov r14, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
cmp r12, rsi
jne 0x1800dc3c1
test r8b, 1
jne 0x1800dc3c1
mov rdx, qword [r14]
dec r8
mov rcx, qword [r14 + 8]
add rcx, r8
mov r8d, 0x1800
mov rax, qword [rdx + 0x10]
dec rax
and rcx, rax
mov rax, qword [rdx + 8]
mov rdi, qword [rax + rcx*8]
mov rcx, qword [rdx + 0x10]
mov rax, qword [r14 + 8]
dec rcx
add rax, rbp
and rcx, rax
mov rax, qword [rdx + 8]
lea rdx, [rdi + 0x10]
mov rbx, qword [rax + rcx*8]
mov eax, dword [rdi]
mov dword [rbx], eax
lea rcx, [rbx + 0x10]
mov eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rdi + 8]
mov dword [rbx + 8], eax
movzx eax, byte [rdi + 0xc]
mov byte [rbx + 0xc], al
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x1810]
mov rbp, qword [rsp + 0x40]
mov dword [rbx + 0x1810], eax
mov eax, dword [rdi + 0x1814]
mov dword [rbx + 0x1814], eax
mov eax, dword [rdi + 0x1818]
mov dword [rbx + 0x1818], eax
movzx eax, byte [rdi + 0x181c]
mov byte [rbx + 0x181c], al
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
cmp r13, rbp
jge 0x1800dc4ae
mov r13, qword [r14]
mov r12, qword [r14 + 8]
mov rax, qword [r13 + 0x10]
lea rsi, [rbp - 1]
dec rax
sar rsi, 1
mov r8, r15
lea rcx, [rsp + 0xc0]
lea rdx, [r12 + rsi]
and rdx, rax
mov rax, qword [r13 + 8]
mov rdx, qword [rax + rdx*8]
call fcn.1800d7cb0
test al, al
je 0x1800dc4ae
mov rax, qword [r13 + 0x10]
lea rcx, [rsi + r12]
dec rax
mov r8d, 0x1800
and rcx, rax
mov rax, qword [r13 + 8]
mov rdi, qword [rax + rcx*8]
lea rcx, [r12 + rbp]
mov rax, qword [r13 + 0x10]
dec rax
and rcx, rax
mov rax, qword [r13 + 8]
lea rdx, [rdi + 0x10]
mov rbx, qword [rax + rcx*8]
mov eax, dword [rdi]
mov dword [rbx], eax
lea rcx, [rbx + 0x10]
mov eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rdi + 8]
mov dword [rbx + 8], eax
movzx eax, byte [rdi + 0xc]
mov byte [rbx + 0xc], al
call sub.VCRUNTIME140.dll_memcpy
mov rbp, rsi
mov eax, dword [rdi + 0x1810]
mov dword [rbx + 0x1810], eax
mov eax, dword [rdi + 0x1814]
mov dword [rbx + 0x1814], eax
mov eax, dword [rdi + 0x1818]
mov dword [rbx + 0x1818], eax
movzx eax, byte [rdi + 0x181c]
mov byte [rbx + 0x181c], al
cmp qword [rsp + 0xc8], rsi
jl 0x1800dc3e1
mov rdx, qword [r14]
mov r8d, 0x1800
mov rcx, qword [r14 + 8]
add rcx, rbp
mov rax, qword [rdx + 0x10]
dec rax
and rcx, rax
mov rax, qword [rdx + 8]
lea rdx, [r15 + 0x10]
mov rbx, qword [rax + rcx*8]
mov eax, dword [r15]
mov dword [rbx], eax
lea rcx, [rbx + 0x10]
mov eax, dword [r15 + 4]
mov dword [rbx + 4], eax
mov eax, dword [r15 + 8]
mov dword [rbx + 8], eax
movzx eax, byte [r15 + 0xc]
mov byte [rbx + 0xc], al
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r15 + 0x1810]
mov dword [rbx + 0x1810], eax
mov eax, dword [r15 + 0x1814]
mov dword [rbx + 0x1814], eax
mov eax, dword [r15 + 0x1818]
mov dword [rbx + 0x1818], eax
movzx eax, byte [r15 + 0x181c]
mov byte [rbx + 0x181c], al
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret