Function at 0x100296d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e47ad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10116080], 0
mov esi, dword [0x101178e8]
je 0x100299ce
mov ecx, dword [0x10116000]
test ecx, ecx
je 0x100299ce
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x100299ce
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115fb4]
mov edi, dword [0x10116080]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x1011609c]
cmp eax, dword [ebx + 4]
jle 0x10029793
push 0x1011609c
call fcn.100e1f99
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x10029793
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.100e1150
push 0x1011609c
mov dword [0x1011608c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x1011608c]
cmp dword [eax + edi], 5
jne 0x100299ce
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0xc]
cmp byte [eax], 0
je 0x100299ce
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10029868
cmp dword [0x10116228], 0
jne 0x100297e5
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x10029868
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x10029868
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x10029868
mov ecx, dword [0x10116000]
call fcn.100d9b10
test eax, eax
je 0x10029862
mov ecx, dword [0x10116000]
call fcn.100d9b10
test eax, eax
je 0x10029835
lea ecx, [eax + 8]
test ecx, ecx
je 0x10029835
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x10029837
xor eax, eax
cmp eax, dword [esi]
je 0x10029868
mov ecx, dword [0x10116000]
call fcn.100d9b10
test eax, eax
je 0x1002985c
lea ecx, [eax + 8]
test ecx, ecx
je 0x1002985c
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [esi], eax
jmp 0x10029868
xor eax, eax
mov dword [esi], eax
jmp 0x10029868
mov dword [esi], 0xffffffff
mov ecx, esi
call fcn.10029080
mov edi, eax
test edi, edi
je 0x100299ce
mov ecx, dword [0x10116000]
call fcn.100d9b10
cmp eax, edi
je 0x100299ce
mov ecx, dword [0x10116050]
cmp ecx, dword [ebx + 4]
jle 0x100298df
push 0x10116050
call fcn.100e1f99
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100298df
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.100e1150
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + edi], 0
jne 0x100299ce
mov ecx, edi
call fcn.1001c8b0
mov ecx, edi
vmovss xmm0, dword [eax]
vmovss dword [ebp - 0x1c], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [ebp - 0x18], xmm0
vmovss xmm0, dword [eax + 8]
vmovss dword [ebp - 0x10], xmm0
call fcn.1001c770
mov ecx, edi
mov esi, eax
call fcn.1001c810
vmovss xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [esi + 8]
vmulss xmm0, xmm0, dword [0x10100bf8]
vaddss xmm0, xmm0, dword [ebp - 0x10]
mov esi, dword [0x10116080]
mov ecx, esi
vmovss dword [ebp - 0x14], xmm0
call fcn.1001c8b0
mov ecx, esi
mov edi, eax
call fcn.1001cba0
vmovss xmm0, dword [edi]
vaddss xmm0, xmm0, dword [eax]
vmovss dword [ebp - 0x28], xmm0
vmovss xmm0, dword [edi + 4]
vaddss xmm0, xmm0, dword [eax + 4]
vmovss dword [ebp - 0x24], xmm0
vmovss xmm0, dword [edi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
vmovss dword [ebp - 0x20], xmm0
call fcn.1001c4d0
mov esi, dword [ebp + 8]
mov edi, 6
vmovss xmm0, dword [ebp - 0x34]
mov eax, dword [esi + 4]
cdq
idiv edi
vmovss dword [esi + 0xc], xmm0
vmovss xmm0, dword [ebp - 0x30]
vmovss dword [esi + 0x10], xmm0
vmovss xmm0, dword [ebp - 0x2c]
vmovss dword [esi + 0x14], xmm0
mov ecx, dword [esi + 0x24]
test edx, edx
jne 0x100299c8
or ecx, 1
jmp 0x100299cb
and ecx, 0xfffffffe
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4