Guest User

Untitled

a guest
Feb 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. .text:00401590 sub_401590 proc near ; DATA XREF: .rdata:0040245Cā†“o
  2. .text:00401590 push esi
  3. .text:00401591 mov esi, ecx
  4. .text:00401593 call ?OnInitDialog@CDialog@@UAEHXZ ; CDialog::OnInitDialog(void)
  5. .text:00401598 mov eax, [esi+20h]
  6. .text:0040159B push 0 ; lpTimerFunc
  7. .text:0040159D push 64h ; uElapse
  8. .text:0040159F push 3 ; nIDEvent
  9. .text:004015A1 push eax ; hWnd
  10. .text:004015A2 call ds:SetTimer
  11. .text:004015A8 push 0 ; int
  12. .text:004015AA lea ecx, [esi+64h] ; this
  13. .text:004015AD mov dword ptr [esi+60h], 0
  14. .text:004015B4 call ?EnableWindow@CWnd@@QAEHH@Z ; CWnd::EnableWindow(int)
  15. .text:004015B9 mov eax, 1
  16. .text:004015BE pop esi
  17. .text:004015BF retn
  18. .text:004015BF sub_401590 endp
  19. .text:004015BF
  20. .text:004015C0 ; ---------------------------------------------------------------------------
  21. .text:004015C0 sub esp, 0Ch
  22. .text:004015C3 push esi
  23. .text:004015C4 mov esi, ecx
  24. .text:004015C6 mov edx, [esi+60h]
  25. .text:004015C9 inc edx
  26. .text:004015CA mov eax, edx
  27. .text:004015CC mov [esi+60h], edx
  28. .text:004015CF cmp eax, 64h
  29. .text:004015D2 jle short loc_401608
  30. .text:004015D4 mov eax, [esi+20h]
  31. .text:004015D7 push edi
  32. .text:004015D8 push 3
  33. .text:004015DA push eax
  34. .text:004015DB call ds:KillTimer
  35. .text:004015E1 lea edi, [esi+64h]
  36. .text:004015E4 push 1
  37. .text:004015E6 mov ecx, edi
  38. .text:004015E8 call ?EnableWindow@CWnd@@QAEHH@Z ; CWnd::EnableWindow(int)
  39. .text:004015ED push offset unk_403024
  40. .text:004015F2 mov ecx, edi
  41. .text:004015F4 call ?SetWindowTextA@CWnd@@QAEXPBD@Z ; CWnd::SetWindowTextA(char const *)
  42. .text:004015F9 pop edi
  43. .text:004015FA mov ecx, esi
  44. .text:004015FC call ?Default@CWnd@@IAEJXZ ; CWnd::Default(void)
  45. .text:00401601 pop esi
  46. .text:00401602 add esp, 0Ch
  47. .text:00401605 retn 4
  48. .text:00401608 ; ---------------------------------------------------------------------------
Add Comment
Please, Sign In to add comment