bool __fastcall PnpCheckPossibleBootStartDriver(void *a1){
bool v1;
_KEY_VALUE_FULL_INFORMATION *Information;
v1 = 0;
Information = 0i64;
if( IopGetRegistryValue(a1, (PWCHAR)L"BootFlags", 0i64, &Information) >= 0 )
{
if( Information->Type == 4 && Information->DataLength == 4 )
v1 = *(ULONG *)((char *)&Information->TitleIndex + Information->DataOffset) != 0;
ExFreePoolWithTag(Information, 0);
}
return v1;
}