Function at 0x4ea580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xdc]
push edi
call edx
test al, al
mov eax, dword [ebp + 8]
jne 0x4ea5cb
mov ecx, dword [eax]
cmp ecx, 8
jle 0x4ea5cb
cmp ecx, 0x13
jge 0x4ea5cb
mov ecx, dword [esi + 0x168]
push eax
test ecx, ecx
je 0x4ea89d
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax]
cmp ecx, 0x15
jne 0x4ea5e2
mov byte [esi + 0x2be], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x14
jne 0x4ea5f7
mov byte [esi + 0x2be], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 3
je 0x4ea6ca
cmp ecx, 0x12
jne case.0x4ea6e1.37
movzx ecx, word [eax + 0x18]
sub ecx, 0
je 0x4ea683
sub ecx, 1
jne case.0x4ea6e1.37
cmp byte [esi + 0x6a8], cl
je 0x4ea66e
cmp byte [esi + 0x6a9], cl
je 0x4ea66e
cmp dword [esi + 0x6b0], ecx
jg 0x4ea637
xor eax, eax
jmp 0x4ea63f
mov ecx, dword [esi + 0x6ac]
mov eax, dword [ecx]
push 1
push 1
inc eax
mov edx, dword [esi]
mov ebx, dword [esi + 0x6a4]
push eax
mov eax, dword [edx + 0x1d8]
lea edi, [esi + 0x6a4]
mov ecx, esi
call eax
mov edx, dword [ebx + 8]
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x1f4]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x6a8], 0
je 0x4ea6b5
cmp byte [esi + 0x6a9], 0
je 0x4ea6b5
cmp dword [esi + 0x6b0], 0
jg 0x4ea6a6
xor eax, eax
push 1
push eax
dec eax
jmp 0x4ea644
mov eax, dword [esi + 0x6ac]
mov eax, dword [eax]
push 1
push 0
dec eax
jmp 0x4ea644
mov eax, dword [esi]
mov edx, dword [eax + 0x1f0]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx ecx, word [eax + 0x14]
add ecx, 0xffffffdf
cmp ecx, 0x20
ja case.0x4ea6e1.37
movzx ecx, byte [ecx + 0x4ea8d0]
jmp dword [ecx*4 + 0x4ea8b0]
cmp dword [esi + 0x6b0], 0
jle 0x4ea8a4
call fcn.004ea4e0
mov edx, dword [esi + 0x6a4]
add esi, 0x6a4
mov edi, eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
dec edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 1
mov ecx, esi
test edi, edi
jle 0x4ea729
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x6b0], 0
jle 0x4ea8a4
call fcn.004ea530
mov edx, dword [esi + 0x6a4]
lea edi, [esi + 0x6a4]
mov ebx, eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
inc ebx
call eax
mov eax, dword [esi + 0x6c0]
mov edx, dword [eax + 0x64c]
lea ecx, [eax + 0x64c]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebx + 1]
cmp ecx, eax
push 1
jle 0x4ea7a3
mov edx, dword [esi + 0x64c]
mov eax, dword [edx + 0xc]
mov ebx, dword [edi]
lea ecx, [esi + 0x64c]
call eax
mov edx, dword [ebx + 8]
dec eax
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ebx
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x1f8]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x1fc]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x6c0]
lea ecx, [eax + 0x64c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jle 0x4ea8a4
mov eax, dword [esi + 0x6a4]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x6a4]
push 1
push 0
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x6c0]
lea ecx, [eax + 0x64c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jle 0x4ea8a4
mov ebx, dword [esi + 0x6a4]
lea edi, [esi + 0x6a4]
mov esi, dword [esi + 0x6c0]
mov eax, dword [esi + 0x64c]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x64c]
push 1
call edx
dec eax
push eax
mov eax, dword [ebx + 8]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x6a9], 0
jne 0x4ea8a4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4ea8a4
mov edx, dword [esi + 0x6a4]
mov eax, dword [edx + 0x38]
lea ecx, [esi + 0x6a4]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
mov ecx, esi
call fcn.004d72f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4