Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:004A7AB3 ; ---------------------------------------------------------------------------
- .text:004A7AB4 align 10h
- .text:004A7AC0
- .text:004A7AC0 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
- .text:004A7AC0
- .text:004A7AC0
- .text:004A7AC0 sub_4A7AC0 proc near ; CODE XREF: sub_4AAB70+B6p
- .text:004A7AC0 ; sub_4AB880+8Fp
- .text:004A7AC0
- .text:004A7AC0 arg_0 = dword ptr 8
- .text:004A7AC0 arg_4 = dword ptr 0Ch
- .text:004A7AC0 arg_8 = dword ptr 10h
- .text:004A7AC0
- .text:004A7AC0 push ebp
- .text:004A7AC1 mov ebp, [esp+arg_0]
- .text:004A7AC5 lea ecx, [ebp+1]
- .text:004A7AC8 cmp ecx, [esp+arg_4]
- .text:004A7ACC jz short loc_4A7B0C
- .text:004A7ACE push ebx
- .text:004A7ACF push esi
- .text:004A7AD0 mov esi, [esp+8+arg_8]
- .text:004A7AD4 push edi
- .text:004A7AD5 mov edi, ecx
- .text:004A7AD7 sub edi, ebp
- .text:004A7AD9 inc edi
- .text:004A7ADA lea ebx, [ebx+0]
- .text:004A7AE0
- .text:004A7AE0 loc_4A7AE0: ; CODE XREF: sub_4A7AC0+47j
- .text:004A7AE0 mov eax, [esi+8]
- .text:004A7AE3 imul eax, [esi+4]
- .text:004A7AE7 mov edx, [esi+0Ch]
- .text:004A7AEA add eax, edx
- .text:004A7AEC xor edx, edx
- .text:004A7AEE mov [esi+4], eax
- .text:004A7AF1 div edi
- .text:004A7AF3 add edx, ebp
- .text:004A7AF5 cmp ecx, edx
- .text:004A7AF7 jz short loc_4A7B01
- .text:004A7AF9 mov bl, [edx]
- .text:004A7AFB mov al, [ecx]
- .text:004A7AFD mov [ecx], bl
- .text:004A7AFF mov [edx], al
- .text:004A7B01
- .text:004A7B01 loc_4A7B01: ; CODE XREF: sub_4A7AC0+37j
- .text:004A7B01 inc ecx
- .text:004A7B02 inc edi
- .text:004A7B03 cmp ecx, [esp+0Ch+arg_4]
- .text:004A7B07 jnz short loc_4A7AE0
- .text:004A7B09 pop edi
- .text:004A7B0A pop esi
- .text:004A7B0B pop ebx
- .text:004A7B0C
- .text:004A7B0C loc_4A7B0C: ; CODE XREF: sub_4A7AC0+Cj
- .text:004A7B0C pop ebp
- .text:004A7B0D retn
- .text:004A7B0D sub_4A7AC0 endp
- .text:004A7B0D
- .text:004A7B0D ; ----------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment