Function at 0x1009dc00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec8cd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10112040]
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 [0x101178b0]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xa], 0
je 0x1009e297
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009e297
cmp dword [0x10116228], 0
jne 0x1009dc72
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x1009e297
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp eax, dword [0x10116228]
jne 0x1009e297
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009e297
cmp dword [0x10116228], 0
je 0x1009dc5b
call edi
cmp eax, dword [0x10116228]
jne 0x1009e297
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115fb4]
mov ebx, dword [0x10116080]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10116050]
cmp eax, dword [edi + 4]
jle 0x1009dd1c
push 0x10116050
call fcn.100e1f99
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x1009dd1c
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e1150
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + ebx], 0
jne 0x1009e297
call fcn.1009b730
cmp byte [eax], 1
ja 0x1009e297
mov ecx, dword [0x10116080]
call fcn.100262e0
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1009e297
call fcn.10026430
test al, al
jne 0x1009e297
mov eax, dword [0x1011609c]
mov ebx, dword [0x10116080]
cmp eax, dword [edi + 4]
jle 0x1009ddb6
push 0x1011609c
call fcn.100e1f99
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x1009ddb6
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100e1150
push 0x1011609c
mov dword [0x1011608c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x1011608c]
cmp dword [eax + ebx], 3
jne 0x1009e297
mov ecx, dword [0x10116080]
call fcn.1001cce0
test byte [eax], 1
je 0x1009e297
mov ecx, dword [0x10116000]
call fcn.1001d300
cmp dword [eax], 0
je 0x1009e297
mov eax, dword [0x10116080]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1009e297
cmp eax, 9
je 0x1009e297
cmp eax, 0xa
je 0x1009e297
mov ecx, dword [0x10115ffc]
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 [0x10100ef0]
vmovss xmm2, dword [0x10100d74]
vdivss xmm1, xmm0, xmm2
vmovss xmm0, dword [0x10100c20]
mov ebx, dword [0x101160e4]
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 [0x10116080]
vmovss dword [ebp - 0x20], xmm3
cmove ecx, edx
vmovss xmm0, dword [ecx]
vmulss xmm0, xmm0, dword [0x10100d24]
vsubss xmm0, xmm2, xmm0
vmovss dword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009df05
push 0x101160e4
call fcn.100e1f99
mov ebx, dword [0x101160e4]
add esp, 4
cmp ebx, 0xffffffff
jne 0x1009df05
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.100e1150
push 0x101160e4
mov dword [0x101160f8], eax
mov dword [ebp - 4], ebx
call fcn.100e1f48
mov ebx, dword [0x101160e4]
add esp, 4
mov eax, dword [0x101160f8]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1009b490
push ecx
vmovss xmm0, dword [eax + 4]
vaddss xmm0, xmm0, dword [0x10100dbc]
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 [0x10100e00]
add esp, 4
test ax, ax
jle 0x1009df52
vxorps xmm0, xmm0, xmm0
jmp 0x1009df8c
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x10100dbc]
vcomiss xmm0, xmm2
jbe 0x1009df74
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009df65
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x10100f00]
vcomiss xmm2, xmm0
jbe 0x1009df91
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009df82
vmovss dword [ebp - 0x18], xmm0
mov eax, dword [0x10116080]
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009dfe9
push 0x101160e4
call fcn.100e1f99
add esp, 4
cmp dword [0x101160e4], 0xffffffff
jne 0x1009dfe6
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 3
call fcn.100e1150
push 0x101160e4
mov dword [0x101160f8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x101160f8]
vmovss xmm1, dword [0x10100eb4]
vmovss xmm2, dword [eax + ecx]
vcomiss xmm2, xmm1
jbe 0x1009e0ef
vmovss xmm0, dword [0x10100b60]
vcomiss xmm0, xmm2
jbe 0x1009e0ef
vmovss xmm2, dword [eax + ecx + 4]
vcomiss xmm2, xmm1
jbe 0x1009e0ef
vcomiss xmm0, xmm2
jbe 0x1009e0ef
vmovss xmm2, dword [eax + ecx + 8]
vcomiss xmm2, xmm1
jbe 0x1009e0ef
vcomiss xmm0, xmm2
jbe 0x1009e0ef
mov ecx, dword [0x10115ffc]
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 [0x10100dbc]
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 0x1009e0a1
vxorps xmm0, xmm0, xmm0
jmp 0x1009e0ea
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x10100dbc]
vcomiss xmm0, xmm2
vmovss xmm1, dword [0x10100e00]
jbe 0x1009e0cf
nop dword [eax]
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009e0c0
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x10100f00]
vcomiss xmm2, xmm0
jbe 0x1009e0ef
nop dword [eax]
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009e0e0
vmovss dword [ebp - 0x18], xmm0
mov ecx, dword [0x10116080]
call fcn.1001cba0
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x10100d48]
jbe 0x1009e112
or dword [esi + 0x24], 4
jmp 0x1009e297
mov ecx, dword [0x10116080]
call fcn.1001cba0
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x10100d40]
jbe 0x1009e1ff
mov ecx, dword [0x10116080]
call fcn.1001cba0
vmovss xmm0, dword [0x10100d48]
vcomiss xmm0, dword [eax + 8]
jbe 0x1009e1ff
mov eax, dword [0x10116014]
mov ebx, dword [0x10116000]
cmp eax, dword [edi + 4]
jle 0x1009e1a6
push 0x10116014
call fcn.100e1f99
add esp, 4
cmp dword [0x10116014], 0xffffffff
jne 0x1009e1a6
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 4
call fcn.100e1150
push 0x10116014
mov dword [0x10116030], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10116030]
cmp dword [ebx + eax], 0x201
je 0x1009e1c1
vmovss xmm0, dword [0x10100d78]
vmovss dword [ebp - 0x1c], xmm0
mov ecx, dword [0x10116000]
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 0x1009e294
mov eax, dword [0x10116014]
mov ebx, dword [0x10116000]
cmp eax, dword [edi + 4]
jle 0x1009e250
push 0x10116014
call fcn.100e1f99
add esp, 4
cmp dword [0x10116014], 0xffffffff
jne 0x1009e250
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 5
call fcn.100e1150
push 0x10116014
mov dword [0x10116030], eax
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10116030]
cmp dword [ebx + eax], 0x201
je 0x1009e26b
vmovss xmm0, dword [0x10100d78]
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.100e1a4b
mov esp, ebp
pop ebp
ret 4