Function at 0x4244a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d922d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x65f018]
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 ebx, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x28]
push eax
push 0x110
push 0
push str.SOFTWARELenovoOnScreenDisplay
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x424512
lea eax, [ebp - 0x28]
push eax
push 0x10
push 0
push str.SOFTWARELenovoOnScreenDisplay
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4246a6
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x110], eax
test eax, eax
jne 0x424538
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4246a6
push 1
push eax
push 0xf
push 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x424695
nop word [eax + eax]
cmp byte [ebx + 0x114], 0
jne 0x424695
push 0xffffffffffffffff
push dword [ebx + 0x110]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x424695
cmp byte [ebx + 0x114], 0
jne 0x424695
xorps xmm0, xmm0
mov edi, reloc.OLEAUT32.dll_SysReAllocString
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], vtable.CRegistry.0
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SOFTWARELenovoOnScreenDisplay
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4245d7
mov edi, dword [ebp - 0x2c]
mov eax, 1
mov dword [ebp - 0x14], edi
jmp 0x4245d9
xor eax, eax
test eax, eax
jne 0x42460b
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push str.SOFTWARELenovoOnScreenDisplay
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424605
mov edi, dword [ebp - 0x30]
mov eax, 1
mov dword [ebp - 0x14], edi
jmp 0x424607
xor eax, eax
test eax, eax
je 0x42465e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x20]
xor esi, esi
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push str.MicrophoneMuteState
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, 1
cmove esi, dword [ebp - 0x20]
xor eax, eax
test esi, esi
setne al
sub ecx, eax
mov dword [ebx + 0xe0], ecx
push ecx
mov ecx, ebx
call fcn.00423a30
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x424660
push edi
call esi
xor edi, edi
test edi, edi
mov dword [ebp - 4], 0xffffffff
je 0x42466c
push edi
call esi
push dword [ebx + 0x110]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
push dword [ebx + 0x110]
push 0xf
push 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
je 0x424560
push dword [ebp - 0x28]
call esi
push dword [ebx + 0x110]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0058fc43
mov esp, ebp
pop ebp
ret