Well if he did befriend solely Stalin yet still fought in ww1 than Hitler would still have that same fire and rage. He'd probably direct it elsewhere, most likely towards the blacks of Africa. Proclaiming that it was Germany's failure to properly drive out the blacks and settle it with superior Aryan and Slavic settlers, along with the betrayal of Jewish capitalist backstabbers add home. With his vision being to turn all of Africa into the future frontier for the Aryan race, who's resources shall provide prosperity for the Aryan worker for a thousand years.
Possibly add in some more socialist elements into ideology. With Hitler favoring the collectivization and cooperatives of small scale farms and industry.
"Let me tell you of the lands of Russia my fellow Aryan brother and sister workers. The lands of Russia are harsh, brutal and uncompromising lands, filled with countless hardships and trials. It is in these brutal lands that gave way to our kin the Slav, a strong and resilient race hardened by the adversities of this place. Not only surviving but thriving in this brutal landscape, eventually forging a glorious civilization in their own right. And so has our brethren have done in the past so shall we, the Aryan workers do. For south of our glorious cradle lies the savage and barbaric lands of Africa, fraught with countless trials and hardships but rich in resources immeasurable. A place that will not only harden our glorious race but also provide it with untold prosperity, that will last for a thousand years!!!"
-Adolf Hitler