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,63 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400cf0f0 FUN_1400cf0f0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
undefined8 FUN_1400cf0f0(longlong param_1,longlong param_2,uint *param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
char cVar2;
|
||||
undefined8 uVar3;
|
||||
byte *pbVar4;
|
||||
byte *pbVar5;
|
||||
uint *puVar6;
|
||||
undefined1 auStackY_118 [32];
|
||||
exception local_d8 [72];
|
||||
exception local_90 [72];
|
||||
int local_48;
|
||||
byte local_44;
|
||||
undefined4 local_40;
|
||||
uint local_3c;
|
||||
ulonglong local_38;
|
||||
|
||||
local_38 = DAT_1401ac5a0 ^ (ulonglong)auStackY_118;
|
||||
if ((int)param_3[0xf0] < 1) {
|
||||
FUN_14006b700(local_90,&DAT_140145e90,param_3,param_4);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_90,(ThrowInfo *)&DAT_1401a93e8);
|
||||
}
|
||||
iVar1 = *(int *)(param_1 + 0x18);
|
||||
pbVar5 = (byte *)0x0;
|
||||
pbVar4 = pbVar5;
|
||||
if (iVar1 != 0) {
|
||||
pbVar4 = *(byte **)(param_1 + 0x10);
|
||||
}
|
||||
puVar6 = param_3;
|
||||
local_3c = FUN_1400f8940(pbVar4,iVar1);
|
||||
if (0 < (int)param_3[0xf0]) {
|
||||
local_40 = 5;
|
||||
cVar2 = (char)((iVar1 + 5) % (int)param_3[0xf1]);
|
||||
local_44 = 0;
|
||||
if (cVar2 != '\0') {
|
||||
local_44 = (char)param_3[0xf1] - cVar2;
|
||||
}
|
||||
local_48 = local_44 + 5 + iVar1;
|
||||
FUN_1400146f0(param_2,local_48,(SIZE_T)puVar6);
|
||||
pbVar4 = pbVar5;
|
||||
if (*(int *)(param_2 + 0x18) != 0) {
|
||||
pbVar4 = *(byte **)(param_2 + 0x10);
|
||||
}
|
||||
if (*(int *)(param_1 + 0x18) != 0) {
|
||||
pbVar5 = *(byte **)(param_1 + 0x10);
|
||||
}
|
||||
uVar3 = FUN_1400cef50((undefined8 *)pbVar5,*(int *)(param_1 + 0x18),pbVar4,(longlong)&local_48,
|
||||
param_3);
|
||||
return CONCAT71((int7)((ulonglong)uVar3 >> 8),1);
|
||||
}
|
||||
FUN_14006ba50(local_d8,L"aes key is not initialized",puVar6,param_4);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_d8,(ThrowInfo *)&DAT_1401a93e8);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue