/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c * Ghidra 12.1.2 decompiler output for 0x1401e27e0 FUN_1401e27e0 * Pseudocode, not original source. */ /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ undefined8 FUN_1401e27e0(uint param_1,int param_2,longlong param_3,undefined8 param_4) { int iVar1; int iVar2; undefined8 uVar3; longlong lVar4; undefined1 auStack_168 [32]; undefined1 local_148 [256]; ulonglong local_48; local_48 = DAT_1403463c0 ^ (ulonglong)auStack_168; lVar4 = (longlong)param_2; if (param_3 == 0) { uVar3 = 0x10; } else { uVar3 = FUN_140200b40(param_2); if ((int)uVar3 == 0) { if (param_1 - 0x40 < 0x3c1) { uVar3 = (**(code **)(lVar4 * 0x50 + 0x14034f2a0))(param_3); if ((int)uVar3 == 0) { iVar1 = ((int)CONCAT71((int7)((ulonglong)uVar3 >> 8),(param_1 & 7) != 0) + ((int)(param_1 + ((int)param_1 >> 0x1f & 7U)) >> 3)) * 2; iVar2 = FUN_140200ae0(local_148,iVar1,param_4); if (iVar2 == iVar1) { uVar3 = (**(code **)(lVar4 * 0x50 + 0x14034f2a8))(local_148,iVar1,param_3); if ((int)uVar3 == 0) { uVar3 = (**(code **)(lVar4 * 0x50 + 0x14034f2b0))(param_3); } } else { uVar3 = 9; } } } else { uVar3 = 8; } } } return uVar3; }