Function at 0x140018560
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 - 0xa0]
sub rsp, 0x1a0
mov qword [rbp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x1e8], rbx
mov r14, r8
mov r12, rdx
mov r15, rcx
lea rsi, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x20], rsi
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x18], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x18a
mov dword [rbp - 4], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp], 0xff
xor r13d, r13d
mov dword [rbp + 0x80], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp + 8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], r13d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x78], rax
mov eax, dword [rbp - 8]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 4]
mov dword [rbp - 0x6c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbp - 0x5c], eax
mov dword [rsp + 0x74], 0xffffffff
mov eax, dword [rbp]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r13d
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x58]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004eb2c
lea rcx, [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004eb2c
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14004eb35
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x60], eax
mov ebx, RegisterTypeLib
cmp dword [rbp - 0x58], 0xff
cmovne ebx, dword [rbp - 0x58]
mov edi, dword [rbp - 0x6c]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004eb3e
cmp byte [rbp + 0x83], r13b
je 0x1400186d6
lea rbx, [rbp + 8]
mov edi, 0xf
nop
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004eba4
add rbx, 8
sub rdi, 1
jne 0x1400186c0
mov qword [r14], r13
mov dword [rbp + 0xf8], r13d
mov dword [rbp + 0xe0], r13d
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xf8]
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 0x140018768
lea rax, str.FALSE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rsp + 0x70]
call fcn.14001d380
nop
lea rcx, [rsp + 0x70]
call fcn.14001ce00
xor al, al
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test ebx, ebx
jne 0x14004ebb2
mov ebx, dword [rbp + 0xf8]
lea eax, [rbx - 1]
cmp eax, 1
ja 0x14004ec57
lea rax, [0x1400f83c8]
mov qword [rbp + 0x90], rax
mov edi, dword [rbp + 0xe0]
shr edi, 1
lea rsi, [rdi + rdi]
lea rcx, [rsi + 2]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov rbx, rax
mov qword [rbp + 0x98], rax
test rax, rax
je 0x14004ecd6
mov dword [rsp + 0x50], r13d
lea eax, [rdi + rdi]
mov dword [rbp + 0xf0], eax
lea rax, [rbp + 0xf0]
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 0x14004ecf0
mov word [rsi + rbx], r13w
mov qword [r14], rbx
lea rax, str.TRUE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rsp + 0x70]
call fcn.14001d380
nop
lea rcx, [rsp + 0x70]
call fcn.14001ce00
mov al, 1
jmp 0x14001874d
mov rax, qword [rbp - 0x30]
jmp 0x14001867a
mov dword [rbp - 0x60], r13d
jmp 0x14001868b
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x1400186ac
lea rcx, [rsp + 0x70]
call fcn.1400dde58
cmp dword [rsp + 0x70], r13d
je 0x1400186ac
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x6c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x60]
mov r8d, dword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x1400186ac
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r13
jmp 0x1400186cc
cmp ebx, 0xea
je 0x140018770
mov qword [rbp - 0x20], rsi
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x18], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x1aa
mov dword [rbp - 4], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp], 0xff
mov dword [rbp + 0x80], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 8]
call sub.msvcrt.dll_memset
mov rcx, qword [r15 + 0x18]
test ebx, ebx
jle 0x14004ec17
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xf8]
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, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.1400dcb7c
int3
mov qword [rbp - 0x20], rsi
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x18], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x1b0
mov dword [rbp - 4], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp], 0xff
mov dword [rbp + 0x80], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 8]
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, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.1400dcb7c
nop
mov dword [rsp + 0x58], 0x8007000e
lea rdx, [0x140167770]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x20], rax
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x18], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x1c5
mov dword [rbp - 4], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp], 0xff
mov dword [rbp + 0x80], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 8]
call sub.msvcrt.dll_memset
mov rcx, qword [r15 + 0x18]
test edi, edi
jle 0x14004ed50
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xf0]
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, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.1400dcb7c
int3