44 lines
1.4 KiB
C
44 lines
1.4 KiB
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x14015c0d0 FUN_14015c0d0
|
|
* Pseudocode, not original source. */
|
|
|
|
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
|
|
|
void FUN_14015c0d0(longlong param_1)
|
|
|
|
{
|
|
undefined *puVar1;
|
|
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_1403463c0 ^ (ulonglong)auStack_68;
|
|
puVar1 = *(undefined **)(param_1 + 0x30);
|
|
if ((((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_1403440a0)) &&
|
|
(0 < *(int *)(puVar1 + -8))) && (*(char *)(param_1 + 0x18) != '\0')) {
|
|
if (*(char *)(param_1 + 0x1b) == '\0') {
|
|
if ((*(char *)(param_1 + 0x1a) != '\0') && (*(longlong *)(param_1 + 0x10) != 0)) {
|
|
(**(code **)(**(longlong **)(param_1 + 0x10) + 0x98))(*(longlong **)(param_1 + 0x10),0);
|
|
}
|
|
}
|
|
else if (*(char *)(param_1 + 0x1c) != '\0') {
|
|
Sleep((DWORD)(longlong)*(double *)(param_1 + 0x28));
|
|
local_28 = 7;
|
|
local_30 = 0;
|
|
local_40 = 0;
|
|
FUN_14015c5d0(param_1,&local_40);
|
|
wprintf(L"%s : RETRY CONNECT : IP[ %s ] PORT[ %d ]\n");
|
|
FUN_14015be70(param_1);
|
|
if (7 < local_28) {
|
|
operator_delete((void *)CONCAT62(uStack_3e,local_40));
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|