Control Flow of Subroutine sub_40CB8C