Log in

View Full Version : VB API's What the heck are these ?


MaTRiX_2k
January 16th, 2001, 14:30
Hello All,

I have been trying to solve this crackme, called VB Crackme v 2.0 by
Eternal_Bliss (from http://crackmes.cjb.net). I am able to see my fake
serial being tossed around, but Iam unable to comprehend what is being
done with it. As a result Iam not able to solve the crackme.

These are some of the interesting API's I found out.
Please help me with them.I don't know what they do.
I know this is a very long list. If not an explanation of each of these
API's, please tell me the source from where I can learn about them, or
please explain only the important one's.

Any help will be greatly appreciated by this SuperDumb Newbie.

1.) __vbaVarMove
2.) __vbaFreeStrList
3.) __vbaI4Var
4.) __vbaVarCopy
5.) __vbaVarForNext
6.) __vbaFreeStr
7.) __vbaFreeObj
8.) rtcR8ValFromBstr
9.) rtcMidCharVar
10.) __vbaStrCmp
11.) __vbaVarTstEq
12.) __vbaVarCat
13.) __vbaFreeVar
14.) __vbaLenBstr
15.) __vbaFreeVarList
16.) __vbaEnd
17.) rtcAnsiValueBstr
18.) __vbaHresultCheckObj
19.) __vbaVarForInit
20.) __vbaObjSet

also WideCharToMultiByte & MultiByteToWideChar (I think these are very
interesting API's in the context of this crackme)

Sorry for the trouble. Hope I can share this knowledge you give me, with my fellow newbies.

Thankyou Once Again.

With Regards
MaTRiX

?ferret
January 16th, 2001, 21:37
Hola,

That's quite the list, so instead of going line by line, I'll just give you a nudge to help yourself a bit ;-)

Most API's are fairly self explanatory with a little thought...

var = variant (more or less...variable)
str=string
cmp=compare
free=release from memory(more or less)
alloc=allocate to memory
i4=4 byte integer (i think)
cpy=copy

etc.....

multibyte to widechar take a string from regular text(multibyte) to unicode(widechar format)

hope that helps you out a little

Eternal Bliss
January 17th, 2001, 05:55
http://ebliss.cjb.net