Function at 0x1009c2d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec6f5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10111040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
vmovss dword [ebp - 0x28], xmm1
mov dword [ebp - 4], 0
mov edi, dword [0x10115084]
test edi, edi
je 0x1009c6a8
mov eax, dword fs:[0x2c]
mov esi, edi
mov ecx, dword [0x10114fb4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10115054]
cmp eax, dword [ebx + 4]
jle 0x1009c378
push 0x10115054
call fcn.100e1f89
add esp, 4
cmp dword [0x10115054], 0xffffffff
jne 0x1009c372
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100e1140
push 0x10115054
mov dword [0x10115010], eax
mov byte [ebp - 4], 0
call fcn.100e1f38
add esp, 4
mov edi, dword [0x10115084]
mov eax, dword [0x10115010]
cmp byte [eax + esi], 0
jne 0x1009c6a8
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x30]
cmp byte [ecx], 0
je 0x1009c6a8
mov eax, dword [0x10116880]
cmp dword [eax + 8], 0
jg 0x1009c6a8
cmp dword [0x10115000], 0
je 0x1009c6a8
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, 1
je 0x1009c4b9
sub eax, 1
je 0x1009c4b2
sub eax, 1
jne 0x1009c42f
mov eax, dword [0x10117710]
cmp eax, dword [ebx + 4]
jle 0x1009c420
push 0x10117710
call fcn.100e1f89
add esp, 4
cmp dword [0x10117710], 0xffffffff
jne 0x1009c420
push str.RandomInt
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10117710
mov dword [0x10117708], eax
call fcn.100e1f38
add esp, 4
push 4
push 0
call dword [0x10117708]
add esp, 8
mov esi, eax
mov eax, 1
cmp esi, eax
cmovl esi, eax
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009c471
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
vmovss xmm0, dword [0x10115298]
fstp dword [ebp - 0x18]
vcomiss xmm0, dword [ebp - 0x18]
ja 0x1009c69f
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1009c6a8
cmp dword [0x10115228], 0
jne 0x1009c59e
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x1009c6a8
mov esi, 8
jmp 0x1009c439
mov eax, dword [0x101150e4]
cmp eax, dword [ebx + 4]
jle 0x1009c505
push 0x101150e4
call fcn.100e1f89
add esp, 4
cmp dword [0x101150e4], 0xffffffff
jne 0x1009c505
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100e1140
push 0x101150e4
mov dword [0x101150f8], eax
mov byte [ebp - 4], 0
call fcn.100e1f38
add esp, 4
mov eax, dword [0x101150f8]
vmovss xmm0, dword [eax + edi]
vmovss xmm2, dword [eax + edi + 4]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.1001c320
mov eax, dword [0x101150ac]
vmulss xmm1, xmm0, dword [eax + 0x1c]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, xmm1
jb 0x1009c542
vmovss xmm1, dword [0x10100898]
vmovss xmm0, dword [0x101009d8]
vdivss xmm0, xmm0, xmm1
mov dword [ebp - 0x24], 0x16
mov dword [ebp - 0x1c], 0
call fcn.10025470
vcvttss2si edx, xmm0
test edx, edx
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
cmovns ecx, eax
cmp edx, 0x16
lea eax, [ebp - 0x24]
cmovle eax, ecx
mov ecx, dword [eax]
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x10116880]
sar esi, 1
cmp dword [eax], ecx
jge 0x1009c42f
mov esi, 1
jmp 0x1009c439
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x1009c6a8
mov ecx, dword [0x1011509c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009c6a8
mov eax, dword [0x10116880]
cmp dword [eax], esi
jl 0x1009c6a8
xor edi, edi
mov byte [eax + 0x16], 1
test esi, esi
jle 0x1009c69f
mov bl, byte [ebp + 8]
nop word [eax + eax]
vmovss xmm0, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 0x14], bl
vmovss dword [ebp - 0x18], xmm0
test ecx, ecx
je 0x1009c6e0
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 8]
mov eax, dword [0x10116880]
dec dword [eax]
mov eax, dword [0x10116880]
inc dword [eax + 4]
mov eax, dword [0x10116880]
mov dword [eax + 0xc], 0x1a
lea eax, [esi - 1]
cmp edi, eax
mov eax, dword [0x10116880]
sete cl
mov eax, dword [eax + 0x18]
mov byte [eax], cl
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009c696
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
call dword [ebp - 0x2c]
mov eax, dword [0x101150ac]
vmovss xmm0, dword [0x10100804]
fadd dword [0x10100814]
vdivss xmm0, xmm0, dword [eax + 0x1c]
mov eax, dword [0x10116880]
vaddss xmm0, xmm0, dword [0x10100870]
vcvttss2si ecx, xmm0
fstp dword [0x10115298]
mov dword [eax + 0xc], ecx
inc edi
cmp edi, esi
jl 0x1009c5f0
mov eax, dword [0x10116880]
mov byte [eax + 0x16], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1009c6c0
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e1a3b
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3