Function at 0x1009f580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecad9
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 [0x10115084]
test esi, esi
je 0x1009f81a
cmp dword [0x10115000], 0
je 0x1009f81a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x101150a0]
cmp eax, dword [edi + 4]
jle 0x1009f624
push 0x101150a0
call fcn.100e1f89
add esp, 4
cmp dword [0x101150a0], 0xffffffff
jne 0x1009f624
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.100e1140
push 0x101150a0
mov dword [0x10115090], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f38
add esp, 4
mov eax, dword [0x10115090]
cmp dword [eax + esi], 4
jne 0x1009f81a
mov ecx, dword [0x10115000]
test ecx, ecx
je 0x1009f81a
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1009f81a
mov eax, dword [0x101168b0]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1009f6b4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009f6b4
cmp dword [0x10115228], 0
jne 0x1009f68e
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x1009f6b4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x1009f6b4
mov ecx, dword [0x1011509c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x1009f81a
mov eax, dword [0x101168b0]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x14], 0
je 0x1009f81a
mov esi, dword [ebp + 8]
test byte [esi + 0x24], 1
je 0x1009f81a
mov eax, dword [0x101152a0]
mov ebx, dword [0x10115000]
cmp eax, dword [edi + 4]
jle 0x1009f72e
push 0x101152a0
call fcn.100e1f89
add esp, 4
cmp dword [0x101152a0], 0xffffffff
jne 0x1009f72e
push str.m_flChargeBeginTime
push str.CTFPipebombLauncher
mov dword [ebp - 4], 1
call fcn.100e1140
push 0x101152a0
mov dword [0x101152b0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f38
add esp, 4
mov eax, dword [0x101150ac]
push 0
vmovss xmm0, dword [eax + 0xc]
mov eax, dword [0x101152b0]
vsubss xmm0, xmm0, dword [eax + ebx]
mov eax, dword [0x101168b0]
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 [0x101150d8]
vdivss xmm0, xmm0, dword [0x1010098c]
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 0x1009f7d0
push 0x10115014
call fcn.100e1f89
add esp, 4
cmp dword [0x10115014], 0xffffffff
jne 0x1009f7d0
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.100e1140
push 0x10115014
mov dword [0x10115030], eax
call fcn.100e1f38
add esp, 4
mov eax, dword [0x10115030]
cmp dword [eax + ebx], 0x47e
jne 0x1009f7fc
mov eax, dword [0x101168b0]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
vcvtsi2ss xmm0, xmm0, dword [eax + 0x14]
vdivss xmm1, xmm0, dword [0x101009e0]
jmp 0x1009f801
vmovss xmm1, dword [ebp - 0x10]
vmovss xmm0, dword [ebp - 0x14]
vcomiss xmm0, dword [0x10100944]
ja 0x1009f81a
vcomiss xmm0, xmm1
jb 0x1009f81a
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