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

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
lea rax, [r11 - 0x50]
mov dword [rsp + 0x78], 0x10
mov dword [rsp + 0x7c], 0x10
mov qword [r11 - 0xb8], rax
mov eax, 0x30
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
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.14000e7cc
cmp eax, ebx
je 0x1400a0a17
lea rcx, [0x1400d27a8]
call fcn.14000c030
mov rdx, qword [rsp + 0x40]
lea r9, str.Local
lea r8, [0x14010e48c]
mov rcx, r12
call fcn.1400a0450
mov rdx, qword [rsp + 0x40]
lea r9, [0x1400f1608]
lea r8, [0x14010e494]
mov rcx, r12
call fcn.1400a0450
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.14000f350
cmp eax, ebx
je 0x1400a0728
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.14000c030
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.14000f350
cmp eax, ebx
je 0x1400a09ee
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.14000c030
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.14000f350
cmp eax, ebx
je 0x1400a08bf
cmp word [r14], 9
jbe 0x1400a0905
mov rbp, qword [rsp + 0x48]
mov r9, qword [rsp + 0x160]
mov edx, dword [rsp + 0x50]
mov rcx, rbp
xor r8d, r8d
call fcn.1400a1f14
cmp eax, ebx
je 0x1400a08ae
mov edx, dword [rbp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
cmp rax, rbx
je 0x1400a08ae
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.14000c030
lea rcx, [rdi + 4]
call fcn.1400130e8
lea rcx, [0x1400d27a8]
call fcn.14000c030
mov r13d, ebx
mov r15d, ebx
cmp dword [rdi + 0x18], ebx
jbe 0x1400a089e
mov eax, r15d
lea rcx, str.____02u_
mov edx, r13d
lea rbx, [rax + rdi + 0x1c]
call fcn.14000c030
mov rcx, rbx
call fcn.1400130e8
lea rcx, [0x14010110c]
call fcn.14000c030
mov edx, dword [rbx + 0x14]
lea rcx, [rbx + 0x18]
xor r8d, r8d
call fcn.140012f68
lea rcx, [0x1400d27a8]
call fcn.14000c030
mov eax, dword [rbx + 0x14]
inc r13d
lea r15d, [r15 + rax + 0x18]
cmp r13d, dword [rdi + 0x18]
jb 0x1400a0845
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 0x1400a08d6
cmp rsi, rbx
je 0x1400a09ee
mov rdx, qword [rsp + 0x40]
mov rcx, r12
cmp dword [rsp + 0x168], ebx
je 0x1400a09d1
mov r9, r13
mov r8, r15
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.1400a0a34
jmp 0x1400a09ee
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 0x1400a0937
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_SystemFunction033
cmp eax, ebx
jl 0x1400a08a6
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 0x1400a08a6
movdqu xmm0, xmmword [rbp + 0x1c]
lea rcx, str.LSA_Key_:
movdqu xmmword [rax], xmm0
call fcn.14000c030
xor r8d, r8d
mov edx, r13d
mov rcx, rsi
call fcn.140012f68
lea rcx, [0x1400d27a8]
call fcn.14000c030
jmp 0x1400a08a6
mov rax, qword [rsp + 0x170]
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.1400a0dd8
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.14000f310
cmp rdi, rbx
je 0x1400a0a09
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rsi, rbx
je 0x1400a0a17
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