| 96 | } |
| 97 | |
| 98 | void PatchManager::writeConfig() { |
| 99 | |
| 100 | configMgr.writeDword("Patch", "DelayBeforeNtdlletc", patchDelayBeforeNtdlletc.load()); |
| 101 | configMgr.writeBool("Patch", "NtQueryVirtualMemory", patchSwitches.NtQueryVirtualMemory.load()); |
| 102 | configMgr.writeBool("Patch", "NtReadVirtualMemory", patchSwitches.NtReadVirtualMemory.load()); |
| 103 | configMgr.writeBool("Patch", "GetAsyncKeyState", patchSwitches.GetAsyncKeyState.load()); |
| 104 | configMgr.writeBool("Patch", "NtWaitForSingleObject", patchSwitches.NtWaitForSingleObject.load()); |
| 105 | configMgr.writeBool("Patch", "NtDelayExecution", patchSwitches.NtDelayExecution.load()); |
| 106 | configMgr.writeBool("Patch", "DeviceIoControl_1", patchSwitches.DeviceIoControl_1.load()); |
| 107 | configMgr.writeBool("Patch", "DeviceIoControl_1x", patchSwitches.DeviceIoControl_1x.load()); |
| 108 | configMgr.writeBool("Patch", "DeviceIoControl_2", patchSwitches.DeviceIoControl_2.load()); |
| 109 | configMgr.writeDword("Patch", "Delay0", patchDelay[0].load()); |
| 110 | configMgr.writeDword("Patch", "Delay1", patchDelay[1].load()); |
| 111 | configMgr.writeDword("Patch", "Delay2", patchDelay[2].load()); |
| 112 | configMgr.writeDword("Patch", "Delay3", patchDelay[3].load()); |
| 113 | configMgr.writeDword("Patch", "Delay4", patchDelay[4].load()); |
| 114 | } |
| 115 | |
| 116 | void PatchManager::_applyDefaultConfig() { |
| 117 |
no test coverage detected