ASM (Olly)

Posts 1–2 of 2 · Page 1 of 1
ASM (Olly)
Ok, so i was just messing around with olly and reverse engineering assault cube and i found this interesting function(atleast i think it's intresting):

Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
004225CF  |.  83C4 04       ADD ESP,4
004225D2  |.  68 6C1B4C00   PUSH OFFSET 004C1B6C                     ; ASCII "team score"
004225D7  |.  E8 349C0400   CALL 0046C210
If I move the value of eax into a variable will that mean that i moved the value of the team score into the variable. Like right after the last line, (let's say that this is my source code), could i write something like: mov TeamScore, eax
well if the function that was called in that code returns team score, then yes you most likley could. but it could be a void function that returns nothing. just follow the call in olly and look from there. you could also get an idea of what the function does by looking at other calls to it if you didn't want to try reversing the function.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us