The software is incredibly large and complicated. Writing a walkthrough would require much too much time for very little reward. Instead of asking an extremely broad question, you should instead start at the entry point of the program and follow the code yourself. Ask specific questions when you don't understand anything, not ask super broad generic questions. The entry point of bitcoind is here:
https://github.com/bitcoin/bitcoin/blob/master/src/bitcoind.cpp#L188