Function at 0x1009f6e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecac9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10116080]
test esi, esi
je 0x1009f97a
cmp dword [0x10116000], 0
je 0x1009f97a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115fb4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1011609c]
cmp eax, dword [edi + 4]
jle 0x1009f784
push 0x1011609c
call fcn.100e1f99
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x1009f784
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 + esi], 4
jne 0x1009f97a
mov ecx, dword [0x10116000]
test ecx, ecx
je 0x1009f97a
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1009f97a
mov eax, dword [0x101178b0]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1009f814
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009f814
cmp dword [0x10116228], 0
jne 0x1009f7ee
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x1009f814
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x1009f814
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x1009f97a
mov eax, dword [0x101178b0]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x14], 0
je 0x1009f97a
mov esi, dword [ebp + 8]
test byte [esi + 0x24], 1
je 0x1009f97a
mov eax, dword [0x101162a0]
mov ebx, dword [0x10116000]
cmp eax, dword [edi + 4]
jle 0x1009f88e
push 0x101162a0
call fcn.100e1f99
add esp, 4
cmp dword [0x101162a0], 0xffffffff
jne 0x1009f88e
push str.m_flChargeBeginTime
push str.CTFPipebombLauncher
mov dword [ebp - 4], 1
call fcn.100e1150
push 0x101162a0
mov dword [0x101162b0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x101160a4]
push 0
vmovss xmm0, dword [eax + 0xc]
mov eax, dword [0x101162b0]
vsubss xmm0, xmm0, dword [eax + ebx]
mov eax, dword [0x101178b0]
vmovss dword [ebp - 0x14], xmm0
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
vcvtsi2ss xmm0, xmm0, dword [eax + 0x14]
mov eax, dword [0x101160d0]
vdivss xmm0, xmm0, dword [0x10100d14]
vmovss dword [ebp - 0x10], xmm0
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp + 8], eax
call dword [ebp + 8]
mov eax, dword [0x10116014]
fstp st(0)
mov ebx, dword [0x10116000]
cmp eax, dword [edi + 4]
jle 0x1009f930
push 0x10116014
call fcn.100e1f99
add esp, 4
cmp dword [0x10116014], 0xffffffff
jne 0x1009f930
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.100e1150
push 0x10116014
mov dword [0x10116030], eax
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10116030]
cmp dword [eax + ebx], 0x47e
jne 0x1009f95c
mov eax, dword [0x101178b0]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
vcvtsi2ss xmm0, xmm0, dword [eax + 0x14]
vdivss xmm1, xmm0, dword [0x10100d64]
jmp 0x1009f961
vmovss xmm1, dword [ebp - 0x10]
vmovss xmm0, dword [ebp - 0x14]
vcomiss xmm0, dword [0x10100ccc]
ja 0x1009f97a
vcomiss xmm0, xmm1
jb 0x1009f97a
and dword [esi + 0x24], 0xfffffffe
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