Inspect Pe Resources
inspect_pe_resourcesInspect a local PE32/PE32+ image's complete bounded resource tree without execution or a disassembler; returns resource IDs/names, payload ranges, SHA-256 hashes, and icon candidates.
Instructions
Inspect one explicit local PE32/PE32+ image's complete bounded type/name/language resource tree without executing it or opening a disassembler. Returns numeric IDs versus original UTF-16 names, directory/data-entry file locations, payload RVA/file ranges, complete SHA-256 hashes and static RT_GROUP_ICON image-resource candidates. Language fallback, image decoding and actual shell/window loading remain unobserved. Reads a stable regular file; malformed or ambiguous mappings, non-identical overlapping ranges and exhausted budgets return no partial success. Portable on supported Node hosts; no Windows SDK or engine installation required.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "/artifacts/application.exe"
},
"name": "inspect_pe_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute filesystem path to a PE image | |
| max_entries | No | Maximum resource directory entries to examine; exceeding the budget fails without partial success | |
| max_file_bytes | No | Maximum stable artifact bytes to read (default 64 MiB) |