|
You last visited: Today at 09:14
Advertisement
Catch ASM function
Discussion on Catch ASM function within the Nostale forum part of the MMORPGs category.
10/16/2016, 20:20
|
#1
|
elite*gold: 30
Join Date: Oct 2013
Posts: 69
Received Thanks: 11
|
Catch ASM function
Hello,
I'm actually trynna understand ASM around NosTale. But i'm a bit confused, I don't know if I'm injecting correctly or if I'm missing something. And I don't know how to catch few function although they look easy. Anyone could explain me how he does such things on cheat engine? And give me few explanations?
here or through skype : mattisb33
|
|
|
10/16/2016, 21:32
|
#2
|
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
|
What do you mean by catch function?
If you mean find addy of function just put breakpoint eg. memory breakpoint in cheat engine(right mouse button -> check what write/access to this addy) and you will get list of every function that write/acc this addy. Then you can look on this in debugger. This is one of hundreds possibility
|
|
|
10/17/2016, 21:03
|
#3
|
elite*gold: 30
Join Date: Oct 2013
Posts: 69
Received Thanks: 11
|
Evening Walross.
I mean for example get the function who cast a skill then try it on cheat engine by using auto asssembly. You know what I mean?
|
|
|
10/18/2016, 05:08
|
#4
|
elite*gold: 0
Join Date: Sep 2015
Posts: 480
Received Thanks: 529
|
Quote:
Originally Posted by Rifuge
Evening Walross.
I mean for example get the function who cast a skill then try it on cheat engine by using auto asssembly. You know what I mean?
|
You are the welcome.
Run odbg110, attach NostaleX.dat, search for string (packet), set a breakpoint and step back. What you need is the call to the function, check stack for return address and scroll up an instruction.
|
|
|
10/19/2016, 10:15
|
#5
|
elite*gold: 30
Join Date: Oct 2013
Posts: 69
Received Thanks: 11
|
Mornin SystemX64,
Thanks for answering, from odbg, do I can Inject ASM through client? Basically, before implement asm into my code, I wanna understand clearly how it works through soft like CE or odbg. Oh, and do what do you mean by check stack? Basically anything with "push" and "pop" instruction?
|
|
|
10/19/2016, 13:21
|
#6
|
elite*gold: 64
Join Date: May 2011
Posts: 1,228
Received Thanks: 847
|
I think u should learn assembler, instead of asking after instructions.
When u learnt it, you know what the stack is. After that u know what "pop" and "push" is...
And so on... It's useless to use a debugger like odbg without assembler knowledge.
It's useless to try to find functions in debugger without assembler knowledge.
|
|
|
10/20/2016, 02:23
|
#7
|
elite*gold: 30
Join Date: Oct 2013
Posts: 69
Received Thanks: 11
|
Well,
contrary to what you might think, I'm not a leecher I'm currently learning and I've misspoken, I admit it. However, I started learning ASM lately and I imagined it as such:
Push pushes an address on a plate stack basically, and Pop pull out this adress from the stack.
I didn't say that I don't know how stacks work. I just need a clue, cause I'm a bit lost and I roughly ran on NosTale.
|
|
|
10/20/2016, 23:04
|
#8
|
elite*gold: 0
Join Date: Sep 2015
Posts: 480
Received Thanks: 529
|
Quote:
Originally Posted by BladeTiger12
I think u should learn assembler, instead of asking after instructions.
When u learnt it, you know what the stack is. After that u know what "pop" and "push" is...
And so on... It's useless to use a debugger like odbg without assembler knowledge.
It's useless to try to find functions in debugger without assembler knowledge.
|
I do not agree, everything comes from experience.
|
|
|
10/21/2016, 00:45
|
#9
|
elite*gold: 64
Join Date: May 2011
Posts: 1,228
Received Thanks: 847
|
Quote:
Originally Posted by SystemX64™
I do not agree, everything comes from experience.
|
Yeah... That's right. I just wanted to say, that he/she needs the basics.
It's toooo hard without.
(I agree with you )
|
|
|
10/21/2016, 07:08
|
#10
|
elite*gold: 0
Join Date: Sep 2015
Posts: 480
Received Thanks: 529
|
Quote:
Originally Posted by BladeTiger12
Yeah... That's right. I just wanted to say, that he/she needs the basics.
It's toooo hard without.
|
He/she needs a debugger, you can learn basics by doing and i am a living proof.
Quote:
Originally Posted by Rifuge
Well,
contrary to what you might think, I'm not a leecher I'm currently learning and I've misspoken, I admit it. However, I started learning ASM lately and I imagined it as such:
Push pushes an address on a plate stack basically, and Pop pull out this adress from the stack.
I didn't say that I don't know how stacks work. I just need a clue, cause I'm a bit lost and I roughly ran on NosTale.
|
Example
Code:
..
void __stdcall Function(int a, int b)
..
Call
Code:
..
push b // esp -= 4
push a // esp -= 4
call Function // esp -= 4
..
Stack
Code:
..
return address // <- esp
a
b
..
Function
Code:
..
push ebp // esp -= 4
mov ebp, esp // ebp = stack frame
add ebp, 8 // ebp += 8
..
Stack
Code:
..
ebp // <- esp
return address
a // <- ebp
b
..
Function
Code:
..
mov param1, dword ptr ds : [ebp]
mov param2, dword ptr ds : [ebp + 4]
..
|
|
|
10/24/2016, 16:05
|
#11
|
elite*gold: 30
Join Date: Oct 2013
Posts: 69
Received Thanks: 11
|
SystemX64, thanks you. Things are clearer !
|
|
|
10/24/2016, 17:23
|
#12
|
elite*gold: 0
Join Date: Sep 2015
Posts: 480
Received Thanks: 529
|
Quote:
Originally Posted by Rifuge
SystemX64, thanks you. Things are clearer !
|
You should also read https://en.wikipedia.org/wiki/X86_calling_conventions
If you have questions you can contact me in private, happy to help anyone who wants to learn.
|
|
|
|
Similar Threads
|
std::function of a function returning an std::function
11/11/2013 - C/C++ - 19 Replies
Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann.
Ich verzweifle an Folgendem Vorhaben:
#include <Windows.h>
#include <string>
#include <iostream>
using namespace std;
|
Running Function 2 after Function 1 finished
09/15/2013 - AutoIt - 3 Replies
Hey, its me again.
Im stuck on a problem since yesterday and as much as i hate to ask for help, i really dont know what else to try. I want Function 2 to run after Function 1 has finished. I tried GuiCtrlSetOnEvent and MsgLoop, but i dont really understand it. I tried to read tutorials but they didnt help at all.
The line that are underline is what im talking about. I want gamestart() to run first and when its finished, i want iniviteteam() to run.
#AutoIt3Wrapper_UseX64=n...
|
[VIP-function] ToxicSYS [VIP-function]
08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
heeeey E-pvpers :pimp:
this is a new hack by TSYS
Status : UNDETECTED
Functions (VIDEO) :
YouTube - WarRock - Bikini event VIP hack
|
What are 'GM's? Can they catch me?
03/25/2008 - Dekaron - 10 Replies
I've heard they catch you in dungeons but I don't understand how.
|
All times are GMT +2. The time now is 09:14.
|
|