46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x14003e250 FUN_14003e250
|
|
* Pseudocode, not original source. */
|
|
|
|
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
|
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
|
|
|
|
undefined * FUN_14003e250(void)
|
|
|
|
{
|
|
bool bVar1;
|
|
int iVar2;
|
|
char cVar3;
|
|
undefined1 auStack_58 [32];
|
|
undefined *local_38;
|
|
char local_30;
|
|
undefined8 local_28;
|
|
CHAR local_20 [8];
|
|
ulonglong local_18;
|
|
|
|
local_28 = 0xfffffffffffffffe;
|
|
local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_58;
|
|
local_38 = &DAT_1401760c8;
|
|
local_30 = '\0';
|
|
bVar1 = FUN_14003d0e0((int *)&DAT_1401760c8);
|
|
cVar3 = '\0';
|
|
if ((bVar1) && (cVar3 = local_30, DAT_14016f000 != '\0')) {
|
|
local_30 = '\x01';
|
|
FUN_14003d040((int *)&DAT_1401760c8);
|
|
cVar3 = '\x01';
|
|
}
|
|
if ((DAT_140176088 & 1) == 0) {
|
|
DAT_140176088 = DAT_140176088 | 1;
|
|
_DAT_140176084 = 0;
|
|
iVar2 = GetLocaleInfoA(0x800,5,local_20,7);
|
|
if (iVar2 != 0) {
|
|
_DAT_140176084 = atoi(local_20);
|
|
}
|
|
}
|
|
DAT_14016f000 = 0;
|
|
if (cVar3 != '\0') {
|
|
FUN_14003d0d0(0x1401760c8);
|
|
}
|
|
return &DAT_140176084;
|
|
}
|
|
|