Function at 0x100296e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e499d
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 0x100299de
mov ecx, dword [0x10116000]
test ecx, ecx
je 0x100299de
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x100299de
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 0x100297a3
push 0x1011609c
call fcn.100e217f
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x100297a3
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
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], 5
jne 0x100299de
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0xc]
cmp byte [eax], 0
je 0x100299de
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10029878
cmp dword [0x10116228], 0
jne 0x100297f5
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x10029878
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x10029878
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x10029878
mov ecx, dword [0x10116000]
call fcn.100d9cf0
test eax, eax
je 0x10029872
mov ecx, dword [0x10116000]
call fcn.100d9cf0
test eax, eax
je 0x10029845
lea ecx, [eax + 8]
test ecx, ecx
je 0x10029845
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x10029847
xor eax, eax
cmp eax, dword [esi]
je 0x10029878
mov ecx, dword [0x10116000]
call fcn.100d9cf0
test eax, eax
je 0x1002986c
lea ecx, [eax + 8]
test ecx, ecx
je 0x1002986c
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [esi], eax
jmp 0x10029878
xor eax, eax
mov dword [esi], eax
jmp 0x10029878
mov dword [esi], 0xffffffff
mov ecx, esi
call fcn.10029090
mov edi, eax
test edi, edi
je 0x100299de
mov ecx, dword [0x10116000]
call fcn.100d9cf0
cmp eax, edi
je 0x100299de
mov ecx, dword [0x10116050]
cmp ecx, dword [ebx + 4]
jle 0x100298ef
push 0x10116050
call fcn.100e217f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100298ef
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 0x100299de
mov ecx, edi
call fcn.1001c8a0
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.1001c760
mov ecx, edi
mov esi, eax
call fcn.1001c800
vmovss xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [esi + 8]
vmulss xmm0, xmm0, dword [0x10100bd0]
vaddss xmm0, xmm0, dword [ebp - 0x10]
mov esi, dword [0x10116080]
mov ecx, esi
vmovss dword [ebp - 0x14], xmm0
call fcn.1001c8a0
mov ecx, esi
mov edi, eax
call fcn.1001cb90
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.1001c4c0
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 0x100299d8
or ecx, 1
jmp 0x100299db
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