Function at 0x14000adac
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1fc0]
mov eax, 0x20c0
call fcn.1400409d0
sub rsp, rax
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x6c], 0x400
mov r13d, 0x1000
mov dword [rsp + 0x58], r13d
xor r15d, r15d
mov edi, r15d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xfb0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
lea r8, [rbp + 0x7b0]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea rdx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
lea rcx, str.Param
test eax, eax
jne 0x14000afb4
jmp 0x14000ae5f
lea rcx, str.Param
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rcx
lea rax, [rbp + 0x7b0]
mov qword [rbp - 0x78], rax
mov word [rbp - 0x70], r15w
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, str.Enum_value:
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b019
mov r8d, 0x64
call fcn.14000262c
lea rax, vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov qword [rsp + 0x78], rax
lea rax, str.Param
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], edi
mov word [rbp - 0x74], r15w
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x140047940]
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b01a
mov r8d, 0x64
call fcn.14000262c
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xfb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
lea rdx, [rbp + 0x7b0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000b1d3
test rbx, rbx
je 0x14000af5a
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xfb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
lea rdx, [rbp + 0x7b0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000b1d3
mov dword [rsp + 0x6c], 0x400
mov dword [rsp + 0x58], r13d
inc edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xfb0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
lea r8, [rbp + 0x7b0]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
lea rdx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
je 0x14000ae58
mov edi, r15d
mov dword [rsp + 0x50], 0x400
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000b1d3
lea r13, str.Param
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x50], r15
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r13
lea rax, [rbp - 0x50]
mov qword [rbp - 0x78], rax
mov word [rbp - 0x70], r15w
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, str.Enum_key:
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b01b
mov r8d, 0x64
call fcn.14000262c
lea rax, vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], edi
mov word [rbp - 0x74], r15w
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, str.Enum_num:
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b01c
mov r8d, 0x64
call fcn.14000262c
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14000e42c
test eax, eax
jne 0x14000b199
test rbx, rbx
je 0x14000b0e7
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.14000e42c
test eax, eax
jne 0x14000b199
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14000e39c
test eax, eax
jne 0x14000b199
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call fcn.14000adac
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b12f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000b144
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000b159
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
mov dword [rsp + 0x50], 0x400
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x50]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000affa
jmp 0x14000b1d3
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b1a9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000b1be
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000b1d3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.14003ee60
add rsp, 0x20c0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret