Guest User

Untitled

a guest
Jun 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. .text:1005ED00 sub_1005ED00 proc near ; DATA XREF: .rdata:103601E4o
  2. .text:1005ED00 ; .rdata:103AE07Co
  3. .text:1005ED00
  4. .text:1005ED00 arg_0 = dword ptr 4
  5. .text:1005ED00
  6. .text:1005ED00 push esi
  7. .text:1005ED01 push edi
  8. .text:1005ED02 mov edi, [esp+8+arg_0]
  9. .text:1005ED06 lea eax, [edi-1]
  10. .text:1005ED09 cmp eax, 20h
  11. .text:1005ED0C mov esi, ecx
  12. .text:1005ED0E ja short loc_1005ED55
  13. .text:1005ED10 mov edx, [esi]
  14. .text:1005ED12 mov eax, [edx+10h]
  15. .text:1005ED15 push edi
  16. .text:1005ED16 call eax
  17. .text:1005ED18 test al, al
  18. .text:1005ED1A jnz short loc_1005ED26
  19. .text:1005ED1C pop edi
  20. .text:1005ED1D mov eax, offset aUnconnected ; "unconnected"
  21. .text:1005ED22 pop esi
  22. .text:1005ED23 retn 4
  23. .text:1005ED26 ; ---------------------------------------------------------------------------
  24. .text:1005ED26
  25. .text:1005ED26 loc_1005ED26: ; CODE XREF: sub_1005ED00+1Aj
  26. .text:1005ED26 mov eax, [esi+edi*4+4]
  27. .text:1005ED2A test eax, eax
  28. .text:1005ED2C jz short loc_1005ED40
  29. .text:1005ED2E push offset aUnconnected ; "unconnected"
  30. .text:1005ED33 push eax ; char *
  31. .text:1005ED34 call __stricmp
  32. .text:1005ED39 add esp, 8
  33. .text:1005ED3C test eax, eax
  34. .text:1005ED3E jnz short loc_1005ED4C
  35. .text:1005ED40
  36. .text:1005ED40 loc_1005ED40: ; CODE XREF: sub_1005ED00+2Cj
  37. .text:1005ED40 push edi
  38. .text:1005ED41 lea ecx, [esi-4A8h]
  39. .text:1005ED47 call sub_1005E930
  40. .text:1005ED4C
  41. .text:1005ED4C loc_1005ED4C: ; CODE XREF: sub_1005ED00+3Ej
  42. .text:1005ED4C mov eax, [esi+edi*4+4]
  43. .text:1005ED50 pop edi
  44. .text:1005ED51 pop esi
  45. .text:1005ED52 retn 4
  46. .text:1005ED55 ; ---------------------------------------------------------------------------
  47. .text:1005ED55
  48. .text:1005ED55 loc_1005ED55: ; CODE XREF: sub_1005ED00+Ej
  49. .text:1005ED55 pop edi
  50. .text:1005ED56 mov eax, offset aErrorname ; "ERRORNAME"
  51. .text:1005ED5B pop esi
  52. .text:1005ED5C retn 4
  53. .text:1005ED5C sub_1005ED00 endp
Add Comment
Please, Sign In to add comment