Function at 0x4e1c71
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x114]
mov edi, dword [ebp + 8]
test al, al
jne 0x4e1cb2
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x4e1cb2
mov ecx, dword [esi + 0x6d8]
push edi
test ecx, ecx
je 0x4e1ca6
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4e1ee3
mov ecx, esi
call fcn.004c9043
jmp 0x4e1ee3
cmp dword [edi], 0x13
jne 0x4e1cdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4e1ee3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.004ded7d
jmp 0x4e1ee3
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x4e1d0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4e1d0c
cmp word [edi + 0x14], bx
jne 0x4e1d0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.004ded7d
jmp 0x4e1ee2
cmp dword [edi], ebx
jne 0x4e1d70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4e1ee2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
xor edi, edi
test al, al
je 0x4e1d40
mov ecx, dword [esi + 0x44]
push edi
push edi
push edi
push str.buttondown
push esi
call fcn.004ae609
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
jne 0x4e1d5f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
je 0x4e1dbc
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4e1ee2
push edi
jmp 0x4e1dde
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4e1dee
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x5e4], 0
je 0x4e1dee
cmp dword [edi], 0xf
jne 0x4e1dee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4e1ee2
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebx, 0x8000
test bx, ax
jne 0x4e1dce
push 0x10
call edi
test bx, ax
jne 0x4e1dce
lea ecx, [esi + 0x6c8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4e1ee2
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4e1ee2
push 0
mov eax, dword [ecx]
push dword [esi + 0x6cc]
call dword [eax + 0x10]
jmp 0x4e1ee2
cmp dword [edi], 0xe
jne 0x4e1e14
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4e1ee2
xor edi, edi
push edi
push edi
push edi
push str.itemclick
jmp 0x4e1ebe
cmp dword [edi], 0xb
jne 0x4e1e54
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4e1ee2
or dword [esi + 0x6d4], 8
mov ecx, esi
call fcn.004ded7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x4e1ee2
xor edi, edi
push edi
push edi
push edi
push str.mouseenter
jmp 0x4e1ebe
cmp dword [edi], 0xa
jne 0x4e1e8a
mov eax, dword [esi + 0x6d4]
test al, 8
je 0x4e1ee2
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x6d4], eax
call fcn.004ded7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x4e1ee2
xor edi, edi
push edi
push edi
push edi
push str.mouseleave
jmp 0x4e1ebe
cmp dword [edi], 0x1b
jne 0x4e1e9e
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x4e1ebe
cmp dword [edi], 0x14
jne 0x4e1ec9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x4e1ec9
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
mov ecx, dword [esi + 0x44]
push esi
call fcn.004ae609
jmp 0x4e1ee2
mov ecx, dword [esi + 0x6d8]
push edi
test ecx, ecx
je 0x4e1edb
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4e1ee2
mov ecx, esi
call fcn.004b0ed4
pop ebx
pop edi
pop esi
pop ebp
ret 4