Function at 0x1009af90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eae05
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1011100c]
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 [0x10115000]
test edi, edi
je 0x1009b368
mov eax, dword fs:[0x2c]
mov esi, edi
mov ecx, dword [0x10114f34]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10114fd0]
cmp eax, dword [ebx + 4]
jle 0x1009b038
push 0x10114fd0
call fcn.100e0745
add esp, 4
cmp dword [0x10114fd0], 0xffffffff
jne 0x1009b032
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100df900
push 0x10114fd0
mov dword [0x10114f90], eax
mov byte [ebp - 4], 0
call fcn.100e06f4
add esp, 4
mov edi, dword [0x10115000]
mov eax, dword [0x10114f90]
cmp byte [eax + esi], 0
jne 0x1009b368
mov eax, dword [0x10116830]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x30]
cmp byte [ecx], 0
je 0x1009b368
mov eax, dword [0x10116800]
cmp dword [eax + 8], 0
jg 0x1009b368
cmp dword [0x10114f80], 0
je 0x1009b368
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, 1
je 0x1009b179
sub eax, 1
je 0x1009b172
sub eax, 1
jne 0x1009b0ef
mov eax, dword [0x10117690]
cmp eax, dword [ebx + 4]
jle 0x1009b0e0
push 0x10117690
call fcn.100e0745
add esp, 4
cmp dword [0x10117690], 0xffffffff
jne 0x1009b0e0
push str.RandomInt
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10117690
mov dword [0x10117684], eax
call fcn.100e06f4
add esp, 4
push 4
push 0
call dword [0x10117684]
add esp, 8
mov esi, eax
mov eax, 1
cmp esi, eax
cmovl esi, eax
mov eax, dword [0x10116830]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009b131
mov ecx, dword [0x10114f7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
vmovss xmm0, dword [0x10115218]
fstp dword [ebp - 0x18]
vcomiss xmm0, dword [ebp - 0x18]
ja 0x1009b35f
mov eax, dword [0x10116830]
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 0x1009b368
cmp dword [0x101151a8], 0
jne 0x1009b25e
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151a8], eax
jmp 0x1009b368
mov esi, 8
jmp 0x1009b0f9
mov eax, dword [0x10115064]
cmp eax, dword [ebx + 4]
jle 0x1009b1c5
push 0x10115064
call fcn.100e0745
add esp, 4
cmp dword [0x10115064], 0xffffffff
jne 0x1009b1c5
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100df900
push 0x10115064
mov dword [0x10115078], eax
mov byte [ebp - 4], 0
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10115078]
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.1001c200
mov eax, dword [0x10115024]
vmulss xmm1, xmm0, dword [eax + 0x1c]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, xmm1
jb 0x1009b202
vmovss xmm1, dword [0x100ffbe0]
vmovss xmm0, dword [0x100ffd1c]
vdivss xmm0, xmm0, xmm1
mov dword [ebp - 0x24], 0x16
mov dword [ebp - 0x1c], 0
call fcn.10025130
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 [0x10116800]
sar esi, 1
cmp dword [eax], ecx
jge 0x1009b0ef
mov esi, 1
jmp 0x1009b0f9
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101151a8]
jne 0x1009b368
mov ecx, dword [0x10115018]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1009b368
mov eax, dword [0x10116800]
cmp dword [eax], esi
jl 0x1009b368
xor edi, edi
mov byte [eax + 0x16], 1
test esi, esi
jle 0x1009b35f
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 0x1009b3a0
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 8]
mov eax, dword [0x10116800]
dec dword [eax]
mov eax, dword [0x10116800]
inc dword [eax + 4]
mov eax, dword [0x10116800]
mov dword [eax + 0xc], 0x1a
lea eax, [esi - 1]
cmp edi, eax
mov eax, dword [0x10116800]
sete cl
mov eax, dword [eax + 0x18]
mov byte [eax], cl
mov eax, dword [0x10116830]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x10], 2
jne 0x1009b356
mov ecx, dword [0x10114f7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
call dword [ebp - 0x2c]
mov eax, dword [0x10115024]
vmovss xmm0, dword [0x100ffb4c]
fadd dword [0x100ffb5c]
vdivss xmm0, xmm0, dword [eax + 0x1c]
mov eax, dword [0x10116800]
vaddss xmm0, xmm0, dword [0x100ffbb8]
vcvttss2si ecx, xmm0
fstp dword [0x10115218]
mov dword [eax + 0xc], ecx
inc edi
cmp edi, esi
jl 0x1009b2b0
mov eax, dword [0x10116800]
mov byte [eax + 0x16], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1009b380
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.100e01f7
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3