Function at 0x10023b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f678
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov ebx, dword [0x100e8014]
xor eax, eax
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], ebx
push 6
push eax
push eax
push eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x2d], al
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10023ba5
lea eax, [ebx - 0xc]
cmp eax, dword [0x100e8010]
je 0x10023b9e
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10023b9e
push esi
call fcn.10055c11
add esp, 4
xor al, al
jmp 0x10023d6d
push 0x208
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x2c]
push ecx
push 0
push esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x10023d3a
mov edx, dword [ebp - 0x18]
push 0
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
jne 0x10023cd3
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x2c]
push ecx
push esi
mov ecx, edi
mov dword [ebp - 0x3c], 0x208
call fcn.10021fc0
test al, al
jne 0x10023c58
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
push esi
mov ecx, edi
call fcn.10021fc0
test al, al
jne 0x10023c58
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x34]
push eax
push 7
lea ecx, [ebp - 0x2c]
push ecx
push esi
mov ecx, edi
call fcn.10021fc0
test al, al
jne 0x10023c58
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x34]
push eax
push 8
lea ecx, [ebp - 0x2c]
push ecx
push esi
mov ecx, edi
call fcn.10021fc0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
jne 0x10023c63
xor eax, eax
jmp 0x10023c6a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.100014f0
mov ebx, dword [ebp - 0x44]
cmp dword [ebx - 8], 0
jl 0x10023cd3
push str.HDAUDIOFUNC_01VEN_14F1
push ebx
call fcn.100560cb
add esp, 8
test eax, eax
je 0x10023c95
sub eax, ebx
sar eax, 1
je 0x10023cb3
cmp dword [ebx - 8], 0
jl 0x10023cd3
push str.INTELAUDIOFUNC_01VEN_14F1
push ebx
call fcn.100560cb
add esp, 8
test eax, eax
je 0x10023cd3
sub eax, ebx
sar eax, 1
jne 0x10023cd3
push 0x20019
push 2
push 0
push 1
lea edx, [ebp - 0x2c]
push edx
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10023cf0
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
inc eax
push ecx
push eax
push esi
mov dword [ebp - 0x38], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x10023bd1
jmp 0x10023d3a
lea edx, [ebp - 0x48]
push edx
push str.SettingsOEM
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10023d33
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push str.SupportedMicChannels
push edx
mov dword [ebp - 0x40], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x38], 1
jne 0x10023d33
mov byte [ebp - 0x2d], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10023d48
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebx - 0xc]
cmp eax, dword [0x100e8010]
je 0x10023d6a
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10023d6a
push esi
call fcn.10055c11
add esp, 4
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret