Function at 0x4e55ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e58a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e561d
mov byte [ebp - 5], 1
jmp 0x4e5621
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f8]
mov eax, ebx
call fcn.004d4684
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4e5666
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f8]
mov eax, ebx
call fcn.004d4684
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x330]
test ebx, ebx
je 0x4e5887
mov eax, ebx
call fcn.004fea60
test eax, eax
je 0x4e5887
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
call fcn.004fea60
cmp dword [eax + 0x30], 0
je 0x4e5887
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
call fcn.004fea60
mov eax, dword [eax + 0x30]
call fcn.004a3c88
test al, al
je 0x4e5887
mov bl, byte [0x4e58b0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x4e56e0
mov al, byte [0x4e58b4]
or al, bl
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4e56fe
mov al, byte [0x4e58b8]
or al, bl
mov ebx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x308]
mov eax, dword [esi + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [esi + 0x2ec]
jne 0x4e5724
mov al, byte [0x4e58bc]
or al, bl
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x2ec]
sub eax, 1
jb 0x4e573f
je 0x4e5745
dec eax
je 0x4e574b
jmp 0x4e5751
mov byte [ebp - 6], 0
jmp 0x4e5755
mov byte [ebp - 6], 1
jmp 0x4e5755
mov byte [ebp - 6], 2
jmp 0x4e5755
mov byte [ebp - 6], 2
cmp byte [ebp - 5], 0
je 0x4e576b
cmp byte [ebp - 6], 0
jne 0x4e5767
mov byte [ebp - 6], 1
jmp 0x4e576b
mov byte [ebp - 6], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x334], 0
jne 0x4e5781
cmp byte [ebp - 6], 2
jne 0x4e5781
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x2ec]
sub eax, 1
jb 0x4e579c
je 0x4e57a2
dec eax
je 0x4e57a8
jmp 0x4e57ae
mov byte [ebp - 7], 0
jmp 0x4e57b2
mov byte [ebp - 7], 1
jmp 0x4e57b2
mov byte [ebp - 7], 2
jmp 0x4e57b2
mov byte [ebp - 7], 0
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x308]
mov esi, dword [edi + 0x2ec]
test esi, esi
jl 0x4e57fd
mov edx, esi
mov eax, dword [edi + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x4e57fd
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x308]
mov edx, dword [esi + 0x2ec]
mov eax, dword [esi + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x40]
lea eax, [ebp - 0xc]
call fcn.004048e0
jmp 0x4e5805
lea eax, [ebp - 0xc]
call fcn.00404848
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov eax, dword [eax + 0x2ec]
sub eax, 1
jb 0x4e5823
je 0x4e5829
dec eax
je 0x4e582f
dec eax
je 0x4e5835
jmp 0x4e583b
mov byte [ebp - 8], 0
jmp 0x4e583f
mov byte [ebp - 8], 1
jmp 0x4e583f
mov byte [ebp - 8], 2
jmp 0x4e583f
mov byte [ebp - 8], 3
jmp 0x4e583f
mov byte [ebp - 8], 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.004d4684
mov eax, dword [ebp - 0x18]
push eax
push ebx
mov al, byte [ebp - 6]
push eax
mov al, byte [ebp - 7]
push eax
mov al, byte [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x330]
mov edx, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x1ac]
test al, al
je 0x4e5887
mov eax, dword [ebp - 4]
mov byte [eax + 0x334], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e58a9
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040486c
ret