Function at 0x14001c100
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1e8], rbx
mov r14, r8
mov r15, rdx
mov rsi, rcx
lea r13, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x68], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x70], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x42a
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
xor r12d, r12d
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x18], r12d
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp - 0x7c]
mov dword [rbp + 0x34], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x14], 0xffffffff
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x10], r12d
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14005074e
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14005074e
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x140050757
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x40], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x48], 0xff
cmovne ebx, dword [rbp + 0x48]
mov edi, dword [rbp + 0x34]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140050760
cmp byte [rbp + 0xb], r12b
je 0x14001c276
lea rbx, [rbp - 0x70]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400507c4
add rbx, 8
sub rdi, 1
jne 0x14001c260
mov rcx, rsi
call fcn.14001bd70
cmp dword [rsi + 0x10], 7
jne 0x1400507d2
mov edx, dword [rsi + 0x2c]
mov dword [rsp + 0x50], edx
lea rax, [0x1400f83f8]
mov qword [rbp + 0x88], rax
and rdx, 0xfffffffffffffffe
add rdx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rbx, rax
mov qword [rbp + 0x90], rax
test rax, rax
je 0x140050836
mov eax, dword [rsi + 0x28]
mov dword [rbp + 0xe0], eax
mov dword [rbp + 0xf8], r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xe0]
mov r8, qword [rsi + 0x20]
mov edx, dword [rsi + 0xc]
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x140050850
mov edi, dword [rsi + 0x10]
mov esi, dword [rbp + 0xf8]
cmp esi, edi
jne 0x14005091e
mov qword [r15], rbx
mov eax, dword [rsp + 0x50]
shr eax, 1
mov dword [r14], eax
lea rcx, [rbp + 0x10]
call fcn.14001ce00
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x70]
jmp 0x14001c216
mov dword [rbp + 0x40], r12d
jmp 0x14001c227
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14001c248
lea rcx, [rbp + 0x10]
call fcn.1400dde58
cmp dword [rbp + 0x10], r12d
je 0x14001c248
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x40]
mov r8d, dword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x14001c248
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x14001c26c
mov qword [rsp + 0x68], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x70], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x431
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
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 + 0x68]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
nop
mov dword [rsp + 0x58], 0x8007000e
lea rdx, [0x140167770]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
int3
mov qword [rsp + 0x68], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x70], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x78], rax
cmp edi, 0x103
je 0x1400508e8
mov dword [rbp - 0x80], 0x452
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 0x20]
test edi, edi
jle 0x1400508b1
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumValue__p__lu__p__lu_..._
mov r8d, edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
int3
mov dword [rbp - 0x80], 0x450
call sub.msvcrt.dll_memset
mov eax, dword [rsi + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
int3
mov qword [rsp + 0x68], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x70], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x44a
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], edi
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 + 0x68]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
int3