Function at 0x100a3970
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 0x100eee41
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10114008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov ecx, dword [0x10117f54]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1011a1f0]
cmp eax, dword [edi + 4]
jle 0x100a3a0c
push 0x1011a1f0
call fcn.100e3eef
add esp, 4
cmp dword [0x1011a1f0], 0xffffffff
jne 0x100a3a0c
vxorps xmm0, xmm0, xmm0
push 0x1011a1f0
vmovss dword [0x1011a200], xmm0
vmovss dword [0x1011a204], xmm0
vmovss dword [0x1011a208], xmm0
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x10], 0
je 0x100a3abc
mov esi, dword [0x10118020]
test esi, esi
je 0x100a3abc
mov eax, dword [0x10117ff0]
cmp eax, dword [edi + 4]
jle 0x100a3a7e
push 0x10117ff0
call fcn.100e3eef
add esp, 4
cmp dword [0x10117ff0], 0xffffffff
jne 0x100a3a7e
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e2fc0
push 0x10117ff0
mov dword [0x10117fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x10117fb0]
cmp byte [eax + esi], 0
jne 0x100a3abc
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100a3abc
cmp dword [0x101181c8], 0
jne 0x100a3af5
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101181c8], eax
vxorps xmm0, xmm0, xmm0
mov byte [0x10118260], 0
vmovss dword [0x1011a204], xmm0
vmovss dword [0x1011a200], xmm0
vmovss dword [0x1011a208], 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 [0x101181c8]
jne 0x100a3abc
mov ecx, dword [0x10118038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100a3abc
vmovss xmm2, dword [0x1011a200]
vmovss xmm0, dword [0x10102f24]
vcomiss xmm2, xmm0
jbe 0x100a3b91
vmovss xmm1, dword [0x10102bd0]
vcomiss xmm1, xmm2
jbe 0x100a3b91
vmovss xmm2, dword [0x1011a204]
vcomiss xmm2, xmm0
jbe 0x100a3b91
vcomiss xmm1, xmm2
jbe 0x100a3b91
vmovss xmm2, dword [0x1011a208]
vcomiss xmm2, xmm0
jbe 0x100a3b91
vcomiss xmm1, xmm2
jbe 0x100a3b91
mov ecx, dword [0x10118020]
call fcn.10021800
vmovss xmm0, dword [eax]
vmovss dword [0x1011a200], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [0x1011a204], xmm0
vmovss xmm0, dword [eax + 8]
jmp 0x100a3ad7
mov esi, dword [ebp - 0x14]
push esi
call fcn.100d6820
test al, al
je 0x100a3baa
mov byte [0x10118260], 1
jmp 0x100a3adf
cmp byte [0x10118260], 0
je 0x100a3adf
mov ecx, dword [0x10118020]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
vmovss xmm0, dword [eax]
vsubss xmm2, xmm0, dword [0x1011a200]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [0x1011a204]
vmovss dword [ebp - 0x18], xmm0
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x14], xmm2
call fcn.10021260
vcomiss xmm0, dword [0x10102d3c]
vxorps xmm0, xmm0, xmm0
jbe 0x100a3ac0
mov ecx, dword [0x10117f9c]
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 [0x10102e2c]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm1, xmm0, qword [0x10102ce8]
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 [0x10103000]
vmulss xmm1, xmm1, dword [0x10102d6c]
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 [0x10102d6c]
vmovss dword [esi + 0x1c], xmm0
jmp 0x100a3adf