Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 11:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Pattern finding problem ESI,EAX,etc...

Discussion on Pattern finding problem ESI,EAX,etc... within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 28
Received Thanks: 45
Pattern finding problem ESI,EAX,etc...

Hello,

I'm currently looking for patterns in GW2. I already have 1 pattern & works perfectly. But in that one it gave me the bytes that i needed.

Gw2.exe+4DEC7B - D9 1D 4C226E01 - fstp dword ptr [Gw2.exe+12E224C]

But now all i can find for my next addresses&pointers are things like these

Gw2.exe+83C691 - C7 46 0C 01000000 - mov [esi+0C],00000001

Now.. the problem is that esi or any other stack, i can't seem the read the address that's stored inside it. I'm trying to find where it stored the address into esi. But i'm kinda new to assembly, (it's a push right, what i'm looking for?). But i can't seem to find it.

Please help me out here i'll happely share my bot, it's just annoying when i have to shift the addresses when a new patch comes out.

EDIT: Quick overview on how i try to make my patterns
1. find address&pointers i need for a certain value in the game.
2. search what writes to address->pointers->value
3. go to the address where it writes to address->pointers->value
4. Copy that address , open it in ollydbg
5. Use sig maker to get the pattern (making sure i only have 1 result)
6. Use c# to read the address using the pattern & how many bytes it has to skip
7. Check if address = address i found in step 1
cortexio is offline  
Old 04/04/2013, 12:45   #2
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736
u cant do this.

esi is a variable register, you cant get its variable content, by searching in code section.

you may do a hook at this position and then read esi @ runtime, or reverse what the content of esi will be at this moment.

esi will be filled most likely with a mov (move) or lea (load effective adress) instruction.
feel free to dump some asm output here.
Dr. Coxxy is offline  
Old 04/04/2013, 13:52   #3
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,876
Quote:
Originally Posted by Dr. Coxxy View Post
u cant do this.

esi is a variable register, you cant get its variable content, by searching in code section.

you may do a hook at this position and then read esi @ runtime, or reverse what the content of esi will be at this moment.

esi will be filled most likely with a mov (move) or lea (load effective adress) instruction.
feel free to dump some asm output here.
You can hook or just use Code-Caves.
In my opinion code caves are easier to use for that problem, but tastes differ.
If you are able to understand german or if you have got a good translator, you can have a look at:


There I explained how to use Code-Caves to e.g. get value of a register at a specific point in code.
Shadow992 is offline  
Old 04/04/2013, 14:46   #4
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736
autoit... -.-

codecave technically IS a hook (atleast the technique used to actually execute the codecave).
Dr. Coxxy is offline  
Old 04/04/2013, 15:06   #5
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,876
Quote:
Originally Posted by Dr. Coxxy View Post
autoit... -.-

codecave technically IS a hook (atleast the technique used to actually execute the codecave).
It is not AutoIt, I explained it for all languages.
Shadow992 is offline  
Old 04/04/2013, 19:56   #6
 
elite*gold: 0
Join Date: Jan 2010
Posts: 28
Received Thanks: 45
Thanks guys! This helped me alot ^^
cortexio is offline  
Reply


Similar Threads Similar Threads
[Regex] Problem mit Pattern
02/12/2013 - .NET Languages - 9 Replies
Hallo meine lieben, habe folgende zwei Probleme Dort möchte ich per Regex den Namen : johann.goldbaum Dieser ändert sich natürlich also .* ? Pattern:Dim ra As New Regex("<a class=""fbxWelcomeBoxBlock _8o _8s lfloat"" href=""http:\/\/www.facebook.com\/(?< name>(+))") Funktioniert nicht.
Gacha pattern + the problem in GCph forums...
03/17/2011 - Grand Chase Philippines - 38 Replies
gacha pattern tip: but P1000 load release it and when your scrolls goes to 1/2 - 3/4 activate auto-release mode... it may easy to have gacha items... it works... the problem in GCph forums: why i'm always banned there? is there anything wrong? wla naman akong nilalabag na forum rules eh... iwant to join comic strip contests pero ban na agad ako... why?... is because of flagging?... why?... need come comments for you guys... kamsa hamnida...
problem finding hair/showing
10/20/2010 - CO2 Private Server - 2 Replies
I added the FlowerSuits with effects and they work fine but the problem i have is getting the hair to show when they are Equipped, I have tryed looking how its done by trying to look at the goodluck. but could not find anything. i just need to know were i should be looking, if anyone could help that in 5165 Here is the pic:
i got a problem with finding a item, stored in npc
08/01/2010 - Kal Online - 6 Replies
yeah... my problem is this: i tryed to make a easy shophack on a pserver with following tut that was really easy to understand 6. Put at "Value type" > "Arrey Of Bytes" At the "16-bit , 32-bit , All" << PRESS ON ALL Vink the box at "Hyper search" 7. Now search this value : 3600370055005600BD 8. You got 1 address, Right Mouse on the address and press "Browse this memory Region" 9. You see a new window, Upper Section & The Below Section We are going to use the BELOW section ONLY
Finding the problem with this code...
10/16/2009 - AutoIt - 1 Replies
Hi, i was trying something basic with this code but it does not seem to work and i would like to know if any experienced people with AutoIT and user32.dll could help me out... i found this code in this forums and was trying to send "o down and up" to notepad basic getting it is handle using the window title. I DO realise that there is SEND and CONTROLSEND but that does not solve my problem it has to be with user32.dll Thanks for any help.



All times are GMT +2. The time now is 11:56.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.