Function at 0x14003c670
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, [rax - 0xc8]
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r12, r8
mov r15, rdx
mov rsi, rcx
lea rdi, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x78], rdi
lea r14, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x80], r14
lea rax, str.REGREGSC
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 0x18a
mov dword [rbp - 0x6c], VariantTimeToDosDateTime
mov dword [rbp - 0x68], 0xff
xor r13d, r13d
mov dword [rbp + 0x18], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.14004058c
nop
mov qword [r12], 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, r15
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
jne 0x14003c786
lea rax, str.FALSE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, [0x140066378]
lea rcx, [rbp + 0x20]
call fcn.140040cac
nop
lea rcx, [rbp + 0x20]
call fcn.1400406a0
xor al, al
jmp 0x14003c862
test ebx, ebx
je 0x14003c796
cmp ebx, 0xea
jne 0x14003c90b
mov ebx, dword [rbp + 0xe8]
lea eax, [rbx - 1]
cmp eax, 1
ja 0x14003c992
lea rax, vtable.CVssAutoString_class_CVssAutoCOMPtr_unsigned_short_int____ptr64__.0
mov qword [rsp + 0x68], rax
mov edi, dword [rbp + 0xd0]
shr edi, 1
mov r14d, edi
lea rcx, [rdi*2 + 2]
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14003c9fb
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, r15
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14003c87e
mov word [rbx + r14*2], r13w
mov qword [r12], rbx
lea rcx, str.TRUE
mov qword [rsp + 0x20], rcx
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, [0x140066378]
lea rcx, [rbp + 0x20]
call fcn.140040cac
nop
lea rcx, [rbp + 0x20]
call fcn.1400406a0
mov al, 1
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0x1c5
lea r9, str.CVssRegistryKey::GetValue
lea r8, str.REGREGSC
lea rdx, str.base_stor_vssmodules_registry_registry.cxx
lea rcx, [rsp + 0x78]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rsi + 0x10]
call fcn.140002ff8
mov rcx, rax
movzx r8d, di
or r8d, 0x80070000
test edi, edi
cmovle r8d, edi
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r15
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__
lea rcx, [rbp + 0x20]
call fcn.140042060
nop
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0x1aa
mov r9, r14
lea r8, str.REGREGSC
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rsi + 0x10]
call fcn.140002ff8
mov rcx, rax
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
mov eax, dword [rbp + 0xd0]
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 [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
lea rcx, [rbp + 0x20]
call fcn.140042060
int3
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0x1b0
mov r9, r14
lea r8, str.REGREGSC
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rsi + 0x10]
call fcn.140002ff8
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 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 rcx, [rbp + 0x20]
call fcn.140042060
nop
mov dword [rsp + 0x58], 0x8007000e
lea rdx, [0x1400793e8]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
int3