Function at 0x4b8759
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 0x4b879a
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x4b879a
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x4b878e
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4b89c9
mov ecx, esi
call fcn.004b2e2b
jmp 0x4b89c9
cmp dword [edi], 0x13
jne 0x4b87c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4b89c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.004ba6f1
jmp 0x4b89c9
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x4b87f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4b87f4
cmp word [edi + 0x14], bx
jne 0x4b87f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.004ba6f1
jmp 0x4b89c8
cmp dword [edi], ebx
jne 0x4b8857
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4b89c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
xor edi, edi
test al, al
je 0x4b8828
mov ecx, dword [esi + 0x44]
push edi
push edi
push edi
push str.buttondown
push esi
call fcn.004897e2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x4b8846
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x4b88a2
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x4b89c8
push edi
jmp 0x4b88c4
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x4b88d4
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x4b88d4
cmp dword [edi], 0xf
jne 0x4b88d4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4b89c8
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
bt ax, 0xf
jb 0x4b88b4
push 0x10
call edi
bt ax, 0xf
jb 0x4b88b4
lea ecx, [esi + 0x6c0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4b89c8
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x4b89c8
push 0
mov eax, dword [ecx]
push dword [esi + 0x6c4]
call dword [eax + 0x10]
jmp 0x4b89c8
cmp dword [edi], 0xe
jne 0x4b88fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4b89c8
xor edi, edi
push edi
push edi
push edi
push str.itemclick
jmp 0x4b89a4
cmp dword [edi], 0xb
jne 0x4b893a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x4b89c8
or dword [esi + 0x6cc], 8
mov ecx, esi
call fcn.004ba6f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x4b89c8
xor edi, edi
push edi
push edi
push edi
push str.mouseenter
jmp 0x4b89a4
cmp dword [edi], 0xa
jne 0x4b8970
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x4b89c8
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x6cc], eax
call fcn.004ba6f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x4b89c8
xor edi, edi
push edi
push edi
push edi
push str.mouseleave
jmp 0x4b89a4
cmp dword [edi], 0x1b
jne 0x4b8984
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x4b89a4
cmp dword [edi], 0x14
jne 0x4b89af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x4b89af
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
mov ecx, dword [esi + 0x44]
push esi
call fcn.004897e2
jmp 0x4b89c8
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x4b89c1
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4b89c8
mov ecx, esi
call fcn.0048bdaf
pop ebx
pop edi
pop esi
pop ebp
ret 4