| View previous topic :: View next topic |
| Author |
Message |
neko How do I cheat?
Reputation: 0
Joined: 09 Aug 2010 Posts: 4
|
Posted: Mon Aug 09, 2010 6:09 am Post subject: how to get EDX? |
|
|
Hi
I need help with this opcode, i write a bot in autoit and i need offset stored in EDX
005CBF76 - mov [edx],ax
how to capture EDX, couse after mov edx is cleared. Is there a way to write a trainer in CE and send EDX every time when it change to a memory buffer?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25814 Location: The netherlands
|
Posted: Mon Aug 09, 2010 6:50 am Post subject: |
|
|
do a code injection script at 005CBF76
and then write the value of edx to a known static location (00400500 is my favorite static address, but don't forget to make use of fullaccess(staticaddress,4) first to make sure it's writable)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
neko How do I cheat?
Reputation: 0
Joined: 09 Aug 2010 Posts: 4
|
Posted: Mon Aug 09, 2010 10:28 am Post subject: |
|
|
Thanks for response. I made it
| Code: |
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
005CBF76:
jmp newmem
nop
nop
nop
nop
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
fullaccess(Main.exe+500,256)
mov edx, 00400500
originalcode:
mov [edx],ax
cmp [ebp-04],00001c0f
exit:
jmp returnhere
|
but there is something wrong and I don't get it. When I set break point on
005CBF76 - 66 89 02 - mov [edx],ax
after executing registers are
| Code: |
EAX 00001809
EBX 0DAC9FB0
ECX 07BB8CA6 <--address
EDX 07BB8CA6 <--address
|
and all i get under 00400500 is 1809 from EAX but i want address 07BB8CA6 from EDX. Did I miss something?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25814 Location: The netherlands
|
Posted: Mon Aug 09, 2010 11:34 am Post subject: |
|
|
That overwrites edx with the value 00400500
what you want is
| Quote: | | mov [00400500],edx |
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
neko How do I cheat?
Reputation: 0
Joined: 09 Aug 2010 Posts: 4
|
Posted: Sat Aug 14, 2010 3:36 am Post subject: |
|
|
Hi again
Heh its too fast! Autoit can read only last address stored in 0x00400500, becouse that opcode overwrites results. What im trying to do now
| Code: |
base_address = 0x00400500
mov [base_address],edx
add base_address,4
if base_address == 0x00400D00 then
base_address = 0x00400500
endif
|
How to declare base_address and how store increased base_address? Point me to the right direction please.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25814 Location: The netherlands
|
Posted: Sat Aug 14, 2010 5:25 am Post subject: |
|
|
| Code: |
alloc(newmem,2048) //2kb should be enough
alloc(base_address,4)
label(returnhere)
label(originalcode)
label(exit)
label(noreset)
base_address:
dd 00400500
005CBF76:
jmp newmem
nop
nop
nop
nop
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
fullaccess(Main.exe+500,256)
push eax
mov eax,[base_address]
mov [eax],edx
add eax,4
cmp eax,00400d00
jb noreset //if below don't reset
mov eax,00400500 //reset back
noreset:
mov [base_address],eax
pop eax
originalcode:
mov [edx],ax
cmp [ebp-04],00001c0f
exit:
jmp returnhere
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
neko How do I cheat?
Reputation: 0
Joined: 09 Aug 2010 Posts: 4
|
Posted: Sat Aug 14, 2010 7:03 am Post subject: |
|
|
| Thank You very much!
|
|
| Back to top |
|
 |
uldbridt How do I cheat?
Reputation: 0
Joined: 03 Nov 2008 Posts: 3 Location: Amsterdam
|
Posted: Thu Aug 19, 2010 6:04 am Post subject: tutorial search!! |
|
|
Is there a tutorial where you explain all off that
including what eax, move and all of that
Im really interested in learning all of that
ty for ur understanding
|
|
| Back to top |
|
 |
|