MiGetSectionStrongImageReference

NTSTATUS __stdcall MiGetSectionStrongImageReference(INT64 a1){
  __int64 v2; 
  unsigned __int64 v3; 
  NTSTATUS result; 
  __int64 v5; 

  v2 = 0i64;
  v3 = *(_QWORD *)(a1 + 40) & 0xFFFFFFFFFFFFFFF8ui64;
  v5 = 0i64;
  if( qword_140C1D938 )
  {
    result = qword_140C1D938(v3, &v5);
    if( result < 0 )
      return result;
    v2 = v5;
  }
  else
  {
    result = 0;
  }
  *(_QWORD *)(a1 + 56) = v2;
  return result;
}

Referenced by:

MiApplyDriverHotPatch
MiPromoteControlAreaToStrongCode
MiValidateImagePfn
MiValidateInPage
MiWalkEntireImage
MmGetSectionStrongImageReference