Function at 0x475ff0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x200
push ebx
push esi
push edi
xor ebx, ebx
mov eax, dword [0xcc519c]
cmp eax, ebx
je 0x4760fc
cmp dword [0xcc51ac], ebx
je 0x4760fc
cmp dword [0xcc4c24], ebx
jne 0x4760fc
mov ecx, dword [0xcc51a0]
mov edx, dword [esp + 0x210]
xor eax, eax
cmp ecx, 1
mov ecx, dword [esp + 0x214]
setne al
push eax
push ecx
push edx
call fcn.00408710
mov esi, eax
mov al, byte [0x5474fa]
add esp, 0xc
cmp al, bl
je 0x4760d7
cmp esi, ebx
je 0x4760d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
je 0x4760d7
mov al, byte [0xcc51a8]
cmp al, bl
je 0x4760d7
cmp al, 1
jne 0x476085
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xac]
test al, al
je 0x476097
mov al, byte [0xcc51a8]
cmp al, 2
jne 0x4760d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
test al, al
jne 0x4760d7
mov dword [0xcc519c], ebx
push ebx
mov byte [0xcc51a8], bl
call fcn.004d7db0
mov ecx, dword [0xb55668]
add esp, 4
mov dword [ecx + 0xdc], ebx
mov ecx, esi
call fcn.004045c0
mov edx, dword [esi + 0x7c]
push edx
call fcn.00475f70
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x200
ret 8
push esi
call dword [0xcc51ac]
add esp, 4
cmp esi, ebx
je 0x4762b5
mov ecx, esi
call fcn.004045c0
pop edi
pop esi
pop ebx
add esp, 0x200
ret 8
mov eax, dword [esp + 0x214]
mov ecx, dword [esp + 0x210]
push eax
push ecx
call fcn.00486830
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4762b5
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebp
push 0x12
call edi
push 0x11
mov ebp, eax
call edi
test ebp, 0x8000
pop ebp
je 0x476210
test ah, 0x80
jne 0x476210
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test eax, eax
je 0x476210
mov ecx, dword [0xcc535c]
cmp esi, ecx
jne 0x4761ad
mov eax, dword [ecx + 0x208]
push ebx
push ebx
cmp eax, ebx
push 3
push ebx
je 0x476174
push str.Stopped_following.
jmp 0x476179
push str.Not_following.
call fcn.004842a0
mov eax, dword [0xcc535c]
mov dword [eax + 0x208], ebx
mov eax, dword [0xcc9378]
cmp eax, ebx
je 0x4762b5
call fcn.004a64f0
pop edi
mov dword [0xcc9378], ebx
pop esi
pop ebx
add esp, 0x200
ret 8
push ebx
push ebx
push 3
push ebx
push str.Now_following.
call fcn.004842a0
mov ecx, dword [0xcc535c]
pop edi
mov dword [ecx + 0x208], 1
mov eax, dword [0xcc535c]
mov edx, dword [esi + 0x7c]
mov dword [eax + 0x20c], edx
mov eax, dword [0xcc535c]
movsx edx, word [esi + 0x24]
movsx ecx, word [eax + 0x24]
sub ecx, edx
mov dword [eax + 0x210], ecx
mov eax, dword [0xcc535c]
movsx edx, word [esi + 0x26]
movsx ecx, word [eax + 0x26]
sub ecx, edx
pop esi
mov dword [eax + 0x214], ecx
pop ebx
add esp, 0x200
ret 8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [esi]
mov ecx, esi
jge 0x476270
call dword [eax + 0x24]
test eax, eax
je 0x4762b5
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x14]
push ecx
push str.vislist__u
push 0x3f
push edx
call fcn.004de716
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x12c]
push 0x6b
push ecx
call fcn.0049f8e0
add esp, 0x20
lea edx, [esp + 0x114]
jmp 0x4762a9
call dword [eax + 0x2c]
test eax, eax
je 0x476280
call fcn.004c3810
test eax, eax
je 0x476289
push esi
call fcn.00488360
add esp, 4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
test eax, eax
je 0x4762b5
mov eax, dword [esi + 0x7c]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.0049fb00
add esp, 8
lea edx, [esp + 0xc]
mov ecx, dword [0xcc516c]
push edx
call fcn.004c2f70
pop edi
pop esi
pop ebx
add esp, 0x200
ret 8