decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
|
|
@ -0,0 +1,55 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002430 FUN_140002430
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
void FUN_140002430(longlong param_1)
|
||||
|
||||
{
|
||||
undefined2 *puVar1;
|
||||
undefined *puVar2;
|
||||
ulonglong uVar3;
|
||||
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_1401ac5a0 ^ (ulonglong)auStack_68;
|
||||
puVar2 = *(undefined **)(param_1 + 0x30);
|
||||
if ((((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_1401ac010)) &&
|
||||
(0 < *(int *)(puVar2 + -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_140002930(param_1,(ulonglong *)&local_40);
|
||||
puVar2 = *(undefined **)(param_1 + 0x30);
|
||||
if (*(undefined **)(param_1 + 0x30) == (undefined *)0x0) {
|
||||
puVar2 = PTR_DAT_1401ac010;
|
||||
}
|
||||
puVar1 = &local_40;
|
||||
if (7 < local_28) {
|
||||
puVar1 = (undefined2 *)CONCAT62(uStack_3e,local_40);
|
||||
}
|
||||
uVar3 = (ulonglong)*(ushort *)(param_1 + 0x38);
|
||||
wprintf(L"%s : RETRY CONNECT : IP[ %s ] PORT[ %d ]\n");
|
||||
FUN_1400020b0(param_1,puVar1,puVar2,uVar3);
|
||||
if (7 < local_28) {
|
||||
operator_delete((void *)CONCAT62(uStack_3e,local_40));
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue