Function at 0x140007540
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 - 0x70]
sub rsp, 0x170
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
mov rbx, rcx
lea r15, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x50], r15
lea r12, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x58], r12
lea r13, str.REGREGSC
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x3bb
mov edi, 0xb
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
xor r14d, r14d
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x6d]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140004408
nop
mov rcx, rbx
call fcn.140007830
cmp dword [rbx + 0x10], 4
jne 0x140007762
cmp dword [rbx + 0x2c], 4
jne 0x1400077a3
mov dword [rbp + 0xc8], r14d
mov eax, dword [rbx + 0x28]
mov dword [rbp + 0xb0], eax
mov dword [rbp + 0xc0], r14d
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xb0]
mov r8, qword [rbx + 0x20]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test eax, eax
je 0x140007682
mov dword [rsp + 0x30], 0xff
mov r9, r12
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0xb
cmp eax, 0x103
jne 0x140007709
jmp 0x1400077f4
mov edi, dword [rbp + 0xc0]
cmp edi, dword [rbx + 0x10]
jne 0x1400076b9
mov eax, dword [rbp + 0xc8]
mov dword [rsi], eax
lea rcx, [rbp]
call fcn.140004508
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], 0xb
mov dword [rsp + 0x20], 0x3dd
mov r9, r12
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400040a8
mov ecx, dword [rbx + 0x10]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edi
lea r9, str.Unexpected_error:_current_value_type_changed_in_the_meantime__lu__lu
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp]
call fcn.140005908
int3
mov dword [rsp + 0x20], 0x3e5
call fcn.1400040a8
mov rdx, rax
lea rcx, [rbx + 0x18]
call fcn.140006668
movzx r8d, di
or r8d, 0x80070000
test edi, edi
cmovle r8d, edi
mov ecx, dword [rbp + 0xb0]
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]
call fcn.140005908
int3
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x3c1
mov r9, r12
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400040a8
lea r9, str.Unexpected_error:_attempting_to_read_a_value_of_the_wrong_type
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp]
call fcn.140005908
int3
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x3c6
mov r9, r12
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400040a8
mov qword [rsp + 0x28], 4
mov ecx, dword [rbx + 0x2c]
mov dword [rsp + 0x20], ecx
lea r9, str.Unexpected_error:_unexpected_DWORD_size___ld___ld_
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp]
call fcn.140005908
int3
mov dword [rsp + 0x20], 0x3e3
call fcn.1400040a8
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]
call fcn.140005908
int3