Function at 0x1009cc80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec955
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x10116080]
mov ebx, dword [ebp + 8]
test edi, edi
je 0x1009cf82
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115fb4]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10116050]
cmp eax, dword [esi + 4]
jle 0x1009cd1d
push 0x10116050
call fcn.100e217f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x1009cd1d
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e1330
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + edi], 0
jne 0x1009cf82
cmp dword [0x10116000], 0
je 0x1009cf82
call fcn.1009b970
cmp byte [eax], 1
ja 0x1009cf82
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xa], 0
je 0x1009cf82
call fcn.100264f0
test al, al
je 0x1009cf82
mov eax, dword [0x10116080]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1009cf82
cmp eax, 9
je 0x1009cf82
cmp eax, 0xa
je 0x1009cf82
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009cf82
cmp dword [0x10116228], 0
jne 0x1009cdc6
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x1009cf82
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x1009cf82
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009cf82
mov edi, dword [0x10116080]
test edi, edi
je 0x1009cf82
mov eax, dword [0x10116050]
cmp eax, dword [esi + 4]
jle 0x1009ce50
push 0x10116050
call fcn.100e217f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x1009ce50
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.100e1330
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + edi], 0
jne 0x1009cf82
mov eax, dword [0x1011609c]
mov edi, dword [0x10116080]
cmp eax, dword [esi + 4]
jle 0x1009ceb7
push 0x1011609c
call fcn.100e217f
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x1009ceb7
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 2
call fcn.100e1330
push 0x1011609c
mov dword [0x1011608c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov eax, dword [0x1011608c]
cmp dword [eax + edi], 1
jne 0x1009cf82
mov ecx, dword [0x10116080]
call fcn.1001ccd0
test byte [eax], 1
je 0x1009cf82
mov eax, dword [0x101160e4]
mov edi, dword [0x10116080]
vxorps xmm0, xmm0, xmm0
vmovss dword [ebp - 0x18], xmm0
cmp eax, dword [esi + 4]
jle 0x1009cf34
push 0x101160e4
call fcn.100e217f
add esp, 4
cmp dword [0x101160e4], 0xffffffff
jne 0x1009cf34
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 3
call fcn.100e1330
push 0x101160e4
mov dword [0x101160f8], eax
call fcn.100e212e
add esp, 4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x101160f8]
add eax, edi
push eax
call fcn.10041430
or dword [ebx + 0x24], 3
sub esp, 0xc
vmovss xmm1, dword [0x10100d08]
vmovss xmm0, dword [ebp - 0x18]
mov eax, esp
vxorps xmm2, xmm2, xmm2
vmovss dword [ebx + 0xc], xmm1
vmovss dword [ebx + 0x10], xmm0
vmovss dword [ebx + 0x14], xmm2
push ebx
vmovss dword [eax], xmm1
vmovss dword [eax + 4], xmm0
vmovss dword [eax + 8], xmm2
call fcn.100d4680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e1c31
mov esp, ebp
pop ebp
ret 4