Function at 0x4a7ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x128]
call eax
mov edi, dword [ebp + 8]
test al, al
jne 0x4a7be5
mov eax, dword [edi]
sub eax, 9
cmp eax, 9
ja 0x4a7be5
mov ecx, dword [esi + 0x5a0]
push edi
test ecx, ecx
je 0x4a7bd8
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
pop ebp
ret 4
mov ecx, esi
call fcn.0046abd0
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0x10
jne 0x4a7c28
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.itemdbclick
push esi
call fcn.0047c7d0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4a7e40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, esi
call fcn.00471d80
pop edi
pop esi
pop ebp
ret 4
cmp eax, 3
jne 0x4a7c44
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4a7c44
cmp word [edi + 0x14], 0xd
je 0x4a7c14
cmp dword [edi], 0xd
push ebx
jne 0x4a7ca8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4a7e3f
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.buttondown
push esi
call fcn.0047c7d0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov edi, 0x8000
test di, ax
jne 0x4a7cf5
push 0x10
call ebx
test di, ax
jne 0x4a7cf5
push 0
mov ecx, esi
call fcn.004a8560
push 1
mov ecx, esi
call fcn.004a8560
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x5a0]
test ecx, ecx
je 0x4a7d17
mov eax, dword [ecx]
call dword [eax]
cmp byte [eax + 0x456], 0
je 0x4a7d17
cmp dword [edi], 0xf
jne 0x4a7d17
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4a7e3f
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov edi, 0x8000
test di, ax
jne 0x4a7cf5
push 0x10
call ebx
test di, ax
je 0x4a7c98
mov ecx, dword [esi + 0x5a0]
test ecx, ecx
je 0x4a7e3f
mov eax, dword [ecx]
push 0
push dword [esi + 0x594]
call dword [eax + 0x14]
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0xe
jne 0x4a7d4d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4a7e3f
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.itemclick
push esi
call fcn.0047c7d0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xb
jne 0x4a7d8f
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4a7e3f
or dword [esi + 0x59c], 8
mov ecx, esi
call fcn.00471d80
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.mouseenter
push esi
call fcn.0047c7d0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xa
jne 0x4a7dcd
mov eax, dword [esi + 0x59c]
test al, 8
je 0x4a7e3f
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x59c], eax
call fcn.00471d80
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.mouseleave
push esi
call fcn.0047c7d0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x18
jne 0x4a7def
mov ecx, dword [esi + 0x44]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
push esi
call fcn.0047c7d0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x11
jne 0x4a7e21
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf8]
call eax
test al, al
je 0x4a7e21
mov ecx, dword [esi + 0x44]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
push esi
call fcn.0047c7d0
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x5a0]
push edi
test ecx, ecx
je 0x4a7e38
mov eax, dword [ecx]
call dword [eax + 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, esi
call fcn.00482470
pop ebx
pop edi
pop esi
pop ebp
ret 4