decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,57 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14019eb90 FUN_14019eb90
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
void FUN_14019eb90(longlong param_1)
{
longlong lVar1;
DWORD DVar2;
BOOL BVar3;
DWORD DVar4;
ushort uVar5;
undefined1 auStackY_78 [32];
DWORD local_48 [6];
longlong local_30;
undefined1 local_28;
_SYSTEMTIME local_20;
ulonglong local_10;
local_48[4] = 0xfffffffe;
local_48[5] = 0xffffffff;
local_10 = DAT_1403463c0 ^ (ulonglong)auStackY_78;
lVar1 = param_1 + 0x9e0;
local_30 = lVar1;
FUN_14016db50(lVar1);
local_28 = 1;
local_48[1] = 0;
local_48[2] = 0;
local_48[0] = 0;
local_48[3] = 0;
DVar2 = GetTickCount();
BVar3 = GetDiskFreeSpaceW((LPCWSTR)0x0,local_48 + 1,local_48 + 2,local_48,local_48 + 3);
if (BVar3 == 0) {
local_20.wYear = 0;
local_20.wMonth = 0;
local_20.wDayOfWeek = 0;
local_20.wDay = 0;
local_20.wHour = 0;
local_20.wMinute = 0;
local_20.wSecond = 0;
local_20.wMilliseconds = 0;
GetSystemTime(&local_20);
uVar5 = local_20.wMilliseconds << 8 |
(ushort)(byte)(local_20.wMilliseconds._1_1_ + (char)local_20.wSecond);
}
else {
uVar5 = (ushort)local_48[0];
DVar4 = GetTickCount();
uVar5 = uVar5 ^ (ushort)DVar4;
}
FUN_14019eb20(param_1,DVar2 << 0x10 | (uint)uVar5);
FUN_14016dbe0(lVar1);
return;
}