text paste
.text:10001775 sub_10001775    proc near               ; CODE XREF: decrypt_str_a+1F↓p
.text:10001775
.text:10001775 arg_0           = dword ptr  8
.text:10001775 arg_4           = dword ptr  0Ch
.text:10001775 arg_8           = dword ptr  10h
.text:10001775
.text:10001775                 push    ebp
.text:10001776                 mov     ebp, esp
.text:10001778                 push    esi
.text:10001779                 mov     esi, [ebp+arg_4]
.text:1000177C                 xor     eax, eax
.text:1000177E                 cmp     esi, eax
.text:10001780                 jz      short loc_100017A7
.text:10001782                 mov     ecx, [ebp+arg_0]
.text:10001785                 cmp     [ebp+arg_8], eax
.text:10001788                 jbe     short loc_100017A7
.text:1000178A
.text:1000178A loc_1000178A:                           ; CODE XREF: sub_10001775+30↓j
.text:1000178A                 imul    ecx, 19660Dh
.text:10001790                 add     ecx, 3C6EF35Fh
.text:10001796                 mov     edx, ecx
.text:10001798                 shr     edx, 10h
.text:1000179B                 or      dl, 80h
.text:1000179E                 xor     [eax+esi], dl
.text:100017A1                 inc     eax
.text:100017A2                 cmp     eax, [ebp+arg_8]
.text:100017A5                 jb      short loc_1000178A
.text:100017A7
.text:100017A7 loc_100017A7:                           ; CODE XREF: sub_10001775+B↑j
.text:100017A7                                         ; sub_10001775+13↑j
.text:100017A7                 pop     esi
.text:100017A8                 pop     ebp
.text:100017A9                 retn    0Ch
.text:100017A9 sub_10001775    endp