Function at 0x1009e020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10111040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101168cc]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xa], 0
je 0x1009e6b7
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009e6b7
cmp dword [0x10115228], 0
jne 0x1009e092
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x1009e6b7
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp eax, dword [0x10115228]
jne 0x1009e6b7
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009e6b7
cmp dword [0x10115228], 0
je 0x1009e07b
call edi
cmp eax, dword [0x10115228]
jne 0x1009e6b7
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov ebx, dword [0x10115080]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10115050]
cmp eax, dword [edi + 4]
jle 0x1009e13c
push 0x10115050
call fcn.100e1839
add esp, 4
cmp dword [0x10115050], 0xffffffff
jne 0x1009e13c
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e09f0
push 0x10115050
mov dword [0x10115010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10115010]
cmp byte [eax + ebx], 0
jne 0x1009e6b7
call fcn.1009bb50
cmp byte [eax], 1
ja 0x1009e6b7
mov ecx, dword [0x10115080]
call fcn.10026350
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1009e6b7
call fcn.100264a0
test al, al
jne 0x1009e6b7
mov eax, dword [0x1011509c]
mov ebx, dword [0x10115080]
cmp eax, dword [edi + 4]
jle 0x1009e1d6
push 0x1011509c
call fcn.100e1839
add esp, 4
cmp dword [0x1011509c], 0xffffffff
jne 0x1009e1d6
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
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 + ebx], 3
jne 0x1009e6b7
mov ecx, dword [0x10115080]
call fcn.1001cd40
test byte [eax], 1
je 0x1009e6b7
mov ecx, dword [0x10115000]
call fcn.1001d360
cmp dword [eax], 0
je 0x1009e6b7
mov eax, dword [0x10115080]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1009e6b7
cmp eax, 9
je 0x1009e6b7
cmp eax, 0xa
je 0x1009e6b7
mov ecx, dword [0x10114ffc]
lea edx, [ebp - 0x2c]
vxorps xmm0, xmm0, xmm0
vmovss dword [ebp - 0x2c], xmm0
vmovss dword [ebp - 0x28], xmm0
mov eax, dword [ecx]
vmovss dword [ebp - 0x24], xmm0
push edx
vmovss dword [ebp - 0x1c], xmm0
mov eax, dword [eax + 0x4c]
call eax
vmovss xmm0, dword [ebp - 0x2c]
vsubss xmm0, xmm0, dword [0x101006b8]
vmovss xmm2, dword [0x10100538]
vdivss xmm1, xmm0, xmm2
vmovss xmm0, dword [0x101003e8]
mov ebx, dword [0x101150e4]
lea ecx, [ebp - 0x14]
vxorps xmm3, xmm3, xmm3
vcomiss xmm3, xmm1
lea edx, [ebp - 0x20]
seta al
test al, al
vmovss dword [ebp - 0x18], xmm0
cmove edx, ecx
lea ecx, [ebp - 0x18]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x14], xmm1
seta al
test al, al
mov eax, dword [0x10115080]
vmovss dword [ebp - 0x20], xmm3
cmove ecx, edx
vmovss xmm0, dword [ecx]
vmulss xmm0, xmm0, dword [0x101004ec]
vsubss xmm0, xmm2, xmm0
vmovss dword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009e325
push 0x101150e4
call fcn.100e1839
mov ebx, dword [0x101150e4]
add esp, 4
cmp ebx, 0xffffffff
jne 0x1009e325
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.100e09f0
push 0x101150e4
mov dword [0x101150f8], eax
mov dword [ebp - 4], ebx
call fcn.100e17e8
mov ebx, dword [0x101150e4]
add esp, 4
mov eax, dword [0x101150f8]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1009b8b0
push ecx
vmovss xmm0, dword [eax + 4]
vaddss xmm0, xmm0, dword [0x10100584]
vmovss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fstp dword [esp]
vmovss dword [ebp - 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__fdclass
vmovss xmm1, dword [0x101005c8]
add esp, 4
test ax, ax
jle 0x1009e372
vxorps xmm0, xmm0, xmm0
jmp 0x1009e3ac
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x10100584]
vcomiss xmm0, xmm2
jbe 0x1009e394
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009e385
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x101006c8]
vcomiss xmm2, xmm0
jbe 0x1009e3b1
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009e3a2
vmovss dword [ebp - 0x18], xmm0
mov eax, dword [0x10115080]
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009e409
push 0x101150e4
call fcn.100e1839
add esp, 4
cmp dword [0x101150e4], 0xffffffff
jne 0x1009e406
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 3
call fcn.100e09f0
push 0x101150e4
mov dword [0x101150f8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x101150f8]
vmovss xmm1, dword [0x1010067c]
vmovss xmm2, dword [eax + ecx]
vcomiss xmm2, xmm1
jbe 0x1009e50f
vmovss xmm0, dword [0x10100328]
vcomiss xmm0, xmm2
jbe 0x1009e50f
vmovss xmm2, dword [eax + ecx + 4]
vcomiss xmm2, xmm1
jbe 0x1009e50f
vcomiss xmm0, xmm2
jbe 0x1009e50f
vmovss xmm2, dword [eax + ecx + 8]
vcomiss xmm2, xmm1
jbe 0x1009e50f
vcomiss xmm0, xmm2
jbe 0x1009e50f
mov ecx, dword [0x10114ffc]
lea edx, [ebp - 0x38]
vxorps xmm0, xmm0, xmm0
vmovss dword [ebp - 0x38], xmm0
vmovss dword [ebp - 0x34], xmm0
mov eax, dword [ecx]
vmovss dword [ebp - 0x30], xmm0
push edx
mov eax, dword [eax + 0x4c]
call eax
vmovss xmm0, dword [ebp - 0x34]
vaddss xmm0, xmm0, dword [0x10100584]
vmovss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
vmovss dword [ebp - 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__fdclass
add esp, 4
test ax, ax
jle 0x1009e4c1
vxorps xmm0, xmm0, xmm0
jmp 0x1009e50a
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x10100584]
vcomiss xmm0, xmm2
vmovss xmm1, dword [0x101005c8]
jbe 0x1009e4ef
nop dword [eax]
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009e4e0
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x101006c8]
vcomiss xmm2, xmm0
jbe 0x1009e50f
nop dword [eax]
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009e500
vmovss dword [ebp - 0x18], xmm0
mov ecx, dword [0x10115080]
call fcn.1001cc00
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x1010050c]
jbe 0x1009e532
or dword [esi + 0x24], 4
jmp 0x1009e6b7
mov ecx, dword [0x10115080]
call fcn.1001cc00
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x10100508]
jbe 0x1009e61f
mov ecx, dword [0x10115080]
call fcn.1001cc00
vmovss xmm0, dword [0x1010050c]
vcomiss xmm0, dword [eax + 8]
jbe 0x1009e61f
mov eax, dword [0x10115014]
mov ebx, dword [0x10115000]
cmp eax, dword [edi + 4]
jle 0x1009e5c6
push 0x10115014
call fcn.100e1839
add esp, 4
cmp dword [0x10115014], 0xffffffff
jne 0x1009e5c6
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 4
call fcn.100e09f0
push 0x10115014
mov dword [0x10115030], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10115030]
cmp dword [ebx + eax], 0x201
je 0x1009e5e1
vmovss xmm0, dword [0x1010053c]
vmovss dword [ebp - 0x1c], xmm0
mov ecx, dword [0x10115000]
vmovss xmm0, dword [ebp - 0x20]
vmovss dword [esi + 0xc], xmm0
vmovss xmm0, dword [ebp - 0x18]
mov eax, dword [ecx]
vmovss dword [esi + 0x10], xmm0
vmovss xmm0, dword [ebp - 0x1c]
vmovss dword [esi + 0x14], xmm0
mov eax, dword [eax + 0x45c]
call eax
mov eax, dword [esi + 0x24]
and eax, 0xfffff7ff
or eax, 1
jmp 0x1009e6b4
mov eax, dword [0x10115014]
mov ebx, dword [0x10115000]
cmp eax, dword [edi + 4]
jle 0x1009e670
push 0x10115014
call fcn.100e1839
add esp, 4
cmp dword [0x10115014], 0xffffffff
jne 0x1009e670
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 5
call fcn.100e09f0
push 0x10115014
mov dword [0x10115030], eax
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10115030]
cmp dword [ebx + eax], 0x201
je 0x1009e68b
vmovss xmm0, dword [0x1010053c]
vmovss dword [ebp - 0x1c], xmm0
vmovss xmm0, dword [ebp - 0x20]
mov eax, dword [esi + 0x24]
vmovss dword [esi + 0xc], xmm0
vmovss xmm0, dword [ebp - 0x18]
vmovss dword [esi + 0x10], xmm0
vmovss xmm0, dword [ebp - 0x1c]
and eax, 0xfffff7ff
vmovss dword [esi + 0x14], xmm0
or eax, 7
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e12eb
mov esp, ebp
pop ebp
ret 4