:cmpString1andString2
{
Example: 0AB1: call @cmpString1andString2 2 1@ 2@
In: 0@, 1@ - strings
Out: result 0/1
}
for 7@ = 0 to 1024
0A8D: 2@ = read_memory 0@ size 1 virtual_protect 0
0A8D: 3@ = read_memory 1@ size 1 virtual_protect 0
0@ += 1
1@ += 1
if 003B: 2@ == 3@
jf break
if and
2@ == 0
3@ == 0
then
0485: return_true
ret 0
end
end
059A: return_false
ret 0
{
Example: 0AB1: call @cmpString1andString2 2 1@ 2@
In: 0@, 1@ - strings
Out: result 0/1
}
for 7@ = 0 to 1024
0A8D: 2@ = read_memory 0@ size 1 virtual_protect 0
0A8D: 3@ = read_memory 1@ size 1 virtual_protect 0
0@ += 1
1@ += 1
if 003B: 2@ == 3@
jf break
if and
2@ == 0
3@ == 0
then
0485: return_true
ret 0
end
end
059A: return_false
ret 0