冬
冬月
Unregistered / Unconfirmed
GUEST, unregistred user!
.text:004F08E0 sub_4F08E0 proc near
CODE XREF: sub_4F0940+19p
.text:004F08E0
.text:004F08E0 arg_0 = dword ptr 4
.text:004F08E0 arg_4 = dword ptr 8
.text:004F08E0 arg_8 = dword ptr 0Ch
.text:004F08E0
.text:004F08E0 mov ecx, [esp+arg_0]
.text:004F08E4 push ebx
.text:004F08E5 mov eax, [esp+4+arg_4]
.text:004F08E9 push esi
.text:004F08EA mov esi, ecx
.text:004F08EC push edi
.text:004F08ED mov edi, [esp+0Ch+arg_8]
.text:004F08F1 and esi, 3
.text:004F08F4 shr ecx, 2
.text:004F08F7 mov edx, [edi]
.text:004F08F9 mov ebx, ecx
.text:004F08FB dec ecx
.text:004F08FC test ebx, ebx
.text:004F08FE jbe short loc_4F090E
.text:004F0900 inc ecx
.text:004F0901
.text:004F0901 loc_4F0901:
CODE XREF: sub_4F08E0+2Cj
.text:004F0901 mov ebx, [eax]
.text:004F0903 add eax, 4
.text:004F0906 xor ebx, edx
.text:004F0908 dec ecx
.text:004F0909 mov [eax-4], ebx
.text:004F090C jnz short loc_4F0901
.text:004F090E
.text:004F090E loc_4F090E:
CODE XREF: sub_4F08E0+1Ej
.text:004F090E mov ecx, esi
.text:004F0910 dec esi
.text:004F0911 test ecx, ecx
.text:004F0913 jbe short loc_4F0925
.text:004F0915 lea ecx, [esi+1]
.text:004F0918
.text:004F0918 loc_4F0918:
CODE XREF: sub_4F08E0+43j
.text:004F0918 mov bl, [eax]
.text:004F091A xor bl, dl
.text:004F091C mov [eax], bl
.text:004F091E inc eax
.text:004F091F shr edx, 8
.text:004F0922 dec ecx
.text:004F0923 jnz short loc_4F0918
.text:004F0925
.text:004F0925 loc_4F0925:
CODE XREF: sub_4F08E0+33j
.text:004F0925 mov eax, [edi]
.text:004F0927 mov edx, eax
.text:004F0929 shl edx, 5
.text:004F092C sub edx, eax
.text:004F092E mov eax, 1
.text:004F0933 add edx, 8088405h
.text:004F0939 mov [edi], edx
.text:004F093B pop edi
.text:004F093C pop esi
.text:004F093D pop ebx
.text:004F093E retn
.text:004F093E sub_4F08E0 endp
CODE XREF: sub_4F0940+19p
.text:004F08E0
.text:004F08E0 arg_0 = dword ptr 4
.text:004F08E0 arg_4 = dword ptr 8
.text:004F08E0 arg_8 = dword ptr 0Ch
.text:004F08E0
.text:004F08E0 mov ecx, [esp+arg_0]
.text:004F08E4 push ebx
.text:004F08E5 mov eax, [esp+4+arg_4]
.text:004F08E9 push esi
.text:004F08EA mov esi, ecx
.text:004F08EC push edi
.text:004F08ED mov edi, [esp+0Ch+arg_8]
.text:004F08F1 and esi, 3
.text:004F08F4 shr ecx, 2
.text:004F08F7 mov edx, [edi]
.text:004F08F9 mov ebx, ecx
.text:004F08FB dec ecx
.text:004F08FC test ebx, ebx
.text:004F08FE jbe short loc_4F090E
.text:004F0900 inc ecx
.text:004F0901
.text:004F0901 loc_4F0901:
CODE XREF: sub_4F08E0+2Cj
.text:004F0901 mov ebx, [eax]
.text:004F0903 add eax, 4
.text:004F0906 xor ebx, edx
.text:004F0908 dec ecx
.text:004F0909 mov [eax-4], ebx
.text:004F090C jnz short loc_4F0901
.text:004F090E
.text:004F090E loc_4F090E:
CODE XREF: sub_4F08E0+1Ej
.text:004F090E mov ecx, esi
.text:004F0910 dec esi
.text:004F0911 test ecx, ecx
.text:004F0913 jbe short loc_4F0925
.text:004F0915 lea ecx, [esi+1]
.text:004F0918
.text:004F0918 loc_4F0918:
CODE XREF: sub_4F08E0+43j
.text:004F0918 mov bl, [eax]
.text:004F091A xor bl, dl
.text:004F091C mov [eax], bl
.text:004F091E inc eax
.text:004F091F shr edx, 8
.text:004F0922 dec ecx
.text:004F0923 jnz short loc_4F0918
.text:004F0925
.text:004F0925 loc_4F0925:
CODE XREF: sub_4F08E0+33j
.text:004F0925 mov eax, [edi]
.text:004F0927 mov edx, eax
.text:004F0929 shl edx, 5
.text:004F092C sub edx, eax
.text:004F092E mov eax, 1
.text:004F0933 add edx, 8088405h
.text:004F0939 mov [edi], edx
.text:004F093B pop edi
.text:004F093C pop esi
.text:004F093D pop ebx
.text:004F093E retn
.text:004F093E sub_4F08E0 endp