MrAntiFun + WeMod Partnership Announcement

Bypassing xor encryptions Age of Mythology

MrAntiFun

Staff member
Website Admin
Joined
Apr 20, 2014
Messages
14,574
Reaction score
33,946
So this is for Age of Mythology,
Xor encryption is pretty simple here is some info ,

The instruction
Code:
xor eax,[edx+ecx*4]

the xor key is stored on eax , Simple way to bypass it

Code:
push esi
mov esi,461C3C00
xor esi,eax
mov [edx+ecx*4],esi
pop esi

461C3C00 is 9999 float .

P.S , This is used to set a new value , If you wanna edit a current value to add or subtract then you have to decrypt the value itself then make the changes then encrypt it again .
 


MrAntiFun + WeMod Partnership Announcement

Last edited:

Woohorses

Member
Joined
Feb 27, 2015
Messages
13
Reaction score
1
Sweet, I'm yet to come across xor encryption so far but when I do I'll be thanking you for this.
 

OshaoDar

Donor
Joined
Oct 2, 2014
Messages
97
Reaction score
36
Blimmey! Where did you learn to cast spells like that MrAntiFun
 
Top