Function at 0x1800dd070
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 0x1800dd200
movups xmm0, xmmword [rcx]
mov rdi, qword [rcx + 8]
mov r14, qword [rcx]
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x28], rdi
movq r13, xmm0
movq r15, xmm0
nop word [rax + 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.1800d9c70
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 + 4]
mov rax, qword [r14 + 8]
mov rbx, qword [rax + rcx*8]
mov eax, dword [rdi]
lea rcx, [rbx + 4]
mov dword [rbx], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x1804]
mov rbp, r12
mov dword [rbx + 0x1804], eax
mov eax, dword [rdi + 0x1808]
mov dword [rbx + 0x1808], eax
mov eax, dword [rdi + 0x180c]
mov dword [rbx + 0x180c], eax
movzx eax, byte [rdi + 0x1810]
mov byte [rbx + 0x1810], al
movzx eax, byte [rdi + 0x1811]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x1811], al
cmp r12, rsi
jl 0x1800dd0f0
mov r14, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
cmp r12, rsi
jne 0x1800dd2a5
test r8b, 1
jne 0x1800dd2a5
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 + 4]
mov rbx, qword [rax + rcx*8]
mov eax, dword [rdi]
lea rcx, [rbx + 4]
mov dword [rbx], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x1804]
mov rbp, qword [rsp + 0x40]
mov dword [rbx + 0x1804], eax
mov eax, dword [rdi + 0x1808]
mov dword [rbx + 0x1808], eax
mov eax, dword [rdi + 0x180c]
mov dword [rbx + 0x180c], eax
movzx eax, byte [rdi + 0x1810]
mov byte [rbx + 0x1810], al
movzx eax, byte [rdi + 0x1811]
mov byte [rbx + 0x1811], al
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
cmp r13, rbp
jge 0x1800dd397
mov r13, qword [r14]
mov r12, qword [r14 + 8]
nop word [rax + rax]
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.1800d9c70
test al, al
je 0x1800dd397
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 + 4]
mov rbx, qword [rax + rcx*8]
mov eax, dword [rdi]
lea rcx, [rbx + 4]
mov dword [rbx], eax
call sub.VCRUNTIME140.dll_memcpy
mov rbp, rsi
mov eax, dword [rdi + 0x1804]
mov dword [rbx + 0x1804], eax
mov eax, dword [rdi + 0x1808]
mov dword [rbx + 0x1808], eax
mov eax, dword [rdi + 0x180c]
mov dword [rbx + 0x180c], eax
movzx eax, byte [rdi + 0x1810]
mov byte [rbx + 0x1810], al
movzx eax, byte [rdi + 0x1811]
mov byte [rbx + 0x1811], al
cmp qword [rsp + 0xc8], rsi
jl 0x1800dd2d0
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 + 4]
mov rbx, qword [rax + rcx*8]
mov eax, dword [r15]
lea rcx, [rbx + 4]
mov dword [rbx], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r15 + 0x1804]
mov dword [rbx + 0x1804], eax
mov eax, dword [r15 + 0x1808]
mov dword [rbx + 0x1808], eax
mov eax, dword [r15 + 0x180c]
mov dword [rbx + 0x180c], eax
movzx eax, byte [r15 + 0x1810]
mov byte [rbx + 0x1810], al
movzx eax, byte [r15 + 0x1811]
mov byte [rbx + 0x1811], al
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret