Function at 0x18001da94
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
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x100
xor r12d, r12d
lea rax, [rbp - 9]
mov r15, r8
mov qword [rbp - 0x69], rax
mov eax, 0x30
mov rbx, r9
mov dword [rsp + 0x70], eax
mov dword [rbp - 0x7d], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, str.Policy
xor r9d, r9d
mov dword [rsp + 0x20], 0x20019
mov r13, rdx
mov r14, rcx
mov dword [rbp - 0x71], 0x10
mov dword [rbp - 0x6d], 0x10
mov qword [rbp - 0x79], r12
mov edi, r12d
mov esi, r12d
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
call fcn.180050a00
test eax, eax
je 0x18001dea6
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.18004d68c
mov rdx, qword [rsp + 0x48]
lea r9, str.Local
lea r8, [0x1800fd784]
mov rcx, r14
call fcn.18001c100
mov rdx, qword [rsp + 0x48]
lea r9, [0x1800fd790]
lea r8, [0x1800fd7a0]
mov rcx, r14
call fcn.18001c100
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea r8, str.PolDnDDN
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180051444
test eax, eax
je 0x18001dbd5
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
movzx eax, word [rcx]
mov word [rsp + 0x60], ax
movzx eax, word [rcx + 2]
mov word [rsp + 0x62], ax
mov eax, dword [rcx + 4]
add rax, rcx
lea rcx, str.Domain_FQDN_:__wZ_n
mov qword [rsp + 0x68], rax
call fcn.18004d68c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea r8, str.PolRevision
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180051444
test eax, eax
je 0x18001de7d
mov rax, qword [rsp + 0x50]
lea rcx, str._nPolicy_subsystem_is_:__hu._hu_n
movzx r8d, word [rax]
movzx edx, word [rax + 2]
call fcn.18004d68c
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
cmp word [rax], 9
lea rax, [rsp + 0x58]
lea rcx, str.PolEKList
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea r8, str.PolSecretEncryptionKey
cmova r8, rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180051444
test eax, eax
je 0x18001dd65
mov rax, qword [rsp + 0x50]
cmp word [rax], 9
jbe 0x18001ddaa
mov r9, qword [rbp + 0x6f]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
call fcn.18001f1d8
test eax, eax
je 0x18001dd5a
mov rax, qword [rsp + 0x40]
mov ecx, 0x40
mov edx, dword [rax + 0x3c]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x18001dd5a
mov rdx, qword [rsp + 0x40]
mov rcx, rax
mov r8d, dword [rdx + 0x3c]
add rdx, 0x4c
call fcn.1800ca790
mov edx, dword [rdi + 0x18]
lea rcx, str.LSA_Key_s__:__u__default
call fcn.18004d68c
lea rcx, [rdi + 4]
call fcn.1800533e8
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.18004d68c
mov r15d, r12d
cmp dword [rdi + 0x18], esi
jbe 0x18001dd56
lea rcx, str.____02u_
mov ebx, r12d
mov edx, r15d
add rbx, rdi
call fcn.18004d68c
lea rcx, [rbx + 0x1c]
call fcn.1800533e8
lea rcx, [0x1800e5ad0]
call fcn.18004d68c
mov edx, dword [rbx + 0x30]
lea rcx, [rbx + 0x34]
xor r8d, r8d
call fcn.180053168
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.18004d68c
add r12d, 0x18
inc r15d
add r12d, dword [rbx + 0x30]
cmp r15d, dword [rdi + 0x18]
jb 0x18001dcf9
mov rbx, qword [rbp + 0x67]
xor r12d, r12d
mov r15, qword [rbp + 0x5f]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
jne 0x18001dd7e
test rsi, rsi
je 0x18001de7d
mov rdx, qword [rsp + 0x48]
mov rcx, r14
cmp dword [rbp + 0x77], r12d
je 0x18001de64
mov r9, rbx
mov r8, r15
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.18001decc
jmp 0x18001de7d
lea rcx, [rbp - 0x61]
call sub.cryptdll.dll_MD5Init
mov rdx, qword [rbp + 0x6f]
lea rcx, [rbp - 0x61]
mov r8d, 0x10
call sub.cryptdll.dll_MD5Update
mov ebx, 0x3e8
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x61]
mov r8d, 0x10
add rdx, 0x3c
call sub.cryptdll.dll_MD5Update
dec rbx
jne 0x18001ddcb
lea rcx, [rbp - 0x61]
call sub.cryptdll.dll_MD5Final
mov rax, qword [rsp + 0x40]
lea rdx, [rbp - 0x71]
add rax, 0xc
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x79], rax
call sub.ADVAPI32.dll_SystemFunction033
test eax, eax
js 0x18001de5b
mov ebx, 0x10
mov edx, ebx
lea ecx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x18001de5b
mov r8, qword [rsp + 0x40]
lea rcx, str.LSA_Key_:
movups xmm0, xmmword [r8 + 0x1c]
movdqu xmmword [rax], xmm0
call fcn.18004d68c
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.180053168
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.18004d68c
mov rbx, qword [rbp + 0x67]
jmp 0x18001dd5a
mov rax, qword [rbp + 0x7f]
mov r9, rdi
mov r8, r13
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.18001e1b0
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.180050b8c
test rdi, rdi
je 0x18001de98
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rsi, rsi
je 0x18001dea6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret