Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 01:16

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

Advertisement



Help understanding some ASM

Discussion on Help understanding some ASM within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2005
Posts: 20
Received Thanks: 0
I've collected the next batch of stupid questions i hope someone could help me shed some light on.

Basicly im trying to enterpret some very helloworld'ish basic code written in c++ code(vs2005, console app).



Truth be told, im fiddling with some codeinjection, evaluating different approaches, but i figure i'd get a little better at reading asm first.
The idea of this statement "cout<<"address :"<<IAmMethodOne<<endl;" was to print the address entry point of the function (the function i would later try to hook).
However a few shots of this code in olly shows





now, take the first two breakpoints in olly_page1. They're never hit! However the "cout<<"address :"<<IAmMethodOne<<endl;" statements prints those two address points, that is 401000 and 401030.
Why is that?
You'll also see that 4012D0 is called from these two places(and others), wich is the code that actually prints the characters to the console.
I assume 401080 is the 'real' entrypoint of my code/main.
in fact, i can nop the entire 401000 -> 401080 and it will have no consequence on the process.. weird!
abitofboth is offline  
Reply


Similar Threads Similar Threads
[HELP]Understanding Client DC
04/11/2010 - Dekaron Private Server - 0 Replies
as you guys know, i rarely come on here asking questions about stuff, but after days of searching, trial and error, pulling my hair out, etc, i cant figure out how to relate my findings with a fix. and what are my findings? as most p-servers do, i have what at first glance appears to be "random" client disconnects, they can/have/will be associated with skills, effects, animation etc. but pinpointing the exact reason why a client DC's is why im making this post, hopefully one of the more...
Help by understanding GWCA commands
12/08/2009 - GW Bots - 20 Replies
Hi, I have got some questions, because I work with GWCA since this week. 1.How I can get the id for the function: Cmd$(CA_DIALOG, id) --> Kilroy Quest Only autoIT: I do it with MouseClick( x, y) 2.How I can attack my target with a Skill from my Skillbar? Only autoIT: I do it with ControlSend(“Guild Wars”,””,””, “{3}”) My Char. Take a nearest target automatically and active his Skill 3 in the Skillbar.
Understanding the Packet System
09/04/2009 - Cabal Online - 2 Replies
can some plz explain it in german and/or exactlier (if possible cause i have some problems to understand how to this : http://www.elitepvpers.com/forum/cabal-main-discuss ions-questions/228983-understanding-packet-system- basics-packet-explained.html
[PSU] p-machinery: understanding and using
10/29/2006 - General Gaming Discussion - 0 Replies
Remember the PETE (robot) in your hostal? It's the PM allow you to used the warehouse, synthesis, and you can even raise it to be stronger, so that you can team up with it. #- Warehouse - This function allow you to move and manage the inventory items. And you will be able to take them out anytime. #- Raise PM - Under P-Machinary menu, select "Present an item" and select the item



All times are GMT +2. The time now is 01:17.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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