The downhills are the race
Western States climbs more than 18,000 feet and drops nearly 23,000. You finish a long way below where you started, and the descents are what wear you out.
The first big climb comes right away. You go up about 2,550 feet in the first 4.5 miles to Emigrant Pass at about 8,750 feet. After that the course trends down through steep canyons. If your quads are not ready, the runnable miles after the river turn into a walk.