Function at 0x100086b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14c
mov eax, dword [0x10033a60]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push edi
xor edi, edi
push 0x1002a7b3
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
call fcn.10007760
push 6
push edi
push edi
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10008738
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000871f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.1001524a
add esp, 0x14c
ret
push ebx
lea ecx, [esp + 0x34]
push ecx
push edi
push esi
mov dword [esp + 0x40], 0x1c
xor ebx, ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x100088d2
push ebp
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
nop
push edi
push 0x100
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x44]
push eax
push esi
call ebp
lea ecx, [esp + 0x54]
push str.HDAUDIO
push ecx
call fcn.10014de7
add esp, 8
test eax, eax
jne 0x100087a3
lea edx, [esp + 0x54]
push str.INTELAUDIO
push edx
call fcn.10014de7
add esp, 8
test eax, eax
je 0x100088b9
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 9
lea edx, [esp + 0x44]
push edx
push esi
call fcn.100020e0
add esp, 0x14
test eax, eax
je 0x100088b3
push 0x27
push str.SYSTEMCurrentControlSetControlClass_
lea ecx, [esp + 0x18]
call fcn.10006230
mov eax, dword [esp + 0x20]
push 0x1002a9f8
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.100066a0
add esp, 0xc
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.100066a0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.100067c0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008829
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
push 0x20019
push edi
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100088b3
mov eax, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push str.HP_Models
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100088a8
cmp dword [esp + 0x18], 7
jne 0x100088a8
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x14], edi
jne 0x100088d1
lea edx, [esp + 0x38]
push edx
add ebx, 1
push ebx
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x10008760
pop ebp
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x100088fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.1001524a
add esp, 0x14c
ret