I have an Ideapad Gaming laptop by Lenovo, with an Intel(R) Core(TM) i5-10300H processor. On this laptop I have Windows 10 installed. To generate random numbers, I use the CryptGenRandom function. However, I found out that this function has been updated through the years. For example, in the past the algorithm used RC4 (see Wikipedia), but that algorithm contained a bug. The algorithm has been revised since then, but it has never been published. Does it still use an RC4 algorithm, or has it another name now? Is it the same on my laptop as on all other modern Windows laptops?
First of all, this API is deprecated, so this is not used on your modern laptop except for if you have legacy software, the manual for the modern API is here. It is 100% up to the programs that use the API on what cipher modes or the exact stream they pull out of, so I can't answer what the modern API uses.
To answer the question about the deprecated API, it depends on what version of Windows the API is on.
In Windows Vista with Service Pack 1 (SP1) and later, an implementation of the AES counter-mode based PRNG specified in NIST Special Publication 800-90 is used. In Windows Vista, Windows Storage Server 2003, and Windows XP, the PRNG specified in Federal Information Processing Standard (FIPS) 186-2 is used.