Function at 0x140012118
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400ae3a8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, r9
mov r14, r8
mov ebx, edx
mov rdi, rcx
lea r8, str.CVdsService::GetNextProviderClsid__
mov r12d, 0x5e
mov edx, r12d
lea rcx, [rsp + 0x60]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
mov dword [rsp + 0x40], 0x40
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x44], 0x80
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400121f0
cmp eax, 0x103
je 0x140012337
lea r8, str.CVdsService::GetNextProviderClsid:_1___ld
mov r9d, eax
xor edx, edx
mov ecx, r12d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
jmp 0x140012337
mov rdx, rsi
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_CLSIDFromString]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140012256
mov r9d, eax
lea r8, str.CVdsService::GetNextProviderClsid:_2___lX
xor edx, edx
mov ecx, r12d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2000007
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov ecx, 0xc200000c
call fcn.140005474
movzx ebx, bx
jmp 0x140012337
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2000000
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001228f
lea r8, str.CVdsService::GetNextProviderClsid:_3___ld
jmp 0x1400121d7
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Clsid
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400122d2
lea r8, str.CVdsService::GetNextProviderClsid:_4___ld
jmp 0x1400121d7
mov word [rbp + 0x6e], r15w
mov rdx, r14
lea rcx, [rbp - 0x10]
call qword [sym.imp.ole32.dll_CLSIDFromString]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x14001236c
mov r9d, eax
lea r8, str.CVdsService::GetNextProviderClsid:_5___ld
xor edx, edx
mov ecx, r12d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2000008
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0xc200000d
call fcn.140005474
movzx ebx, di
test ebx, ebx
je 0x14001236c
cmp ebx, 0x103
je 0x14001236c
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2000009
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov ecx, 0xc200000e
call fcn.140005474
mov rcx, qword [rsp + 0x48]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140012388
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14005b340
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret