Function at 0x1400d9d50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
jmp 0x1400db4f8
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
lea rdx, [rbp - 0x18]
and dword [rbp - 0x18], edi
mov r13, rcx
mov rcx, qword [0x1403c32e8]
xor r8d, r8d
and qword [rbp - 0x28], rdi
xor r15b, r15b
mov qword [r11 - 0x70], rdx
lea r9d, [rdi + 1]
lea rdx, [rbp - 0x28]
mov rax, qword [rcx]
mov qword [r11 - 0x78], rdx
xor edx, edx
mov rax, qword [rax + 0x448]
call qword [str.0B__]
mov ebx, 0x80070000
test eax, eax
jne 0x1400db5a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov edi, 0x8000ffff
or ecx, ebx
lea r8, str.SetupUtils::DuplicateUserTokenForActiveSession_WTSEnumerateSessions_failed.
test eax, eax
lea rdx, str.SetupUtils
cmovle ecx, eax
test ecx, ecx
cmovs edi, ecx
mov ecx, edi
call fcn.140064998
test edi, edi
js 0x1400db748
xor r14d, r14d
cmp dword [rbp - 0x18], r14d
jbe 0x1400db748
mov rax, qword [rbp - 0x28]
lea rcx, [r14 + r14*2]
xor esi, esi
lea rdx, [rbp - 0x14]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rdx
xor edx, edx
mov r12d, dword [rax + rcx*8]
mov r8d, r12d
mov rcx, qword [0x1403c32e8]
lea r9d, [rsi + 8]
and qword [rbp - 0x20], rsi
and dword [rbp - 0x14], esi
mov rax, qword [rcx]
mov rax, qword [rax + 0x450]
call qword [str.0B__]
test eax, eax
jne 0x1400db61a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov esi, 0x8000ffff
or ecx, ebx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs esi, ecx
test esi, esi
js 0x1400db668
cmp dword [rbp - 0x14], 0
jne 0x1400db63e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov esi, 0x8000ffff
or ecx, ebx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs esi, ecx
test esi, esi
js 0x1400db668
mov rcx, qword [0x1403c32e8]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rcx]
mov ebx, dword [rdx]
mov rax, qword [rax + 0x460]
call qword [str.0B__]
test ebx, ebx
jne 0x1400db730
mov ebx, 0x80070000
xor edx, edx
mov qword [rbp - 0x30], rdx
test esi, esi
js 0x1400db715
mov rcx, qword [0x1403c32e8]
lea r8, [rbp - 0x30]
mov edx, r12d
mov rax, qword [rcx]
mov rax, qword [rax + 0x458]
call qword [str.0B__]
test eax, eax
jne 0x1400db6b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov esi, 0x8000ffff
or ecx, ebx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs esi, ecx
test esi, esi
js 0x1400db711
mov rcx, qword [0x1403c32e8]
xor r9d, r9d
mov rdx, qword [rbp - 0x30]
mov r8d, 0x20f01ff
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 1
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
mov rax, qword [rax + 0x350]
call qword [str.0B__]
test eax, eax
jne 0x1400db743
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov esi, 0x8000ffff
or ecx, ebx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs esi, ecx
test esi, esi
jns 0x1400db743
mov rdx, qword [rbp - 0x30]
mov edi, esi
test rdx, rdx
je 0x1400db730
mov rcx, qword [0x1403c32e8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [str.0B__]
inc r14d
cmp r14d, dword [rbp - 0x18]
jae 0x1400db748
mov ebx, 0x80070000
jmp 0x1400db5b1
mov r15b, 1
xor edi, edi
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400db768
mov rcx, qword [0x1403c32e8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x460]
call qword [str.0B__]
test edi, edi
js 0x1400db777
test r15b, r15b
mov eax, 0x80040d08
cmove edi, eax
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140038910
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret