I was not able to post the full code because of char num restriction on here but here it is with IDA pseudo + C++ src.
https://pastebin.com/YaeqP7Kh |
==> |
name - license
serial - 7110108739
u32 run_logic( const char * name_to_gen)
{
a get_name_length = [ name_to_gen ]()-u32
{
char * transformed = (char*) name_to_gen;
u32 length = 0;
for ( u32 i = 0; name_to_gen [ i ]; ++i )
{
length++;
}
ret length;
};
u32 name_len = get_name_length( );
u32 unk = 0;
for ( u32 i = 0; i |
==> |