Help me with ASM

Started by
11 comments, last by sasho648 11 years, 10 months ago
Can somebody translate this please??sad.png
Advertisement
I doubt you will find anyone to do your work for you here.

Also, it will not help you, you will not be able to extract the strings from the hashes.
unless you use it to do a brute force search as SimonForsman suggests, but thats not very practical for anything but very short strings.
Oh anyway the Ida pro do my work and i found the source. I improve it too. Here is it if somebody is curious:





signed int __cdecl STRING_GetHashValue(char* String)
{
signed int StrLen = strlen(String);
signed int Hash = StrLen;

for (int Indx(0); Indx<StrLen; ++Indx)
Hash ^= (Hash >> 2) + 32 * Hash + String[Indx];

return Hash;
}

This topic is closed to new replies.

Advertisement