add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
36
decomp/AgentManager_Release_x64/full/functions/0x14001de10.c
Normal file
36
decomp/AgentManager_Release_x64/full/functions/0x14001de10.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14001de10 FUN_14001de10
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
/* WARNING: Removing unreachable block (ram,0x00014001de90) */
|
||||
|
||||
undefined8 FUN_14001de10(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
errno_t eVar1;
|
||||
undefined1 auStack_268 [32];
|
||||
longlong local_248;
|
||||
FILE *local_238 [2];
|
||||
wchar_t local_228;
|
||||
undefined1 local_226 [526];
|
||||
ulonglong local_18;
|
||||
|
||||
local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_268;
|
||||
if ((param_1 != 0) && (param_2 != 0)) {
|
||||
local_228 = L'\0';
|
||||
memset(local_226,0,0x206);
|
||||
local_248 = param_1;
|
||||
FUN_14001c540(&local_228,0x104,L"%s_%s",&DAT_140131918);
|
||||
local_238[0] = (FILE *)0x0;
|
||||
eVar1 = _wfopen_s(local_238,&local_228,L"a");
|
||||
if ((eVar1 == 0) && (local_238[0] != (FILE *)0x0)) {
|
||||
fwprintf(local_238[0],L"%s");
|
||||
fflush(local_238[0]);
|
||||
fclose(local_238[0]);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue