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,29 @@
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 pseudocode via REA, ev_ad71d730ad826f5e73d5b5ec119273acf91c525002d977f0d017bc11eb2cfbb4
* Decompiler output, not original source. */
undefined4 FUN_1400100b0(undefined8 *param_1)
{
DWORD DVar1;
uint extraout_EAX;
HANDLE pvVar2;
wchar_t *_Format;
pvVar2 = CreateMutexW((LPSECURITY_ATTRIBUTES)0x0,1,L"Global\\RustyHearts_Agent");
*param_1 = pvVar2;
DVar1 = GetLastError();
if (DVar1 == 5) {
_Format = L"ERROR_ACCESS_DENIED!!! %s \n";
}
else {
if (DVar1 != 0xb7) {
return CONCAT31((int3)(DVar1 >> 8),1);
}
_Format = L"ERROR_ALREADY_EXISTS!!! %s \n";
}
wprintf(_Format);
Sleep(3000);
return extraout_EAX & 0xffffff00;
}