Function at 0x49ef80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
call eax
mov ebx, dword [ebp + 8]
test al, al
jne 0x49efc7
mov eax, dword [ebx]
cmp eax, 8
jle 0x49efc7
cmp eax, 0x16
jge 0x49efc7
mov ecx, dword [edi + 0x668]
push ebx
test ecx, ecx
je 0x49efba
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.00496240
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebx]
cmp eax, 0x13
jne 0x49f00c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f251
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, edi
call fcn.004a1870
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.dbclick
push edi
call fcn.0046a620
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 3
jne 0x49f03c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f03c
cmp word [ebx + 0x14], 0xd
jne 0x49f03c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, edi
call fcn.004a1870
pop edi
pop ebx
pop ebp
ret 4
cmp dword [ebx], 0xd
push esi
jne 0x49f09b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f250
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x49f0de
mov eax, dword [edi + 0x648]
lea ecx, [edi + 0x648]
push 1
call dword [eax + 0x14]
mov edx, dword [edi + 0x648]
lea eax, [edi + 0x158]
push eax
lea eax, [ebx + 0xc]
push eax
push edi
lea ecx, [edi + 0x648]
call dword [edx + 0x28]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x49f11c
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x49f11c
cmp dword [ebx], 0xf
jne 0x49f11c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f250
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x49f102
lea esi, [edi + 0x648]
mov edi, dword [esi]
mov ecx, esi
mov eax, dword [edi + 0x10]
call eax
test al, al
mov ecx, esi
sete al
movzx eax, al
push eax
call dword [edi + 0x18]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [edi + 0x648]
lea ecx, [edi + 0x648]
pop esi
pop edi
pop ebx
mov dword [ebp + 8], 1
pop ebp
jmp dword [eax + 0x14]
mov eax, dword [ebx]
cmp eax, 0xe
jne 0x49f166
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f250
mov ecx, dword [edi + 0x44]
push 0
push 0
push 0
push str.itemclick
push edi
call fcn.0046a620
mov edx, dword [edi + 0x648]
lea ecx, [edi + 0x648]
lea eax, [ebx + 0xc]
push eax
push edi
call dword [edx + 0x30]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 9
jne 0x49f186
mov edx, dword [edi + 0x648]
lea ecx, [edi + 0x648]
lea eax, [ebx + 0xc]
push eax
push edi
call dword [edx + 0x2c]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0xb
jne 0x49f1b4
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f250
or dword [edi + 0x674], 8
mov ecx, edi
call fcn.004a1870
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0xa
jne 0x49f1de
mov eax, dword [edi + 0x674]
test al, 8
je 0x49f250
and eax, 0xfffffff7
mov ecx, edi
mov dword [edi + 0x674], eax
call fcn.004a1870
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0x1b
jne 0x49f200
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.timer
push edi
call fcn.0046a620
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0x14
jne 0x49f232
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x49f232
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.menu
push edi
call fcn.0046a620
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x668]
push ebx
test ecx, ecx
je 0x49f249
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.00471580
pop esi
pop edi
pop ebx
pop ebp
ret 4