Function at 0x1400ac6c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xca0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0xc90], rax
mov rdi, rcx
xor bl, bl
mov r9d, 2
xor r8d, r8d
xor edx, edx
lea rcx, [0x14023e408]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r14, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x1400ac71a
xor al, al
jmp 0x1400acab2
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x58], 0x20
xor r15d, r15d
mov esi, r15d
nop word [rax + rax]
lea r8, [rsp + 0x58]
mov edx, esi
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400aca4a
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x208
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
cmp eax, 1
jne 0x1400ac86d
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0xa90]
call fcn.1401d04f0
mov dword [rsp + 0x50], r15d
lea r8, [rsp + 0x80]
lea rdx, str.SYSTEMCurrentControlSetControlClass_s
lea rcx, [rsp + 0xa90]
call fcn.1400a4440
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0xa90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400ac7f9
xor al, al
jmp 0x1400acab2
mov dword [rsp + 0x50], 0x100
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MatchingDeviceId
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, str.1002
lea rcx, [rsp + 0x80]
call fcn.1401d0680
test rax, rax
jne 0x1400ac874
lea rdx, str.1022
lea rcx, [rsp + 0x80]
call fcn.1401d0680
test rax, rax
jne 0x1400ac874
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
jmp 0x1400ac740
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x290]
call fcn.1401d04f0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.RadeonSoftwareVersion
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ac8ef
mov bl, 1
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400ac8d0
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.140018360
jmp 0x1400aca4a
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
cmp eax, 0xea
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
jne 0x1400ac95f
lea rdx, str.RadeonSoftwareVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400aca4a
mov bl, 1
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400ac940
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.140018360
jmp 0x1400aca4a
lea rdx, str.FireproSoftwareVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ac9a0
mov bl, 1
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400ac981
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.140018360
jmp 0x1400aca4a
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
cmp eax, 0xea
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
jne 0x1400aca0c
lea rdx, str.FireproSoftwareVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400aca4a
mov bl, 1
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400ac9f0
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.140018360
jmp 0x1400aca4a
lea rdx, str.CreatorSoftwareVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400aca59
mov bl, 1
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400aca30
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.140018360
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
nop
movzx eax, bl
jmp 0x1400acab2
cmp eax, 0xea
jne 0x1400aca4a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CreatorSoftwareVersion
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400aca4a
mov bl, 1
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400acaa4
jmp 0x1400aca3a
mov rcx, qword [rsp + 0xc90]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0xca0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret