Function at 0x140023abc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140086de8]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
and qword [rsp + 0x40], 0
mov esi, 0x20019
cmp ecx, 1
mov r15, rdx
lea eax, [rsi + 6]
cmove esi, eax
call fcn.14001d1cc
test al, al
je 0x140023b11
movups xmm0, xmmword [0x140067aa0]
jmp 0x140023b18
movups xmm0, xmmword [0x140067b00]
mov r9d, 2
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140023d2b
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], 0x20
xor edx, edx
mov rcx, rax
xor r14d, r14d
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x140023d22
xor r9d, r9d
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x20], 2
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rbx, rax
test rax, rax
je 0x140023be0
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x4c]
and dword [rsp + 0x48], 0
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.Inst
lea rax, [rsp + 0x48]
mov dword [rsp + 0x4c], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140023bd5
cmp dword [rsp + 0x48], eax
jne 0x140023c05
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
inc r14d
lea r8, [rsp + 0x68]
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x140023b64
test rbx, rbx
je 0x140023d22
and dword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r8, [0x1400654d0]
lea rax, [rbp - 0x30]
mov dword [rsp + 0x28], 0x208
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDevicePropertyW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiCreateDeviceInfoList]
mov rbx, rax
test rax, rax
je 0x140023d22
lea rax, [rbp - 0x78]
mov r14d, 0x20
xor r9d, r9d
mov dword [rbp - 0x78], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
test eax, eax
je 0x140023d19
and dword [rsp + 0x38], 0
lea rax, [rsp + 0x4c]
and dword [rsp + 0x4c], 0
lea r9, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea r8, [0x1400654e8]
lea rax, [rbp + 0x1e0]
mov dword [rsp + 0x28], 0x208
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDevicePropertyW]
test eax, eax
je 0x140023d19
lea rax, [rbp - 0x58]
mov dword [rbp - 0x58], r14d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
test eax, eax
je 0x140023d19
mov dword [rsp + 0x28], esi
lea r8d, [r14 - 0x1f]
xor r9d, r9d
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov qword [rsp + 0x40], rax
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x140023d5f
test r15, r15
je 0x140023d5f
lea rax, [rsp + 0x40]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400293b0
mov rbx, qword [rsp + 0x540]
add rsp, 0x500
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret