Created
January 25, 2023 23:06
-
-
Save gabonator/3a8fd28d4670c088de4e116c28d378af to your computer and use it in GitHub Desktop.
kvartus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int _ZN11CPT_MANAGER16determine_statusEv(int *param_1) | |
{ | |
char cVar1; | |
byte bVar2; | |
int iVar3; | |
int **ppiVar4; | |
int iVar5; | |
int *piVar6; | |
undefined4 uVar7; | |
int iVar8; | |
int **ppiVar9; | |
int **ppiVar10; | |
undefined8 uVar11; | |
int *apiStack_130 [4]; | |
int *****local_120; | |
int *local_11c; | |
int *****local_118; | |
char *local_114; | |
undefined4 local_110; | |
int *local_104; | |
int *****local_100; | |
uint local_fc; | |
uint local_f8; | |
undefined4 local_f0; | |
undefined local_e4 [20]; | |
undefined local_d0 [8]; | |
int *****local_c8 [5]; | |
uint local_b4; | |
undefined local_b0 [160]; | |
if ((*param_1 == 0) || (param_1[2] != 0)) goto LAB_0005587a; | |
iVar8 = *(int *)(*param_1 + 0x104); | |
/* no */ | |
if (iVar8 == 0) { | |
local_110 = 0x187; | |
local_114 = "/build/swbuild/SJ/nightly/13.1/162/l32/p4/quartus/sys/cpt/cpt_manager.cpp"; | |
local_118 = (int *****)&DAT_0010ae89; | |
local_11c = (int *)0x10b10a; | |
/* WARNING: Subroutine does not return */ | |
local_120 = (int *****)0x55088; | |
_ZN18MSG_INTERNAL_ERROR6reportEPKcS1_S1_i(); | |
} | |
iVar5 = *(int *)(iVar8 + 0xa4); | |
/* no */ | |
if (iVar5 == 0) { | |
local_110 = 0x18a; | |
local_114 = "/build/swbuild/SJ/nightly/13.1/162/l32/p4/quartus/sys/cpt/cpt_manager.cpp"; | |
local_118 = (int *****)&DAT_0010ae89; | |
local_11c = (int *)0x10b0f8; | |
/* WARNING: Subroutine does not return */ | |
local_120 = (int *****)0x550bc; | |
_ZN18MSG_INTERNAL_ERROR6reportEPKcS1_S1_i(); | |
} | |
param_1[2] = 0x14; | |
/* isExpired: al=0 */ | |
local_120 = (int *****)0x550cb; | |
local_11c = (int *)iVar8; | |
cVar1 = _ZN15CPT_FEATURE_MGR10is_expiredEv(); | |
if (cVar1 != '\0') { | |
param_1[2] = 3; | |
goto LAB_0005587a; | |
} | |
/* talkback, al=1 */ | |
local_120 = (int *****)0x550e3; | |
local_11c = (int *)iVar8; | |
cVar1 = _ZN15CPT_FEATURE_MGR14check_talkbackEv(); | |
if (cVar1 == '\0') { | |
param_1[2] = 1; | |
goto LAB_0005587a; | |
} | |
local_114 = (char *)0x0; | |
local_118 = (int *****)0x0; | |
local_11c = (int *)local_c8; | |
local_120 = (int *****)0x55113; | |
local_100 = (int *****)local_11c; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE5_TidyEbj(); | |
local_118 = local_100; | |
local_11c = param_1; | |
/* shizzolator, finds hidden file in profile folder, sets eax=0x4f73ab91 */ | |
local_120 = (int *****)0x55123; | |
uVar11 = _ZN11CPT_MANAGER15get_shizzolatorEPN11_Dinkum_std12basic_stringIcNS0_11char_traitsIcEE17M EM_STL_ALLOCATORIcEEE | |
(); | |
local_11c = (int *)local_e4; | |
local_118 = (int *****)param_1; | |
local_120 = (int *****)0x5513b; | |
_ZN11CPT_MANAGER16get_license_fileEv(); | |
local_f0 = (undefined4)((ulonglong)uVar11 >> 0x20); | |
local_f8 = (uint)uVar11; | |
ppiVar4 = apiStack_130 + 4; | |
/* *eax=3, nolicense: *eax=0xe48a2098 */ | |
local_11c = param_1 + 6; | |
local_120 = (int *****)*param_1; | |
/* primary info: eax=-1 */ | |
apiStack_130[3] = (int *)0x55153; | |
local_104 = local_11c; | |
local_100 = (int *****)_ZN15CPT_ELEMENT_MGR16get_primary_infoEPN11CPT_MANAGER4INFOE(); | |
local_f0 = (undefined4)((ulonglong)uVar11 >> 0x20); | |
local_f8 = (uint)uVar11; | |
if (local_100 == (int *****)0x0) { | |
/* no! */ | |
local_11c = param_1 + 0x1c; | |
apiStack_130[3] = (int *)0x55821; | |
local_120 = (int *****)(param_1 + 3); | |
_ZN8CPT_DATE16set_from_versionERKN11_Dinkum_std12basic_stringIcNS0_11char_traitsIcEE17MEM_STL_AL LOCATORIcEEE | |
(); | |
local_f0 = (undefined4)((ulonglong)uVar11 >> 0x20); | |
local_f8 = (uint)uVar11; | |
apiStack_130[3] = (int *)0x55829; | |
local_120 = (int *****)(param_1 + 3); | |
iVar8 = _ZNK8CPT_DATE14get_days_untilEv(); | |
local_f0 = (undefined4)((ulonglong)uVar11 >> 0x20); | |
local_f8 = (uint)uVar11; | |
param_1[2] = (iVar8 >> 0x1f & 0xfffffffeU) + 0x14; | |
} | |
else { | |
local_f8 = local_f8 & 0xffffff; | |
/* esp+0x24 = 0x4f73ab91, no */ | |
ppiVar10 = apiStack_130 + 4; | |
if (local_fc == 0x9b45cc01) { | |
local_120 = (int *****)local_c8; | |
if (0xf < local_b4) { | |
local_120 = local_c8[0]; | |
} | |
local_11c = (int *)0xfffffff4; | |
apiStack_130[3] = (int *)0x5518d; | |
iVar3 = cpt_valid_hex(); | |
local_f8 = CONCAT13(1,(undefined3)local_f8); | |
ppiVar10 = apiStack_130 + 4; | |
if (iVar3 != 0) { | |
local_120 = (int *****)local_b0; | |
apiStack_130[3] = (int *)0x551a6; | |
local_11c = (int *)iVar5; | |
_ZN14CPT_FLEXLM_MGR24get_default_local_hostidEv(); | |
ppiVar10 = apiStack_130 + 3; | |
apiStack_130[3] = (int *)local_d0; | |
local_120 = (int *****)&local_b4; | |
bVar2 = _ZN11_Dinkum_stdeqIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEEEbRKNS_12basic_string IT_T0_T1_EESB_ | |
(); | |
local_fc = local_fc & 0xffffff | (uint)bVar2 << 0x18; | |
local_11c = (int *)0x0; | |
local_120 = (int *****)0x1; | |
apiStack_130[3] = (int *)&local_b4; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE5_TidyEbj(); | |
} | |
} | |
/* esp+0x2b=0xaa379c00, yes */ | |
if (*(char *)((int)ppiVar10 + 0x2b) == '\0') { | |
/* installtype eax=1 */ | |
ppiVar10[-1] = (int *)0x55334; | |
iVar5 = _Z25ver_get_install_type_enumv(); | |
if (iVar5 == 3) { | |
*ppiVar10 = (int *)0x0; | |
ppiVar10[-1] = (int *)0x55349; | |
iVar5 = time(); | |
if (ppiVar10[9] == (int *)0x4f73ab91) { | |
ppiVar10[1] = (int *)0x96; | |
*ppiVar10 = (int *)"cpt_free_days"; | |
ppiVar10[-1] = (int *)0x5536b; | |
iVar3 = _Z17cfg_get_int_valuePKci(); | |
if (0x95 < iVar3) { | |
iVar3 = 0x96; | |
} | |
piVar6 = ppiVar10[0xb] + iVar3 * 0x5460; | |
iVar3 = 0x14; | |
if ((int)piVar6 <= iVar5) { | |
iVar3 = 0xe; | |
} | |
param_1[2] = iVar3; | |
} | |
else { | |
ppiVar10[1] = (int *)0x96; | |
*ppiVar10 = (int *)"cpt_free_days"; | |
ppiVar10[-1] = (int *)0x553af; | |
iVar3 = _Z17cfg_get_int_valuePKci(); | |
if (0x95 < iVar3) { | |
iVar3 = 0x96; | |
} | |
piVar6 = (int *)(iVar3 * 0x15180 + iVar5); | |
param_1[2] = 0xd; | |
} | |
ppiVar10[1] = piVar6; | |
*ppiVar10 = param_1 + 3; | |
ppiVar10[-1] = (int *)0x553da; | |
_ZN8CPT_DATE16set_from_secondsEl(); | |
*ppiVar10 = ppiVar10[7]; | |
ppiVar10[-1] = (int *)0x553e6; | |
_ZN11CPT_MANAGER4INFO5clearEv(); | |
ppiVar10[-1] = (int *)0x553eb; | |
piVar6 = (int *)_Z25ver_get_install_type_enumv(); | |
ppiVar10[1] = piVar6; | |
*ppiVar10 = (int *)(ppiVar10 + 0x2b); | |
ppiVar10[-1] = (int *)0x553fe; | |
_ZN15CPT_FEATURE_MGR21get_license_type_nameE21VER_INSTALL_TYPE_ENUM(); | |
ppiVar10[2] = (int *)0xffffffff; | |
ppiVar10[1] = (int *)0x0; | |
*ppiVar10 = (int *)(ppiVar10 + 0x2a); | |
ppiVar10[-1] = param_1 + 7; | |
/* try { // try from 00055422 to 00055426 has its CatchHandler @ 000558b3 */ | |
ppiVar10[-2] = (int *)0x55427; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignERKS5_jj() | |
; | |
ppiVar10[1] = (int *)0x0; | |
*ppiVar10 = (int *)0x1; | |
ppiVar10[-1] = (int *)(ppiVar10 + 0x2a); | |
ppiVar10[-2] = (int *)0x55446; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE5_TidyEbj(); | |
*ppiVar10 = (int *)&DAT_001369d5; | |
ppiVar10[-1] = param_1 + 0x15; | |
/* try { // try from 00055456 to 000555f7 has its CatchHandler @ 000558ec */ | |
ppiVar10[-2] = (int *)0x5545b; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignEPKc(); | |
ppiVar10[-1] = param_1; | |
ppiVar10[-2] = (int *)0x55463; | |
uVar7 = _ZN11CPT_MANAGER16get_lock_versionEv(); | |
ppiVar10[2] = (int *)0xffffffff; | |
ppiVar10[1] = (int *)0x0; | |
*ppiVar10 = (int *)uVar7; | |
ppiVar10[-1] = param_1 + 0x1c; | |
ppiVar10[-2] = (int *)0x55482; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignERKS5_jj() | |
; | |
param_1[0x34] = 0; | |
*ppiVar10 = (int *)0x0; | |
ppiVar10[-1] = (int *)iVar8; | |
ppiVar10[-2] = (int *)0x5549c; | |
_ZN15CPT_FEATURE_MGR9incrementEj(); | |
ppiVar4 = ppiVar10 + -1; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
else { | |
/* esp+0x24=0x4f73ab91, yes */ | |
/* | |
Value set by shizzolator when license exists: | |
000554a1 81 7c 24 CMP dword ptr [ESP + local_100],0x4f73ab91 | |
24 91 ab | |
73 4f | |
000554a9 0f 85 29 JNZ LAB_000556d8 | |
02 00 00 | |
*/ | |
if (ppiVar10[9] == (int *)0x4f73ab91) { | |
*ppiVar10 = (int *)0x0; | |
/* time eax=0x63d1a255 */ | |
ppiVar10[-1] = (int *)0x554bb; | |
piVar6 = (int *)time(); | |
ppiVar10[9] = piVar6; | |
if (((*(byte *)(ppiVar10 + 8) & 0x11) == 0) || (((uint)ppiVar10[8] & 0xffffffee) != 0)) { | |
/* here */ | |
ppiVar10[1] = (int *)0x1e; | |
*ppiVar10 = (int *)"cpt_eval_days"; | |
/* eval_days = eax = 0x1x */ | |
ppiVar10[-1] = (int *)0x55598; | |
iVar5 = _Z17cfg_get_int_valuePKci(); | |
if (0x1d < iVar5) { | |
iVar5 = 0x1e; | |
} | |
/* ebp=0x278d00 = eax(0x1e)*0x15180, 0x15180=60*60*24 seconds per day*/ | |
piVar6 = ppiVar10[0xb] + iVar5 * 0x5460; | |
/* compare ebp=0x63d1c49c,esp+0x24=0x63d1a255 */ | |
/* al=0, eax=0x10 */ | |
param_1[2] = ((int)piVar6 <= (int)ppiVar10[9]) + 0x10; | |
/* | |
eval_days = eax = 0x1x | |
00055593 e8 c0 fb CALL _Z17cfg_get_int_valuePKci undefined _Z17cfg_get_int_valueP | |
fe ff | |
00055598 83 f8 1e CMP EAX,0x1e | |
0005559b ba 1e 00 MOV EDX,0x1e | |
00 00 | |
000555a0 0f 4d c2 CMOVGE EAX,EDX | |
000555a3 69 e8 80 IMUL EBP,EAX,__DT_SYMTAB[555].st_value | |
51 01 00 | |
000555a9 8b 54 24 2c MOV EDX,dword ptr [ESP + local_f8] | |
ebp=0x278d00 = eax(0x1e)*0x15180, 0x15180=60*60*24 | |
000555ad 8d 6c 15 00 LEA EBP,[EBP + EDX*0x1] | |
000555b1 39 6c 24 24 CMP dword ptr [ESP + local_100],EBP | |
compare ebp=0x63d1c49c,esp+0x24=0x63d1a255 | |
000555b5 0f 9d c0 SETGE AL <=== one if expired! | |
000555b8 0f b6 c0 MOVZX EAX,AL | |
al=0, eax=0x10 | |
000555bb 83 c0 10 ADD EAX,0x10 | |
000555be 89 46 08 MOV dword ptr [ESI + 0x8],EAX | |
*/ | |
} | |
else { | |
ppiVar10[1] = (int *)0x1e; | |
*ppiVar10 = (int *)"cpt_grace_days"; | |
ppiVar10[-1] = (int *)0x554ee; | |
iVar5 = _Z17cfg_get_int_valuePKci(); | |
if (0x1d < iVar5) { | |
iVar5 = 0x1e; | |
} | |
piVar6 = ppiVar10[0xb] + iVar5 * 0x5460; | |
if ((int)ppiVar10[9] < (int)piVar6) { | |
param_1[2] = 0xf; | |
} | |
else { | |
ppiVar10[1] = (int *)0x1e; | |
*ppiVar10 = (int *)"cpt_eval_days"; | |
ppiVar10[-1] = (int *)0x5552e; | |
iVar5 = _Z17cfg_get_int_valuePKci(); | |
if (0x1d < iVar5) { | |
iVar5 = 0x1e; | |
} | |
if ((int)ppiVar10[9] < (int)(piVar6 + iVar5 * 0x5460)) { | |
param_1[2] = 0x10; | |
ppiVar10[1] = (int *)0x1e; | |
*ppiVar10 = (int *)"cpt_eval_days"; | |
ppiVar10[-1] = (int *)0x55564; | |
iVar5 = _Z17cfg_get_int_valuePKci(); | |
if (0x1d < iVar5) { | |
iVar5 = 0x1e; | |
} | |
piVar6 = piVar6 + iVar5 * 0x5460; | |
} | |
else { | |
param_1[2] = 0x11; | |
} | |
} | |
} | |
ppiVar10[8] = param_1 + 3; | |
ppiVar10[1] = piVar6; | |
*ppiVar10 = param_1 + 3; | |
/* tuto pokracujeme, po porovnani */ | |
ppiVar10[-1] = (int *)0x555d4; | |
_ZN8CPT_DATE16set_from_secondsEl(); | |
*ppiVar10 = ppiVar10[7]; | |
ppiVar10[-1] = (int *)0x555e0; | |
_ZN11CPT_MANAGER4INFO5clearEv(); | |
/* edx=0xffffd008, eax=1 */ | |
ppiVar10[-1] = (int *)0x555e5; | |
piVar6 = (int *)_Z25ver_get_install_type_enumv(); | |
ppiVar10[1] = piVar6; | |
*ppiVar10 = (int *)(ppiVar10 + 0x32); | |
ppiVar10[-1] = (int *)0x555f8; | |
_ZN15CPT_FEATURE_MGR21get_license_type_nameE21VER_INSTALL_TYPE_ENUM(); | |
*ppiVar10 = (int *)(ppiVar10 + 0x31); | |
ppiVar10[-1] = param_1 + 7; | |
/* try { // try from 0005560c to 00055610 has its CatchHandler @ 000558c6 */ | |
ppiVar10[-2] = (int *)0x55611; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignERKS5_() | |
; | |
ppiVar10[-1] = (int *)(ppiVar10 + 0x31); | |
ppiVar10[-2] = (int *)0x55620; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEED1Ev(); | |
if (param_1[2] == 0xf) { | |
*ppiVar10 = (int *)"Grace"; | |
ppiVar10[-1] = param_1 + 0xe; | |
/* try { // try from 00055638 to 0005566f has its CatchHandler @ 000558ec */ | |
ppiVar10[-2] = (int *)0x5563d; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignEPKc() | |
; | |
} | |
else if (param_1[2] == 0x10) { | |
*ppiVar10 = (int *)&DAT_0010b260; | |
ppiVar10[-1] = param_1 + 0xe; | |
ppiVar10[-2] = (int *)0x55659; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignEPKc() | |
; | |
} | |
*ppiVar10 = ppiVar10[7]; | |
ppiVar10[-1] = (int *)(ppiVar10 + 0x38); | |
ppiVar10[-2] = (int *)0x55670; | |
_ZNK8CPT_DATE20get_as_flexlm_stringEv(); | |
ppiVar10[-1] = (int *)(ppiVar10 + 0x37); | |
ppiVar10[-2] = param_1 + 0x15; | |
/* try { // try from 00055684 to 00055688 has its CatchHandler @ 000558d9 */ | |
ppiVar10[-3] = (int *)0x55689; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignERKS5_() | |
; | |
ppiVar10[-2] = (int *)(ppiVar10 + 0x37); | |
ppiVar10[-3] = (int *)0x55698; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEED1Ev(); | |
ppiVar10[-2] = param_1; | |
/* try { // try from 0005569b to 00055828 has its CatchHandler @ 000558ec */ | |
ppiVar10[-3] = (int *)0x556a0; | |
piVar6 = (int *)_ZN11CPT_MANAGER16get_lock_versionEv(); | |
ppiVar10[-1] = piVar6; | |
ppiVar10[-2] = param_1 + 0x1c; | |
ppiVar10[-3] = (int *)0x556af; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignERKS5_() | |
; | |
param_1[0x34] = 0; | |
ppiVar4 = ppiVar10 + -2; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
if (param_1[2] != 0x11) { | |
ppiVar10[-1] = (int *)0x0; | |
ppiVar10[-2] = (int *)iVar8; | |
ppiVar10[-3] = (int *)0x556d3; | |
_ZN15CPT_FEATURE_MGR9incrementEj(); | |
ppiVar4 = ppiVar10 + -2; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
} | |
else { | |
ppiVar10[2] = (int *)0x0; | |
ppiVar10[1] = (int *)&DAT_0010b265; | |
*ppiVar10 = (int *)(ppiVar10 + 0xe); | |
ppiVar10[-1] = (int *)0x556f6; | |
iVar8 = _ZNK11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE17find _first_not_ofEPKcj | |
(); | |
ppiVar4 = ppiVar10; | |
if (iVar8 == -1) { | |
param_1[2] = 4; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
else { | |
piVar6 = ppiVar10[0x14]; | |
ppiVar9 = ppiVar10 + 0xf; | |
if ((int *)0xf < piVar6) { | |
ppiVar9 = (int **)ppiVar10[0xf]; | |
} | |
ppiVar10[1] = (int *)0x3a; | |
*ppiVar10 = (int *)ppiVar9; | |
ppiVar10[-1] = (int *)0x55728; | |
iVar8 = strchr(); | |
if (iVar8 == 0) { | |
ppiVar9 = ppiVar10 + 0xf; | |
if ((int *)0xf < piVar6) { | |
ppiVar9 = (int **)ppiVar10[0xf]; | |
} | |
ppiVar10[1] = (int *)0x40; | |
*ppiVar10 = (int *)ppiVar9; | |
ppiVar10[-1] = (int *)0x5574d; | |
iVar8 = strchr(); | |
if (iVar8 == 0) { | |
*ppiVar10 = (int *)(ppiVar10 + 0xe); | |
ppiVar10[-1] = (int *)0x55761; | |
cVar1 = _ZN15FIO_FILE_SYSTEM6existsERKN11_Dinkum_std12basic_stringIcNS0_11char_trait sIcEE17MEM_STL_ALLOCATORIcEEE | |
(); | |
if (cVar1 == '\0') { | |
param_1[2] = 5; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
goto LAB_00055835; | |
} | |
} | |
} | |
uVar11 = CONCAT44(local_f0,local_f8); | |
if (ppiVar10[8] == (int *)0xffffffff) { | |
param_1[2] = 6; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
else if ((*(byte *)(ppiVar10 + 8) & 8) == 0) { | |
if ((*(byte *)(ppiVar10 + 8) & 2) == 0) { | |
if ((*(byte *)(ppiVar10 + 8) & 1) == 0) { | |
if ((*(byte *)(ppiVar10 + 8) & 0x10) == 0) { | |
if ((*(byte *)(ppiVar10 + 8) & 0x20) == 0) { | |
param_1[2] = (-(uint)(((uint)ppiVar10[8] & 4) == 0) & 0xfffffffa) + 0xc; | |
} | |
else { | |
param_1[2] = 0xb; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
} | |
else { | |
param_1[2] = 10; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
} | |
else { | |
param_1[2] = 9; | |
ppiVar10[1] = param_1 + 0x1c; | |
*ppiVar10 = param_1 + 3; | |
ppiVar10[-1] = (int *)0x557d6; | |
_ZN8CPT_DATE16set_from_versionERKN11_Dinkum_std12basic_stringIcNS0_11char_traitsIc EE17MEM_STL_ALLOCATORIcEEE | |
(); | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
} | |
else { | |
param_1[2] = 8; | |
ppiVar10[1] = param_1 + 0x15; | |
*ppiVar10 = param_1 + 3; | |
ppiVar10[-1] = (int *)0x557b4; | |
_ZN8CPT_DATE15set_from_stringERKN11_Dinkum_std12basic_stringIcNS0_11char_traitsIcEE1 7MEM_STL_ALLOCATORIcEEE | |
(); | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
} | |
else { | |
param_1[2] = 7; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
} | |
} | |
} | |
} | |
else { | |
param_1[2] = 0x13; | |
*ppiVar10 = ppiVar10[7]; | |
ppiVar10[-1] = (int *)0x551f7; | |
_ZN11CPT_MANAGER4INFO5clearEv(); | |
ppiVar4 = ppiVar10 + 0x16; | |
if ((int *)0xf < ppiVar10[0x1b]) { | |
ppiVar4 = (int **)ppiVar10[0x16]; | |
} | |
ppiVar10[1] = (int *)0xfffffff4; | |
*ppiVar10 = (int *)ppiVar4; | |
ppiVar10[-1] = (int *)0x55216; | |
iVar5 = cpt_valid_hex(); | |
if (iVar5 == 0) { | |
ppiVar10[3] = (int *)0xffffffff; | |
ppiVar10[2] = (int *)0x0; | |
ppiVar10[1] = (int *)(ppiVar10 + 0x15); | |
*ppiVar10 = param_1 + 7; | |
ppiVar10[-1] = (int *)0x552e9; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignERKS5_jj() | |
; | |
} | |
else { | |
ppiVar10[1] = (int *)"Watermarked "; | |
*ppiVar10 = param_1 + 7; | |
ppiVar10[-1] = (int *)0x55233; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignEPKc(); | |
ppiVar10[-1] = (int *)0x55238; | |
piVar6 = (int *)_Z25ver_get_install_type_enumv(); | |
ppiVar10[1] = piVar6; | |
*ppiVar10 = (int *)(ppiVar10 + 0x23); | |
ppiVar10[-1] = (int *)0x5524b; | |
_ZN15CPT_FEATURE_MGR21get_license_type_nameE21VER_INSTALL_TYPE_ENUM(); | |
*ppiVar10 = (int *)(ppiVar10 + 0x22); | |
ppiVar10[-1] = param_1 + 7; | |
/* try { // try from 0005525c to 00055260 has its CatchHandler @ 000558a0 */ | |
ppiVar10[-2] = (int *)0x55261; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6appendERKS5_(); | |
ppiVar10[1] = (int *)0x0; | |
*ppiVar10 = (int *)0x1; | |
ppiVar10[-1] = (int *)(ppiVar10 + 0x22); | |
ppiVar10[-2] = (int *)0x55280; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE5_TidyEbj(); | |
ppiVar10[0x29] = (int *)0x3; | |
*ppiVar10 = (int *)(ppiVar10 + 0x29); | |
ppiVar10[-1] = param_1 + 0x24; | |
/* try { // try from 0005529f to 000553fd has its CatchHandler @ 000558ec */ | |
ppiVar10[-2] = (int *)0x552a4; | |
_ZN11_Dinkum_std6vectorI15CPT_HOSTID_TYPE17MEM_STL_ALLOCATORIS1_EE9push_backERKS1_(); | |
*ppiVar10 = (int *)(ppiVar10 + 0x14); | |
ppiVar10[-1] = param_1 + 0x28; | |
ppiVar10[-2] = (int *)0x552ba; | |
_ZN11_Dinkum_std6vectorINS_12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEEES4_IS 6_EE9push_backERKS6_ | |
(); | |
param_1[0x2c] = 1; | |
ppiVar10 = ppiVar10 + -1; | |
} | |
*ppiVar10 = param_1; | |
ppiVar10[-1] = (int *)0x552f1; | |
piVar6 = (int *)_ZN11CPT_MANAGER16get_lock_versionEv(); | |
ppiVar10[3] = (int *)0xffffffff; | |
ppiVar10[2] = (int *)0x0; | |
ppiVar10[1] = piVar6; | |
*ppiVar10 = param_1 + 0x1c; | |
ppiVar10[-1] = (int *)0x55310; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE6assignERKS5_jj(); | |
param_1[0x34] = 0; | |
ppiVar10[1] = (int *)0x0; | |
*ppiVar10 = (int *)iVar8; | |
ppiVar10[-1] = (int *)0x5532a; | |
_ZN15CPT_FEATURE_MGR9incrementEj(); | |
ppiVar4 = ppiVar10; | |
uVar11 = CONCAT44(local_f0,local_f8); | |
} | |
} | |
LAB_00055835: | |
ppiVar4[2] = (int *)0x0; | |
ppiVar4[1] = (int *)0x1; | |
*ppiVar4 = (int *)(ppiVar4 + 0xe); | |
ppiVar4[-1] = (int *)0x55851; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE5_TidyEbj(); | |
local_f0 = (undefined4)((ulonglong)uVar11 >> 0x20); | |
local_f8 = (uint)uVar11; | |
ppiVar4[2] = (int *)0x0; | |
ppiVar4[1] = (int *)0x1; | |
*ppiVar4 = (int *)(ppiVar4 + 0x15); | |
ppiVar4[-1] = (int *)0x5586d; | |
_ZN11_Dinkum_std12basic_stringIcNS_11char_traitsIcEE17MEM_STL_ALLOCATORIcEE5_TidyEbj(); | |
local_f0 = (undefined4)((ulonglong)uVar11 >> 0x20); | |
local_f8 = (uint)uVar11; | |
if (param_1[2] == 0) { | |
param_1[2] = 6; | |
} | |
LAB_0005587a: | |
/* no */ | |
return param_1[2]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment