Blue Star interview question

Reverse engineer this section of disassembled code. What is this function doing?