Function at 0x4f4b90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x54], ecx
push 0x16e
push 0x601144
mov eax, dword [ebp - 0x54]
push eax
call fcn.004c3b10
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x20], 0
jne 0x4f4bc9
push 0x16f
push 0x60117c
call fcn.004c6b20
test eax, eax
je 0x4f4bc9
int3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00489d60
test eax, eax
je 0x4f4be3
mov eax, 1
jmp 0x4f4e36
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x54]
call fcn.0049a150
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x80]
and ecx, 0x20
jne 0x4f4c1b
cmp dword [ebp - 0xc], 0x201
je 0x4f4c1b
cmp dword [ebp - 0xc], 0x202
jne 0x4f4dc5
cmp dword [ebp - 0xc], 0x200
jb 0x4f4c2d
cmp dword [ebp - 0xc], 0x209
jbe 0x4f4c47
cmp dword [ebp - 0xc], 0xa0
jb 0x4f4dc5
cmp dword [ebp - 0xc], 0xa9
ja 0x4f4dc5
call fcn.004e2780
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [edx + 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00588cd0
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.0049a900
push 0x30
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.005238a0
add esp, 0xc
mov dword [ebp - 0x50], 0x28
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x4f4cb3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00524790
add esp, 4
cmp dword [ebp - 0xc], 0x201
jne 0x4f4cd0
mov edx, dword [ebp - 0x4c]
and edx, 0x80000000
je 0x4f4cd0
mov dword [ebp - 0x58], 1
jmp 0x4f4cd7
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x201
je 0x4f4cfe
push 1
call dword [0x59b7e8]
movsx ecx, ax
test ecx, ecx
jge 0x4f4cfe
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x4f4d0a
cmp dword [ebp - 0x10], 0
je 0x4f4d40
push 1
call dword [0x59b7e8]
movsx ecx, ax
test ecx, ecx
jge 0x4f4d1f
cmp dword [ebp - 0x10], 0
je 0x4f4d3e
push 0xffffffffffffffff
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.0049b150
jmp 0x4f4dbc
cmp dword [ebp - 0xc], 0x202
jne 0x4f4d6f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x16c]
call eax
push 0xc8
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.004f4850
jmp 0x4f4dbc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x7c]
and edx, 8
jne 0x4f4d89
push 1
call dword [0x59b7e8]
movsx eax, ax
test eax, eax
jge 0x4f4d9f
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
jmp 0x4f4dbc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x4c]
je 0x4f4dbc
push 0x12c
push 0xe000
mov ecx, dword [ebp - 0x54]
call fcn.004f4850
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp - 0x54]
call fcn.0048c350
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4f4de3
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x68], 0
je 0x4f4de3
xor eax, eax
jmp 0x4f4e36
cmp dword [ebp - 8], 0
je 0x4f4e15
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
call eax
test eax, eax
je 0x4f4e08
mov eax, 1
jmp 0x4f4e36
mov ecx, dword [ebp - 8]
call fcn.0048c080
mov dword [ebp - 8], eax
jmp 0x4f4de3
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x20]
push edx
call dword [0x59b774]
test eax, eax
je 0x4f4e34
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.004905e0
jmp 0x4f4e36
xor eax, eax
mov esp, ebp
pop ebp
ret 4