Function at 0x4d56a2
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 0x4d5666
mov eax, dword [esi]
sub eax, 9
cmp eax, 0x10
ja 0x4d5666
mov ecx, dword [ebx + 0x6c]
push esi
test ecx, ecx
je 0x4d5b29
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.0x4d56b9.14
movzx eax, byte [eax + 0x4d5b58]
jmp dword [eax*4 + 0x4d5b3c]
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.0x4d56b9.14
movzx eax, byte [eax + 0x4d5b98]
jmp dword [eax*4 + 0x4d5b74]
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.00481060
test eax, eax
jle 0x4d5776
mov ecx, edi
call fcn.00481060
test eax, eax
jg 0x4d56ff
or edi, 0xffffffff
jmp 0x4d573c
push 0
mov ecx, edi
call fcn.00480fd0
mov ecx, dword [ebp + 8]
mov edi, eax
xor ebx, ebx
call fcn.00481060
test eax, eax
jle 0x4d573c
mov esi, dword [ebp + 8]
nop dword [eax + eax]
push ebx
mov ecx, esi
call fcn.00480fd0
cmp edi, eax
mov ecx, esi
cmovg edi, eax
inc ebx
call fcn.00481060
cmp ebx, eax
jl 0x4d5720
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
add edi, 0xffffffff
js 0x4d5761
mov eax, dword [esi]
mov ecx, esi
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4d5b30
sub edi, 1
jns 0x4d5748
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 0x4d57a9
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 0x4d5b30
sub edi, 1
jns 0x4d5790
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.00481060
test eax, eax
jle 0x4d589d
mov ecx, edi
call fcn.00481060
test eax, eax
jg 0x4d57fd
or edi, 0xffffffff
jmp 0x4d583f
push 0
mov ecx, edi
call fcn.00480fd0
lea ecx, [ebx + 0x398]
mov edi, eax
call fcn.00481060
test eax, eax
jle 0x4d583f
mov esi, dword [ebp - 8]
xor ebx, ebx
nop dword [eax]
push ebx
mov ecx, esi
call fcn.00480fd0
cmp edi, eax
mov ecx, esi
cmovl edi, eax
inc ebx
call fcn.00481060
cmp ebx, eax
jl 0x4d5820
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 0x4d5888
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 0x4d5b30
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
inc edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x4d5860
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 0x4d58da
mov eax, dword [esi]
mov ecx, esi
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4d5b30
mov eax, dword [ebx + 0x288]
lea ecx, [ebx + 0x288]
inc edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x4d58b2
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 0x4d5b30
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 0x4d5b30
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d5b30
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.004cf700
test al, al
jne case.0x4d56b9.14
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x284]
test eax, eax
je case.0x4d56b9.14
movzx eax, word [esi + 0x18]
sub eax, 0
je 0x4d5a87
sub eax, 1
jne case.0x4d56b9.14
cmp byte [ebx + 0x38d], al
je 0x4d5a74
mov eax, dword [ebx + 0x388]
lea ecx, [ebx + 0x388]
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x4d5a74
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 0x4d5ac1
mov eax, dword [ebx + 0x388]
lea ecx, [ebx + 0x388]
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x4d5ac1
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 0x4d5a5b
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.0047c9b0
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.0047c9b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, ebx
call fcn.004cf010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4