Function at 0x100a1610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecf01
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov ecx, dword [0x10115fb4]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10118250]
cmp eax, dword [edi + 4]
jle 0x100a16ac
push 0x10118250
call fcn.100e211f
add esp, 4
cmp dword [0x10118250], 0xffffffff
jne 0x100a16ac
vxorps xmm0, xmm0, xmm0
push 0x10118250
vmovss dword [0x10118260], xmm0
vmovss dword [0x10118264], xmm0
vmovss dword [0x10118268], xmm0
call fcn.100e20ce
add esp, 4
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x10], 0
je 0x100a175a
mov esi, dword [0x10116080]
test esi, esi
je 0x100a175a
mov eax, dword [0x10116050]
cmp eax, dword [edi + 4]
jle 0x100a171e
push 0x10116050
call fcn.100e211f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100a171e
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 + esi], 0
jne 0x100a175a
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100a175a
cmp dword [0x10116228], 0
jne 0x100a1793
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
vxorps xmm0, xmm0, xmm0
mov byte [0x101162c0], 0
vmovss dword [0x10118264], xmm0
vmovss dword [0x10118260], xmm0
vmovss dword [0x10118268], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x100a175a
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100a175a
vmovss xmm2, dword [0x10118260]
vmovss xmm0, dword [0x10100e64]
vcomiss xmm2, xmm0
jbe 0x100a182f
vmovss xmm1, dword [0x10100b20]
vcomiss xmm1, xmm2
jbe 0x100a182f
vmovss xmm2, dword [0x10118264]
vcomiss xmm2, xmm0
jbe 0x100a182f
vcomiss xmm1, xmm2
jbe 0x100a182f
vmovss xmm2, dword [0x10118268]
vcomiss xmm2, xmm0
jbe 0x100a182f
vcomiss xmm1, xmm2
jbe 0x100a182f
mov ecx, dword [0x10116080]
call fcn.1001c8a0
vmovss xmm0, dword [eax]
vmovss dword [0x10118260], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [0x10118264], xmm0
vmovss xmm0, dword [eax + 8]
jmp 0x100a1775
mov esi, dword [ebp - 0x14]
push esi
call fcn.100d4b10
test al, al
je 0x100a1848
mov byte [0x101162c0], 1
jmp 0x100a177d
cmp byte [0x101162c0], 0
je 0x100a177d
mov ecx, dword [0x10116080]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
vmovss xmm0, dword [eax]
vsubss xmm2, xmm0, dword [0x10118260]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [0x10118264]
vmovss dword [ebp - 0x18], xmm0
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x14], xmm2
call fcn.1001c310
vcomiss xmm0, dword [0x10100c8c]
vxorps xmm0, xmm0, xmm0
jbe 0x100a175e
mov ecx, dword [0x10115ffc]
lea edx, [ebp - 0x28]
vmovss dword [ebp - 0x28], xmm0
vmovss dword [ebp - 0x24], xmm0
vmovss dword [ebp - 0x20], xmm0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
vmovss xmm0, dword [ebp - 0x24]
vdivss xmm0, xmm0, dword [0x10100d70]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm1, xmm0, qword [0x10100c38]
vmovaps xmm0, xmm1
vmovsd qword [ebp - 0x30], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
vmovss xmm2, dword [ebp - 0x18]
vcvtss2sd xmm1, xmm2, xmm2
vmulsd xmm0, xmm0, xmm1
vmovsd qword [ebp - 0x28], xmm0
vmovsd xmm0, qword [ebp - 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
vmovss xmm2, dword [ebp - 0x14]
vcvtss2sd xmm1, xmm2, xmm2
vmulsd xmm0, xmm0, xmm1
vmovsd xmm1, qword [ebp - 0x28]
vaddsd xmm1, xmm0, xmm1
vmovsd xmm0, qword [ebp - 0x30]
vcvtsd2ss xmm1, xmm1, xmm1
vxorps xmm1, xmm1, xmmword [0x10100f40]
vmulss xmm1, xmm1, dword [0x10100cbc]
vmovss dword [esi + 0x18], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
vmovss xmm2, dword [ebp - 0x18]
vcvtss2sd xmm1, xmm2, xmm2
vmulsd xmm0, xmm0, xmm1
vmovsd qword [ebp - 0x28], xmm0
vmovsd xmm0, qword [ebp - 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
vmovss xmm2, dword [ebp - 0x14]
vcvtss2sd xmm1, xmm2, xmm2
vmulsd xmm0, xmm0, xmm1
vmovsd xmm1, qword [ebp - 0x28]
vsubsd xmm0, xmm1, xmm0
vcvtsd2ss xmm0, xmm0, xmm0
vmulss xmm0, xmm0, dword [0x10100cbc]
vmovss dword [esi + 0x1c], xmm0
jmp 0x100a177d