Function at 0x1400d56b0
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 [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, r8
mov r15, rdx
mov rdi, rcx
lea r13, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], r13
lea rbx, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rbx
lea rsi, str.REGREGSC
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], 0x42a
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
xor r12d, r12d
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400bec34
nop
mov rcx, rdi
call fcn.140011270
cmp dword [rdi + 0x10], 7
je 0x1400d57ad
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], 0x431
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Unexpected_error:_attempting_to_read_a_value_of_the_wrong_type
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
mov ebx, dword [rdi + 0x2c]
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], r12
lea rax, [0x1400f6248]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400313a4
and rbx, 0xfffffffffffffffe
lea rdx, [rbx + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400d580c
mov dword [rsp + 0x48], 0x8007000e
lea rdx, [0x140159b90]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll__CxxThrowException
int3
mov eax, dword [rdi + 0x28]
mov dword [rbp + 0xc0], eax
mov dword [rbp + 0xd8], r12d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xc0]
mov r8, qword [rdi + 0x20]
mov edx, dword [rdi + 0xc]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400d5934
mov qword [rsp + 0x60], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
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]
mov qword [rsp + 0x68], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
cmp ebx, 0x103
je 0x1400d58fd
mov dword [rsp + 0x78], 0x452
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x20]
test ebx, ebx
jle 0x1400d58c6
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumValue__p__lu__p__lu_..._
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
mov dword [rsp + 0x78], 0x450
call sub.msvcrt.dll_memset
mov eax, dword [rdi + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
mov ebx, dword [rdi + 0x10]
mov edi, dword [rbp + 0xd8]
cmp edi, ebx
je 0x1400d59af
mov qword [rsp + 0x60], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x44a
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 dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, str.Unexpected_error:_current_value_type_changed_in_the_meantime__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
mov qword [rsp + 0x58], r12
mov qword [r15], rsi
mov eax, dword [rsp + 0x40]
shr eax, 1
mov dword [r14], eax
lea rcx, [rsp + 0x50]
call fcn.14002e4c8
nop
lea rcx, [rbp + 0x10]
call fcn.140009990
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret