Short list of common API functions

The API functions can be categorized based on their purposes. A complete list can be found at the MSDN Library, but the most common ones are listed here:

Purpose

API functions

Console output KERNEL32!GetStdHandle, MSVCRT!printf
File handling KERNEL32!ReadFile, KERNEL32!WriteFile, KERNEL32!CreateFile
Memory management KERNEL32!VirtualAlloc, KERNEL32!VirtualProtect, MSVCRT!malloc
Process and threads KERNEL32!ExitProcess, KERNEL32!CreateProcess, KERNEL32!CreateThread, SHELL32!ShellExecute
Window management

USER32!MessageBoxA, USER32!CreateWindowExA, 

USER32!RegisterWindowMessageW

Strings MSVCRT!strlen, MSVCRT!printf
Network communication

WININET!InternetAttemptConnect, WS2_32!socket, WS2_32!connect, URLMON!URLDownloadToFile

Cryptography CryptDecrypt, CryptEncrypt
Registry RegDeleteKey, RegCreateKey, RegQueryValueExW, RegSetValueExW

 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.12.240