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,40 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x140077f54 __security_init_cookie
* Pseudocode, not original source. */
/* Library Function - Single Match
__security_init_cookie
Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release */
void __cdecl __security_init_cookie(void)
{
_FILETIME _Var1;
DWORD DVar2;
DWORD DVar3;
DWORD DVar4;
_FILETIME local_res8;
LARGE_INTEGER local_res10;
local_res8.dwLowDateTime = 0;
local_res8.dwHighDateTime = 0;
if (DAT_1401ac5a0 == 0x2b992ddfa232) {
GetSystemTimeAsFileTime(&local_res8);
_Var1 = local_res8;
DVar2 = GetCurrentProcessId();
DVar3 = GetCurrentThreadId();
DVar4 = GetTickCount();
QueryPerformanceCounter(&local_res10);
DAT_1401ac5a0 =
(local_res10.QuadPart ^
(ulonglong)_Var1 ^ (ulonglong)DVar2 ^ (ulonglong)DVar3 ^ (ulonglong)DVar4) & 0xffffffffffff
;
if (DAT_1401ac5a0 == 0x2b992ddfa232) {
DAT_1401ac5a0 = 0x2b992ddfa233;
}
}
DAT_1401ac5a8 = ~DAT_1401ac5a0;
return;
}