Function at 0x14000eb50
Capabilities:
Query or enumerate registry value

Disassembly:
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 [rsp + 0x1c8], rbx
mov r14, r8
mov r15, rdx
mov rbx, rcx
lea r13, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x50], r13
lea rdi, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x58], rdi
lea rsi, str.REGREGSC
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x42c
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
xor r12d, r12d
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140010990
nop
mov rcx, rbx
call fcn.14000e7b0
cmp dword [rbx + 0x10], 7
jne 0x14004f94a
mov eax, dword [rbx + 0x2c]
mov dword [rsp + 0x48], eax
lea rcx, [0x1400f2350]
mov qword [rbp], rcx
mov edx, eax
shr rdx, 1
lea rdx, [rdx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rdi, rax
mov qword [rbp + 8], rax
test rax, rax
je 0x14004f9a4
mov eax, dword [rbx + 0x28]
mov dword [rbp + 0xc0], eax
mov dword [rbp + 0xd8], r12d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rbp + 0xd8]
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.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov esi, eax
test eax, eax
jne 0x14004f9be
mov ebx, dword [rbx + 0x10]
mov esi, dword [rbp + 0xd8]
cmp esi, ebx
jne 0x14004fa90
mov qword [r15], rdi
mov eax, dword [rsp + 0x48]
shr eax, 1
mov dword [r14], eax
lea rcx, [rbp + 0x10]
call fcn.140010ab0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x433
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 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 + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400cf12c
nop
mov dword [rsp + 0x40], 0x8007000e
lea rdx, [0x140156368]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
cmp eax, 0x103
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x58], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x60], rax
je 0x14004fa59
mov dword [rsp + 0x68], 0x454
call sub.msvcrt.dll_memset
mov rcx, qword [rbx + 0x20]
test esi, esi
jle 0x14004fa22
movzx esi, si
or esi, 0x80070000
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
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_..._
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400cf12c
int3
mov dword [rsp + 0x68], 0x452
call sub.msvcrt.dll_memset
mov eax, dword [rbx + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400cf12c
int3
mov qword [rsp + 0x50], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x58], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x44c
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
lea r9, str.Unexpected_error:_current_value_type_changed_in_the_meantime__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400cf12c
int3