| ||
The last 2 entries will be added on successfulregistration.
Lets go to have a closer look at this protectionroutine.
At this point, i was creating a dead listwith W32sadm, and i notice that there is no
"String Data References", is it a VB prog?
This program using the 16 bit functionGETDLGITEMTEXT to "read" the input.
Run Winwatch, fill any Code youlike.
1.When you've done this fire up Softice by pressing CTL-D.
2.Type: bpx getdlgitemtext then x to leave Softice.
3.Click on the 'OK' button.
4.Softice now breaks at the beginning of the 1st System Function GetdlgitemText.
5. pressx two times
Press 'F11'
We arein VBRUN300.DLL code !!!! It is a VB3 program !!!
If you've read Razzia's essay about "cracking all vb programs", i'll give here only the basicthings we need to do before we can go on..
You need to have this line in your "winice.dat"file :
Make sure you have a backup of the filebefore edit it !!
EXP=c:\windows\system\vbrun300.dll
AF5="^s 0 l ffffffff8b,ca,f3,a6,74,01,9f,92,8d,5e,08,e8,0e,06;"
(i'm using the ALT+F5,cause it was un-useble for me untill now - AF5="CLS;")
The first line is to let you break in SIin the VB3 code.
The second is to save you a lot of hand-writingwhile searching the right code we're
looking for, which is :
: 8BCA mov cx, dx
: F3A6 repz cmpsb
: 7401 je 8CB6
: 9F lahf
: 92 xchg ax,dx
: 8D5E08 lea bx, [bp+08]
: E80E06 call 92CB
So, after doing that, re-boot your computerto make SI to use this changes, rerun Winwatch, and follow the steps aboveuntill you are again in VBRUN300.DLL code.
Press the keys "alt+F5" together, SoftIcis looking in the VBRUN300 for the code,
and you get the "Pattern found at xxxx:yyyyyyyy".
Type u xxxx:yyyyyyyy" with the locationand offset it was. pay attention that this location will be different onany other computer. At the top of the code window there is the instructionsthat our search was about.
We want to break on this lines when theprogram gets here, so, type this :
bpx xxxx:yyyyyyyy with the location thatyou've got from the search, and type x to leave. SI breaks here :
: 8BCA mov cx, dx ;<--we are here !!
: F3A6 repz cmpsb ;<- here the strings in ds:si and es:di
: 7401 je 8CB6 ; are being compared
: 9F lahf
: 92 xchg ax,dx
: 8D5E08 lea bx, [bp+08]
: E80E06 call 92CB
Press F10 once, Doa 'ed es:di' and you will see the text being compared to the code
that you entered, but as i notice,it'snot the original ascii code, it's get somehow encrypted, and i can't saywhat is the real code, at this point keep press the F10 until you landon the je 8CB6
We did it !! we get the "thank you forregister" window.
Job done.
Try to use the key that in the "ini" filecan't be done, and i couln't tell how to "see" the real one in the VB code.
Can someone try to break this babe toget the real code and post his essay about it ? I'll put it beside theone i've wrote !!!
My thanks and gratitude goes to:-
The Sandman for all what he is doing forus, newbies.
Rhayader for helping me with Reverse CodeEngineering and
useful tips
Razzia for giving me the basic knolegeof how to start with VB programs