Results 1 to 1 of 1
  1. #1
    niloatlinux's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    C# Calling engine functions through assembly

    Hi there guys. This is my first post and I'm ashamed to ask for help but I have been struggling with this problem for over 24hours without any results.
    I have a working external C# hack which only reads and writes memory. I wanted to move on to the next step and call engine functions in order to do some new stuff, this is where it all goes to hell.

    I have created a class which creates a remote thread to the dayz process and allocates memory and injects some assembly into the stack and calls it. I found some example of how to start up calc through assembly and injected it in order to see if it worked, and it did.

    Since my knowledge in assembly is limited, everything in IDA is pretty much unknown to me. I've been trying to read about different instructions, register and common variables but i still have a hard time grasping what i should do in order to call a function.

    Is there any kind soul who can give me a example of some assembly code to call any function in the current 0.49 stable patch? I just want to see how it works so i can trace the pointer to the function in IDA and study it.

    For some reason i'm missing the pseudo-code plugin which makes it even harder to understand what different functions does.

    thank you in advance
    Best regards nilo
    Last edited by niloatlinux; 10-06-2014 at 06:53 PM.

Similar Threads

  1. [Source Code] Call native functions using delegates
    By Sam... in forum C# Programming
    Replies: 0
    Last Post: 08-21-2014, 03:55 PM
  2. How to find function through call
    By NB81 in forum Assembly
    Replies: 3
    Last Post: 11-17-2013, 03:00 PM
  3. Call a function before exit
    By Sixx93 in forum C++/C Programming
    Replies: 0
    Last Post: 07-24-2013, 05:29 AM
  4. Call game function by it's address from specified class.
    By down.by.the.river in forum C++/C Programming
    Replies: 0
    Last Post: 04-22-2013, 03:19 AM
  5. [REQUEST] Call Inject function [Solved]
    By jajarem64 in forum Visual Basic Programming
    Replies: 3
    Last Post: 01-24-2011, 08:34 AM