FsRtlCompareNodeAndKey

NTSTATUS __stdcall FsRtlCompareNodeAndKey(TUNNEL_NODE *Node, UINT64 DirectoryKey, _UNICODE_STRING *Name){
  char v3; 
  char v4; 
  const _UNICODE_STRING *v6; 
  NTSTATUS result; 

  v4 = v3;
  if( *((_QWORD *)Node + 6) < DirectoryKey )
    return -1;
  if( *((_QWORD *)Node + 6) > DirectoryKey )
    return 1;
  v6 = (const _UNICODE_STRING *)&Node[2 * (Node[14] & 2 | 8i64)];
  result = RtlCompareUnicodeString(v6, Name, 1u);
  if( !result )
  {
    if( v4 )
      return RtlCompareUnicodeString(v6, Name, 0);
  }
  return result;
}

Referenced by:

FsRtlAddToTunnelCacheEx
FsRtlFindInTunnelCacheEx