Function at 0x14001d250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x220], 0xfffffffffffffffe
mov rbx, qword [rdx + 8]
mov qword [rbp + 0x1f8], rdx
mov rax, qword [rdx + 0x18]
mov qword [rbp + 0x200], rax
cmp rbx, rax
je 0x14001d5cb
mov qword [rbp + 0x218], rcx
mov rax, qword [r8]
mov qword [rbp + 0x208], rax
mov rax, qword [r8 + 8]
mov qword [rbp + 0x210], rax
jmp 0x14001d333
mov rax, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa8]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
movaps xmmword [rbp + 0x40], xmm2
movaps xmmword [rbp + 0x50], xmm3
movups xmm0, xmmword [rcx + 0x40]
movaps xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x50]
movaps xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rcx + 0x60]
movaps xmmword [rbp + 0x80], xmm0
mov rcx, qword [rcx + 0x70]
mov qword [rbp + 0x90], rcx
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x14001d5d7
cmp rbx, qword [rbp + 0x200]
je 0x14001d5b8
movups xmm0, xmmword [rbx + 0x70]
movaps xmmword [rbp + 0x110], xmm0
movups xmm0, xmmword [rbx + 0x60]
movaps xmmword [rbp + 0x100], xmm0
movups xmm0, xmmword [rbx + 0x50]
movaps xmmword [rbp + 0xf0], xmm0
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movaps xmmword [rbp + 0xd0], xmm3
movaps xmmword [rbp + 0xc0], xmm2
movaps xmmword [rbp + 0xb0], xmm1
movaps xmmword [rbp + 0xa0], xmm0
sub rbx, 0xffffffffffffff80
mov rax, qword [rbp + 0x1f8]
mov qword [rax + 8], rbx
mov r13, qword [rbp + 0xd8]
mov r8, qword [rbp + 0xe0]
lea rcx, [rbp + 0x1b8]
mov rdx, r13
call fcn.1401dba30
lea rcx, [rbp + 0x178]
mov rdx, qword [rbp + 0x208]
mov r8, qword [rbp + 0x210]
call fcn.1401dba30
mov r15, qword [rbp + 0x1b8]
mov r12, qword [rbp + 0x1c0]
mov rsi, qword [rbp + 0x178]
mov rdi, qword [rbp + 0x180]
cmp r12, rdi
jne 0x14001d450
movzx r14d, byte [rbp + 0x1c8]
movzx eax, byte [rbp + 0x1f0]
cmp al, byte [rbp + 0x1b0]
jne 0x14001d458
cmp byte [rbp + 0x1f1], 2
jne 0x14001d458
cmp byte [rbp + 0x1b1], 2
jne 0x14001d458
cmp r14b, 3
setb al
cmp byte [rbp + 0x188], 3
setb cl
xor cl, al
jne 0x14001d458
mov rcx, r15
mov rdx, rsi
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001d458
jmp 0x14001d2c0
movzx r14d, byte [rbp + 0x1c8]
cmp r14b, 6
je 0x14001d485
lea rcx, [rbp + 0x1c9]
mov rax, qword [rcx + 0x1f]
mov qword [rbp + 0x16f], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp + 0x160], xmm1
movaps xmmword [rbp + 0x150], xmm0
movzx eax, byte [rbp + 0x1f2]
movzx ecx, word [rbp + 0x1f0]
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r12
mov byte [rbp - 0x10], r14b
mov rdx, qword [rbp + 0x16f]
lea r8, [rbp - 0xf]
mov qword [r8 + 0x1f], rdx
movaps xmm0, xmmword [rbp + 0x150]
movaps xmm1, xmmword [rbp + 0x160]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
mov word [rbp + 0x18], cx
mov byte [rbp + 0x1a], al
movzx eax, byte [rbp + 0x188]
cmp al, 6
je 0x14001d4fe
lea rdx, [rbp + 0x189]
mov rcx, qword [rdx + 0x1f]
mov qword [rbp + 0x13f], rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rbp + 0x130], xmm1
movaps xmmword [rbp + 0x120], xmm0
movzx ecx, byte [rbp + 0x1b2]
movzx edx, word [rbp + 0x1b0]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x50], al
mov rax, qword [rbp + 0x13f]
lea r8, [rbp - 0x4f]
mov qword [r8 + 0x1f], rax
movaps xmm0, xmmword [rbp + 0x120]
movaps xmm1, xmmword [rbp + 0x130]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
mov word [rbp - 0x28], dx
mov byte [rbp - 0x26], cl
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x60]
call fcn.1400189a0
test al, al
jne 0x14001d2c0
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x14001d577
mov rcx, qword [rbp + 0xa8]
mov r8d, 1
call fcn.140022d50
mov rdx, qword [rbp + 0xb8]
test rdx, rdx
je 0x14001d595
mov rcx, qword [rbp + 0xc0]
mov r8d, 1
call fcn.140022d50
mov rdx, qword [rbp + 0xd0]
test rdx, rdx
je 0x14001d326
mov r8d, 1
mov rcx, r13
call fcn.140022d50
jmp 0x14001d326
movabs rax, 0x8000000000000000
mov rcx, qword [rbp + 0x218]
jmp 0x14001d627
movabs rax, 0x8000000000000000
jmp 0x14001d627
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x218]
mov qword [rdx + 0x78], rcx
mov rcx, rdx
movaps xmm0, xmmword [rbp + 0x80]
movups xmmword [rdx + 0x68], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movups xmmword [rdx + 0x58], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movups xmmword [rdx + 0x48], xmm0
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movaps xmm2, xmmword [rbp + 0x40]
movaps xmm3, xmmword [rbp + 0x50]
movups xmmword [rdx + 0x38], xmm3
movups xmmword [rdx + 0x28], xmm2
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 8], xmm0
mov qword [rcx], rax
mov rax, rcx
add rsp, 0x2a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret