Petroleum wax. We use to make it where I worked. Spooky isn't it? Just about everything comes from crude oil. I'm sure there's a vegetable oil process too. We made big slabs of wax we sold to Hershey in making chocolate bar candy.
I believe the wax you are referring was used as a surface coating to make the chocolate (candy) hold a shine. Sorbitan esters (I think it was sorbitan tristearate) which are derived mostly from palm oil (or other vegetable oils) is the ingredient that is added to cocoa butter to retard the hardening during the tempering process. Did you use to work for this (fill in the blanks) company : U--Q--A? I have come acrosse their product line in a past life.
I worked for a petroleum plant as a machinist. Mostly outside on pumps, turbines, blowers, compressors, filtering processes. Yes I witnessed this process pluss handling and storage and shipping to other companies.