On the functional integral for generalized Wiener processes and nonequilibrium phenomena