Log in

View Full Version : How to write the common.arg


helloword
September 2nd, 2003, 11:07
In VB 6 the function vbaVarCmpEq compare two variables and the code source should be

Dim Var1 as String
Dim Var2 as String

Var1 = 10
Var2 = 20

If Var1 = Var2 then
Do something
End if

This is a possible example assembler code

lea ecx, dword ptr ss:[ebp-100]
push ecx ; (Var1 = 10)
lea edx, dword ptr ss:[ebp-90]
push edx ; (Var2 = 20)
call near dword ptr ds:[<&MSVBVM60.__vbaVarCmpEq>] ; (If Var1 = Var2 then)

OK I have a simple question.
Can someone write the common.arg file for me to better understand how does it work.
Thank you in advance

Anonymous
September 2nd, 2003, 15:03
No

Anonymous
September 2nd, 2003, 21:43
Tutorial on www.bugsroup.com ("http://www.bugsroup.com") is go on this point.

Teerayoot
September 2nd, 2003, 21:50
Yes,just make a little modification it can fit that function.

Teerayoot
September 2nd, 2003, 21:52
All function can make a custom function even parameter as a pointer.

Read Ollydbg help file ,Oleay explain so well an easy to understand.

Ricrado Narvaja
September 3rd, 2003, 01:53
Well i try with this function and read the great Terrayoot tut, but this function __vbaVarCmpEq is very different to the __vbaStrCmp of the tut, i read too ollydbg help and with this type of function (with parameters in locations far in the stack, not in the common position in the top of the stack), i think not is possible make a custom description with the posiibilities descripted in the help of ollydbg, maybe any possibility was not mentioned. I don't know if any can make a custom description for this type of functions plis copy here i try and i can't make nothing.
Thanks
Ricardo