Function at 0x1400180a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15, r8
mov r14, rdx
mov rsi, rcx
lea r12, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], r12
lea r13, str.CVssRegistryKey::GetValue
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x1f8
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
xor ebx, ebx
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.14001cce0
nop
mov dword [r15], ebx
mov dword [rbp + 0xd8], ebx
mov dword [rbp + 0xc0], ebx
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xd8]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
cmp eax, 2
jne 0x14004e72a
lea rax, str.FALSE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rbp + 0x10]
call fcn.14001d380
nop
lea rcx, [rbp + 0x10]
call fcn.14001ce00
mov al, bl
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test edi, edi
je 0x14004e7d2
cmp edi, 0xea
je 0x14004e7d2
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x217
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 0x18]
test edi, edi
jle 0x14004e792
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
mov r8d, edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
int3
cmp dword [rbp + 0xd8], 4
je 0x14004e843
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x21e
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], r14
mov r9, qword [rsi + 0x18]
lea r8, str.Expected_REG_DWORD_type_for_registry_key__s_value_name__s._The_present_value_has_been_ignored
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dbc64
xor edx, edx
jmp 0x14004e9aa
mov edi, dword [rbp + 0xc0]
cmp edi, 4
je 0x14004e8c8
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x22b
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], r14
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str.Unexpected_size__lu_for_a_DWORD_value_0x_08lx__s___s
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
int3
mov dword [rsp + 0x50], ebx
mov dword [rbp + 0xd0], 4
mov dword [rsp + 0x54], ebx
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x14004e9a1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x23a
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 0x18]
test edi, edi
jle 0x14004e963
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
mov r8d, edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
int3
mov eax, dword [rsp + 0x54]
mov dword [r15], eax
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.14001cbf4
mov bl, al
jmp 0x1400181a8