add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
35
decomp/AgentManager_Release_x64/full/functions/0x1400ef370.c
Normal file
35
decomp/AgentManager_Release_x64/full/functions/0x1400ef370.c
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400ef370 FUN_1400ef370
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
void FUN_1400ef370(longlong param_1,char *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 local_res18;
|
||||
undefined8 local_res20;
|
||||
undefined1 auStack_248 [32];
|
||||
char local_228 [512];
|
||||
ulonglong local_28;
|
||||
|
||||
local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_248;
|
||||
local_res18 = param_3;
|
||||
local_res20 = param_4;
|
||||
EnterCriticalSection(DAT_14017cf60);
|
||||
iVar1 = _vscprintf(param_2,(va_list)&local_res18);
|
||||
vsprintf_s(local_228,(longlong)(iVar1 + 1),param_2,(va_list)&local_res18);
|
||||
if ((*(byte *)(param_1 + 0x10) & 2) != 0) {
|
||||
printf(local_228);
|
||||
}
|
||||
if ((*(byte *)(param_1 + 0x10) & 4) != 0) {
|
||||
OutputDebugStringA(local_228);
|
||||
}
|
||||
if ((*(FILE **)(param_1 + 0xb8) != (FILE *)0x0) && ((*(byte *)(param_1 + 0x10) & 8) != 0)) {
|
||||
fprintf(*(FILE **)(param_1 + 0xb8),"%s");
|
||||
}
|
||||
LeaveCriticalSection(DAT_14017cf60);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue