Found out the reason was Process Lasso.
Steam CPU affinity was set to 1-15 which excludes core 0 where all the input, sound, drivers whatever is processed (because of windows). So basically every game launched from steam inherits it and Baldur's Gate apparently needs core 0 to launch with correct sound device and/or not to crash. Hope this helps someone.