Function at 0x100260f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f961
mov eax, dword fs:[0]
push eax
mov eax, 0x53a0
call fcn.100562c0
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 edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push eax
lea ecx, [ebp - 0x210]
push str.CxHDAudioDeviceControl::SetLEDStatusToDriver____isPlaybackEndpoint___d__ledStatus___d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [ebp - 0x210]
add esp, 0x10
push edx
call fcn.10021dd0
mov ecx, eax
call fcn.100267a0
mov ecx, esi
call fcn.10025320
push 0
push 0x10078e58
call fcn.100010b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x538c]
push eax
push 1
push 0
push str.SOFTWAREConexantMicTrayHotkey
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x53a8], 0x400
mov dword [ebp - 0x53a0], edi
mov byte [ebp - 0x539c], 0
call esi
xor edi, edi
cmp eax, edi
je 0x100261c3
lea ecx, [ebp - 0x538c]
push ecx
push 0x101
push edi
push str.SOFTWAREConexantMicTrayHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, edi
jne 0x10026232
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x100261fe
mov ecx, dword [ebp - 0x538c]
lea edx, [ebp - 0x53a8]
push edx
lea eax, [ebp - 0x5398]
push eax
push edi
push edi
push str.PlaybackGPIO
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10026235
mov dl, byte [ebp - 0x5398]
mov byte [ebp - 0x539c], dl
jmp 0x10026235
mov edx, dword [ebp - 0x538c]
lea eax, [ebp - 0x53a8]
push eax
lea ecx, [ebp - 0x5398]
push ecx
push edi
push edi
push str.CaptureGPIO
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10026235
mov al, byte [ebp - 0x5398]
mov byte [ebp - 0x539c], al
jmp 0x10026235
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x538c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x10026256
cmp byte [ebp - 0x539c], 0
jne 0x10026256
mov byte [ebp - 0x539c], 1
mov dword [ebp - 0x53a4], edi
cmp ebx, 0xffffffff
je 0x10026286
push edi
lea edx, [ebp - 0x53ac]
push edx
push edi
push edi
push 8
lea eax, [ebp - 0x53a0]
push eax
push 0x2207bc
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x53a4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
jne 0x10026439
call fcn.10040b40
test eax, eax
je 0x10026439
lea ecx, [ebp - 0x5384]
call fcn.100404b0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], edi
call fcn.10040ba0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.10040ba0
or eax, 0xffffffff
lea edx, [ebp - 0x4b34]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5390], eax
mov dword [ebp - 0x5388], eax
xor ebx, ebx
mov dword [ebp - 0x5394], edx
jmp 0x100262f0
cmp dword [edx - 0x80c], 0
je 0x10026389
mov eax, 0x50e4
lea esi, [ebp - 0x5384]
call fcn.100562c0
mov edx, dword [edx]
mov edi, esp
mov ecx, 0x1439
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x5390]
push ecx
push edx
lea ecx, [ebp - 0x2a0]
call fcn.10040bc0
test al, al
je 0x10026389
mov eax, 0x50e4
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x258], ebx
lea esi, [ebp - 0x5384]
call fcn.100562c0
mov edi, esp
mov ecx, 0x1439
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x5394]
mov edx, dword [ecx + 0x810]
lea eax, [ebp - 0x5388]
push eax
push edx
lea ecx, [ebp - 0x258]
call fcn.10040bc0
test al, al
jne 0x100263a7
mov eax, dword [ebp - 0x5390]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.10040ec0
mov edx, dword [ebp - 0x5394]
inc ebx
add edx, 0x1020
mov dword [ebp - 0x5394], edx
cmp ebx, 5
jl 0x100262f0
jmp 0x100263f7
mov eax, dword [ebp - 0x5388]
imul ebx, ebx, 0x1020
cmp dword [ebp + 0xc], 0
je 0x100263c9
mov ecx, dword [ebp + ebx - 0x472c]
lea edx, [ebp + ebx - 0x4b2c]
jmp 0x100263d7
mov ecx, dword [ebp + ebx - 0x4328]
lea edx, [ebp + ebx - 0x4728]
push ecx
push edx
push eax
lea ecx, [ebp - 0x258]
call fcn.10040ef0
mov ecx, dword [ebp - 0x5388]
push ecx
lea ecx, [ebp - 0x258]
call fcn.10040ec0
mov edx, dword [ebp - 0x5390]
push edx
lea ecx, [ebp - 0x2a0]
call fcn.10040ec0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.10040bb0
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0
call fcn.10040bb0
lea ecx, [ebp - 0x5384]
mov dword [ebp - 4], 0xffffffff
call fcn.10040bb0
mov esi, dword [ebp - 0x53a4]
push esi
lea eax, [ebp - 0x210]
push str.CxHDAudioDeviceControl::SetLEDStatusToDriver_____bReturnValue___d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x210]
add esp, 0xc
push ecx
call fcn.10021dd0
mov ecx, eax
call fcn.100267a0
mov eax, esi
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 8