Function at 0x5c4e30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x108]
call eax
mov edx, dword [ebp + 8]
test al, al
jne 0x5c4e7c
mov eax, dword [edx]
cmp eax, 8
jle 0x5c4e7c
cmp eax, 0x16
jge 0x5c4e7c
mov ecx, dword [ebx + 0x48]
push edx
test ecx, ecx
je 0x5c4e6e
mov eax, dword [ecx]
call dword [eax + 0x138]
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call fcn.005c0ca0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edx]
cmp eax, 0x18
jne 0x5c4e91
mov byte [ebx + 0x19d], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x17
jne 0x5c4ea4
mov byte [ebx + 0x19d], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push edi
cmp eax, 3
je 0x5c4f67
cmp eax, 0x15
jne case.0x5c4f7e.14
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x5c4f07
sub eax, 1
jne case.0x5c4f7e.14
cmp byte [ebx + 0x679], al
je 0x5c4ef4
mov eax, dword [ebx + 0x648]
lea ecx, [ebx + 0x648]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x5c4ef4
mov eax, dword [ebx + 0x67c]
push 1
push 1
inc eax
jmp 0x5c4f30
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x679], 0
je 0x5c4f54
mov eax, dword [ebx + 0x648]
lea ecx, [ebx + 0x648]
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x5c4f54
mov eax, dword [ebx + 0x67c]
push 1
push 0
dec eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [ebx + 0x648]
push eax
call dword [edx + 0x1a4]
push eax
lea ecx, [ebx + 0x648]
call dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [edx + 0x14]
add eax, 0xfffffff3
cmp eax, 0x34
ja case.0x5c4f7e.14
movzx eax, byte [eax + 0x5c5178]
jmp dword [eax*4 + 0x5c5154]
lea ecx, [ebx + 0x684]
call fcn.0059dc30
test eax, eax
jle 0x5c5148
mov ecx, ebx
call fcn.005c6a60
mov edx, dword [ebx + 0x648]
add ebx, 0x648
mov ecx, ebx
lea esi, [eax - 1]
call dword [edx + 0x58]
mov eax, dword [ebx]
mov ecx, ebx
push 1
test esi, esi
jle 0x5c4fca
push esi
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebx + 0x684]
call fcn.0059dc30
test eax, eax
jle 0x5c5148
mov ecx, ebx
call fcn.005c6a10
mov edx, dword [ebx + 0x648]
lea edi, [ebx + 0x648]
mov ecx, edi
lea esi, [eax + 1]
call dword [edx + 0x58]
mov ecx, dword [ebx + 0x69c]
add ecx, 0x4d0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x5c5041
mov eax, dword [ebx + 0x4d0]
lea ecx, [ebx + 0x4d0]
mov esi, dword [edi]
call dword [eax + 0xc]
dec eax
mov ecx, edi
push eax
call dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, edi
push esi
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 + 0x1c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [ebx + 0x648]
push 1
push 0
push 0
call dword [eax + 0x1a4]
push eax
lea ecx, [ebx + 0x648]
call dword [edi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x648]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x4d0]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
dec eax
push eax
call dword [esi + 0x1a4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x67c]
cmp edx, 0xffffffff
je 0x5c5148
mov eax, dword [ebx + 0x4d0]
lea ecx, [ebx + 0x4d0]
push edx
call dword [eax]
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 + 0x648]
lea ecx, [ebx + 0x648]
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x5c5148
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x5c5148
mov eax, dword [ebx + 0x648]
lea ecx, [ebx + 0x648]
call dword [eax + 0x54]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edx
mov ecx, ebx
call fcn.005c0ca0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4