Function at 0x100c5d30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0659
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10114008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10118070]
mov ebx, dword [0x10119864]
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100c5d7c
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x100c5e15
mov ecx, dword [0x10117f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100c5e15
mov eax, dword [0x10118070]
push edi
vmovss xmm0, dword [eax + 0x4b20]
mov eax, dword [0x10118044]
vmovss dword [ebp - 0x10], xmm0
vmovss xmm0, dword [eax + 0x10]
mov esi, dword [eax + 0x18]
vmovss dword [ebp - 0x14], xmm0
vmovss xmm0, dword [eax + 0xc]
vmovss dword [ebp - 0x18], xmm0
call dword [sym.ateris.dll_void____cdecl___bool__CL_ReadPackets::OriginalFunction]
mov ecx, dword [0x10118044]
add esp, 4
mov edx, dword [0x10118070]
vmovss xmm0, dword [ebp - 0x10]
mov eax, dword [edx + 0x4b20]
mov dword [ebx], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0xc], eax
vmovss dword [edx + 0x4b20], xmm0
vmovss xmm0, dword [ebp - 0x14]
vmovss dword [ecx + 0x10], xmm0
vmovss xmm0, dword [ebp - 0x18]
vmovss dword [ecx + 0xc], xmm0
mov dword [ecx + 0x18], esi
jmp 0x100c5e1b
mov edx, dword [0x10118070]
mov esi, dword [0x10119864]
test edx, edx
je 0x100c5ea1
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x100c5ea1
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
fmul dword [0x10102ec8]
mov eax, dword [esi + 0x14]
fstp dword [ebp - 0x18]
vcvttss2si ebx, dword [ebp - 0x18]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jg 0x100c5e7f
mov eax, dword [0x10118070]
push 1
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov eax, dword [0x10118044]
fstp dword [ebp - 0x18]
vmovss xmm0, dword [ebp - 0x18]
vcomiss xmm0, dword [eax + 0x1c]
jbe 0x100c5e99
mov ecx, dword [0x10117f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
fadd dword [0x10102c68]
fstp dword [esi + 0x1c]
cmp dword [esi + 0x14], ebx
je 0x100c5ea1
mov dword [esi + 0x14], ebx
mov ecx, dword [0x10117f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100c6298
mov esi, dword [0x10118020]
test esi, esi
je 0x100c6298
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10117f54]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10117ff0]
cmp eax, dword [ebx + 4]
jle 0x100c5f25
push 0x10117ff0
call fcn.100e3eef
add esp, 4
cmp dword [0x10117ff0], 0xffffffff
jne 0x100c5f25
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e2fc0
push 0x10117ff0
mov dword [0x10117fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x10117fb0]
cmp byte [eax + esi], 0
jne 0x100c6298
mov ecx, dword [0x1011981c]
mov eax, dword [ecx + 0xa8]
cmp byte [eax], 0
jne 0x100c629e
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
jae 0x100c5fe2
cmp dword [0x101181c8], 0
jne 0x100c5f87
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101181c8], eax
jmp 0x100c5fe2
call esi
cmp eax, dword [0x101181c8]
jne 0x100c5fe2
mov ecx, dword [0x10118038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c5fe2
mov ecx, dword [0x1011981c]
cmp byte [ecx + 0x14], al
jne 0x100c5fe8
cmp byte [ecx + 0x15], al
jne 0x100c5ff2
cmp dword [ecx + 8], 0
jne 0x100c5fe8
cmp dword [ecx], 0x16
jge 0x100c5fe8
mov eax, dword [0x1011984c]
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x24]
cmp byte [eax], 0
jne 0x100c5fde
mov eax, dword [edx + 0x28]
cmp byte [eax], 0
jne 0x100c5fde
mov byte [ecx + 0x14], 1
jmp 0x100c5fe2
mov byte [ecx + 0x15], 1
mov ecx, dword [0x1011981c]
cmp byte [ecx + 0x15], 0
je 0x100c60d1
mov eax, dword [ecx + 0x84]
cmp byte [eax + 1], 0
jne 0x100c60d1
mov byte [ecx + 0x14], 1
mov eax, dword [0x1011981c]
mov byte [eax + 0x15], 0
vmovss xmm0, dword [ebp + 8]
push edi
push ecx
vmovss dword [esp], xmm0
call dword [sym.ateris.dll_void____cdecl___float__bool__CL_Move::OriginalFunction]
mov eax, dword [0x1011984c]
add esp, 8
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100c605e
cmp dword [0x101181c8], 0
jne 0x100c61fe
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101181c8], eax
sub esp, 0x28
mov ecx, esp
mov dword [ecx + 0x24], 0
cmp dword [sym.ateris.dll_void____cdecl___float__bool__CL_Move::OriginalFunction], 0
je 0x100c6084
mov dword [ecx], vtable.std::_Func_impl_no_alloc_void____cdecl___float__bool___void__float__bool_.0
mov eax, dword [sym.ateris.dll_void____cdecl___float__bool__CL_Move::OriginalFunction]
mov dword [ecx + 4], eax
mov dword [ecx + 0x24], ecx
vmovss xmm1, dword [ebp + 8]
push edi
call fcn.1009e940
mov ecx, dword [0x1011981c]
cmp byte [ecx + 0x16], 0
jne 0x100c62ce
mov eax, dword [ecx + 0x10]
test eax, eax
jle 0x100c60b0
dec eax
mov dword [ecx + 0x10], eax
mov ecx, dword [0x1011981c]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x100c622f
dec eax
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ecx + 0x14], 0
je 0x100c600f
inc dword [ecx]
mov eax, dword [0x1011981c]
dec dword [eax + 4]
mov eax, dword [0x1011981c]
cmp dword [eax], 0x16
jl 0x100c60f3
mov byte [eax + 0x14], 0
mov eax, dword [0x1011981c]
cmp byte [eax + 0x14], 0
je 0x100c62ce
mov eax, dword [0x1011803c]
mov esi, dword [0x10118020]
cmp eax, dword [ebx + 4]
jle 0x100c615a
push 0x1011803c
call fcn.100e3eef
add esp, 4
cmp dword [0x1011803c], 0xffffffff
jne 0x100c615a
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100e2fc0
push 0x1011803c
mov dword [0x1011802c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x1011802c]
cmp dword [eax + esi], 4
jne 0x100c6182
mov ecx, dword [0x10117fa0]
test ecx, ecx
je 0x100c6182
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
je 0x100c62ce
mov eax, dword [0x1011803c]
mov esi, dword [0x10118020]
cmp eax, dword [ebx + 4]
jle 0x100c61d3
push 0x1011803c
call fcn.100e3eef
add esp, 4
cmp dword [0x1011803c], 0xffffffff
jne 0x100c61d3
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 2
call fcn.100e2fc0
push 0x1011803c
mov dword [0x1011802c], eax
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x1011802c]
xor ecx, ecx
cmp dword [eax + esi], 6
mov eax, dword [0x1011981c]
setne cl
add ecx, 3
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
cmp eax, dword [0x101181c8]
jne 0x100c605e
mov ecx, dword [0x10118038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c605e
mov ecx, dword [0x1011981c]
jmp 0x100c609f
cmp dword [ecx + 8], 0
jle 0x100c62ce
nop dword [eax]
mov eax, dword [ecx]
test eax, eax
jle 0x100c62ce
vmovss xmm0, dword [ebp + 8]
dec eax
mov dword [ecx], eax
mov eax, dword [0x1011981c]
push edi
push ecx
vmovss dword [esp], xmm0
dec dword [eax + 8]
mov eax, dword [0x1011981c]
dec dword [eax + 0x10]
mov eax, dword [0x1011981c]
inc dword [eax + 4]
call dword [sym.ateris.dll_void____cdecl___float__bool__CL_Move::OriginalFunction]
mov ecx, dword [0x1011981c]
add esp, 8
cmp dword [ecx + 8], 0
jg 0x100c6240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1011981c]
vmovss xmm0, dword [ebp + 8]
mov dword [ecx], 0
mov eax, dword [0x1011981c]
push edi
push ecx
vmovss dword [esp], xmm0
mov dword [eax + 4], 0x16
mov eax, dword [0x1011981c]
mov byte [eax + 0x14], 0
call dword [sym.ateris.dll_void____cdecl___float__bool__CL_Move::OriginalFunction]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret