Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2018
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. .text:00401350 sub_401350 proc near ; CODE XREF: sub_4013F0+28Ep
  2. .text:00401350 ; sub_4013F0+2D2p
  3. .text:00401350
  4. .text:00401350 var_4 = dword ptr -4
  5. .text:00401350 arg_0 = dword ptr 8
  6. .text:00401350 arg_4 = dword ptr 0Ch
  7. .text:00401350 arg_8 = dword ptr 10h
  8. .text:00401350 arg_C = dword ptr 14h
  9. .text:00401350 arg_10 = byte ptr 18h
  10. .text:00401350
  11. .text:00401350 push ebp
  12. .text:00401351 mov ebp, esp
  13. .text:00401353 push ecx
  14. .text:00401354 mov [ebp+var_4], 0
  15. .text:0040135B jmp short loc_401366
  16. .text:0040135D.text:0040135D
  17. .text:0040135D loc_40135D: ; CODE XREF: sub_401350+46j
  18. .text:0040135D mov eax, [ebp+var_4]
  19. .text:00401360 add eax, 1
  20. .text:00401363 mov [ebp+var_4], eax
  21. .text:00401366
  22. .text:00401366 loc_401366: ; CODE XREF: sub_401350+Bj
  23. .text:00401366 mov ecx, [ebp+var_4]
  24. .text:00401369 cmp ecx, [ebp+arg_4]
  25. .text:0040136C jnb short loc_401398
  26. .text:0040136E mov edx, [ebp+arg_0]
  27. .text:00401371 add edx, [ebp+var_4]
  28. .text:00401374 movsx ecx, byte ptr [edx]
  29. .text:00401377 mov eax, [ebp+var_4]
  30. .text:0040137A xor edx, edx
  31. .text:0040137C div [ebp+arg_C]
  32. .text:0040137F mov eax, [ebp+arg_8]
  33. .text:00401382 movsx edx, byte ptr [eax+edx]
  34. .text:00401386 movzx eax, [ebp+arg_10]
  35. .text:0040138A add edx, eax
  36. .text:0040138C xor ecx, edx
  37. .text:0040138E mov edx, [ebp+arg_0]
  38. .text:00401391 add edx, [ebp+var_4]
  39. .text:00401394 mov [edx], cl
  40. .text:00401396 jmp short loc_40135D
  41. .text:00401398 .text:00401398
  42. .text:00401398 loc_401398: ; CODE XREF: sub_401350+1Cj
  43. .text:00401398 mov esp, ebp
  44. .text:0040139A pop ebp
  45. .text:0040139B retn 14h
  46. .text:0040139B sub_401350 endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement