Function at 0x1009fb00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec3e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10111040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10115080]
test esi, esi
je 0x1009fd9a
cmp dword [0x10115000], 0
je 0x1009fd9a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1011509c]
cmp eax, dword [edi + 4]
jle 0x1009fba4
push 0x1011509c
call fcn.100e1839
add esp, 4
cmp dword [0x1011509c], 0xffffffff
jne 0x1009fba4
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.100e09f0
push 0x1011509c
mov dword [0x1011508c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x1011508c]
cmp dword [eax + esi], 4
jne 0x1009fd9a
mov ecx, dword [0x10115000]
test ecx, ecx
je 0x1009fd9a
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1009fd9a
mov eax, dword [0x101168cc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1009fc34
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009fc34
cmp dword [0x10115228], 0
jne 0x1009fc0e
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x1009fc34
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x1009fc34
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x1009fd9a
mov eax, dword [0x101168cc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x14], 0
je 0x1009fd9a
mov esi, dword [ebp + 8]
test byte [esi + 0x24], 1
je 0x1009fd9a
mov eax, dword [0x101152a0]
mov ebx, dword [0x10115000]
cmp eax, dword [edi + 4]
jle 0x1009fcae
push 0x101152a0
call fcn.100e1839
add esp, 4
cmp dword [0x101152a0], 0xffffffff
jne 0x1009fcae
push str.m_flChargeBeginTime
push str.CTFPipebombLauncher
mov dword [ebp - 4], 1
call fcn.100e09f0
push 0x101152a0
mov dword [0x101152b0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x101150a4]
push 0
vmovss xmm0, dword [eax + 0xc]
mov eax, dword [0x101152b0]
vsubss xmm0, xmm0, dword [eax + ebx]
mov eax, dword [0x101168cc]
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 [0x101150d0]
vdivss xmm0, xmm0, dword [0x101004d8]
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 [0x10115014]
fstp st(0)
mov ebx, dword [0x10115000]
cmp eax, dword [edi + 4]
jle 0x1009fd50
push 0x10115014
call fcn.100e1839
add esp, 4
cmp dword [0x10115014], 0xffffffff
jne 0x1009fd50
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.100e09f0
push 0x10115014
mov dword [0x10115030], eax
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10115030]
cmp dword [eax + ebx], 0x47e
jne 0x1009fd7c
mov eax, dword [0x101168cc]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
vcvtsi2ss xmm0, xmm0, dword [eax + 0x14]
vdivss xmm1, xmm0, dword [0x10100528]
jmp 0x1009fd81
vmovss xmm1, dword [ebp - 0x10]
vmovss xmm0, dword [ebp - 0x14]
vcomiss xmm0, dword [0x10100494]
ja 0x1009fd9a
vcomiss xmm0, xmm1
jb 0x1009fd9a
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