Function at 0x1009c640
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec855
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10112040]
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 [0x10116080]
test edi, edi
je 0x1009ca18
mov eax, dword fs:[0x2c]
mov esi, edi
mov ecx, dword [0x10115fb4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10116050]
cmp eax, dword [ebx + 4]
jle 0x1009c6e8
push 0x10116050
call fcn.100e211f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x1009c6e2
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100e12d0
push 0x10116050
mov dword [0x10116010], eax
mov byte [ebp - 4], 0
call fcn.100e20ce
add esp, 4
mov edi, dword [0x10116080]
mov eax, dword [0x10116010]
cmp byte [eax + esi], 0
jne 0x1009ca18
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x30]
cmp byte [ecx], 0
je 0x1009ca18
mov eax, dword [0x10117880]
cmp dword [eax + 8], 0
jg 0x1009ca18
cmp dword [0x10116000], 0
je 0x1009ca18
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, 1
je 0x1009c829
sub eax, 1
je 0x1009c822
sub eax, 1
jne 0x1009c79f
mov eax, dword [0x10118710]
cmp eax, dword [ebx + 4]
jle 0x1009c790
push 0x10118710
call fcn.100e211f
add esp, 4
cmp dword [0x10118710], 0xffffffff
jne 0x1009c790
push str.RandomInt
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10118710
mov dword [0x10118704], eax
call fcn.100e20ce
add esp, 4
push 4
push 0
call dword [0x10118704]
add esp, 8
mov esi, eax
mov eax, 1
cmp esi, eax
cmovl esi, eax
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009c7e1
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
vmovss xmm0, dword [0x10116298]
fstp dword [ebp - 0x18]
vcomiss xmm0, dword [ebp - 0x18]
ja 0x1009ca0f
mov eax, dword [0x101178b0]
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 0x1009ca18
cmp dword [0x10116228], 0
jne 0x1009c90e
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x1009ca18
mov esi, 8
jmp 0x1009c7a9
mov eax, dword [0x101160e4]
cmp eax, dword [ebx + 4]
jle 0x1009c875
push 0x101160e4
call fcn.100e211f
add esp, 4
cmp dword [0x101160e4], 0xffffffff
jne 0x1009c875
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100e12d0
push 0x101160e4
mov dword [0x101160f8], eax
mov byte [ebp - 4], 0
call fcn.100e20ce
add esp, 4
mov eax, dword [0x101160f8]
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.1001c310
mov eax, dword [0x101160a4]
vmulss xmm1, xmm0, dword [eax + 0x1c]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, xmm1
jb 0x1009c8b2
vmovss xmm1, dword [0x10100be0]
vmovss xmm0, dword [0x10100d1c]
vdivss xmm0, xmm0, xmm1
mov dword [ebp - 0x24], 0x16
mov dword [ebp - 0x1c], 0
call fcn.10025310
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 [0x10117880]
sar esi, 1
cmp dword [eax], ecx
jge 0x1009c79f
mov esi, 1
jmp 0x1009c7a9
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x1009ca18
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009ca18
mov eax, dword [0x10117880]
cmp dword [eax], esi
jl 0x1009ca18
xor edi, edi
mov byte [eax + 0x16], 1
test esi, esi
jle 0x1009ca0f
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 0x1009ca50
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 8]
mov eax, dword [0x10117880]
dec dword [eax]
mov eax, dword [0x10117880]
inc dword [eax + 4]
mov eax, dword [0x10117880]
mov dword [eax + 0xc], 0x1a
lea eax, [esi - 1]
cmp edi, eax
mov eax, dword [0x10117880]
sete cl
mov eax, dword [eax + 0x18]
mov byte [eax], cl
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009ca06
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
call dword [ebp - 0x2c]
mov eax, dword [0x101160a4]
vmovss xmm0, dword [0x10100b4c]
fadd dword [0x10100b5c]
vdivss xmm0, xmm0, dword [eax + 0x1c]
mov eax, dword [0x10117880]
vaddss xmm0, xmm0, dword [0x10100bb8]
vcvttss2si ecx, xmm0
fstp dword [0x10116298]
mov dword [eax + 0xc], ecx
inc edi
cmp edi, esi
jl 0x1009c960
mov eax, dword [0x10117880]
mov byte [eax + 0x16], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1009ca30
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.100e1bd1
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3