Functional limit theorems for random regular graphs