Function at 0x14002454c
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 [0x140088e00]
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.14001d4f8
test al, al
je 0x1400245a1
movups xmm0, xmmword [0x140069b40]
jmp 0x1400245a8
movups xmm0, xmmword [str.23LM4_H]
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 0x1400247bb
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 0x1400247b2
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 0x140024670
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 0x140024665
cmp dword [rsp + 0x48], eax
jne 0x140024695
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 0x1400245f4
test rbx, rbx
je 0x1400247b2
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, [0x140066ed0]
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 0x1400247b2
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 0x1400247a9
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, [0x140066ee8]
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 0x1400247a9
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 0x1400247a9
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 0x1400247ef
test r15, r15
je 0x1400247ef
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.14002ab60
mov rbx, qword [rsp + 0x540]
add rsp, 0x500
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret