Function at 0x4d4de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x148]
call eax
mov edi, dword [ebp + 8]
test al, al
jne 0x4d4e20
mov eax, dword [edi]
sub eax, 9
cmp eax, 0x10
ja 0x4d4e20
mov ecx, dword [esi + 0x398]
push edi
test ecx, ecx
jne 0x4d51f3
mov ecx, esi
call fcn.00488840
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0x13
jne 0x4d4e77
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d51f8
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x18]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4d4e69
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.itemdbclick
mov dword [eax + 4], 0xb
call fcn.0047c9e0
mov ecx, esi
call fcn.004cdff0
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp eax, 3
jne 0x4d4ed3
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d4ed3
cmp word [edi + 0x14], 0xd
jne 0x4d4ed3
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x18]
mov ecx, esi
call fcn.004cdff0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4d51f8
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.itemkeydown
mov dword [eax + 4], 0xb
call fcn.0047c9e0
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp dword [edi], 0xd
jne 0x4d4f8d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d51f8
or dword [esi + 0x394], 0x10
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d4f30
mov edi, dword [esi + 0x388]
lea ecx, [esi + 0x388]
mov eax, dword [edi + 0x18]
call eax
test al, al
lea ecx, [esi + 0x388]
sete al
push eax
call dword [edi + 0x20]
pop edi
pop esi
pop ebx
pop ebp
ret 4
call fcn.00475090
test al, 4
je 0x4d4f5c
mov ebx, dword [esi + 0x398]
mov ecx, ebx
mov esi, dword [esi + 0x38c]
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
call dword [eax + 8]
push esi
push eax
mov ecx, ebx
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x388]
lea ecx, [esi + 0x388]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x4d51f8
mov eax, dword [esi + 0x388]
lea ecx, [esi + 0x388]
push 1
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 0x398]
test ecx, ecx
je 0x4d501d
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x2bd], 0
je 0x4d501d
cmp dword [edi], 0xf
jne 0x4d501d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d51f8
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebx, 0x8000
test bx, ax
jne 0x4d5003
push 0x10
call edi
test bx, ax
jne 0x4d5003
mov eax, dword [esi + 0x388]
lea ecx, [esi + 0x388]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x4d4f75
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
jmp 0x4d4f6b
mov eax, dword [esi + 0x388]
lea ecx, [esi + 0x388]
pop edi
pop esi
pop ebx
mov dword [ebp + 8], 1
pop ebp
jmp dword [eax + 0x20]
mov eax, dword [edi]
cmp eax, 0xe
jne 0x4d50cc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d51f8
mov eax, dword [esi + 0x394]
lea ecx, [esi + 0x388]
mov ebx, eax
and eax, 0xffffffef
mov dword [esi + 0x394], eax
mov eax, dword [esi + 0x388]
shr ebx, 4
and bl, 1
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x4d5094
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4d5094
call fcn.00475090
test al, 4
jne 0x4d5094
mov eax, dword [esi + 0x388]
lea ecx, [esi + 0x388]
push 1
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4d51f8
test bl, bl
je 0x4d51f8
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.itemclick
mov dword [eax + 4], 9
call fcn.0047c9e0
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp eax, 9
je 0x4d51f8
cmp eax, 0xb
jne 0x4d512c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d51f8
or dword [esi + 0x394], 8
mov ecx, esi
call fcn.004cdff0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4d51f8
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.mouseenter
mov dword [eax + 4], 0xa
call fcn.0047c9e0
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp eax, 0xa
jne 0x4d5170
mov eax, dword [esi + 0x394]
test al, 8
je 0x4d5170
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x394], eax
call fcn.004cdff0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4d5170
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.mouseleave
mov dword [eax + 4], 0xa
call fcn.0047c9e0
mov eax, dword [edi]
cmp eax, 0x1f
jne 0x4d51a1
mov ecx, dword [esi + 0x68]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.timer
mov dword [eax + 4], 5
call fcn.0047c9e0
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp eax, 0x14
jne 0x4d51e0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4d51e0
mov ecx, dword [esi + 0x68]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.menu
mov dword [eax + 4], 4
call fcn.0047c9e0
pop edi
pop esi
pop ebx
pop ebp
ret 4
push edi
mov ecx, esi
call fcn.00483240
mov ecx, dword [esi + 0x398]
test ecx, ecx
je 0x4d51f8
push edi
mov eax, dword [ecx]
call dword [eax + 0x40]
pop edi
pop esi
pop ebx
pop ebp
ret 4