Native call wrapper

Joined
Apr 4, 2009
Messages
898
Reaction score
157
Download:

Description: You can now use over 200 native calls, without needing to import any outside function! View source code for a live demo with NtTerminateProcess being used.

The library supports all service packs for the following platforms (X86 and X86-64 alike):

- Windows NT 4.X
- Windows 2000 (Server/Workstation)
- Windows XP
- Windows 2003 Server
- Windows Vista
- Windows 2008 Server
- Windows 7 RC2

EDIT: Bugfix added.
 
Last edited:
Obfuscation trick:

Code:
FunctionY PROC
ADD ESP, 4
LEA EDX, [ESP + 4]
MOV ECX, FunctionX
ADD ECX, 1
JMP ECX
FunctionY

FunctionX PROC
DB 233
DB 205
DB 226
DB 4
DB 0
RETN
FunctionX ENDP

In this sample, Function X appears to be (For most disassemblers):

Code:
JMP 0044F3ED
RETN

However, thanks to the way it's accessed, it is actually:

Code:
INT 0x2E
ADD AL, 0
RETN

This is fairly straight forward to integrate; feel free!
 
Back