Function at 0x480fa6
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 0x480fe7
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x480fe7
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x480fdb
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x481218
mov ecx, esi
call fcn.0045399c
jmp 0x481218
cmp dword [edi], 0x13
jne 0x481011
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481218
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.0047b379
jmp 0x481218
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x481041
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481041
cmp word [edi + 0x14], bx
jne 0x481041
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.0047b379
jmp 0x481217
cmp dword [edi], ebx
jne 0x4810a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481217
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
xor edi, edi
test al, al
je 0x481075
mov ecx, dword [esi + 0x44]
push edi
push edi
push edi
push str.buttondown
push esi
call fcn.0044bfe9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
jne 0x481094
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
je 0x4810f1
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x481217
push edi
jmp 0x481113
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x481123
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x5e4], 0
je 0x481123
cmp dword [edi], 0xf
jne 0x481123
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481217
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebx, 0x8000
test bx, ax
jne 0x481103
push 0x10
call edi
test bx, ax
jne 0x481103
lea ecx, [esi + 0x6c0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x481217
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x481217
push 0
mov eax, dword [ecx]
push dword [esi + 0x6c4]
call dword [eax + 0x10]
jmp 0x481217
cmp dword [edi], 0xe
jne 0x481149
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481217
xor edi, edi
push edi
push edi
push edi
push str.itemclick
jmp 0x4811f3
cmp dword [edi], 0xb
jne 0x481189
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481217
or dword [esi + 0x6cc], 8
mov ecx, esi
call fcn.0047b379
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x481217
xor edi, edi
push edi
push edi
push edi
push str.mouseenter
jmp 0x4811f3
cmp dword [edi], 0xa
jne 0x4811bf
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x481217
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x6cc], eax
call fcn.0047b379
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x481217
xor edi, edi
push edi
push edi
push edi
push str.mouseleave
jmp 0x4811f3
cmp dword [edi], 0x1b
jne 0x4811d3
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x4811f3
cmp dword [edi], 0x14
jne 0x4811fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x4811fe
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0x6d98a8
mov ecx, dword [esi + 0x44]
push esi
call fcn.0044bfe9
jmp 0x481217
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x481210
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x481217
mov ecx, esi
call fcn.00451281
pop ebx
pop edi
pop esi
pop ebp
ret 4