add agent manager release decomp

This commit is contained in:
Benjamin Palko 2026-10-15 09:58:24 -04:00
parent 31ff800b2a
commit fac6117145
7019 changed files with 254032 additions and 5 deletions

View file

@ -0,0 +1,81 @@
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x14001d9e0 FUN_14001d9e0
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
undefined8 FUN_14001d9e0(wchar_t *param_1,wchar_t *param_2,longlong param_3)
{
undefined8 uVar1;
undefined1 auStack_2e8 [32];
wchar_t *local_2c8;
longlong local_2c0;
uint local_2b8;
uint local_2b0;
uint local_2a8;
_SYSTEMTIME local_298;
wchar_t local_288 [33];
undefined1 local_246 [526];
ulonglong local_38;
local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_2e8;
if (((param_1 == (wchar_t *)0x0) || (param_3 == 0)) || (param_2 == (wchar_t *)0x0)) {
uVar1 = 0;
}
else {
local_288[0x20] = 0;
memset(local_246,0,0x206);
GetLocalTime(&local_298);
local_2b8 = (uint)local_298.wHour;
local_2c0._0_4_ = (uint)local_298.wDay;
local_2c8 = (wchar_t *)CONCAT44(local_2c8._4_4_,(uint)local_298.wMonth);
FUN_14001c540(local_288 + 0x20,0x104,L"%04d-%02d-%02d_%02d.log",(ulonglong)local_298.wYear);
local_2c8 = local_288 + 0x20;
_snwprintf_s(param_2,0x104,0x104,L"%s");
local_288[0] = L'\0';
local_288[1] = L'\0';
local_288[2] = L'\0';
local_288[3] = L'\0';
local_288[4] = L'\0';
local_288[5] = L'\0';
local_288[6] = L'\0';
local_288[7] = L'\0';
local_288[8] = L'\0';
local_288[9] = L'\0';
local_288[10] = L'\0';
local_288[0xb] = L'\0';
local_288[0xc] = L'\0';
local_288[0xd] = L'\0';
local_288[0xe] = L'\0';
local_288[0xf] = L'\0';
local_288[0x10] = L'\0';
local_288[0x11] = L'\0';
local_288[0x12] = L'\0';
local_288[0x13] = L'\0';
local_288[0x14] = L'\0';
local_288[0x15] = L'\0';
local_288[0x16] = L'\0';
local_288[0x17] = L'\0';
local_288[0x18] = L'\0';
local_288[0x19] = L'\0';
local_288[0x1a] = L'\0';
local_288[0x1b] = L'\0';
local_288[0x1c] = L'\0';
local_288[0x1d] = L'\0';
local_288[0x1e] = L'\0';
local_288[0x1f] = 0;
local_2a8 = (uint)local_298.wSecond;
local_2b0 = (uint)local_298.wMinute;
local_2b8 = (uint)local_298.wHour;
local_2c0 = CONCAT44(local_2c0._4_4_,(uint)local_298.wDay);
local_2c8 = (wchar_t *)CONCAT44(local_2c8._4_4_,(uint)local_298.wMonth);
FUN_14001c510(local_288,0x20,L"%04d-%02d-%02d %02d:%02d:%02d",(ulonglong)local_298.wYear);
local_2c8 = local_288;
local_2c0 = param_3;
_snwprintf_s(param_1,0x100,0x100,L"[%s] %s\n");
uVar1 = 1;
}
return uVar1;
}