Function at 0x1400160b4
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14002ae60
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xde8
lea rbp, [rsp + 0x60]
mov rdi, rsp
mov ecx, 0x37a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe08]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xd78], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xc8], 0
mov dword [rbp + 0x104], 0
mov dword [rbp + 0x124], 0
mov edx, 0x410
lea rcx, [rbp + 0x5a0]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.14001616d
mov rax, qword [0x140065a08]
cmp dword [rax + 0x5c], 0x2580
jae 0x14002af44
lea rdx, str.ole32.dll
lea rcx, [rbp + 0x5a0]
call fcn.1400165e1
jmp 0x14002af57
lea rdx, str.MSCOREE.DLL
lea rcx, [rbp + 0x5a0]
call fcn.1400165e1
xor r9d, r9d
mov r8d, dword [rbp + 0xda8]
mov rdx, qword [rbp + 0xda0]
lea rcx, [rbp + 0x5a0]
call fcn.1400161b3
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x14002af82
jmp 0x14002b1e6
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2000000
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionKnownFunctionTableDlls
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cdqe
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x14002afc0
jmp 0x14002b1e6
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
lea rax, [rbp + 0x124]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x104]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cdqe
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x14002b038
jmp 0x14002b1e6
cmp dword [rbp + 0x104], 0
je 0x14002b04a
cmp dword [rbp + 0x124], 0
jne 0x14002b04f
jmp 0x14002b1e6
cmp dword [rbp + 0x124], 0x104
jbe 0x14002b060
jmp 0x14002b1e6
mov dword [rbp + 0x24], 0
mov dword [rbp + 0xe4], 0
jmp 0x14002b081
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0xe4], eax
jae 0x14002b17b
mov edx, 0x410
lea rcx, [rbp + 0x170]
call fcn.140016c2b
mov dword [rbp + 0x144], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x144]
lea r8, [rbp + 0x170]
mov edx, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cdqe
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x170]
call fcn.140016933
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14002b126
mov dword [rbp + 0x24], 0
jmp 0x14002b17b
mov rcx, qword [rbp + 0xa8]
call fcn.14001638e
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, word [rax - 2]
cmp eax, 0x5c
jne 0x14002b156
xor eax, eax
mov rcx, qword [rbp + 0xc8]
mov word [rcx - 2], ax
mov rcx, qword [rbp + 0xa8]
call fcn.14001640b
test eax, eax
jne 0x14002b16f
mov dword [rbp + 0x24], 0
jmp 0x14002b17b
mov dword [rbp + 0x24], 1
jmp 0x14002b073
cmp dword [rbp + 0x24], 0
jne 0x14002b183
jmp 0x14002b1e6
mov edx, 0x410
lea rcx, [rbp + 0x170]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.14001616d
lea rdx, str.dcomcnfg.exe
lea rcx, [rbp + 0x170]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0x170]
call fcn.140016a7d
test eax, eax
je 0x14002b1dc
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002aef2
cmp qword [rbp + 0x68], 0
je 0x14002b1f7
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x44], 0
je 0x14002b202
call fcn.14001682f
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0xd78]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xd88]
pop rdi
pop rbp
ret