Function at 0x14003d4e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15, rdx
mov rbx, rcx
lea r13, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], r13
lea rdi, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rdi
lea rsi, str.REGREGSC
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], 0x384
mov r14d, VariantTimeToDosDateTime
mov dword [rsp + 0x7c], r14d
mov dword [rbp - 0x80], 0xff
xor r12d, r12d
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x6d]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.14004058c
nop
mov rcx, rbx
call fcn.14003ddbc
cmp dword [rbx + 0x10], 1
jne 0x14003d746
mov esi, dword [rbx + 0x2c]
shr esi, 1
lea rax, vtable.CVssAutoString_class_CVssAutoLocalPtr_unsigned_short_int____ptr64__.0
mov qword [rsp + 0x50], rax
lea eax, [rsi + 1]
lea rdx, [rax*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14003d788
mov eax, dword [rbx + 0x28]
mov dword [rbp + 0xc0], eax
mov dword [rbp + 0xd0], r12d
mov eax, dword [rbx + 0x2c]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xc0]
mov r8, qword [rbx + 0x20]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
je 0x14003d659
mov dword [rsp + 0x30], 0xff
lea r9, str.CVssRegistryValueIterator::GetCurrentValueContent
lea r8, str.REGREGSC
mov rdx, r13
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], VariantTimeToDosDateTime
cmp eax, 0x103
jne 0x14003d6ec
jmp 0x14003d7a6
mov r14d, dword [rbp + 0xd0]
cmp r14d, dword [rbx + 0x10]
jne 0x14003d693
mov word [rdi + rsi*2], r12w
mov qword [r15], rdi
lea rcx, [rbp + 0x10]
call fcn.1400406a0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
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], 0x3a5
lea r9, str.CVssRegistryValueIterator::GetCurrentValueContent
lea r8, str.REGREGSC
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.1400400dc
mov ecx, dword [rbx + 0x10]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r14d
lea r9, str.Unexpected_error:_current_value_type_changed_in_the_meantime__lu__lu
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140042060
int3
mov dword [rsp + 0x20], 0x3ad
call fcn.1400400dc
mov rdx, rax
lea rcx, [rbx + 0x18]
call fcn.140002ff8
movzx r8d, r14w
or r8d, 0x80070000
test r14d, r14d
cmovle r8d, r14d
mov ecx, dword [rbp + 0xc0]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumValue__p__lu__p__lu_..._
lea rcx, [rbp + 0x10]
call fcn.140042060
nop
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x38b
mov r9, rdi
mov r8, rsi
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.1400400dc
lea r9, str.Unexpected_error:_attempting_to_read_a_value_of_the_wrong_type
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140042060
nop
mov dword [rbp + 0xd8], 0x8007000e
lea rdx, [0x1400793e8]
lea rcx, [rbp + 0xd8]
call sub.msvcrt.dll__CxxThrowException
int3
mov dword [rsp + 0x20], 0x3ab
call fcn.1400400dc
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 0xc]
mov dword [rsp + 0x20], ecx
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140042060
int3