何をしますか => What are you doing... N5
Doubt
を前提に => On the premise of N1
Premise
いたします => to do (polite form of します) N4
... します => Make... become N4
Purpose, target
...にします => to decide on N4
Determined, determined
... 前に => Before ... N4
Relationship before and after
のを知っていますか => Do you know...? N4
~[前「まえ」]に => Before N/Vる(occurs/happens) N5
Time
...ままを => as it is N2
Base, base
... 前に => ... in front of, before N4
Relationship before and after
前に => before; in front of ~ N5
を~として => as N2