Function at 0x14009b83c
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
xor ebx, ebx
mov eax, 0x30
mov dword [rsp + 0x78], 0x10
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
lea rax, [r11 - 0x50]
mov dword [rsp + 0x7c], 0x10
mov qword [r11 - 0xb8], rax
lea rax, [rsp + 0x40]
mov r15, r8
mov r13, r9
mov qword [rsp + 0x28], rax
lea r8, str.Policy
xor r9d, r9d
mov rbp, rdx
mov dword [rsp + 0x20], 0x20019
mov r12, rcx
mov qword [rsp + 0x70], rbx
mov rdi, rbx
mov rsi, rbx
mov word [rsp + 0x58], bx
mov word [rsp + 0x5a], bx
mov qword [rsp + 0x60], rbx
call fcn.14000cf64
cmp eax, ebx
je 0x14009bc77
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000a838
mov rdx, qword [rsp + 0x40]
lea r9, str.Local
lea r8, [0x1400fab9c]
mov rcx, r12
call fcn.14009b6b0
mov rdx, qword [rsp + 0x40]
lea r9, str.Domain
lea r8, [0x1400faba4]
mov rcx, r12
call fcn.14009b6b0
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea r8, str.PolDnDDN
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x20], rbx
call fcn.14000dae8
cmp eax, ebx
je 0x14009b988
mov rbx, qword [rsp + 0x48]
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.14000a838
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea r8, str.PolRevision
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x20], rbx
call fcn.14000dae8
cmp eax, ebx
je 0x14009bc4e
mov r14, qword [rsp + 0x50]
lea rcx, str._nPolicy_subsystem_is_:__hu._hu_n
movzx r8d, word [r14]
movzx edx, word [r14 + 2]
call fcn.14000a838
cmp word [r14], 9
mov rdx, qword [rsp + 0x40]
lea rax, str.PolEKList
lea r8, str.PolSecretEncryptionKey
mov rcx, r12
cmova r8, rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call fcn.14000dae8
cmp eax, ebx
je 0x14009bb1f
cmp word [r14], 9
jbe 0x14009bb65
mov rbp, qword [rsp + 0x48]
mov r9, qword [rsp + 0x160]
mov edx, dword [rsp + 0x50]
mov rcx, rbp
xor r8d, r8d
call fcn.14009d174
cmp eax, ebx
je 0x14009bb0e
mov edx, dword [rbp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
cmp rax, rbx
je 0x14009bb0e
mov r8d, dword [rbp + 0x3c]
lea rdx, [rbp + 0x4c]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rdi + 0x18]
lea rcx, str.LSA_Key_s__:__u__default
call fcn.14000a838
lea rcx, [rdi + 4]
call fcn.14001142c
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000a838
mov r13d, ebx
mov r15d, ebx
cmp dword [rdi + 0x18], ebx
jbe 0x14009bafe
mov eax, r15d
lea rcx, str.____02u_
mov edx, r13d
lea rbx, [rax + rdi + 0x1c]
call fcn.14000a838
mov rcx, rbx
call fcn.14001142c
lea rcx, [0x1400ee50c]
call fcn.14000a838
mov edx, dword [rbx + 0x14]
lea rcx, [rbx + 0x18]
xor r8d, r8d
call fcn.1400112ac
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000a838
mov eax, dword [rbx + 0x14]
inc r13d
lea r15d, [r15 + rax + 0x18]
cmp r13d, dword [rdi + 0x18]
jb 0x14009baa5
xor ebx, ebx
mov r15, qword [rsp + 0x150]
mov r13, qword [rsp + 0x158]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x148]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rdi, rbx
jne 0x14009bb36
cmp rsi, rbx
je 0x14009bc4e
mov rdx, qword [rsp + 0x40]
mov rcx, r12
cmp dword [rsp + 0x168], ebx
je 0x14009bc31
mov r9, r13
mov r8, r15
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.14009bc94
jmp 0x14009bc4e
lea rcx, [rsp + 0x90]
call sub.cryptdll.dll_MD5Init
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x90]
mov r8d, 0x10
call sub.cryptdll.dll_MD5Update
mov rbp, qword [rsp + 0x48]
mov ebx, 0x3e8
lea rdx, [rbp + 0x3c]
lea rcx, [rsp + 0x90]
mov r8d, 0x10
call sub.cryptdll.dll_MD5Update
sub rbx, 1
jne 0x14009bb97
lea rcx, [rsp + 0x90]
call sub.cryptdll.dll_MD5Final
lea r11, [rbp + 0xc]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x70], r11
call sub.ADVAPI32.dll_SystemFunction032
cmp eax, ebx
jl 0x14009bb06
lea r13d, [rbx + 0x10]
lea ecx, [rbx + 0x40]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
cmp rax, rbx
je 0x14009bb06
movdqu xmm0, xmmword [rbp + 0x1c]
lea rcx, str.LSA_Key_:
movdqu xmmword [rax], xmm0
call fcn.14000a838
xor r8d, r8d
mov edx, r13d
mov rcx, rsi
call fcn.1400112ac
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000a838
jmp 0x14009bb06
mov rax, qword [rsp + 0x170]
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.14009c038
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.14000daa8
cmp rdi, rbx
je 0x14009bc69
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rsi, rbx
je 0x14009bc77
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