Advertisement
Guest User

Untitled

a guest
Apr 16th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     __asm
  2.     {      
  3.             mov         esi, esp
  4.             push        0
  5.             mov         eax, WindowName
  6.             push        eax
  7.             push        0
  8.             push        0
  9.             call        FindWindowExA
  10.             mov         find, eax
  11.             cmp         find, 0
  12.             je          no_find
  13.             ; process found
  14.             mov         esi, esp
  15.             push        20h
  16.             push        offset MyTitle
  17.             push        offset MyText
  18.             push        0
  19.             call        MessageBoxA
  20.             cmp         esi, esp
  21.             jmp         find_window + 88h
  22.             no_find :
  23.             mov         esi, esp
  24.             push        20h
  25.             push        offset MyTitle
  26.             push        offset MyTextFail
  27.             push        0
  28.             call        MessageBoxA
  29.             cmp         esi, esp
  30.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement