InbvDriverInitialize
UINT8 __stdcall InbvDriverInitialize(UINT64 Phase, _LOADER_PARAMETER_BLOCK *LoaderBlock, UINT64 Count){
unsigned int v3;
unsigned int v4;
UINT8 v6;
_INBV_MODE v7;
char *LoadOptions;
char *v9;
CHAR v10;
__int64 v11;
v3 = Phase;
v4 = Count;
v6 = 1;
if( InbvDetermineFunction(LoaderBlock) != Legacy )
{
if( BgkInitialize(LoaderBlock, v3) < 0 )
{
v6 = 0;
v7 = MixedLegacy;
dword_140C508E4 = 0;
}
else
{
dword_140C508E4 = 2;
v7 = MixedStandard;
}
InbvSetFunction(v7);
}
LoadOptions = LoaderBlock->LoadOptions;
if( !LoadOptions )
return BvgaDriverInitialize(v3, LoaderBlock, v4);
v9 = strupr(LoadOptions);
strstr((UINT8 *)v9, (UINT8 *)"NOVGA", v10);
if( !v11 )
return BvgaDriverInitialize(v3, LoaderBlock, v4);
return v6;
}Referenced by:
InitBootProcessor
KiInitializeBootStructures