Description
VB Decompiler is a reverse-engineering and source-recovery tool for Visual Basic 5.0/6.0 programs and .NET assemblies. It combines high-level decompilation, low-level disassembly, metadata inspection, a linked HEX Editor, and visual interface reconstruction. Typical uses include legacy software maintenance, incident response, malware analysis, and investigation of undocumented application behavior.

Supported code representations
- VB5/6 P-Code: reconstructs Visual Basic statements from the compiler's P-Code instructions and runtime operations.
- VB5/6 Native Code: disassembles x86 instructions and uses an internal emulator, runtime signatures, and heuristics to reconstruct Visual Basic-like code.
- .NET: disassembles Common Intermediate Language (CIL, also called MS IL) and decompiles supported IL patterns into C#-like code, irrespective of the original .NET source language. Native x86 and x64 code in .NET assemblies can also be disassembled.
The .NET analysis engine does not require the .NET runtime or Reflection for code analysis or visual form reconstruction.
Analysis tools
Use procedure and text search, cross-references and variable renaming, and String References to investigate behavior. The visual viewer reconstructs classic VB forms, .NET Windows Forms, and WPF windows, pages, and user controls stored in compiled BAML resources.
Licenses with Tracing features provide step-by-step emulation of VB5/6 Native Code and P-Code. Licenses with Analytic features provide categorized reports for VB5/6 and .NET applications. AI Helper can process recovered VB5/6 or C# code using Ollama or the OpenAI API integration.
Interpreting recovered code
Compilation removes information such as comments, many local variable names, and some type and procedure metadata. Optimization and obfuscation can further change the code structure. The reconstructed listing supports code analysis and recovery. Verify important conclusions against disassembly, metadata, string references, and the surrounding procedures.
