Advertisement
Guest User

Untitled

a guest
Dec 1st, 2024
6,552
1
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 3.54 KB | Cybersecurity | 1 0
  1. void FUN_10092920(void)
  2.  
  3. {
  4.   char cVar1;
  5.   int iVar2;
  6.   undefined4 uVar3;
  7.   char *pcVar4;
  8.   undefined8 local_18;
  9.   int steam_id;
  10.   undefined4 local_8;
  11.  
  12.   Msg(" \n");
  13.   local_8 = 0xff00ffff;
  14.   ConColorMsg((Color *)&local_8,
  15.               "\n======================================== VERIFY SYSTEM LOG ======================== =======================\n\n"
  16.              );
  17.   cVar1 = (**(code **)(*DAT_106cfc3c + 0x100))();
  18.   if (cVar1 == '\0') {
  19.     local_8 = 0xff0000ff;
  20.     pcVar4 = "   Sys Video - LOW \n";
  21.   }
  22.   else {
  23.     local_8 = 0xff00ff00;
  24.     pcVar4 = "   Sys Video - FINE \n";
  25.   }
  26.   ConColorMsg((Color *)&local_8,pcVar4);
  27.   iVar2 = (**(code **)(*cvar + 0x34))("mat_queue_mode");
  28.   if (*(int *)(*(int *)(iVar2 + 0x1c) + 0x30) == 0) {
  29.     local_8 = 0xff00ffff;
  30.     pcVar4 = "   Sys Processor (1 Core Mode) - LOW \n";
  31.   }
  32.   else {
  33.     local_8 = 0xff00ff00;
  34.     pcVar4 = "   Sys Processor - FINE \n";
  35.   }
  36.   ConColorMsg((Color *)&local_8,pcVar4);
  37.   (**(code **)(*DAT_106cfc3c + 0x80))();
  38.   local_8 = 0xff00ff00;
  39.   ConColorMsg((Color *)&local_8,"   DirectX 9 Mode - FINE \n");
  40.   iVar2 = (**(code **)(*DAT_106cfc3c + 0x80))();
  41.   if (iVar2 < 0x50) {
  42.     local_8 = 0xff0000ff;
  43.     pcVar4 = "   Sys DX level is - LOW (UNCOMPATIBLE MODE) \n";
  44.   }
  45.   else {
  46.     local_8 = 0xff00ff00;
  47.     pcVar4 = "   Sys DX level is - FINE \n";
  48.   }
  49.   ConColorMsg((Color *)&local_8,pcVar4);
  50.   Msg(" \n");
  51.   Msg("   OS Windows \n");
  52.   Msg("   Platform PC (Windows) \n");
  53.   local_18 = FUN_103e82b1(0);
  54.   uVar3 = FUN_103e8244(&local_18);
  55.   Msg("   Current Date: %s \n",uVar3);
  56.   (**(code **)(**(int **)PTR_DAT_105fca78 + 8))(&steam_id);
  57.                     /* http://steamcommunity.com/id/Light_Kill */
  58.   if (steam_id == 35072778) {
  59.     local_8 = 0xffff007f;
  60.     ConColorMsg((Color *)&local_8,"   DEV PLAYING - BJ \n");
  61.   }
  62.                     /* http://steamcommunity.com/profiles/76561198314894208
  63.                        Reaper */
  64.   if (steam_id == 354628480) {
  65.     local_8 = 0xffff007f;
  66.     ConColorMsg((Color *)&local_8,"   DEV PLAYING - TWI \n");
  67.   }
  68.                     /* http://steamcommunity.com/profiles/76561198434555556
  69.                        Obsolete */
  70.   if (steam_id == 474289828) {
  71.     local_8 = 0xffff007f;
  72.     ConColorMsg((Color *)&local_8,"   DEV PLAYING - OBS \n");
  73.   }
  74.                     /* IF one of thoose three - enable some kind of developer mode */
  75.   if (((steam_id == 35072778) || (steam_id == 354628480)) || (steam_id == 474289828)) {
  76.     iVar2 = (**(code **)(*cvar + 0x34))("oc_dev_646576656c6f706572");
  77.     (***(code ***)(iVar2 + 0x18))(1);
  78.   }
  79.                     /* Check for anticitizens:
  80.                        https://steamcommunity.com/id/noclicks
  81.                        https://steamcommunity.com/id/scolcer
  82.                        http://steamcommunity.com/id/Keron
  83.                        https://steamcommunity.com/id/RadHaz_DarkNGritty */
  84.   if (((steam_id != 396014311) && (steam_id != 6749166)) &&
  85.      ((steam_id != 30299103 && (steam_id != 121070924)))) {
  86.     local_8 = 0xff00ffff;
  87.     ConColorMsg((Color *)&local_8,
  88.                 "\n================================================================================= ==========================\n"
  89.                );
  90.     Msg(" \n");
  91.     iVar2 = (**(code **)(*cvar + 0x34))("oc_dev_756e636f6d70617469626c65");
  92.     if (*(int *)(*(int *)(iVar2 + 0x1c) + 0x30) != 1) {
  93.       return;
  94.     }
  95.     Error("Upgrade your PC, the current hardware is just ridiculous");
  96.   }
  97.   Error("STOP talking SH1T about us");
  98.                     /*
  99.                         */
  100.   return;
  101. }
Advertisement
Comments
  • morpheus_017
    2 days
    # text 0.12 KB | 0 0
    1. All comments ("Check for anticitizens:") are not in binary, they are added by user who did reverse engineering of client.dll
  • Scotishbro
    2 days
    # text 0.19 KB | 0 0
    1. Estalking the people who gave your mod criticism and coding in their steam IDs to crash the mod is a whole new level of petty I didn't think was possible. This mod needs to get removed for this.
Add Comment
Please, Sign In to add comment
Advertisement