VerifierNtCreateFile

NTSTATUS __stdcall VerifierNtCreateFile(
        PVOID *FileHandle,
        UINT64 DesiredAccess,
        _OBJECT_ATTRIBUTES *ObjectAttributes,
        _IO_STATUS_BLOCK *IoStatusBlock,
        _LARGE_INTEGER *AllocationSize,
        UINT64 FileAttributes,
        UINT64 ShareAccess,
        UINT64 CreateDisposition,
        UINT64 CreateOptions,
        PVOID EaBuffer,
        UINT64 EaLength){
  unsigned int v13; 
  INT8 pszDest[40]; 
  VOID *retaddr; 

  v13 = DesiredAccess;
  if( (MmVerifierData & 0x10) != 0 && KeGetCurrentIrql() )
  {
    ViErrorDisplayDescription(586);
    if( RtlStringCbPrintfA(pszDest, 0x26ui64, (INT8 *)"CulpritAddress = %p.\n") >= 0 )
      VfUtilDbgPrint(pszDest);
    ViErrorFinishReport(586, retaddr, 0i64, 0i64);
  }
  return((__int64(__fastcall *)(PVOID *, _QWORD, _OBJECT_ATTRIBUTES *, _IO_STATUS_BLOCK *, _LARGE_INTEGER *, _DWORD, _DWORD, _DWORD, _DWORD, PVOID, _DWORD))pXdvNtCreateFile)(
           FileHandle,
           v13,
           ObjectAttributes,
           IoStatusBlock,
           AllocationSize,
           FileAttributes,
           ShareAccess,
           CreateDisposition,
           CreateOptions,
           EaBuffer,
           EaLength);
}

Referenced by:

No references.