Adding a tool for decrypting strings however I'm not familiar with ida python or python in general. so you have to enter strings manually. In the database there is a func named Main2, it looks like some forum of memory communication by writing to something however it is not used
25 lines
383 B
C++
25 lines
383 B
C++
|
|
#include <iostream>
|
|
#include <defs.h>
|
|
|
|
void Decrypt(int a1, int size)
|
|
{
|
|
unsigned int i; // [esp+10h] [ebp-4h]
|
|
|
|
for (i = 0; i <= (size - 2); ++i)
|
|
*(char*)(a1 + i) ^= (char)i + 3;
|
|
*(char*)(a1 + (size - 1)) = 0;
|
|
}
|
|
|
|
|
|
int main()
|
|
{
|
|
char string[] = "Pgdhiagm+jb|/";
|
|
|
|
Decrypt((int)string, sizeof(string));
|
|
|
|
std::cout << string << std::endl;
|
|
|
|
return 0;
|
|
}
|