Hello,
UEFI mode, the windows loader will use the motherboards BIOS logo
Legacy mode, the windows loader will use its own flag.
Regardless of the above, it means both times your setup is freezing at the same point so changing this mode is irrelevant. Freezes during the install may occur due to memory related errors, what are you using / how many memory modules?
Try just 1 stick in dimm slot 2?
Hardware details might help too.