35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x1400ef250 FUN_1400ef250
|
|
* Pseudocode, not original source. */
|
|
|
|
/* WARNING: Function: __chkstk replaced with injection: alloca_probe */
|
|
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
|
|
|
void FUN_1400ef250(longlong param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4)
|
|
|
|
{
|
|
int iVar1;
|
|
undefined8 local_res18;
|
|
undefined8 local_res20;
|
|
undefined1 auStack_1048 [32];
|
|
wchar_t local_1028 [2048];
|
|
ulonglong local_28;
|
|
undefined8 uStack_18;
|
|
|
|
uStack_18 = 0x1400ef26b;
|
|
local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_1048;
|
|
local_res18 = param_3;
|
|
local_res20 = param_4;
|
|
EnterCriticalSection(DAT_14017cf60);
|
|
iVar1 = _vscwprintf(param_2,(va_list)&local_res18);
|
|
vswprintf_s(local_1028,(longlong)(iVar1 + 1),param_2,(va_list)&local_res18);
|
|
wcscat_s(local_1028,0x800,L"\n");
|
|
if (*(FILE **)(param_1 + 0xc0) != (FILE *)0x0) {
|
|
fwprintf(*(FILE **)(param_1 + 0xc0),L"%s");
|
|
fflush(*(FILE **)(param_1 + 0xc0));
|
|
}
|
|
wprintf(L"%s");
|
|
LeaveCriticalSection(DAT_14017cf60);
|
|
return;
|
|
}
|
|
|