Function at 0x14009ddf8
Capabilities:
Encrypt data using rc4 via systemfunction033

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x100
xor ebx, ebx
mov dword [rbp - 0x71], 0x10
lea rax, [rbp - 9]
mov dword [rbp - 0x6d], 0x10
mov qword [rbp - 0x69], rax
lea r8, str.Policy
mov eax, 0x30
mov qword [rbp - 0x79], rbx
mov dword [rsp + 0x70], eax
mov r13, r9
mov dword [rbp - 0x7d], eax
mov r14, rdx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x28], rax
mov r15, rcx
mov dword [rsp + 0x20], 0x20019
mov edi, ebx
mov esi, ebx
mov qword [rsp + 0x60], rbx
call fcn.14000e5a0
test eax, eax
je 0x14009e1e1
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bf2c
mov rdx, qword [rsp + 0x40]
lea r9, str.Local
lea r8, [0x14011893c]
mov rcx, r15
call fcn.14009dcbc
mov rdx, qword [rsp + 0x40]
lea r9, [0x1400fc0f0]
lea r8, [0x140118944]
mov rcx, r15
call fcn.14009dcbc
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
lea r8, str.PolDnDDN
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, r15
call fcn.14000f0f4
test eax, eax
je 0x14009df2e
mov rbx, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
lea rcx, str.Domain_FQDN_:__wZ_n
movzx eax, word [rbx]
mov word [rsp + 0x58], ax
movzx eax, word [rbx + 2]
mov word [rsp + 0x5a], ax
mov eax, dword [rbx + 4]
add rax, rbx
mov qword [rsp + 0x60], rax
call fcn.14000bf2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rbx
lea r8, str.PolRevision
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, r15
call fcn.14000f0f4
test eax, eax
je 0x14009e1b8
mov r12, qword [rsp + 0x68]
lea rcx, str._nPolicy_subsystem_is_:__hu._hu_n
movzx r8d, word [r12]
movzx edx, word [r12 + 2]
call fcn.14000bf2c
cmp word [r12], 9
lea rax, str.PolEKList
mov rdx, qword [rsp + 0x40]
lea r8, str.PolSecretEncryptionKey
cmova r8, rax
mov rcx, r15
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
call fcn.14000f0f4
test eax, eax
je 0x14009e167
cmp word [r12], 9
jbe 0x14009e0a8
mov r14, qword [rsp + 0x50]
xor r8d, r8d
mov r9, qword [rbp + 0x6f]
mov rcx, r14
mov edx, dword [rsp + 0x48]
call fcn.14009f458
test eax, eax
je 0x14009e15a
mov edx, dword [r14 + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14009e15a
mov r8d, dword [r14 + 0x3c]
lea rdx, [r14 + 0x4c]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rdi + 0x18]
lea rcx, str.LSA_Key_s__:__u__default
call fcn.14000bf2c
lea rcx, [rdi + 4]
call fcn.140012dec
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bf2c
mov r13d, ebx
cmp dword [rdi + 0x18], ebx
jbe 0x14009e156
mov r12d, ebx
mov ebx, r12d
lea rcx, str.____02u_
mov edx, r13d
add rbx, rdi
call fcn.14000bf2c
lea rcx, [rbx + 0x1c]
call fcn.140012dec
lea rcx, [0x14010ba7c]
call fcn.14000bf2c
mov edx, dword [rbx + 0x30]
lea rcx, [rbx + 0x34]
xor r8d, r8d
call fcn.140012c8c
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bf2c
add r12d, 0x18
inc r13d
add r12d, dword [rbx + 0x30]
cmp r13d, dword [rdi + 0x18]
jb 0x14009e046
mov r12, qword [rsp + 0x68]
xor ebx, ebx
jmp 0x14009e156
lea rcx, [rbp - 0x61]
call qword [sym.imp.cryptdll.dll_MD5Init]
mov rdx, qword [rbp + 0x6f]
lea rcx, [rbp - 0x61]
mov r8d, 0x10
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r14, qword [rsp + 0x50]
mov ebx, 0x3e8
mov r8d, 0x10
lea rdx, [r14 + 0x3c]
lea rcx, [rbp - 0x61]
call qword [sym.imp.cryptdll.dll_MD5Update]
sub rbx, 1
jne 0x14009e0d0
lea rcx, [rbp - 0x61]
call qword [sym.imp.cryptdll.dll_MD5Final]
lea rax, [r14 + 0xc]
lea rdx, [rbp - 0x71]
mov qword [rbp - 0x79], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_SystemFunction033]
test eax, eax
js 0x14009e156
lea r13d, [rbx + 0x10]
mov edx, r13d
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14009e156
movups xmm0, xmmword [r14 + 0x1c]
lea rcx, str.LSA_Key_:
movdqu xmmword [rax], xmm0
call fcn.14000bf2c
xor r8d, r8d
mov edx, r13d
mov rcx, rsi
call fcn.140012c8c
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bf2c
mov r13, qword [rbp + 0x67]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rbp + 0x57]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
jne 0x14009e17a
test rsi, rsi
je 0x14009e1b8
mov rcx, r15
mov rdx, qword [rsp + 0x40]
cmp dword [rbp + 0x77], ebx
je 0x14009e19f
mov r8, qword [rbp + 0x5f]
mov r9, r13
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.14009e200
jmp 0x14009e1b8
mov rax, qword [rbp + 0x7f]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov r8, r14
mov qword [rsp + 0x20], rsi
call fcn.14009e4f0
mov rdx, qword [rsp + 0x40]
mov rcx, r15
call fcn.14000f0b4
test rdi, rdi
je 0x14009e1d3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rsi, rsi
je 0x14009e1e1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x140]
xor eax, eax
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret