Categories
- BackTrack (1)
- Bot (1)
- BotNet (1)
- Browser (1)
- C/C++ (11)
- C/C++ Source (7)
- Cracking (10)
- Download (1)
- Facebook (4)
- Google Chrome (1)
- Hacking (13)
- how TO (11)
- IRC (1)
- Java (8)
- Java Source (7)
- Keylogger (5)
- ocx (1)
- Phreaking (1)
- Programming (13)
- RAT (1)
- Skype (1)
- SMS (1)
- Source Code (15)
- Tutorial (12)
- VB6 (1)
- Virus (2)
- WEP (2)
- WiFi (2)
- Win7 (1)
- Windows (2)
[C/C++ TUTORIAL] ASM Call A Function
So as maybe everyone knows C++ cannot be reflected, but it can be disassembled using the right tools. This disassembler I use is called IDA Pro. I use Cracked version 6.1 including a DECOMPILER. PM me if you want it.
Step 1. The function
So we are going to look at a function we're going to call.
The function I'm gonna use is from a game called WARROCK. We are going to pop up a in-game messagebox displaying custom text on it.
We open Warrock in IDA. (You can get the unpacked version at the bottom of this topic)
We will press ALT + T and search for this: 418B85, you will see this code
as you can see, there's only 1 argument taken here, and that is the text.
So to 'call' this function, we need 3 ASM functions.
We want to write the text "Hello, Spike2147 was here!"
So we declare:
And you're all set! you just passed a value from one program to the other.
Categories
C/C++,
Cracking,
Programming,
Tutorial
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment