Function at 0x14000d3d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x1d8], rbx
mov r14, r8
mov r12, rdx
mov r15, rcx
lea rdi, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rdi
lea rsi, str.CVssRegistryKey::GetValue
mov qword [rsp + 0x68], rsi
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x18c
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
xor r13d, r13d
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.140010990
nop
mov qword [r14], r13
mov dword [rbp + 0xe8], r13d
mov dword [rbp + 0xd0], r13d
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xe8]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15 + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 2
jne 0x14000d4fe
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 + 0x20]
call fcn.14000f840
nop
lea rcx, [rbp + 0x20]
call fcn.140010ab0
xor al, al
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test eax, eax
jne 0x14004e466
mov ebx, dword [rbp + 0xe8]
lea eax, [rbx - 1]
cmp eax, 1
ja 0x14004e505
lea rax, [0x1400f1e90]
mov qword [rbp + 8], rax
mov edi, dword [rbp + 0xd0]
shr edi, 1
lea rsi, [rdi + rdi]
lea rcx, [rsi + 2]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemAlloc]
mov rbx, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14004e57f
mov dword [rsp + 0x50], r13d
lea eax, [rdi + rdi]
mov dword [rbp + 0xe0], eax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15 + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004e599
mov word [rsi + rbx], r13w
mov qword [rbp + 0x10], r13
mov qword [r14], rbx
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.14001082c
movzx ebx, al
lea rcx, [rbp + 8]
call fcn.140008650
nop
lea rcx, [rbp + 0x20]
call fcn.140010ab0
movzx eax, bl
jmp 0x14000d4e3
cmp eax, 0xea
je 0x14000d506
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x1ac
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 [r15 + 0x18]
test ebx, ebx
jle 0x14004e4c5
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
mov rax, qword [r15 + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400cf12c
int3
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x1b2
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], r12
mov rax, qword [r15 + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, str.Unexpected_type__lu_for_a_string_value_0x_08lx__s___s
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400cf12c
nop
mov dword [rsp + 0x58], 0x8007000e
lea rdx, [0x140156368]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
lea rax, str.CVssRegistryKey::GetValue
mov qword [rsp + 0x68], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x1c7
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 [r15 + 0x18]
test edi, edi
jle 0x14004e5fb
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
mov rax, qword [r15 + 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 + 0x20]
call fcn.1400cf12c
int3