Function at 0x1009de40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eca3d
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 0x1009e4d7
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009e4d7
cmp dword [0x10116228], 0
jne 0x1009deb2
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x1009e4d7
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp eax, dword [0x10116228]
jne 0x1009e4d7
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009e4d7
cmp dword [0x10116228], 0
je 0x1009de9b
call edi
cmp eax, dword [0x10116228]
jne 0x1009e4d7
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 0x1009df5c
push 0x10116050
call fcn.100e211f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x1009df5c
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e12d0
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e20ce
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + ebx], 0
jne 0x1009e4d7
call fcn.1009b970
cmp byte [eax], 1
ja 0x1009e4d7
mov ecx, dword [0x10116080]
call fcn.100262f0
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1009e4d7
call fcn.10026440
test al, al
jne 0x1009e4d7
mov eax, dword [0x1011609c]
mov ebx, dword [0x10116080]
cmp eax, dword [edi + 4]
jle 0x1009dff6
push 0x1011609c
call fcn.100e211f
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x1009dff6
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100e12d0
push 0x1011609c
mov dword [0x1011608c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e20ce
add esp, 4
mov eax, dword [0x1011608c]
cmp dword [eax + ebx], 3
jne 0x1009e4d7
mov ecx, dword [0x10116080]
call fcn.1001ccd0
test byte [eax], 1
je 0x1009e4d7
mov ecx, dword [0x10116000]
call fcn.1001d2f0
cmp dword [eax], 0
je 0x1009e4d7
mov eax, dword [0x10116080]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1009e4d7
cmp eax, 9
je 0x1009e4d7
cmp eax, 0xa
je 0x1009e4d7
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 [0x10100ea0]
vmovss xmm2, dword [0x10100d34]
vdivss xmm1, xmm0, xmm2
vmovss xmm0, dword [0x10100be0]
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 [0x10100ce4]
vsubss xmm0, xmm2, xmm0
vmovss dword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009e145
push 0x101160e4
call fcn.100e211f
mov ebx, dword [0x101160e4]
add esp, 4
cmp ebx, 0xffffffff
jne 0x1009e145
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.100e12d0
push 0x101160e4
mov dword [0x101160f8], eax
mov dword [ebp - 4], ebx
call fcn.100e20ce
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.1009b6d0
push ecx
vmovss xmm0, dword [eax + 4]
vaddss xmm0, xmm0, dword [0x10100d70]
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 [0x10100db4]
add esp, 4
test ax, ax
jle 0x1009e192
vxorps xmm0, xmm0, xmm0
jmp 0x1009e1cc
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x10100d70]
vcomiss xmm0, xmm2
jbe 0x1009e1b4
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009e1a5
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x10100eb0]
vcomiss xmm2, xmm0
jbe 0x1009e1d1
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009e1c2
vmovss dword [ebp - 0x18], xmm0
mov eax, dword [0x10116080]
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 4]
jle 0x1009e229
push 0x101160e4
call fcn.100e211f
add esp, 4
cmp dword [0x101160e4], 0xffffffff
jne 0x1009e226
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 3
call fcn.100e12d0
push 0x101160e4
mov dword [0x101160f8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e20ce
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x101160f8]
vmovss xmm1, dword [0x10100e64]
vmovss xmm2, dword [eax + ecx]
vcomiss xmm2, xmm1
jbe 0x1009e32f
vmovss xmm0, dword [0x10100b20]
vcomiss xmm0, xmm2
jbe 0x1009e32f
vmovss xmm2, dword [eax + ecx + 4]
vcomiss xmm2, xmm1
jbe 0x1009e32f
vcomiss xmm0, xmm2
jbe 0x1009e32f
vmovss xmm2, dword [eax + ecx + 8]
vcomiss xmm2, xmm1
jbe 0x1009e32f
vcomiss xmm0, xmm2
jbe 0x1009e32f
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 [0x10100d70]
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 0x1009e2e1
vxorps xmm0, xmm0, xmm0
jmp 0x1009e32a
vmovss xmm0, dword [ebp - 0x18]
vmovss xmm2, dword [0x10100d70]
vcomiss xmm0, xmm2
vmovss xmm1, dword [0x10100db4]
jbe 0x1009e30f
nop dword [eax]
vsubss xmm0, xmm0, xmm1
vcomiss xmm0, xmm2
ja 0x1009e300
vmovss dword [ebp - 0x18], xmm0
vmovss xmm2, dword [0x10100eb0]
vcomiss xmm2, xmm0
jbe 0x1009e32f
nop dword [eax]
vaddss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
ja 0x1009e320
vmovss dword [ebp - 0x18], xmm0
mov ecx, dword [0x10116080]
call fcn.1001cb90
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x10100d08]
jbe 0x1009e352
or dword [esi + 0x24], 4
jmp 0x1009e4d7
mov ecx, dword [0x10116080]
call fcn.1001cb90
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [0x10100d00]
jbe 0x1009e43f
mov ecx, dword [0x10116080]
call fcn.1001cb90
vmovss xmm0, dword [0x10100d08]
vcomiss xmm0, dword [eax + 8]
jbe 0x1009e43f
mov eax, dword [0x10116014]
mov ebx, dword [0x10116000]
cmp eax, dword [edi + 4]
jle 0x1009e3e6
push 0x10116014
call fcn.100e211f
add esp, 4
cmp dword [0x10116014], 0xffffffff
jne 0x1009e3e6
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 4
call fcn.100e12d0
push 0x10116014
mov dword [0x10116030], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e20ce
add esp, 4
mov eax, dword [0x10116030]
cmp dword [ebx + eax], 0x201
je 0x1009e401
vmovss xmm0, dword [0x10100d38]
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 0x1009e4d4
mov eax, dword [0x10116014]
mov ebx, dword [0x10116000]
cmp eax, dword [edi + 4]
jle 0x1009e490
push 0x10116014
call fcn.100e211f
add esp, 4
cmp dword [0x10116014], 0xffffffff
jne 0x1009e490
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 5
call fcn.100e12d0
push 0x10116014
mov dword [0x10116030], eax
call fcn.100e20ce
add esp, 4
mov eax, dword [0x10116030]
cmp dword [ebx + eax], 0x201
je 0x1009e4ab
vmovss xmm0, dword [0x10100d38]
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.100e1bd1
mov esp, ebp
pop ebp
ret 4