Function at 0x14000df04
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], 0x1fa
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.140010990
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 0x14004eb08
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.14000f840
nop
lea rcx, [rbp + 0x10]
call fcn.140010ab0
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 eax, eax
je 0x14004ebaf
cmp eax, 0xea
je 0x14004ebaf
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x219
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 0x14004eb6f
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.1400cf12c
int3
cmp dword [rbp + 0xd8], 4
je 0x14004ec20
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x220
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.1400ce0a0
xor edx, edx
jmp 0x14004ed87
mov edi, dword [rbp + 0xc0]
cmp edi, 4
je 0x14004eca5
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x22d
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.1400cf12c
int3
mov dword [rsp + 0x54], ebx
mov dword [rbp + 0xd0], 4
mov dword [rsp + 0x50], ebx
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
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 0x14004ed7e
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x23c
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 0x14004ed40
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
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.1400cf12c
int3
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.14001082c
mov bl, al
jmp 0x14000e008