Created
July 18, 2016 12:57
-
-
Save Jire/de624b831bf13acf66694f156ff8b478 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .text:6BAF5E37 ; void __stdcall mouse_event(DWORD dwFlags, DWORD dx, DWORD dy, DWORD dwData, ULONG_PTR dwExtraInfo) | |
| .text:6BAF5E37 public mouse_event | |
| .text:6BAF5E37 mouse_event proc near ; DATA XREF: .text:off_6BA81028o | |
| .text:6BAF5E37 | |
| .text:6BAF5E37 pInputs = tagINPUT ptr -1Ch | |
| .text:6BAF5E37 dwFlags = dword ptr 8 | |
| .text:6BAF5E37 arg_4 = dword ptr 0Ch | |
| .text:6BAF5E37 dy = dword ptr 10h | |
| .text:6BAF5E37 dwData = dword ptr 14h | |
| .text:6BAF5E37 dwExtraInfo = dword ptr 18h | |
| .text:6BAF5E37 | |
| .text:6BAF5E37 mov edi, edi | |
| .text:6BAF5E39 push ebp | |
| .text:6BAF5E3A mov ebp, esp | |
| .text:6BAF5E3C sub esp, 1Ch | |
| .text:6BAF5E3F mov eax, [ebp+dwFlags] | |
| .text:6BAF5E42 and [ebp+pInputs.type], 0 | |
| .text:6BAF5E46 and dword ptr [ebp+pInputs.anonymous_0+10h], 0 | |
| .text:6BAF5E4A mov dword ptr [ebp+pInputs.anonymous_0+0Ch], eax | |
| .text:6BAF5E4D mov eax, [ebp+arg_4] | |
| .text:6BAF5E50 mov dword ptr [ebp+pInputs.anonymous_0], eax | |
| .text:6BAF5E53 mov eax, [ebp+dy] | |
| .text:6BAF5E56 mov dword ptr [ebp+pInputs.anonymous_0+4], eax | |
| .text:6BAF5E59 mov eax, [ebp+dwData] | |
| .text:6BAF5E5C mov dword ptr [ebp+pInputs.anonymous_0+8], eax | |
| .text:6BAF5E5F mov eax, [ebp+dwExtraInfo] | |
| .text:6BAF5E62 mov dword ptr [ebp+pInputs.anonymous_0+14h], eax | |
| .text:6BAF5E65 lea eax, [ebp+pInputs] | |
| .text:6BAF5E68 push 1Ch ; cbSize | |
| .text:6BAF5E6A push eax ; pInputs | |
| .text:6BAF5E6B push 1 ; cInputs | |
| .text:6BAF5E6D call SendInput | |
| .text:6BAF5E72 mov esp, ebp | |
| .text:6BAF5E74 pop ebp | |
| .text:6BAF5E75 retn 14h | |
| .text:6BAF5E75 mouse_event endp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment