Since UltraISO directly supports opening the DMG file, you can also convert it to other image file formats. To do this, go to Tools > Convert. A new window will appear. In the first field (as indicated in the image below), select and browse to where the DMG file is stored. Make sure the Input Directory option is checked.
Choose the output image file and that's it.