/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1 * Ghidra 12.1.2 decompiler output for 0x1400fb5f0 FUN_1400fb5f0 * Pseudocode, not original source. */ /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ ulonglong FUN_1400fb5f0(longlong param_1) { ulonglong uVar1; int iVar2; undefined1 auStack_58 [32]; undefined1 local_38 [32]; ulonglong local_18; local_18 = DAT_1401ac5a0 ^ (ulonglong)auStack_58; if (param_1 == 0) { return 0x10; } EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030)); iVar2 = 0; do { uVar1 = FUN_140108200((longlong *)((longlong)iVar2 * 0x70 + param_1),local_38); if ((int)uVar1 != 0) { LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030)); return uVar1 & 0xffffffff; } iVar2 = iVar2 + 1; } while (iVar2 < 0x20); LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030)); return 0; }