MiAllocateSecureImageActivePatch

NTSTATUS __stdcall MiAllocateSecureImageActivePatch(PCUNICODE_STRING SourceString){
  _UNICODE_STRING *Pool; 
  NTSTATUS v3; 

  Pool = (_UNICODE_STRING *)MiAllocatePool(256i64, SourceString->Length + 64i64, 0x73486D4Dui64);
  v3 = (int)Pool;
  if( Pool )
  {
    Pool[3].Buffer = &Pool[4].Length;
    Pool[3].MaximumLength = SourceString->Length;
    RtlCopyUnicodeString(Pool + 3, SourceString);
  }
  return v3;
}

Referenced by:

MiLoadHotPatch