MiAllocateImportList

VOID __stdcall MiAllocateImportList(
        _IMAGE_IMPORT_DESCRIPTOR *ImportDescriptor,
        _LOAD_IMPORTS **ReturnedImportList,
        INT64 a3,
        INT64 a4){
  _QWORD *Pool; 

  if( (unsigned __int64)ImportDescriptor <= 0x1FFFFFFE )
  {
    Pool = MiAllocatePool(256i64, (unsigned int)(8 * (_DWORD)ImportDescriptor + 8), 0x54446D4Dui64);
    if( Pool )
      *Pool = ImportDescriptor;
  }
}

Referenced by:

MiAddEntryToImportList
MiCompressImportList
MiPrepareImportList