Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decompiling Visual Basic Script 3

Status
Not open for further replies.

PWD

Technical User
Jul 12, 2002
823
GB
I've been left with a VERY IMPORTANT executable but can't find the source files. I've accessed a decompiler & it's produced the following:-

Code:
Public Function StartSysInfo()
'0041c7d1    55                      push ebp
'0041c7d2    8bec                    mov ebp, esp
'0041c7d4    83ec14                  sub esp, 14

' *** Reference to "__vbaExceptHandler"
'0041c7d7    68f6154000              push 004015f6
'0041c7dc    64a100000000            mov ax, word ptr fs:[00000000]
'0041c7e2    50                      push eax
'0041c7e3    64892500000000          mov dword ptr fs:[00000000], esp
'0041c7ea    81ecb8000000            sub esp, 000000b8
'0041c7f0    53                      push ebx
'0041c7f1    56                      push esi
'0041c7f2    57                      push edi

etc. etc.

but I'm not sure if this has really helped at all. Does anyone have any ideas what this all means?

Many thanks, Des.
 
It means that if you don't want to learn assembly language, you'd better find the source code.
 
Hmmm. So, is there any reasonable way of making use of this Assembly Code? Any Utility?

I've inherited a post which involves running & refining some VB & VB.NET programs. As far as I can tell they have been compiled and turned into .exe files & the original source files were on a virtual PC on a server which was rebuilt (wiped) some time ago. So, basically, I'm stuck with what I've got.

I can see that it may be 'easier' in the long run to start again and re-write the programs but as I'm an extreme novice at this I was hoping to be able to look at what my predecessor had done and sort of reverse-engineer his work. Alas I am thwarted in that line.

Des.
 
>VB.NET programs. As far as I can tell they have been compiled and turned into .exe

.NET programs do not get compiled into machine code. 'Compiled' .NET programs can be examined in detail with Reflector

>VB ... original source files ... wiped

Then you are more-or-less out of luck, I'm afraid. There is no effective decompiler for VB6
 
Thanks Guys. I've been there when I was searching this forum. Oh well. I'm well & truly stuffed. Better get learnin' & developin'. Many thanks, Des.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top