decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
70
decomp/Agent_Release_x64/full/functions/0x1400024f0.c
Normal file
70
decomp/Agent_Release_x64/full/functions/0x1400024f0.c
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400024f0 FUN_1400024f0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
void FUN_1400024f0(longlong param_1,double param_2)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
undefined2 *puVar2;
|
||||
undefined *puVar3;
|
||||
ulonglong uVar4;
|
||||
double dVar5;
|
||||
undefined1 auStack_68 [32];
|
||||
undefined8 local_48;
|
||||
undefined2 local_40;
|
||||
undefined6 uStack_3e;
|
||||
undefined8 local_30;
|
||||
ulonglong local_28;
|
||||
ulonglong local_18;
|
||||
|
||||
local_48 = 0xfffffffffffffffe;
|
||||
local_18 = DAT_1401555a0 ^ (ulonglong)auStack_68;
|
||||
puVar3 = *(undefined **)(param_1 + 0x30);
|
||||
if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_140155010)) && (0 < *(int *)(puVar3 + -8))
|
||||
) {
|
||||
if (*(char *)(param_1 + 0x18) == '\0') {
|
||||
if (*(char *)(param_1 + 0x1a) != '\0') {
|
||||
plVar1 = *(longlong **)(param_1 + 0x10);
|
||||
if (plVar1 != (longlong *)0x0) {
|
||||
(**(code **)(*plVar1 + 0x98))(plVar1,0);
|
||||
}
|
||||
Sleep(100);
|
||||
}
|
||||
}
|
||||
else if (*(char *)(param_1 + 0x1b) == '\0') {
|
||||
if ((*(char *)(param_1 + 0x1a) != '\0') &&
|
||||
(plVar1 = *(longlong **)(param_1 + 0x10), plVar1 != (longlong *)0x0)) {
|
||||
(**(code **)(*plVar1 + 0x98))(plVar1,0);
|
||||
}
|
||||
}
|
||||
else {
|
||||
dVar5 = param_2 - *(double *)(param_1 + 0x20);
|
||||
if ((*(double *)(param_1 + 0x28) <= dVar5 && dVar5 != *(double *)(param_1 + 0x28)) &&
|
||||
(*(double *)(param_1 + 0x20) = param_2, *(char *)(param_1 + 0x1c) != '\0')) {
|
||||
local_28 = 7;
|
||||
local_30 = 0;
|
||||
local_40 = 0;
|
||||
FUN_140002990(param_1,(ulonglong *)&local_40);
|
||||
puVar3 = *(undefined **)(param_1 + 0x30);
|
||||
if (*(undefined **)(param_1 + 0x30) == (undefined *)0x0) {
|
||||
puVar3 = PTR_DAT_140155010;
|
||||
}
|
||||
puVar2 = &local_40;
|
||||
if (7 < local_28) {
|
||||
puVar2 = (undefined2 *)CONCAT62(uStack_3e,local_40);
|
||||
}
|
||||
uVar4 = (ulonglong)*(ushort *)(param_1 + 0x38);
|
||||
wprintf(L"%s : RETRY CONNECT : ADDRESS[ %s ] PORT[ %d ]\n");
|
||||
FUN_140002180(param_1,puVar2,puVar3,uVar4);
|
||||
if (7 < local_28) {
|
||||
operator_delete((void *)CONCAT62(uStack_3e,local_40));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue