46 lines
1.4 KiB
C
46 lines
1.4 KiB
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x14001e070 FUN_14001e070
|
|
* Pseudocode, not original source. */
|
|
|
|
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
|
|
|
undefined8 FUN_14001e070(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
|
|
|
{
|
|
undefined8 uVar1;
|
|
undefined8 local_res10;
|
|
undefined8 local_res18;
|
|
undefined8 local_res20;
|
|
undefined1 auStack_348 [32];
|
|
char local_328;
|
|
undefined1 local_327 [255];
|
|
char local_228;
|
|
undefined1 local_227 [255];
|
|
char local_128;
|
|
undefined1 local_127 [271];
|
|
ulonglong local_18;
|
|
|
|
local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_348;
|
|
local_res10 = param_2;
|
|
local_res18 = param_3;
|
|
local_res20 = param_4;
|
|
EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8);
|
|
local_228 = '\0';
|
|
memset(local_227,0,0xff);
|
|
vsprintf_s(&local_228,0x100,param_1,(va_list)&local_res10);
|
|
local_128 = '\0';
|
|
memset(local_127,0,0x103);
|
|
local_328 = '\0';
|
|
memset(local_327,0,0xff);
|
|
uVar1 = FUN_14001db80(&local_328,&local_128,(longlong)&local_228);
|
|
if ((int)uVar1 == 0) {
|
|
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8);
|
|
return 0;
|
|
}
|
|
FUN_14001dd00((longlong)&local_128,(longlong)&local_328);
|
|
OutputDebugStringA(&local_328);
|
|
printf("%s");
|
|
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8);
|
|
return 1;
|
|
}
|
|
|