char RandomChar( void ) { char result; if( rand( ) % 3 == 0 ) result = rand( ) % 10 + 48; else result = rand( ) % 26 + 65; return result; } void SteamIdThread( void ) { while( 1 ) { Sleep( 0x64 ); DWORD_PTR dwSteam = GetModuleBase( "Steam.dll" ); if( !dwSteam ) continue; srand( GetTickCount( ) ); for( int i = 0; i < 4; i++ ) { *( BYTE* )( dwSteam + 0x12C5C + i ) = RandomChar( ); } } }