Function at 0x4d5900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x148]
call eax
mov esi, dword [ebp + 8]
test al, al
jne 0x4d5946
mov eax, dword [esi]
sub eax, 9
cmp eax, 0x10
ja 0x4d5946
mov ecx, dword [ebx + 0x6c]
push esi
test ecx, ecx
je 0x4d5e09
mov eax, dword [ecx]
call dword [eax + 0x184]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
add eax, 0xfffffffd
cmp eax, 0x19
ja case.0x4d5999.14
movzx eax, byte [eax + 0x4d5e38]
jmp dword [eax*4 + 0x4d5e1c]
mov byte [ebx + 0xf1], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebx + 0xf1], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [esi + 0x14]
add eax, 0xfffffff3
cmp eax, 0x34
ja case.0x4d5999.14
movzx eax, byte [eax + 0x4d5e78]
jmp dword [eax*4 + 0x4d5e54]
mov eax, dword [ebx + 0x388]
lea esi, [ebx + 0x388]
mov ecx, esi
mov dword [ebp - 8], esi
call dword [eax + 8]
lea edi, [ebx + 0x398]
mov dword [ebp - 4], eax
mov ecx, edi
mov dword [ebp + 8], edi
call fcn.00481170
test eax, eax
jle 0x4d5a56
mov ecx, edi
call fcn.00481170
test eax, eax
jg 0x4d59df
or edi, 0xffffffff
jmp 0x4d5a1c
push 0
mov ecx, edi
call fcn.004810e0
mov ecx, dword [ebp + 8]
mov edi, eax
xor ebx, ebx
call fcn.00481170
test eax, eax
jle 0x4d5a1c
mov esi, dword [ebp + 8]
nop dword [eax + eax]
push ebx
mov ecx, esi
call fcn.004810e0
cmp edi, eax
mov ecx, esi
cmovg edi, eax
inc ebx
call fcn.00481170
cmp ebx, eax
jl 0x4d5a00
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
add edi, 0xffffffff
js 0x4d5a41
mov eax, dword [esi]
mov ecx, esi
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4d5e10
sub edi, 1
jns 0x4d5a28
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [ebp - 4]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
call dword [eax + 0xc]
mov edi, eax
sub edi, 1
js 0x4d5a89
nop dword [eax]
mov ecx, dword [esi]
push 1
push edi
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
test al, al
jne 0x4d5e10
sub edi, 1
jns 0x4d5a70
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [ebp - 4]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x388]
lea esi, [ebx + 0x388]
mov ecx, esi
mov dword [ebp - 0xc], esi
call dword [eax + 8]
lea edi, [ebx + 0x398]
mov dword [ebp + 8], eax
mov ecx, edi
mov dword [ebp - 8], edi
call fcn.00481170
test eax, eax
jle 0x4d5b7d
mov ecx, edi
call fcn.00481170
test eax, eax
jg 0x4d5add
or edi, 0xffffffff
jmp 0x4d5b1f
push 0
mov ecx, edi
call fcn.004810e0
lea ecx, [ebx + 0x398]
mov edi, eax
call fcn.00481170
test eax, eax
jle 0x4d5b1f
mov esi, dword [ebp - 8]
xor ebx, ebx
nop dword [eax]
push ebx
mov ecx, esi
call fcn.004810e0
cmp edi, eax
mov ecx, esi
cmovl edi, eax
inc ebx
call fcn.00481170
cmp ebx, eax
jl 0x4d5b00
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0x30]
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
call dword [eax + 0xc]
cmp edi, eax
jge 0x4d5b68
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4d5e10
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
inc edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x4d5b40
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [ebp + 8]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
xor edi, edi
call dword [eax + 0xc]
test eax, eax
jle 0x4d5bba
mov eax, dword [esi]
mov ecx, esi
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4d5e10
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
inc edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x4d5b92
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [ebp + 8]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x254]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x258]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x388]
mov ecx, ebx
push 0
push 0
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
call dword [eax + 0x214]
push 1
push eax
lea ecx, [ebx + 0x388]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x388]
mov ecx, ebx
mov edi, dword [eax + 0xc]
mov eax, dword [ecx]
add ecx, 0x288
mov esi, dword [eax + 0x214]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
mov ecx, ebx
push 1
push eax
call esi
push 1
push eax
lea ecx, [ebx + 0x388]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x390]
cmp edx, 0xffffffff
je 0x4d5e10
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
push edx
call dword [eax]
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x388]
lea ecx, [ebx + 0x388]
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x4d5e10
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d5e10
mov eax, dword [ebx + 0x388]
lea ecx, [ebx + 0x388]
call dword [eax + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call fcn.004cf860
test al, al
jne case.0x4d5999.14
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x284]
test eax, eax
je case.0x4d5999.14
movzx eax, word [esi + 0x18]
sub eax, 0
je 0x4d5d67
sub eax, 1
jne case.0x4d5999.14
cmp byte [ebx + 0x38d], al
je 0x4d5d54
mov eax, dword [ebx + 0x388]
lea ecx, [ebx + 0x388]
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x4d5d54
mov eax, dword [ebx + 0x388]
push 1
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x214]
mov eax, dword [ebx + 0x390]
inc eax
push eax
mov ecx, ebx
call edx
push 1
push eax
lea ecx, [ebx + 0x388]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x250]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x38d], 0
je 0x4d5da1
mov eax, dword [ebx + 0x388]
lea ecx, [ebx + 0x388]
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x4d5da1
mov eax, dword [ebx + 0x388]
push 0
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x214]
mov eax, dword [ebx + 0x390]
dec eax
jmp 0x4d5d3b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x68]
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push ebx
mov dword [eax], str.dbclick
mov dword [eax + 4], 7
call fcn.0047c9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x68]
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push ebx
mov dword [eax], str.buttonup
mov dword [eax + 4], 8
call fcn.0047c9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, ebx
call fcn.004cf180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4