Function at 0x489470
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 0x4894b7
mov eax, dword [ebx]
cmp eax, 8
jle 0x4894b7
cmp eax, 0x16
jge 0x4894b7
mov ecx, dword [edi + 0x668]
push ebx
test ecx, ecx
je 0x4894aa
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.004806e0
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebx]
cmp eax, 0x13
jne 0x4894fc
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x489741
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, edi
call fcn.0048bd90
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.dbclick
push edi
call fcn.00454b40
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 3
jne 0x48952c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x48952c
cmp word [ebx + 0x14], 0xd
jne 0x48952c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, edi
call fcn.0048bd90
pop edi
pop ebx
pop ebp
ret 4
cmp dword [ebx], 0xd
push esi
jne 0x48958b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x489740
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4895ce
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 0x48960c
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x48960c
cmp dword [ebx], 0xf
jne 0x48960c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x489740
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4895f2
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 0x489656
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x489740
mov ecx, dword [edi + 0x44]
push 0
push 0
push 0
push str.itemclick
push edi
call fcn.00454b40
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 0x489676
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 0x4896a4
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x489740
or dword [edi + 0x674], 8
mov ecx, edi
call fcn.0048bd90
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0xa
jne 0x4896ce
mov eax, dword [edi + 0x674]
test al, 8
je 0x489740
and eax, 0xfffffff7
mov ecx, edi
mov dword [edi + 0x674], eax
call fcn.0048bd90
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0x1b
jne 0x4896f0
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.timer
push edi
call fcn.00454b40
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0x14
jne 0x489722
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x489722
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.menu
push edi
call fcn.00454b40
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x668]
push ebx
test ecx, ecx
je 0x489739
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.0045ba40
pop esi
pop edi
pop ebx
pop ebp
ret 4