decompiled agent_release

This commit is contained in:
Benjamin Palko 2026-10-14 16:45:19 -04:00
parent baac905ef2
commit 11a3488883
6439 changed files with 229565 additions and 1 deletions

View file

@ -0,0 +1,59 @@
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x1400be5b0 FUN_1400be5b0
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
ulonglong FUN_1400be5b0(longlong param_1)
{
ulonglong uVar1;
ulonglong uVar2;
char *pcVar3;
int iVar4;
longlong *plVar5;
undefined1 auStack_138 [32];
longlong local_118 [14];
undefined1 local_a8 [128];
ulonglong local_28;
local_28 = DAT_1401555a0 ^ (ulonglong)auStack_138;
*(longlong *)(param_1 + 0x1028) = *(longlong *)(param_1 + 0x1028) + 1;
FUN_1400cb6a0(local_118);
uVar1 = FUN_1400cb6f0(local_118,(void *)(param_1 + 0xfe8),0x20);
uVar2 = uVar1 & 0xffffffff;
if ((int)uVar1 == 0) {
iVar4 = 0;
do {
if ((iVar4 != 0) && ((*(ulonglong *)(param_1 + 0x1028) >> ((char)iVar4 - 1U & 0x3f) & 1) != 0)
) break;
plVar5 = (longlong *)((longlong)iVar4 * 0x70 + param_1);
uVar1 = FUN_1400cb7d0(plVar5,local_a8);
if (((int)uVar1 != 0) ||
((uVar1 = FUN_1400cb6f0(local_118,local_a8,0x20), (int)uVar1 != 0 ||
(uVar1 = FUN_1400cb6a0(plVar5), (int)uVar1 != 0)))) {
FUN_1400cb7d0(local_118,local_a8);
return uVar1 & 0xffffffff;
}
iVar4 = iVar4 + 1;
} while (iVar4 < 0x20);
uVar2 = FUN_1400cb7d0(local_118,(undefined1 *)(param_1 + 0xfe8));
if (((int)uVar2 == 0) &&
(uVar2 = FUN_1400c8900((undefined1 *)(param_1 + 0xfe8),0x20,0,(uint *)(param_1 + 0xe00)),
(int)uVar2 == 0)) {
pcVar3 = (char *)(param_1 + 0x1008);
do {
*pcVar3 = *pcVar3 + '\x01';
if (*pcVar3 != '\0') break;
pcVar3 = pcVar3 + 1;
} while ((longlong)pcVar3 - (param_1 + 0x1008) < 0x10);
*(undefined8 *)(param_1 + 0x101c) = 0;
uVar2 = 0;
}
}
else {
FUN_1400cb7d0(local_118,local_a8);
}
return uVar2;
}