MiAllocateImportList

NTSTATUS __stdcall MiAllocateImportList(_IMAGE_IMPORT_DESCRIPTOR *ImportDescriptor, _LOAD_IMPORTS **ReturnedImportList){
  _IMAGE_IMPORT_DESCRIPTOR **v3; 
  if( (unsigned __int64)ImportDescriptor > 0x1FFFFFFE )
  {
    LODWORD(v3) = 0;
  }
  else
  {
    LODWORD(v3) = MiAllocatePool((struct _SLIST_ENTRY *)0x100);
    if( v3 )
      *v3 = ImportDescriptor;
  }
  return(int)v3;
}

Referenced by:

MiAddEntryToImportList
MiCompressImportList
MiPrepareImportList