Function at 0x5c4700
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 0x5c4747
mov eax, dword [ebx]
cmp eax, 8
jle 0x5c4747
cmp eax, 0x16
jge 0x5c4747
mov ecx, dword [edi + 0x668]
push ebx
test ecx, ecx
je 0x5c473a
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.005bb930
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebx]
cmp eax, 0x13
jne 0x5c478c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x5c49d1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, edi
call fcn.005d0a90
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.dbclick
push edi
call fcn.0059c700
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 3
jne 0x5c47bc
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x5c47bc
cmp word [ebx + 0x14], 0xd
jne 0x5c47bc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, edi
call fcn.005d0a90
pop edi
pop ebx
pop ebp
ret 4
cmp dword [ebx], 0xd
push esi
jne 0x5c481b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x5c49d0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x5c485e
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 0x5c489c
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x5c489c
cmp dword [ebx], 0xf
jne 0x5c489c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x5c49d0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x5c4882
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 0x5c48e6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x5c49d0
mov ecx, dword [edi + 0x44]
push 0
push 0
push 0
push str.itemclick
push edi
call fcn.0059c700
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 0x5c4906
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 0x5c4934
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x5c49d0
or dword [edi + 0x674], 8
mov ecx, edi
call fcn.005d0a90
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0xa
jne 0x5c495e
mov eax, dword [edi + 0x674]
test al, 8
je 0x5c49d0
and eax, 0xfffffff7
mov ecx, edi
mov dword [edi + 0x674], eax
call fcn.005d0a90
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0x1b
jne 0x5c4980
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.timer
push edi
call fcn.0059c700
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0x14
jne 0x5c49b2
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x5c49b2
mov ecx, dword [edi + 0x44]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str.menu
push edi
call fcn.0059c700
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x668]
push ebx
test ecx, ecx
je 0x5c49c9
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.005a1a10
pop esi
pop edi
pop ebx
pop ebp
ret 4