I would suggest that ifIf refactoring is not an option then try to see this big function as a class of methods and focus on individual parts of this function which themselves are a logical entity, and design parameters values accordingly keeping all the other irrelevant parameters values as static.