VslGetSecureSpeculationControlInformation
INT64 __stdcall VslGetSecureSpeculationControlInformation(){
int v0;
int v2;
int v3;
int v4;
int v5;
int v6;
int v7;
int v8;
int v9;
int v10;
int v11;
INT64 result[2];
int v13;
memset((INT64)result, 0i64);
if( HvlQueryVsmConnection(0i64)
&& VslpSpeculationControlsFlags == v0
&& VslpEnterIumSecureMode(2u, 256, 0i64, (INT64)result) >= 0 )
{
v2 = v13 & 1 | 2;
if( (v13 & 2) == 0 )
v2 = v13 & 1;
v3 = v2 | 4;
if( (v13 & 4) == 0 )
v3 = v2;
v4 = v3 | 8;
if( (v13 & 8) == 0 )
v4 = v3;
v5 = v4 | 0x10;
if( (v13 & 0x10) == 0 )
v5 = v4;
v6 = v5 | 0x100;
if( (v13 & 0x100) == 0 )
v6 = v5;
v7 = v6 | 0x200;
if( (v13 & 0x200) == 0 )
v7 = v6;
v8 = v7 | 0x400;
if( (v13 & 0x400) == 0 )
v8 = v7;
v9 = v8 | 0x800;
if( (v13 & 0x800) == 0 )
v9 = v8;
v10 = v9 | 0x1000;
if( (v13 & 0x1000) == 0 )
v10 = v9;
v11 = v10 | 0x2000;
if( (v13 & 0x2000) == 0 )
v11 = v10;
VslpSpeculationControlsFlags = v11;
}
return(unsigned int)VslpSpeculationControlsFlags;
}Referenced by:
InitBootProcessor
KeQuerySecureSpeculationInformation