in case of mov [ebx+10],esi it's simple to create a hook by doing
mov [testhook],ebx but....
mov [testhook],[esi+ebx*04] doesn't work.
How To Create Hook For Shit Like [esi+ebx*04-18]
-
- Cheater
- Posts: 49
- Joined: Fri Aug 25, 2017 1:05 pm
- Reputation: 11
-
- Table Makers
- Posts: 288
- Joined: Thu Aug 03, 2017 6:19 am
- Reputation: 133
Re: How To Create Hook For Shit Like [esi+ebx*04-18]
What should work would be :exassasinx wrote: ↑Fri Oct 19, 2018 6:23 pmin case of mov [ebx+10],esi it's simple to create a hook by doing
mov [testhook],ebx but....
mov [testhook],[esi+ebx*04] doesn't work.
Code: Select all
push eax
lea eax,[esi+ebx*04]
mov [testhook],eax
pop eax
-
- Cheater
- Posts: 49
- Joined: Fri Aug 25, 2017 1:05 pm
- Reputation: 11
Re: How To Create Hook For Shit Like [esi+ebx*04-18]
well eax is used
original code is
mov [esi+ebx*04-18],eax
original code is
mov [esi+ebx*04-18],eax
-
- Table Makers
- Posts: 288
- Joined: Thu Aug 03, 2017 6:19 am
- Reputation: 133
Re: How To Create Hook For Shit Like [esi+ebx*04-18]
then use for example edxexassasinx wrote: ↑Fri Oct 19, 2018 6:29 pmwell eax is used
original code is
mov [esi+ebx*04-18],eax
or any other register that isn't used in the script and isn't eip,ebp or esp
-
- Cheater
- Posts: 49
- Joined: Fri Aug 25, 2017 1:05 pm
- Reputation: 11
Re: How To Create Hook For Shit Like [esi+ebx*04-18]
how to know which stack/register isn't used...is it in black on toggled breakpoint?
-
- Cheater
- Posts: 49
- Joined: Fri Aug 25, 2017 1:05 pm
- Reputation: 11
Re: How To Create Hook For Shit Like [esi+ebx*04-18]
everything is red except edx
-
- Table Makers
- Posts: 288
- Joined: Thu Aug 03, 2017 6:19 am
- Reputation: 133
Re: How To Create Hook For Shit Like [esi+ebx*04-18]
As long as it isn't used in the script you're ok. As long as you push and pop itexassasinx wrote: ↑Fri Oct 19, 2018 6:31 pmhow to know which stack/register isn't used...is it in black on toggled breakpoint?
Re: How To Create Hook For Shit Like [esi+ebx*04-18]
Learn assembly language then you will know what to use and not.
Who is online
Users browsing this forum: No registered users