Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .text:100015A1 sub_100015A1    proc near               ; CODE XREF: sub_10001C04+82p
  2. .text:100015A1                                         ; sub_10001C04+B7p ...
  3. .text:100015A1
  4. .text:100015A1 arg_0           = dword ptr  8
  5. .text:100015A1
  6. .text:100015A1                 push    ebp
  7. .text:100015A2                 mov     ebp, esp
  8. .text:100015A4                 push    esi
  9. .text:100015A5                 xor     esi, esi
  10. .text:100015A7                 cmp     [ebp+arg_0], esi
  11. .text:100015AA                 jle     short loc_100015ED
  12. .text:100015AC
  13. .text:100015AC loc_100015AC:                           ; CODE XREF: sub_100015A1+4Aj
  14. .text:100015AC                 mov     eax, [ecx+10h]
  15. .text:100015AF                 mov     edx, dword_100042D0
  16. .text:100015B5                 mov     dl, [eax+edx]
  17. .text:100015B8                 movzx   edx, dl
  18. .text:100015BB                 inc     eax
  19. .text:100015BC                 dec     edx
  20. .text:100015BD                 mov     [ecx+10h], eax
  21. .text:100015C0                 jz      short loc_100015D1
  22. .text:100015C2                 dec     edx
  23. .text:100015C3                 jz      short loc_10001639
  24. .text:100015C5                 dec     edx
  25. .text:100015C6                 jz      short loc_10001623
  26. .text:100015C8                 dec     edx
  27. .text:100015C9                 jz      short loc_1000160B
  28. .text:100015CB                 dec     edx
  29. .text:100015CC                 jz      short loc_100015F2
  30. .text:100015CE                 dec     edx
  31. .text:100015CF                 jnz     short loc_100015E7
  32. .text:100015D1
  33. .text:100015D1 loc_100015D1:                           ; CODE XREF: sub_100015A1+1Fj
  34. .text:100015D1                 mov     edx, dword_100042D0
  35. .text:100015D7                 mov     eax, [eax+edx]
  36. .text:100015DA                 mov     edx, Src
  37. .text:100015E0                 mov     [edx+esi*4], eax
  38. .text:100015E3                 add     dword ptr [ecx+10h], 4
  39. .text:100015E7
  40. .text:100015E7 loc_100015E7:                           ; CODE XREF: sub_100015A1+2Ej
  41. .text:100015E7                                         ; sub_100015A1+68j ...
  42. .text:100015E7                 inc     esi
  43. .text:100015E8                 cmp     esi, [ebp+arg_0]
  44. .text:100015EB                 jl      short loc_100015AC
  45. .text:100015ED
  46. .text:100015ED loc_100015ED:                           ; CODE XREF: sub_100015A1+9j
  47. .text:100015ED                 pop     esi
  48. .text:100015EE                 pop     ebp
  49. .text:100015EF                 retn    4
  50. .text:100015F2 ; ---------------------------------------------------------------------------
  51. .text:100015F2
  52. .text:100015F2 loc_100015F2:                           ; CODE XREF: sub_100015A1+2Bj
  53. .text:100015F2                 mov     edx, dword_100042D0
  54. .text:100015F8                 movzx   eax, word ptr [eax+edx]
  55. .text:100015FC                 mov     edx, Src
  56. .text:10001602                 mov     [edx+esi*4], eax
  57. .text:10001605                 add     dword ptr [ecx+10h], 2
  58. .text:10001609                 jmp     short loc_100015E7
  59. .text:1000160B ; ---------------------------------------------------------------------------
  60. .text:1000160B
  61. .text:1000160B loc_1000160B:                           ; CODE XREF: sub_100015A1+28j
  62. .text:1000160B                 mov     edx, dword_100042D0
  63. .text:10001611                 movzx   eax, byte ptr [eax+edx]
  64. .text:10001615                 mov     edx, Src
  65. .text:1000161B                 mov     [edx+esi*4], eax
  66. .text:1000161E                 inc     dword ptr [ecx+10h]
  67. .text:10001621                 jmp     short loc_100015E7
  68. .text:10001623 ; ---------------------------------------------------------------------------
  69. .text:10001623
  70. .text:10001623 loc_10001623:                           ; CODE XREF: sub_100015A1+25j
  71. .text:10001623                 mov     edx, dword_100042D0
  72. .text:10001629                 movzx   edx, word ptr [eax+edx]
  73. .text:1000162D                 add     eax, 2
  74. .text:10001630                 mov     [ecx+10h], eax
  75. .text:10001633                 mov     eax, [ecx+edx*4+30h]
  76. .text:10001637                 jmp     short loc_10001651
  77. .text:10001639 ; ---------------------------------------------------------------------------
  78. .text:10001639
  79. .text:10001639 loc_10001639:                           ; CODE XREF: sub_100015A1+22j
  80. .text:10001639                 mov     edx, dword_100042D0
  81. .text:1000163F                 movzx   edx, word ptr [eax+edx]
  82. .text:10001643                 add     eax, 2
  83. .text:10001646                 mov     [ecx+10h], eax
  84. .text:10001649                 mov     eax, dword_100042D0
  85. .text:1000164E                 mov     eax, [eax+edx]
  86. .text:10001651
  87. .text:10001651 loc_10001651:                           ; CODE XREF: sub_100015A1+96j
  88. .text:10001651                 mov     edx, Src
  89. .text:10001657                 mov     [edx+esi*4], eax
  90. .text:1000165A                 jmp     short loc_100015E7
  91. .text:1000165A sub_100015A1    endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement