What function is _sct ?



  • in compiled exe (micro$ visual c++) is stored function "_sct" which is doing something like shift arithmetic right(number, 8). What name can be for this function or command (i think isn't usual >> )
    Thnx



  • maybe you could post some results of it!



  • I think i found it. I debug it and it's storing 2 bytes to to adress A and adress A + 1.
    Something like this: _sct(Adress, 1234) => Adress = 12, Adress + 1 = 34.

    Thanx for you reply. Here you have code snippet if you are interesting:

    CALL:
    push ebp
    mov ebp, esp
    push ebx
    push esi
    push edi
    inc [ebp+08]
    mov al, byte ptr [ebp+0C]
    mov ecx, dword ptr [ebp+08]
    mov byte ptr [ecx], al
    sar word ptr [ebp+0C], 08
    dec [ebp+08]
    mov al, byte ptr [ebp+0C]
    mov ecx, dword ptr [ebp+08]
    mov byte ptr [ecx], al
    pop edi
    pop esi
    pop ebx
    leave
    ret


Anmelden zum Antworten