Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Battle: Los Angeles - encrypted files

Featured Replies

  • Author
  • Localization

fignyafsyakaya, posted Fri Feb 17, 2023 3:18 am (75445)


So, ALL the game files (except exes and dlls) turned out to be encrypted with something using xor.
Due to incomprehension of the game disassembling, I tried to brute-force the key and managed to reveal just a part of it.

After I use it on any file in the attachment, it really does decrypt a part:
Code:
encryption xor "\xBB\x0B\xFD\x7D\x4F\x22\x80\x29\x65\x35\x89\xC9\xA8\x6F\x63\x4A\xCC\x0A\xEC\x53\xDB\x1C\xC6\x86\x59\x6A\x57\x8D\x73\x6E\x4F\x5B\x5E\xC1\x7F\x1E\xB0\xB4\x9E\x09\x15\x8F\x82\x24\x01\x08\x80\x51\x93\x2D\x61\x29\x48\x99\x36\xC4\x96\x9F\x4C\x08\x81\xDA\x52\x1D\x6B\x80\x0F\x6E\xF4\xD9\x9C\x62\x18\xD4\xDA\x7E\x2C\x58\x6A\x2E"
get SIZE asize
get NAME basename
string NAME = ".dec"
log NAME 0 SIZE


But now I seemed to reach the dead-end, because I don't have any idea of revealing the rest of the key (which seems to be quite long to be brute-forced).

P.S. Also, it looks like the different versions of this game use different keys - the one in the attachment is a retail one, which seems to differ from the Steam one, as far as I could see.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.