Function at 0x100a0170
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 0x100eb811
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1011100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov ecx, dword [0x10114f54]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x101171f0]
cmp eax, dword [edi + 4]
jle 0x100a020c
push 0x101171f0
call fcn.100e09a6
add esp, 4
cmp dword [0x101171f0], 0xffffffff
jne 0x100a020c
vxorps xmm0, xmm0, xmm0
push 0x101171f0
vmovss dword [0x10117200], xmm0
vmovss dword [0x10117204], xmm0
vmovss dword [0x10117208], xmm0
call fcn.100e095c
add esp, 4
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x10], 0
je 0x100a02bc
mov esi, dword [0x10115020]
test esi, esi
je 0x100a02bc
mov eax, dword [0x10114ff0]
cmp eax, dword [edi + 4]
jle 0x100a027e
push 0x10114ff0
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ff0], 0xffffffff
jne 0x100a027e
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 + esi], 0
jne 0x100a02bc
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100a02bc
cmp dword [0x101151c8], 0
jne 0x100a02f5
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
vxorps xmm0, xmm0, xmm0
mov byte [0x10115260], 0
vmovss dword [0x10117204], xmm0
vmovss dword [0x10117200], xmm0
vmovss dword [0x10117208], 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 [0x101151c8]
jne 0x100a02bc
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100a02bc
vmovss xmm2, dword [0x10117200]
vmovss xmm0, dword [0x100fff24]
vcomiss xmm2, xmm0
jbe 0x100a0391
vmovss xmm1, dword [0x100ffbd0]
vcomiss xmm1, xmm2
jbe 0x100a0391
vmovss xmm2, dword [0x10117204]
vcomiss xmm2, xmm0
jbe 0x100a0391
vcomiss xmm1, xmm2
jbe 0x100a0391
vmovss xmm2, dword [0x10117208]
vcomiss xmm2, xmm0
jbe 0x100a0391
vcomiss xmm1, xmm2
jbe 0x100a0391
mov ecx, dword [0x10115020]
call fcn.1001c730
vmovss xmm0, dword [eax]
vmovss dword [0x10117200], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [0x10117204], xmm0
vmovss xmm0, dword [eax + 8]
jmp 0x100a02d7
mov esi, dword [ebp - 0x14]
push esi
call fcn.100d32f0
test al, al
je 0x100a03aa
mov byte [0x10115260], 1
jmp 0x100a02df
cmp byte [0x10115260], 0
je 0x100a02df
mov ecx, dword [0x10115020]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
vmovss xmm0, dword [eax]
vsubss xmm2, xmm0, dword [0x10117200]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [0x10117204]
vmovss dword [ebp - 0x18], xmm0
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x14], xmm2
call fcn.1001c190
vcomiss xmm0, dword [0x100ffd3c]
vxorps xmm0, xmm0, xmm0
jbe 0x100a02c0
mov ecx, dword [0x10114f9c]
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 [0x100ffe2c]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm1, xmm0, qword [0x100ffce8]
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, xmm1, xmm0
vmovsd xmm0, qword [ebp - 0x30]
vcvtsd2ss xmm1, xmm1, xmm1
vxorps xmm1, xmm1, xmmword [0x10100000]
vmulss xmm1, xmm1, dword [0x100ffd6c]
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 [0x100ffd6c]
vmovss dword [esi + 0x1c], xmm0
jmp 0x100a02df