Can anyone help me out with FlagCasino challenge?

Hi folks,

I’m a beginner so pardon my description of the challenge.
At the current stage i’m trying to use the same rand() generator and seeding it using characters and then comparing using the same logic as per the de-compiled code.
My search space is all ascii characters but i’m still unable to find the solution.