Function at 0x1009c790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb01d
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 [0x10116830]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xa], 0
je 0x1009ce27
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009ce27
cmp dword [0x101151a8], 0
jne 0x1009c802
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151a8], eax
jmp 0x1009ce27
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp eax, dword [0x101151a8]
jne 0x1009ce27
mov ecx, dword [0x10115018]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009ce27
cmp dword [0x101151a8], 0
je 0x1009c7eb
call edi
cmp eax, dword [0x101151a8]
jne 0x1009ce27
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114f34]
mov ebx, dword [0x10115000]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10114fd0]
cmp eax, dword [edi + 4]
jle 0x1009c8ac
push 0x10114fd0
call fcn.100e0745
add esp, 4
cmp dword [0x10114fd0], 0xffffffff
jne 0x1009c8ac
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100df900
push 0x10114fd0
mov dword [0x10114f90], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114f90]
cmp byte [eax + ebx], 0
jne 0x1009ce27
call fcn.1009a2b0
cmp byte [eax], 1
ja 0x1009ce27
mov ecx, dword [0x10115000]
call fcn.10026110
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1009ce27
call fcn.10026260
test al, al
jne 0x1009ce27
mov eax, dword [0x1011501c]
mov ebx, dword [0x10115000]
cmp eax, dword [edi + 4]
jle 0x1009c946
push 0x1011501c
call fcn.100e0745
add esp, 4
cmp dword [0x1011501c], 0xffffffff
jne 0x1009c946
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100df900
push 0x1011501c
mov dword [0x1011500c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x1011500c]
cmp dword [eax + ebx], 3
jne 0x1009ce27
mov ecx, dword [0x10115000]
call fcn.1001cbd0
test byte [eax], 1
je 0x1009ce27
mov ecx, dword [0x10114f80]
call fcn.1001d150
cmp dword [eax], 0
je 0x1009ce27
mov eax, dword [0x10115000]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1009ce27
cmp eax, 9
je 0x1009ce27
cmp eax, 0xa
je 0x1009ce27
mov ecx, dword [0x10114f7c]
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 [0x100ffeb0]
vmovss xmm2, dword [0x100ffd34]
vdivss xmm1, xmm0, xmm2
vmovss xmm0, dword [0x100ffbe0]
mov ebx, dword [0x10115064]
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 [0x10115000]
vmovss dword [ebp - 0x20], xmm3
cmove ecx, edx
vmovss xmm0, dword [ecx]
vmulss xmm0, xmm0, dword [0x100ffce4]
vsubss xmm0, xmm2, xmm0
vmovss dword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009ca95
push 0x10115064
call fcn.100e0745
mov ebx, dword [0x10115064]
add esp, 4
cmp ebx, 0xffffffff
jne 0x1009ca95
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.100df900
push 0x10115064
mov dword [0x10115078], eax
mov dword [ebp - 4], ebx
call fcn.100e06f4
mov ebx, dword [0x10115064]
add esp, 4
mov eax, dword [0x10115078]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1009a010
push ecx
vmovss xmm0, dword [eax + 4]
vaddss xmm0, xmm0, dword [0x100ffd7c]
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 [0x100ffdc0]
add esp, 4
test ax, ax
jle 0x1009cae2
vxorps xmm0, xmm0, xmm0
jmp 0x1009cb1c
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x100ffd7c]
vcomiss xmm0, xmm2
jbe 0x1009cb04
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009caf5
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x100ffec0]
vcomiss xmm2, xmm0
jbe 0x1009cb21
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009cb12
vmovss dword [ebp - 0x18], xmm0
mov eax, dword [0x10115000]
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009cb79
push 0x10115064
call fcn.100e0745
add esp, 4
cmp dword [0x10115064], 0xffffffff
jne 0x1009cb76
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 3
call fcn.100df900
push 0x10115064
mov dword [0x10115078], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x10115078]
vmovss xmm1, dword [0x100ffe74]
vmovss xmm2, dword [eax + ecx]
vcomiss xmm2, xmm1
jbe 0x1009cc7f
vmovss xmm0, dword [0x100ffb20]
vcomiss xmm0, xmm2
jbe 0x1009cc7f
vmovss xmm2, dword [eax + ecx + 4]
vcomiss xmm2, xmm1
jbe 0x1009cc7f
vcomiss xmm0, xmm2
jbe 0x1009cc7f
vmovss xmm2, dword [eax + ecx + 8]
vcomiss xmm2, xmm1
jbe 0x1009cc7f
vcomiss xmm0, xmm2
jbe 0x1009cc7f
mov ecx, dword [0x10114f7c]
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 [0x100ffd7c]
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 0x1009cc31
vxorps xmm0, xmm0, xmm0
jmp 0x1009cc7a
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x100ffd7c]
vcomiss xmm0, xmm2
vmovss xmm1, dword [0x100ffdc0]
jbe 0x1009cc5f
nop dword [eax]
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009cc50
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x100ffec0]
vcomiss xmm2, xmm0
jbe 0x1009cc7f
nop dword [eax]
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009cc70
vmovss dword [ebp - 0x18], xmm0
mov ecx, dword [0x10115000]
call fcn.1001ca90
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x100ffd08]
jbe 0x1009cca2
or dword [esi + 0x24], 4
jmp 0x1009ce27
mov ecx, dword [0x10115000]
call fcn.1001ca90
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x100ffd00]
jbe 0x1009cd8f
mov ecx, dword [0x10115000]
call fcn.1001ca90
vmovss xmm0, dword [0x100ffd08]
vcomiss xmm0, dword [eax + 8]
jbe 0x1009cd8f
mov eax, dword [0x10114f94]
mov ebx, dword [0x10114f80]
cmp eax, dword [edi + 4]
jle 0x1009cd36
push 0x10114f94
call fcn.100e0745
add esp, 4
cmp dword [0x10114f94], 0xffffffff
jne 0x1009cd36
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 4
call fcn.100df900
push 0x10114f94
mov dword [0x10114fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114fb0]
cmp dword [ebx + eax], 0x201
je 0x1009cd51
vmovss xmm0, dword [0x100ffd38]
vmovss dword [ebp - 0x1c], xmm0
mov ecx, dword [0x10114f80]
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 0x1009ce24
mov eax, dword [0x10114f94]
mov ebx, dword [0x10114f80]
cmp eax, dword [edi + 4]
jle 0x1009cde0
push 0x10114f94
call fcn.100e0745
add esp, 4
cmp dword [0x10114f94], 0xffffffff
jne 0x1009cde0
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 5
call fcn.100df900
push 0x10114f94
mov dword [0x10114fb0], eax
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114fb0]
cmp dword [ebx + eax], 0x201
je 0x1009cdfb
vmovss xmm0, dword [0x100ffd38]
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.100e01f7
mov esp, ebp
pop ebp
ret 4