Skip to content

Instantly share code, notes, and snippets.

using NtApiDotNet;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
__int64 __fastcall UtilVerifyAndLockDirectory(LPCWSTR path, HANDLE dirHandle)
{
if ( dirHandle )
{
pathHandle = CreateFileW(path, 0xC0000000, 0, 0i64, 3u, 0x2000000u, 0i64);
result = UtilVerifyFilePath(v3, pathHandle);
if ( result >= 0 )
{
result = UtilGetGUIDString((struct CString *)&randomGuid);
choco install firefox vscode dotnetcore-sdk windbg ghidra vscode-csharp notepadplusplus.install python2 python3 hxd windows-sdk-10 vscode-cpptools cutter sysinternals 7zip.install git.install