Text this: Functional integral approach to the transfer function of a stochastic scattering channel