Function at 0x4de5ea
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 0x4de62b
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x4de62b
mov ecx, dword [esi + 0x6d8]
push edi
test ecx, ecx
je 0x4de61f
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4de85c
mov ecx, esi
call fcn.004c5bfa
jmp 0x4de85c
cmp dword [edi], 0x13
jne 0x4de655
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4de85c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.004e07ae
jmp 0x4de85c
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x4de685
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4de685
cmp word [edi + 0x14], bx
jne 0x4de685
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.004e07ae
jmp 0x4de85b
cmp dword [edi], ebx
jne 0x4de6e9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4de85b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
xor edi, edi
test al, al
je 0x4de6b9
mov ecx, dword [esi + 0x44]
push edi
push edi
push edi
push str.buttondown
push esi
call fcn.004ab14a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
jne 0x4de6d8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
je 0x4de735
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4de85b
push edi
jmp 0x4de757
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4de767
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x5e4], 0
je 0x4de767
cmp dword [edi], 0xf
jne 0x4de767
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4de85b
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebx, 0x8000
test bx, ax
jne 0x4de747
push 0x10
call edi
test bx, ax
jne 0x4de747
lea ecx, [esi + 0x6c8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4de85b
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4de85b
push 0
mov eax, dword [ecx]
push dword [esi + 0x6cc]
call dword [eax + 0x10]
jmp 0x4de85b
cmp dword [edi], 0xe
jne 0x4de78d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4de85b
xor edi, edi
push edi
push edi
push edi
push str.itemclick
jmp 0x4de837
cmp dword [edi], 0xb
jne 0x4de7cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4de85b
or dword [esi + 0x6d4], 8
mov ecx, esi
call fcn.004e07ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x4de85b
xor edi, edi
push edi
push edi
push edi
push str.mouseenter
jmp 0x4de837
cmp dword [edi], 0xa
jne 0x4de803
mov eax, dword [esi + 0x6d4]
test al, 8
je 0x4de85b
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x6d4], eax
call fcn.004e07ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x4de85b
xor edi, edi
push edi
push edi
push edi
push str.mouseleave
jmp 0x4de837
cmp dword [edi], 0x1b
jne 0x4de817
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x4de837
cmp dword [edi], 0x14
jne 0x4de842
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x4de842
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
mov ecx, dword [esi + 0x44]
push esi
call fcn.004ab14a
jmp 0x4de85b
mov ecx, dword [esi + 0x6d8]
push edi
test ecx, ecx
je 0x4de854
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4de85b
mov ecx, esi
call fcn.004ada78
pop ebx
pop edi
pop esi
pop ebp
ret 4