ChinaMark,
I hope you don't mind, but I used your two images to take a crack at it.
Based on what I've seen people do and based on some very sophisticated workflow being discussed (which for the life of me I can't never seem to remember...), I decided to simplify the workflow. This,
lkroll, is basically the same as yours except that I didn't use scripts. It is one less thing for me to remember :-)
I don't mean to imply that I came up with this: there is nothing new or unique in this workflow. For me it works because it is simple and gives decent results. It does require two images of the same subject.
With Photoshop...
Open the overexposed image
Paste the underexposed image on top of it
You now have 2 layers: 1 light and 2 dark
Select layer one and copy it (ctlr + c)
Select layer 2 and create a vector mask
Select the newly created mask (alt + click) and paste the image into it
Filter > Blur > Gaussian using around 30 to 40 for hight contrast images
10 to 20 for less contrast.
Select Layer 2 and your are done.
Color balance, curves and levels to taste...