; Guess what this subroutine does: option prologue:none, epilogue:none .code ucnvrf proc _ucnvrf proc MOV RSI,RDI XOR RDX,RDX LEA RCX,[RDX+10] LEA RDI,WGHTS .repeat MUL BYTE PTR [RCX+RDI] ADD DX,AX LODSB SUB AL,'0' .untilcxz XCHG EAX,EDX DIV BYTE PTR [RCX+RDI] SHR EAX,8 CMP AL,10 CMOVE EAX,ECX SUB AL,DL RET _ucnvrf endp ucnvrf endp WGHTS DB 11,6,3,7,9,10,5,8,4,2,0 end