Control Flow of Subroutine sub_40311C