I had the same problem for the longest time. I had to get the help of a Dell technician to fix it (thank goodness I bought the extended warranty). For me, it was the presence of an extra, older Windows system on my computer that hadn't been properly deleted when Windows upgraded from 10 to 11. On attempting to enter the game my system would then attempt to load the Alienware Command Center settings for the game (the add-on that comes with Alienware systems that allow you to tweak system settings like overclocking and external lights). The computer would then get confused by this and would freeze up. I had to wipe my disk totally clean and do a full reinstall of the factory state. That fixed it right up.
The generation of random numbers is too important to be left to chance.