MiChargeSystemImageCommitment
INT64 __fastcall MiChargeSystemImageCommitment(INT64 a1){
_CONTROL_AREA *v1;
int v2;
UINT64 v3;
v1 = MiSectionControlArea((_SECTION *)a1);
v3 = *(unsigned int *)(*(_QWORD *)v1 + 8i64);
if( !*(_DWORD *)(*(_QWORD *)v1 + 8i64) )
return 0i64;
if( v2 != 1 )
{
MiReleaseNonPagedResources((_MI_PARTITION *)&MiSystemPartition, v3);
return 0i64;
}
if( (MiAcquireNonPagedResources((_MI_PARTITION *)&MiSystemPartition, v3) & 0x80000000) == 0i64 )
return 0i64;
return 3221225626i64;
}Referenced by:
MiMapSystemImage
MiMapSystemImageWithLargePage