Function at 0x4ecf80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x25
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x42
ja case.0x4ecfb4.1
mov edx, dword [ebp - 0x6c]
movzx eax, byte [edx + 0x4ed340]
jmp dword [eax*4 + 0x4ed330]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
je 0x4ed044
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ecfee
or eax, 0xffffffff
jmp 0x4ed327
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa4]
jne 0x4ed006
or eax, 0xffffffff
jmp 0x4ed327
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0xa4], 0
je 0x4ed020
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa4]
jne 0x4ed02c
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0xa4], 0
jne 0x4ed044
push 0
mov ecx, dword [ebp - 0x68]
call fcn.004eea90
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004ed580
jmp case.0x4ecfb4.1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x4ed060
or eax, 0xffffffff
jmp 0x4ed327
mov ecx, dword [ebp - 0x68]
call fcn.004eea70
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x68]
call fcn.004edd30
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x68]
call fcn.004edd80
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jge 0x4ed09f
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0xa4]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004edde0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4ed0dc
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x24], eax
push 0
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.004ed580
jmp 0x4ed1b0
cmp dword [ebp - 0x10], 1
jne 0x4ed1b0
mov dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0xa4]
cmp ecx, dword [ebp - 0x28]
jne 0x4ed110
or eax, 0xffffffff
jmp 0x4ed327
mov ecx, dword [ebp - 0x68]
call fcn.004eea70
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov esi, dword [ebp - 0x38]
sub esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x68]
call fcn.004edd80
cmp esi, eax
jge 0x4ed17e
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx + 0xa4]
jne 0x4ed173
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0xa4]
mov edx, dword [ecx + 0x100]
and edx, 0xfffffff7
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0xa4]
mov dword [ecx + 0x100], edx
jmp 0x4ed17e
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
jmp 0x4ed121
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x30]
jne 0x4ed190
push 1
mov ecx, dword [ebp - 0x68]
call fcn.004edb80
mov ecx, dword [ebp - 0x38]
sub ecx, 1
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x2c], eax
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.004ed580
jmp case.0x4ecfb4.1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x4ed1ca
or eax, 0xffffffff
jmp 0x4ed327
mov ecx, dword [ebp - 0x68]
call fcn.004eea70
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x68]
call fcn.004edd30
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0xa4]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.004edde0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x4ed229
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x50], eax
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004ed580
jmp case.0x4ecfb4.1
cmp dword [ebp - 0x48], 1
jne 0x4ed310
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0xa4]
cmp eax, dword [ebp - 0x54]
jne 0x4ed262
or eax, 0xffffffff
jmp 0x4ed327
mov ecx, dword [ebp - 0x68]
call fcn.004eea70
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], ecx
mov esi, dword [ebp - 0x64]
sub esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
call fcn.004edd80
cmp esi, eax
jge 0x4ed2d0
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax + 0xa4]
jne 0x4ed2c5
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0xa4]
mov ecx, dword [eax + 0x100]
and ecx, 0xfffffff7
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0xa4]
mov dword [eax + 0x100], ecx
jmp 0x4ed2d0
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
jmp 0x4ed273
mov ecx, dword [ebp - 0x68]
call fcn.004edd80
mov edx, dword [ebp - 0x5c]
lea eax, [edx + eax - 1]
cmp dword [ebp - 0x64], eax
jne 0x4ed2ee
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x68]
call fcn.004edb80
mov ecx, dword [ebp - 0x64]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.004edca0
mov dword [ebp - 0x58], eax
push 0
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.004ed580
jmp case.0x4ecfb4.1
cmp dword [ebp - 0x48], 0
jne case.0x4ecfb4.1
mov eax, dword [ebp - 0x40]
add eax, 1
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004eea90
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10