KiFastSystemCall Wrapper - Call native functions with ease!

Results 1 to 9 of 9
  1. #1
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    Sounds nice. I'll look into it after the weekend.


  2. #2
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    Quote Originally Posted by Wizkidje View Post
    Sounds nice. I'll look into it after the weekend.
    What are doing on the very first post wizkid?
    Nice release?

    Edit: Woohoo! 2nd post!
    Ragezone is glitching. =\

  3. #3
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    Very useful for some situations, I shall translate this =P

  4. #4
    Account Upgraded | Title Enabled! EpikBaby is offline
    MemberRank
    Aug 2009 Join Date
    New YorkLocation
    486Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    Nice Release ^.~ 10/10. Lol

  5. #5
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    what is a wrapper, i dont understand what i found on google DD:

  6. #6
    Account Upgraded | Title Enabled! Guy is offline
    MemberRank
    Apr 2009 Join Date
    919Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    Update: http://www.sendspace.com/file/jjcq99

    x64 supported with VEH, x86 supported without inline ASM. Also, usage with the _Return variable is removed, the functions provided make much more sense.

  7. #7
    Account Upgraded | Title Enabled! Guy is offline
    MemberRank
    Apr 2009 Join Date
    919Posts

    KiFastSystemCall Wrapper - Call native functions with ease!

    [s]Download: http://www.sendspace.com/file/q4rzbl[/s]
    Update: http://www.sendspace.com/file/jjcq99

    Basically, this is a linear-C wrapper which allows you to call undocumented, native functions via a pre-defined macro. It's x64 compatible using VEH, and x86-compatible using inline ASM (Though, you can make a quick change to use VEH for x86 as well, should say, Microsoft drop support for inline-ASM in the x86 compiler).

    Usage:

    First, a call to SetServices() is needed which sets the "_Version" variable, designating what operating system the computer is running; supported thus far is NT4+, 2000, Win2k3s, XP, and Vista.

    Now you may begin making calls to native functions; however, it should be noted due to the way in which I setup functions, to access the last return value of a native function, you must access the _Return variable.

    e.g.

    Code:
    int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd )
    {
    	SetServices( );
    	_NtTerminateProcess( GetCurrentProcess( ), -1 );
    	if( _Return != 0 )
    		Sleep( 10000 );
    
    	return( 0 );
    }
    In the above example, SetServices( ) is called to initialize the _Version register. The function "_NtTerminateProcess" is called to terminate the current running process, with an exit code of -1 (0xFFFFFFFF). If the function fails to call, then the application will idle for 10 seconds.

    All native macros are prefixed with an underscore, as displayed, for compatibility reasons. Generically named variables I also prefixed with an underscore, for similar reasons.

    Any questions?

  8. #8
    Infraction Banned ArmaniStar is offline
    MemberRank
    Apr 2008 Join Date
    InyaPantsLocation
    2Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    Nice i think, lol

  9. #9
    Member AllahAkbar is offline
    MemberRank
    May 2010 Join Date
    in gunzLocation
    66Posts

    Re: KiFastSystemCall Wrapper - Call native functions with ease!

    Quote Originally Posted by Guy View Post
    [s]Download: http://www.sendspace.com/file/q4rzbl[/s]
    Update: http://www.sendspace.com/file/jjcq99

    Basically, this is a linear-C wrapper which allows you to call undocumented, native functions via a pre-defined macro. It's x64 compatible using VEH, and x86-compatible using inline ASM (Though, you can make a quick change to use VEH for x86 as well, should say, Microsoft drop support for inline-ASM in the x86 compiler).

    Usage:

    First, a call to SetServices() is needed which sets the "_Version" variable, designating what operating system the computer is running; supported thus far is NT4+, 2000, Win2k3s, XP, and Vista.

    Now you may begin making calls to native functions; however, it should be noted due to the way in which I setup functions, to access the last return value of a native function, you must access the _Return variable.

    e.g.

    Code:
    int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd )
    {
    	SetServices( );
    	_NtTerminateProcess( GetCurrentProcess( ), -1 );
    	if( _Return != 0 )
    		Sleep( 10000 );
    
    	return( 0 );
    }
    In the above example, SetServices( ) is called to initialize the _Version register. The function "_NtTerminateProcess" is called to terminate the current running process, with an exit code of -1 (0xFFFFFFFF). If the function fails to call, then the application will idle for 10 seconds.

    All native macros are prefixed with an underscore, as displayed, for compatibility reasons. Generically named variables I also prefixed with an underscore, for similar reasons.

    Any questions?
    what does this?.



Advertisement