BiIsPortableWorkspaceBoot
UINT8 __fastcall BiIsPortableWorkspaceBoot(){
UINT8 v0;
int v1;
UINT64 Length;
PVOID Handle;
PVOID P;
v0 = 0;
P = 0i64;
Handle = 0i64;
LODWORD(Length) = 0;
if( (int)BiOpenKey(
0i64,
(WCHAR *)L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\MiniNT",
0x20019ui64,
&Handle) < 0 )
{
if( (int)BiGetRegistryValue(
0i64,
(WCHAR *)L"PortableOperatingSystem",
(WCHAR *)L"\\Registry\\Machine\\SYSTEM\\CurrentControlSet\\Control",
4ui64,
&P,
&Length) >= 0 )
{
v1 = *(_DWORD *)P;
ExFreePoolWithTag(P, 0x4B444342u);
return v1 != 0;
}
}
else
{
BiCloseKey(Handle);
}
return v0;
}Referenced by:
BiBindEfiEntries
BiExportBcdObjects