Features
From offline lookups to live execution: a single tool that removes the browser round-trips from your reversing workflow.
- Structured documentation
- Signature, parameters, return values and remarks scraped from Microsoft Learn into clean, parseable output.
- Live WinAPI execution
- Call any exported function via
ctypeswith typed returns, buffer allocation, hexdumps andGetLastErrorreporting. - 61k+ mapping database
- A massive function→header index with heuristic classification resolves APIs even when search comes up empty.
- Multiple output formats
- Rich terminal,
JSONand Markdown output, all localized, so results drop straight into scripts and notes. - English and Portuguese
- Full bilingual docs with
-l br: signatures, parameter tables and remarks all translate together. - Fast and cached
- Async HTTP with ETag conditional caching and a self-learning URL cache keep repeat lookups near-instant.
Usage
Look it up, then run it. Documentation mode is cross-platform. Execution mode runs the real API on Windows.
Documentation mode cross-platform
Resolve any Win32, NTAPI or driver function to its full signature and reference. No browser required.
$ manw-ng CreateProcessW
$ manw-ng -l br NtCreateFile --tabs
$ manw-ng RegOpenKeyExW -o markdownExecution mode windows-only
Invoke live APIs with module shortcuts, typed returns, writable buffers and error inspection.
$ manw-ng exec u:MessageBoxW 0 "Hi" "MANW-NG" 0
$ manw-ng exec u:GetCursorPos '$b:8'
$ manw-ng exec k:OpenProcess 0x0400 0 4242 --show-errorLookup pipeline
Each request cascades through five fallbacks until an authoritative match is found.
- Learn Search Queries the official Microsoft Learn Search API first.
- Smart URLs Generates and validates candidate doc URLs from patterns.
- Classifier Heuristic header classification maps the function name.
- Catalog Falls back to the bundled internal API catalog.
- Offline map Resolves from the 61k+ offline JSON mapping as last resort.
Numbers
| Metric | Value |
|---|---|
| Function→header mappings | 61k+ |
| Fallback lookup stages | 5 |
| Languages | EN / PT-BR |
| Output formats | 3 |
Install
Clone, install, and you get the manw-ng console command.
$ git clone https://github.com/marcostolosa/manw-ng.git && cd manw-ng && pip install -e .- Requires Python 3.11+ and pip.
- Documentation mode runs anywhere: Linux, macOS, Windows.
- Execution mode needs a native Windows Python interpreter.
Links
Reverse engineer the Windows API, faster. Star it on GitHub, file an issue, or send a pull request.