Guest User

Untitled

a guest
Dec 14th, 2012
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. .text:004A7AB3 ; ---------------------------------------------------------------------------
  2. .text:004A7AB4 align 10h
  3. .text:004A7AC0
  4. .text:004A7AC0 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  5. .text:004A7AC0
  6. .text:004A7AC0
  7. .text:004A7AC0 sub_4A7AC0 proc near ; CODE XREF: sub_4AAB70+B6p
  8. .text:004A7AC0 ; sub_4AB880+8Fp
  9. .text:004A7AC0
  10. .text:004A7AC0 arg_0 = dword ptr 8
  11. .text:004A7AC0 arg_4 = dword ptr 0Ch
  12. .text:004A7AC0 arg_8 = dword ptr 10h
  13. .text:004A7AC0
  14. .text:004A7AC0 push ebp
  15. .text:004A7AC1 mov ebp, [esp+arg_0]
  16. .text:004A7AC5 lea ecx, [ebp+1]
  17. .text:004A7AC8 cmp ecx, [esp+arg_4]
  18. .text:004A7ACC jz short loc_4A7B0C
  19. .text:004A7ACE push ebx
  20. .text:004A7ACF push esi
  21. .text:004A7AD0 mov esi, [esp+8+arg_8]
  22. .text:004A7AD4 push edi
  23. .text:004A7AD5 mov edi, ecx
  24. .text:004A7AD7 sub edi, ebp
  25. .text:004A7AD9 inc edi
  26. .text:004A7ADA lea ebx, [ebx+0]
  27. .text:004A7AE0
  28. .text:004A7AE0 loc_4A7AE0: ; CODE XREF: sub_4A7AC0+47j
  29. .text:004A7AE0 mov eax, [esi+8]
  30. .text:004A7AE3 imul eax, [esi+4]
  31. .text:004A7AE7 mov edx, [esi+0Ch]
  32. .text:004A7AEA add eax, edx
  33. .text:004A7AEC xor edx, edx
  34. .text:004A7AEE mov [esi+4], eax
  35. .text:004A7AF1 div edi
  36. .text:004A7AF3 add edx, ebp
  37. .text:004A7AF5 cmp ecx, edx
  38. .text:004A7AF7 jz short loc_4A7B01
  39. .text:004A7AF9 mov bl, [edx]
  40. .text:004A7AFB mov al, [ecx]
  41. .text:004A7AFD mov [ecx], bl
  42. .text:004A7AFF mov [edx], al
  43. .text:004A7B01
  44. .text:004A7B01 loc_4A7B01: ; CODE XREF: sub_4A7AC0+37j
  45. .text:004A7B01 inc ecx
  46. .text:004A7B02 inc edi
  47. .text:004A7B03 cmp ecx, [esp+0Ch+arg_4]
  48. .text:004A7B07 jnz short loc_4A7AE0
  49. .text:004A7B09 pop edi
  50. .text:004A7B0A pop esi
  51. .text:004A7B0B pop ebx
  52. .text:004A7B0C
  53. .text:004A7B0C loc_4A7B0C: ; CODE XREF: sub_4A7AC0+Cj
  54. .text:004A7B0C pop ebp
  55. .text:004A7B0D retn
  56. .text:004A7B0D sub_4A7AC0 endp
  57. .text:004A7B0D
  58. .text:004A7B0D ; ----------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment