Hello, I'm trying to break a edited sprite file. Since my asm knowledge is poor, i'm asking for help, but i'm not asking you to give me the full solution, just give some tips and answers if you can.

That's is what I have atm..

Main sprite reader block (left is original client, right edited)


Another block, the edited block in image 1 jumps here (left is original client, right edited)


original client = add 3 to EBX and go on
edited client = jumps to another edited block, mess with EAX, EBX and ECX, add 3 to EBX, jumps back to original block

What I guess, the edited block in second image was nothing to do with sprites, it's edited to act like a "pixel encryptor".

I can't figure out how those AL, BL, CL registers behave.
AL = EAX?
BL = EBX?
CL = ECX?
0A7 is a "key" combined with operations?

Note: I can open the sprite file with common tibia tools, but the colors are all messy