decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
41
decomp/Agent_Release_x64/full/functions/0x1400dc9d0.c
Normal file
41
decomp/Agent_Release_x64/full/functions/0x1400dc9d0.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400dc9d0 FUN_1400dc9d0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
ulonglong * FUN_1400dc9d0(ulonglong *param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
wchar_t wVar1;
|
||||
int iVar2;
|
||||
ulonglong uVar3;
|
||||
wchar_t *pwVar4;
|
||||
undefined8 local_res18;
|
||||
undefined8 local_res20;
|
||||
undefined1 auStack_458 [32];
|
||||
undefined4 local_438;
|
||||
wchar_t local_428 [512];
|
||||
ulonglong local_28;
|
||||
|
||||
local_28 = DAT_1401555a0 ^ (ulonglong)auStack_458;
|
||||
local_438 = 0;
|
||||
local_res18 = param_3;
|
||||
local_res20 = param_4;
|
||||
iVar2 = _vscwprintf(param_2,(va_list)&local_res18);
|
||||
vswprintf_s(local_428,(longlong)(iVar2 + 1),param_2,(va_list)&local_res18);
|
||||
uVar3 = 0xffffffffffffffff;
|
||||
param_1[3] = 7;
|
||||
param_1[2] = 0;
|
||||
*(undefined2 *)param_1 = 0;
|
||||
pwVar4 = local_428;
|
||||
do {
|
||||
if (uVar3 == 0) break;
|
||||
uVar3 = uVar3 - 1;
|
||||
wVar1 = *pwVar4;
|
||||
pwVar4 = pwVar4 + 1;
|
||||
} while (wVar1 != L'\0');
|
||||
FUN_1400016e0(param_1,local_428,~uVar3 - 1);
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue