Function at 0x1009c820
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec005
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 [0x10115080]
test edi, edi
je 0x1009cbf8
mov eax, dword fs:[0x2c]
mov esi, edi
mov ecx, dword [0x10114fb4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10115050]
cmp eax, dword [ebx + 4]
jle 0x1009c8c8
push 0x10115050
call fcn.100e1839
add esp, 4
cmp dword [0x10115050], 0xffffffff
jne 0x1009c8c2
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100e09f0
push 0x10115050
mov dword [0x10115010], eax
mov byte [ebp - 4], 0
call fcn.100e17e8
add esp, 4
mov edi, dword [0x10115080]
mov eax, dword [0x10115010]
cmp byte [eax + esi], 0
jne 0x1009cbf8
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x30]
cmp byte [ecx], 0
je 0x1009cbf8
mov eax, dword [0x1011689c]
cmp dword [eax + 8], 0
jg 0x1009cbf8
cmp dword [0x10115000], 0
je 0x1009cbf8
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, 1
je 0x1009ca09
sub eax, 1
je 0x1009ca02
sub eax, 1
jne 0x1009c97f
mov eax, dword [0x10117738]
cmp eax, dword [ebx + 4]
jle 0x1009c970
push 0x10117738
call fcn.100e1839
add esp, 4
cmp dword [0x10117738], 0xffffffff
jne 0x1009c970
push str.RandomInt
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10117738
mov dword [0x1011772c], eax
call fcn.100e17e8
add esp, 4
push 4
push 0
call dword [0x1011772c]
add esp, 8
mov esi, eax
mov eax, 1
cmp esi, eax
cmovl esi, eax
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009c9c1
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 0x1009cbef
mov eax, dword [0x101168cc]
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 0x1009cbf8
cmp dword [0x10115228], 0
jne 0x1009caee
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x1009cbf8
mov esi, 8
jmp 0x1009c989
mov eax, dword [0x101150e4]
cmp eax, dword [ebx + 4]
jle 0x1009ca55
push 0x101150e4
call fcn.100e1839
add esp, 4
cmp dword [0x101150e4], 0xffffffff
jne 0x1009ca55
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100e09f0
push 0x101150e4
mov dword [0x101150f8], eax
mov byte [ebp - 4], 0
call fcn.100e17e8
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.1001c380
mov eax, dword [0x101150a4]
vmulss xmm1, xmm0, dword [eax + 0x1c]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, xmm1
jb 0x1009ca92
vmovss xmm1, dword [0x101003e8]
vmovss xmm0, dword [0x10100520]
vdivss xmm0, xmm0, xmm1
mov dword [ebp - 0x24], 0x16
mov dword [ebp - 0x1c], 0
call fcn.10025370
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 [0x1011689c]
sar esi, 1
cmp dword [eax], ecx
jge 0x1009c97f
mov esi, 1
jmp 0x1009c989
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x1009cbf8
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009cbf8
mov eax, dword [0x1011689c]
cmp dword [eax], esi
jl 0x1009cbf8
xor edi, edi
mov byte [eax + 0x16], 1
test esi, esi
jle 0x1009cbef
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 0x1009cc30
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 8]
mov eax, dword [0x1011689c]
dec dword [eax]
mov eax, dword [0x1011689c]
inc dword [eax + 4]
mov eax, dword [0x1011689c]
mov dword [eax + 0xc], 0x1a
lea eax, [esi - 1]
cmp edi, eax
mov eax, dword [0x1011689c]
sete cl
mov eax, dword [eax + 0x18]
mov byte [eax], cl
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009cbe6
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 [0x101150a4]
vmovss xmm0, dword [0x10100354]
fadd dword [0x10100364]
vdivss xmm0, xmm0, dword [eax + 0x1c]
mov eax, dword [0x1011689c]
vaddss xmm0, xmm0, dword [0x101003c0]
vcvttss2si ecx, xmm0
fstp dword [0x10115298]
mov dword [eax + 0xc], ecx
inc edi
cmp edi, esi
jl 0x1009cb40
mov eax, dword [0x1011689c]
mov byte [eax + 0x16], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1009cc10
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.100e12eb
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3