Function at 0x1009fde0
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 0x100eb4e1
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 [0x10114f34]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x101171d0]
cmp eax, dword [edi + 4]
jle 0x1009fe7c
push 0x101171d0
call fcn.100e0745
add esp, 4
cmp dword [0x101171d0], 0xffffffff
jne 0x1009fe7c
vxorps xmm0, xmm0, xmm0
push 0x101171d0
vmovss dword [0x101171e0], xmm0
vmovss dword [0x101171e4], xmm0
vmovss dword [0x101171e8], xmm0
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10116830]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x10], 0
je 0x1009ff2a
mov esi, dword [0x10115000]
test esi, esi
je 0x1009ff2a
mov eax, dword [0x10114fd0]
cmp eax, dword [edi + 4]
jle 0x1009feee
push 0x10114fd0
call fcn.100e0745
add esp, 4
cmp dword [0x10114fd0], 0xffffffff
jne 0x1009feee
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100df900
push 0x10114fd0
mov dword [0x10114f90], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114f90]
cmp byte [eax + esi], 0
jne 0x1009ff2a
mov eax, dword [0x10116830]
mov eax, dword [eax + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009ff2a
cmp dword [0x101151a8], 0
jne 0x1009ff63
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151a8], eax
vxorps xmm0, xmm0, xmm0
mov byte [0x10115240], 0
vmovss dword [0x101171e4], xmm0
vmovss dword [0x101171e0], xmm0
vmovss dword [0x101171e8], 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 [0x101151a8]
jne 0x1009ff2a
mov ecx, dword [0x10115018]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009ff2a
vmovss xmm2, dword [0x101171e0]
vmovss xmm0, dword [0x100ffe74]
vcomiss xmm2, xmm0
jbe 0x1009ffff
vmovss xmm1, dword [0x100ffb20]
vcomiss xmm1, xmm2
jbe 0x1009ffff
vmovss xmm2, dword [0x101171e4]
vcomiss xmm2, xmm0
jbe 0x1009ffff
vcomiss xmm1, xmm2
jbe 0x1009ffff
vmovss xmm2, dword [0x101171e8]
vcomiss xmm2, xmm0
jbe 0x1009ffff
vcomiss xmm1, xmm2
jbe 0x1009ffff
mov ecx, dword [0x10115000]
call fcn.1001c7a0
vmovss xmm0, dword [eax]
vmovss dword [0x101171e0], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [0x101171e4], xmm0
vmovss xmm0, dword [eax + 8]
jmp 0x1009ff45
mov esi, dword [ebp - 0x14]
push esi
call fcn.100d3190
test al, al
je 0x100a0018
mov byte [0x10115240], 1
jmp 0x1009ff4d
cmp byte [0x10115240], 0
je 0x1009ff4d
mov ecx, dword [0x10115000]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
vmovss xmm0, dword [eax]
vsubss xmm2, xmm0, dword [0x101171e0]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [0x101171e4]
vmovss dword [ebp - 0x18], xmm0
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x14], xmm2
call fcn.1001c200
vcomiss xmm0, dword [0x100ffc8c]
vxorps xmm0, xmm0, xmm0
jbe 0x1009ff2e
mov ecx, dword [0x10114f7c]
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 [0x100ffd7c]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm1, xmm0, qword [0x100ffc38]
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 [0x100fff50]
vmulss xmm1, xmm1, dword [0x100ffcbc]
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 [0x100ffcbc]
vmovss dword [esi + 0x1c], xmm0
jmp 0x1009ff4d