Function at 0x100a1270
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 0x100ecda1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10111040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov ecx, dword [0x10114fb4]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10117250]
cmp eax, dword [edi + 4]
jle 0x100a130c
push 0x10117250
call fcn.100e1f89
add esp, 4
cmp dword [0x10117250], 0xffffffff
jne 0x100a130c
vxorps xmm0, xmm0, xmm0
push 0x10117250
vmovss dword [0x10117260], xmm0
vmovss dword [0x10117264], xmm0
vmovss dword [0x10117268], xmm0
call fcn.100e1f38
add esp, 4
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x10], 0
je 0x100a13ba
mov esi, dword [0x10115084]
test esi, esi
je 0x100a13ba
mov eax, dword [0x10115054]
cmp eax, dword [edi + 4]
jle 0x100a137e
push 0x10115054
call fcn.100e1f89
add esp, 4
cmp dword [0x10115054], 0xffffffff
jne 0x100a137e
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e1140
push 0x10115054
mov dword [0x10115010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f38
add esp, 4
mov eax, dword [0x10115010]
cmp byte [eax + esi], 0
jne 0x100a13ba
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100a13ba
cmp dword [0x10115228], 0
jne 0x100a13f3
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
vxorps xmm0, xmm0, xmm0
mov byte [0x101152c0], 0
vmovss dword [0x10117264], xmm0
vmovss dword [0x10117260], xmm0
vmovss dword [0x10117268], 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 [0x10115228]
jne 0x100a13ba
mov ecx, dword [0x1011509c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100a13ba
vmovss xmm2, dword [0x10117260]
vmovss xmm0, dword [0x10100b2c]
vcomiss xmm2, xmm0
jbe 0x100a148f
vmovss xmm1, dword [0x101007d8]
vcomiss xmm1, xmm2
jbe 0x100a148f
vmovss xmm2, dword [0x10117264]
vcomiss xmm2, xmm0
jbe 0x100a148f
vcomiss xmm1, xmm2
jbe 0x100a148f
vmovss xmm2, dword [0x10117268]
vcomiss xmm2, xmm0
jbe 0x100a148f
vcomiss xmm1, xmm2
jbe 0x100a148f
mov ecx, dword [0x10115084]
call fcn.1001c8b0
vmovss xmm0, dword [eax]
vmovss dword [0x10117260], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [0x10117264], xmm0
vmovss xmm0, dword [eax + 8]
jmp 0x100a13d5
mov esi, dword [ebp - 0x14]
push esi
call fcn.100d49b0
test al, al
je 0x100a14a8
mov byte [0x101152c0], 1
jmp 0x100a13dd
cmp byte [0x101152c0], 0
je 0x100a13dd
mov ecx, dword [0x10115084]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
vmovss xmm0, dword [eax]
vsubss xmm2, xmm0, dword [0x10117260]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [0x10117264]
vmovss dword [ebp - 0x18], xmm0
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x14], xmm2
call fcn.1001c320
vcomiss xmm0, dword [0x10100944]
vxorps xmm0, xmm0, xmm0
jbe 0x100a13be
mov ecx, dword [0x10114ffc]
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 [0x10100a34]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm1, xmm0, qword [0x101008f0]
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 [0x10100c10]
vmulss xmm1, xmm1, dword [0x10100974]
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 [0x10100974]
vmovss dword [esi + 0x1c], xmm0
jmp 0x100a13dd