Function at 0x140009c9c
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, r8
mov rbx, 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], 0xb
mov dword [rbp - 0x80], 0xff
xor r14d, r14d
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400068fc
nop
mov dword [rsi], r14d
mov dword [rbp + 0xe8], r14d
mov dword [rbp + 0xd8], r14d
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xe8]
xor r8d, r8d
lea r15, [0x14004abb0]
mov rdx, r15
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp eax, 2
jne 0x140009db3
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.140006fd8
nop
lea rcx, [rbp + 0x10]
call fcn.1400069f8
xor al, al
jmp 0x140009ec1
test edi, edi
je 0x140009dc3
cmp edi, 0xea
jne 0x140009f54
cmp dword [rbp + 0xe8], 4
je 0x140009e32
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea r8, str.REGREGSC
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x78], 0x21e
mov dword [rsp + 0x7c], 0xb
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], r15
mov r9, qword [rbx + 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.140007fd4
jmp 0x140009d79
mov edi, dword [rbp + 0xd8]
cmp edi, 4
jne 0x140009fd3
mov dword [rbp + 0xe0], r14d
mov dword [rbp + 0xd0], edi
mov dword [rsp + 0x50], r14d
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xe0]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140009ed5
mov ecx, dword [rsp + 0x50]
mov dword [rsi], ecx
lea rcx, str.TRUE
mov qword [rsp + 0x20], rcx
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rbp + 0x10]
call fcn.140006fd8
nop
lea rcx, [rbp + 0x10]
call fcn.1400069f8
mov al, 1
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x28], 0xb
mov dword [rsp + 0x20], 0x23a
mov r9, r13
lea r8, str.REGREGSC
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140006474
mov rdx, rax
lea rcx, [rbx + 0x10]
call fcn.1400092d0
mov rcx, rax
movzx r8d, di
or r8d, 0x80070000
test edi, edi
cmovle r8d, edi
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
lea rcx, [rbp + 0x10]
call fcn.140007d50
int3
mov dword [rsp + 0x28], 0xb
mov dword [rsp + 0x20], 0x217
mov r9, r13
lea r8, str.REGREGSC
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140006474
mov rdx, rax
lea rcx, [rbx + 0x10]
call fcn.1400092d0
mov rcx, rax
movzx r8d, di
or r8d, 0x80070000
test edi, edi
cmovle r8d, edi
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
lea rcx, [rbp + 0x10]
call fcn.140007d50
int3
mov dword [rsp + 0x28], 0xb
mov dword [rsp + 0x20], 0x22b
mov r9, r13
lea r8, str.REGREGSC
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140006474
mov rdx, rax
lea rcx, [rbx + 0x10]
call fcn.1400092d0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 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 rcx, [rbp + 0x10]
call fcn.140007d50
int3