Function at 0x1009e520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb549
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1011100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10115020]
test esi, esi
je 0x1009e7bc
cmp dword [0x10114fa0], 0
je 0x1009e7bc
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114f54]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1011503c]
cmp eax, dword [edi + 4]
jle 0x1009e5c4
push 0x1011503c
call fcn.100e09a6
add esp, 4
cmp dword [0x1011503c], 0xffffffff
jne 0x1009e5c4
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.100dfaa0
push 0x1011503c
mov dword [0x1011502c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x1011502c]
cmp dword [eax + esi], 4
jne 0x1009e7bc
mov ecx, dword [0x10114fa0]
test ecx, ecx
je 0x1009e7bc
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1009e7bc
mov eax, dword [0x1011684c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1009e656
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1009e656
cmp dword [0x101151c8], 0
jne 0x1009e630
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
jmp 0x1009e656
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101151c8]
jne 0x1009e656
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x1009e7bc
mov eax, dword [0x1011684c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x14], 0
je 0x1009e7bc
mov esi, dword [ebp + 8]
test byte [esi + 0x24], 1
je 0x1009e7bc
mov eax, dword [0x10115240]
mov ebx, dword [0x10114fa0]
cmp eax, dword [edi + 4]
jle 0x1009e6d0
push 0x10115240
call fcn.100e09a6
add esp, 4
cmp dword [0x10115240], 0xffffffff
jne 0x1009e6d0
push str.m_flChargeBeginTime
push str.CTFPipebombLauncher
mov dword [ebp - 4], 1
call fcn.100dfaa0
push 0x10115240
mov dword [0x10115250], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10115044]
push 0
vmovss xmm0, dword [eax + 0xc]
mov eax, dword [0x10115250]
vsubss xmm0, xmm0, dword [eax + ebx]
mov eax, dword [0x1011684c]
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 [0x10115070]
vdivss xmm0, xmm0, dword [0x100ffd84]
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 [0x10114fb4]
fstp st(0)
mov ebx, dword [0x10114fa0]
cmp eax, dword [edi + 4]
jle 0x1009e772
push 0x10114fb4
call fcn.100e09a6
add esp, 4
cmp dword [0x10114fb4], 0xffffffff
jne 0x1009e772
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.100dfaa0
push 0x10114fb4
mov dword [0x10114fd0], eax
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fd0]
cmp dword [eax + ebx], 0x47e
jne 0x1009e79e
mov eax, dword [0x1011684c]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
vcvtsi2ss xmm0, xmm0, dword [eax + 0x14]
vdivss xmm1, xmm0, dword [0x100ffdd4]
jmp 0x1009e7a3
vmovss xmm1, dword [ebp - 0x10]
vmovss xmm0, dword [ebp - 0x14]
vcomiss xmm0, dword [0x100ffd3c]
ja 0x1009e7bc
vcomiss xmm0, xmm1
jb 0x1009e7bc
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