Function at 0x1009c910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb30d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1011100c]
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 [0x1011684c]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xa], 0
je 0x1009cfb7
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1009cfb7
cmp dword [0x101151c8], 0
jne 0x1009c984
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
jmp 0x1009cfb7
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp eax, dword [0x101151c8]
jne 0x1009cfb7
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009cfb7
cmp dword [0x101151c8], 0
je 0x1009c96d
call edi
cmp eax, dword [0x101151c8]
jne 0x1009cfb7
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114f54]
mov ebx, dword [0x10115020]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10114ff0]
cmp eax, dword [edi + 4]
jle 0x1009ca2e
push 0x10114ff0
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ff0], 0xffffffff
jne 0x1009ca2e
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100dfaa0
push 0x10114ff0
mov dword [0x10114fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fb0]
cmp byte [eax + ebx], 0
jne 0x1009cfb7
call fcn.1009a430
cmp byte [eax], 1
ja 0x1009cfb7
mov ecx, dword [0x10115020]
call fcn.100260e0
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1009cfb7
call fcn.10026230
test al, al
jne 0x1009cfb7
mov eax, dword [0x1011503c]
mov ebx, dword [0x10115020]
cmp eax, dword [edi + 4]
jle 0x1009cac8
push 0x1011503c
call fcn.100e09a6
add esp, 4
cmp dword [0x1011503c], 0xffffffff
jne 0x1009cac8
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
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 + ebx], 3
jne 0x1009cfb7
mov ecx, dword [0x10115020]
call fcn.1001cb60
test byte [eax], 1
je 0x1009cfb7
mov ecx, dword [0x10114fa0]
call fcn.1001d0e0
cmp dword [eax], 0
je 0x1009cfb7
mov eax, dword [0x10115020]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1009cfb7
cmp eax, 9
je 0x1009cfb7
cmp eax, 0xa
je 0x1009cfb7
mov ecx, dword [0x10114f9c]
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 [0x100fff60]
vmovss xmm2, dword [0x100ffde4]
vdivss xmm1, xmm0, xmm2
vmovss xmm0, dword [0x100ffc90]
mov ebx, dword [0x10115084]
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 [0x10115020]
vmovss dword [ebp - 0x20], xmm3
cmove ecx, edx
vmovss xmm0, dword [ecx]
vmulss xmm0, xmm0, dword [0x100ffd94]
vsubss xmm0, xmm2, xmm0
vmovss dword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009cc17
push 0x10115084
call fcn.100e09a6
mov ebx, dword [0x10115084]
add esp, 4
cmp ebx, 0xffffffff
jne 0x1009cc17
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.100dfaa0
push 0x10115084
mov dword [0x10115098], eax
mov dword [ebp - 4], ebx
call fcn.100e095c
mov ebx, dword [0x10115084]
add esp, 4
mov eax, dword [0x10115098]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1009a190
push ecx
vmovss xmm0, dword [eax + 4]
vaddss xmm0, xmm0, dword [0x100ffe2c]
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 [0x100ffe70]
add esp, 4
test ax, ax
jle 0x1009cc64
vxorps xmm0, xmm0, xmm0
jmp 0x1009ccaa
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x100ffe2c]
vcomiss xmm0, xmm2
jbe 0x1009cc8f
nop word [eax + eax]
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009cc80
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x100fff70]
vcomiss xmm2, xmm0
jbe 0x1009ccaf
nop dword [eax]
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009cca0
vmovss dword [ebp - 0x18], xmm0
mov eax, dword [0x10115020]
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009cd07
push 0x10115084
call fcn.100e09a6
add esp, 4
cmp dword [0x10115084], 0xffffffff
jne 0x1009cd04
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 3
call fcn.100dfaa0
push 0x10115084
mov dword [0x10115098], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x10115098]
vmovss xmm1, dword [0x100fff24]
vmovss xmm2, dword [eax + ecx]
vcomiss xmm2, xmm1
jbe 0x1009ce0f
vmovss xmm0, dword [0x100ffbd0]
vcomiss xmm0, xmm2
jbe 0x1009ce0f
vmovss xmm2, dword [eax + ecx + 4]
vcomiss xmm2, xmm1
jbe 0x1009ce0f
vcomiss xmm0, xmm2
jbe 0x1009ce0f
vmovss xmm2, dword [eax + ecx + 8]
vcomiss xmm2, xmm1
jbe 0x1009ce0f
vcomiss xmm0, xmm2
jbe 0x1009ce0f
mov ecx, dword [0x10114f9c]
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 [0x100ffe2c]
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 0x1009cdbf
vxorps xmm0, xmm0, xmm0
jmp 0x1009ce0a
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x100ffe2c]
vcomiss xmm0, xmm2
vmovss xmm1, dword [0x100ffe70]
jbe 0x1009cdef
nop word [eax + eax]
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009cde0
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x100fff70]
vcomiss xmm2, xmm0
jbe 0x1009ce0f
nop dword [eax]
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009ce00
vmovss dword [ebp - 0x18], xmm0
mov ecx, dword [0x10115020]
call fcn.1001ca20
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x100ffdb8]
jbe 0x1009ce32
or dword [esi + 0x24], 4
jmp 0x1009cfb7
mov ecx, dword [0x10115020]
call fcn.1001ca20
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x100ffdb0]
jbe 0x1009cf1f
mov ecx, dword [0x10115020]
call fcn.1001ca20
vmovss xmm0, dword [0x100ffdb8]
vcomiss xmm0, dword [eax + 8]
jbe 0x1009cf1f
mov eax, dword [0x10114fb4]
mov ebx, dword [0x10114fa0]
cmp eax, dword [edi + 4]
jle 0x1009cec6
push 0x10114fb4
call fcn.100e09a6
add esp, 4
cmp dword [0x10114fb4], 0xffffffff
jne 0x1009cec6
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 4
call fcn.100dfaa0
push 0x10114fb4
mov dword [0x10114fd0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fd0]
cmp dword [ebx + eax], 0x201
je 0x1009cee1
vmovss xmm0, dword [0x100ffde8]
vmovss dword [ebp - 0x1c], xmm0
mov ecx, dword [0x10114fa0]
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 0x1009cfb4
mov eax, dword [0x10114fb4]
mov ebx, dword [0x10114fa0]
cmp eax, dword [edi + 4]
jle 0x1009cf70
push 0x10114fb4
call fcn.100e09a6
add esp, 4
cmp dword [0x10114fb4], 0xffffffff
jne 0x1009cf70
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 5
call fcn.100dfaa0
push 0x10114fb4
mov dword [0x10114fd0], eax
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fd0]
cmp dword [ebx + eax], 0x201
je 0x1009cf8b
vmovss xmm0, dword [0x100ffde8]
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.100e03a1
mov esp, ebp
pop ebp
ret 4