Function at 0x10023010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
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 esi, ecx
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ebx, dword [0x100e8014]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x90], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x4c], 0x1c
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x80], ebx
push 6
push eax
push eax
push eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x4d], al
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100230de
lea ecx, [ebx - 0xc]
cmp ecx, dword [0x100e8010]
je 0x100230d7
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100230d7
push esi
call fcn.10055c11
add esp, 4
xor al, al
jmp 0x10023565
push 0x208
push 0x40
mov dword [ebp - 0x58], 4
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea edx, [ebp - 0x4c]
push edx
push 0
push edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x78], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x10023532
mov eax, dword [ebp - 0x38]
push 0
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
jne 0x100233c7
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 1
lea edx, [ebp - 0x4c]
push edx
push edi
mov ecx, esi
mov dword [ebp - 0x68], 0x208
call fcn.10021fc0
test al, al
jne 0x1002319e
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
push edi
mov ecx, esi
call fcn.10021fc0
test al, al
jne 0x1002319e
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 7
lea edx, [ebp - 0x4c]
push edx
push edi
mov ecx, esi
call fcn.10021fc0
test al, al
jne 0x1002319e
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 8
lea edx, [ebp - 0x4c]
push edx
push edi
mov ecx, esi
call fcn.10021fc0
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x100231a9
xor eax, eax
jmp 0x100231b0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x80]
call fcn.100014f0
mov ebx, dword [ebp - 0x80]
cmp dword [ebx - 8], 0
jl 0x100233c7
push str.ACPIVEN_8086DEV_22A8
push ebx
call fcn.100560cb
add esp, 8
test eax, eax
je 0x10023299
sub eax, ebx
sar eax, 1
jne 0x10023299
push 0x20019
push 2
push 0
push 1
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
je 0x10023292
lea ecx, [ebp - 0x5c]
push ecx
push str.AudioVolBoost
push esi
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1002328b
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x64]
push eax
xor edx, edx
lea ecx, [ebp - 0x30]
push ecx
push edx
push edx
mov word [ebp - 0x30], dx
mov edx, dword [ebp - 0x5c]
push str.DefaultSPKVol
push edx
mov dword [ebp - 0x64], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002327a
lea eax, [ebp - 0x30]
push eax
call fcn.100574b5
mov ecx, dword [ebp - 0x74]
add esp, 4
shl eax, 0x10
mov dword [ecx], eax
mov edx, dword [ebp - 0x5c]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x70]
mov byte [ebp - 0x4d], 1
cmp dword [ebx - 8], 0
jl 0x100233c7
push str.ACPIVEN_14F1
push ebx
call fcn.100560cb
add esp, 8
test eax, eax
je 0x100232bb
sub eax, ebx
sar eax, 1
je 0x100232e5
cmp dword [ebx - 8], 0
jl 0x100233c7
push str.ACPIVEN_103C
push ebx
call fcn.100560cb
add esp, 8
test eax, eax
je 0x1002336b
sub eax, ebx
sar eax, 1
jne 0x1002336b
push 0x20019
push 1
push 0
push 1
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
je 0x10023364
lea ecx, [ebp - 0x5c]
push ecx
push str.Settings
push esi
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1002335d
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
push edx
push eax
push 0
push 0
push str.DefaultMicVol
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
push edx
push eax
push 0
push 0
push str.DefaultMicBoostGain
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x70]
mov byte [ebp - 0x4d], 1
cmp dword [ebx - 8], 0
jl 0x100233c7
push str.HDAUDIOFUNC_01VEN_14F1
push ebx
call fcn.100560cb
add esp, 8
test eax, eax
je 0x10023389
sub eax, ebx
sar eax, 1
je 0x100233a7
cmp dword [ebx - 8], 0
jl 0x100233c7
push str.INTELAUDIOFUNC_01VEN_14F1
push ebx
call fcn.100560cb
add esp, 8
test eax, eax
je 0x100233c7
sub eax, ebx
sar eax, 1
jne 0x100233c7
push 0x20019
push 2
push 0
push 1
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100233e7
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x4c]
inc eax
push ecx
push eax
push edi
mov dword [ebp - 0x78], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x10023111
jmp 0x10023532
lea edx, [ebp - 0x54]
push edx
push str.SettingsOEMInitialSliderPosition
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002348b
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
push eax
push ecx
push 0
push 0
push 0x100791c0
push edx
call edi
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
push eax
push ecx
push 0
push 0
push str.InitialHeadphonePos
push edx
call edi
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
push eax
push ecx
push 0
push 0
push str.InitialWaveOutMixCapturePos
push edx
call edi
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
push eax
push ecx
push 0
push 0
push str.InitialLineInCapturePos
push edx
call edi
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
push eax
push ecx
push 0
push 0
push str.InitialMicCapturePos
push edx
call edi
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x54]
push ecx
push str.SettingsEPattributesEPid19DefMicBoostSettings
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100234bc
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x58]
push edx
push eax
push 0
push 0
push str.DefGainSettings
push ecx
call edi
mov edx, dword [ebp - 0x54]
push edx
jmp 0x100234e9
lea eax, [ebp - 0x54]
push eax
push str.SettingsEPattributesEPid1ADefMicBoostSettings
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100234ef
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x58]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x54]
push str.DefGainSettings
push eax
call edi
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x54]
push edx
push str.OEMSettings
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10023527
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
push eax
push ecx
push 0
push 0
push str.SmartSpeakerDefault
push edx
call edi
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x4d], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10023540
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebx - 0xc]
cmp ecx, dword [0x100e8010]
je 0x10023562
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10023562
push esi
call fcn.10055c11
add esp, 4
mov al, byte [ebp - 0x4d]
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 0x1c