Function at 0x406000
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x43f6fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0041d0a0
add esp, 0xc
mov dword [ebp - 0x114], 0x104
lea ecx, [ebp - 0x118]
push ecx
push 0x20019
push 0
push str.SOFTWARELENOVOTPHOTKEY
push reloc.SKHidKbd.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x406087
xor eax, eax
jmp 0x406502
cmp dword [ebp - 0x11c], 0
je 0x4060ca
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4060ca
cmp dword [ebp - 0x114], 1
jbe 0x4060ca
mov dword [ebp - 0x128], 1
jmp 0x4060d4
mov dword [ebp - 0x128], 0
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x433528
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.kcuif32.dll
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp - 0x11c], 0
je 0x406142
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x406142
mov dword [ebp - 0x12c], 1
jmp 0x40614c
mov dword [ebp - 0x12c], 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
je 0x40618d
push str.HK_IsFnFxAvailable
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4492e8], eax
cmp dword [0x4492e8], 0
je 0x40618d
mov dword [ebp - 0x130], 1
jmp 0x406197
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x4061d8
push str.HK_VirtualNotifyFnFx
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4492ec], eax
cmp dword [0x4492ec], 0
je 0x4061d8
mov dword [ebp - 0x134], 1
jmp 0x4061e2
mov dword [ebp - 0x134], 0
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
je 0x406223
push str.HK_IsVolumeMuteControllable
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4492f0], eax
cmp dword [0x4492f0], 0
je 0x406223
mov dword [ebp - 0x138], 1
jmp 0x40622d
mov dword [ebp - 0x138], 0
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
je 0x40626e
push str.HK_EnableVolumeMute
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4492f4], eax
cmp dword [0x4492f4], 0
je 0x40626e
mov dword [ebp - 0x13c], 1
jmp 0x406278
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x4062b9
push str.HK_GetMaxVolumeLevel
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4492f8], eax
cmp dword [0x4492f8], 0
je 0x4062b9
mov dword [ebp - 0x140], 1
jmp 0x4062c3
mov dword [ebp - 0x140], 0
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
je 0x406304
push str.HK_GetCurrentVolumeLevel
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4492fc], eax
cmp dword [0x4492fc], 0
je 0x406304
mov dword [ebp - 0x144], 1
jmp 0x40630e
mov dword [ebp - 0x144], 0
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
je 0x40634f
push str.HK_SetVolumeLevel
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x449300], eax
cmp dword [0x449300], 0
je 0x40634f
mov dword [ebp - 0x148], 1
jmp 0x406359
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x40639a
push str.HK_RunFullScreenMagnifier
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x449304], eax
cmp dword [0x449304], 0
je 0x40639a
mov dword [ebp - 0x14c], 1
jmp 0x4063a4
mov dword [ebp - 0x14c], 0
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
je 0x4063e5
push str.HK_GetVolumeMuteState
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x449308], eax
cmp dword [0x449308], 0
je 0x4063e5
mov dword [ebp - 0x150], 1
jmp 0x4063ef
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
je 0x406430
push str.HK_GetMaxBrightnessLevel
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x44930c], eax
cmp dword [0x44930c], 0
je 0x406430
mov dword [ebp - 0x154], 1
jmp 0x40643a
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x40647b
push str.HK_GetCurrentBrightnessLevel
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x449310], eax
cmp dword [0x449310], 0
je 0x40647b
mov dword [ebp - 0x158], 1
jmp 0x406485
mov dword [ebp - 0x158], 0
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
je 0x4064c6
push str.HK_SetBrightnessLevel
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x449314], eax
cmp dword [0x449314], 0
je 0x4064c6
mov dword [ebp - 0x15c], 1
jmp 0x4064d0
mov dword [ebp - 0x15c], 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
jne 0x4064fc
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cf0c
mov esp, ebp
pop ebp
ret