consultingmor.blogg.se

Battle for middle earth 2 keys
Battle for middle earth 2 keys










If the payload is incorrect, any match will automatically end after three minutes as punishment for not buying the game. The event is then signalled, and the game starts up.

battle for middle earth 2 keys

A message is posted to the game executable's main thread, with the message id as, wParam as 0, and lParam the handle to this memory-mapped file. The launcher then creates a 36-byte memory-mapped file and writes the decrypted payload into it. The launcher doesn't check if this is correct, which is the main part of the "copy-protection". If decryption is successful, the result should be. These modified keys are then used to decrypt the contents of, a 36-byte file in the game directory that is created by the installer. Using the infostring, it makes a copy of the game keys and does some processing on them.ĮDIT: I'm not game to give them out here publicly. These three properties are combined into what I call an "infostring", which is of the format:, ,.

  • , This key doesn't appear to exist on later versons of windows, so it just uses an empty string.
  • The registry is checked for the system's product id, located in:
  • , This is used to obtain the volume serial number of the drive it's installed on.
  • The registry is checked for the game's install directory, located in:
  • If one doesn't exist, it checks the other.
  • The registry is checked for the game's "electronic registration code" (ergc), located in: Next, the game executable is launched, which waits for the event above to be triggered.
  • Used to signal the game executable that the payload is ready.
  • battle for middle earth 2 keys

  • This is required to exist by the game executable.
  • When the launcher starts, it creates three objects:












    Battle for middle earth 2 keys