The Quran was written in a specific time and place, and it shows. You can see the 7th-century Arab world all over it, from the laws to the social rules. If it came from an all-knowing God, it wouldn't be so stuck in that one culture.
The real question is whether a divine message should rise above its time, not just echo the customs of a 7th-century desert society. An eternal God wouldn’t need to borrow so heavily from Arab tribal rules for laws and punishments. I just don't see that as revelation—it looks like a man shaped by his culture.
Laws for everything and a description of the afterlife? That just sounds like a man trying to answer every question people had back then. But look close, those laws are all about that same 7th-century desert society, not something timeless. That's exactly what a human religion would do.