Function at 0x100c27e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed029
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1011100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10115070]
mov ebx, dword [0x10116864]
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100c282c
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x100c28c5
mov ecx, dword [0x10114f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100c28c5
mov eax, dword [0x10115070]
push edi
vmovss xmm0, dword [eax + 0x4b20]
mov eax, dword [0x10115044]
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 [0x10115044]
add esp, 4
mov edx, dword [0x10115070]
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 0x100c28cb
mov edx, dword [0x10115070]
mov esi, dword [0x10116864]
test edx, edx
je 0x100c2951
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x100c2951
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
fmul dword [0x100ffec8]
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 0x100c292f
mov eax, dword [0x10115070]
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 [0x10115044]
fstp dword [ebp - 0x18]
vmovss xmm0, dword [ebp - 0x18]
vcomiss xmm0, dword [eax + 0x1c]
jbe 0x100c2949
mov ecx, dword [0x10114f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
fadd dword [0x100ffc68]
fstp dword [esi + 0x1c]
cmp dword [esi + 0x14], ebx
je 0x100c2951
mov dword [esi + 0x14], ebx
mov ecx, dword [0x10114f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100c2d48
mov esi, dword [0x10115020]
test esi, esi
je 0x100c2d48
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114f54]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10114ff0]
cmp eax, dword [ebx + 4]
jle 0x100c29d5
push 0x10114ff0
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ff0], 0xffffffff
jne 0x100c29d5
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100dfaa0
push 0x10114ff0
mov dword [0x10114fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fb0]
cmp byte [eax + esi], 0
jne 0x100c2d48
mov ecx, dword [0x1011681c]
mov eax, dword [ecx + 0xa8]
cmp byte [eax], 0
jne 0x100c2d4e
mov eax, dword [0x1011684c]
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 0x100c2a92
cmp dword [0x101151c8], 0
jne 0x100c2a37
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
jmp 0x100c2a92
call esi
cmp eax, dword [0x101151c8]
jne 0x100c2a92
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c2a92
mov ecx, dword [0x1011681c]
cmp byte [ecx + 0x14], al
jne 0x100c2a98
cmp byte [ecx + 0x15], al
jne 0x100c2aa2
cmp dword [ecx + 8], 0
jne 0x100c2a98
cmp dword [ecx], 0x16
jge 0x100c2a98
mov eax, dword [0x1011684c]
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x24]
cmp byte [eax], 0
jne 0x100c2a8e
mov eax, dword [edx + 0x28]
cmp byte [eax], 0
jne 0x100c2a8e
mov byte [ecx + 0x14], 1
jmp 0x100c2a92
mov byte [ecx + 0x15], 1
mov ecx, dword [0x1011681c]
cmp byte [ecx + 0x15], 0
je 0x100c2b81
mov eax, dword [ecx + 0x84]
cmp byte [eax + 1], 0
jne 0x100c2b81
mov byte [ecx + 0x14], 1
mov eax, dword [0x1011681c]
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 [0x1011684c]
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 0x100c2b0e
cmp dword [0x101151c8], 0
jne 0x100c2cae
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], 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 0x100c2b34
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.1009b100
mov ecx, dword [0x1011681c]
cmp byte [ecx + 0x16], 0
jne 0x100c2d7e
mov eax, dword [ecx + 0x10]
test eax, eax
jle 0x100c2b60
dec eax
mov dword [ecx + 0x10], eax
mov ecx, dword [0x1011681c]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x100c2cdf
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 0x100c2abf
inc dword [ecx]
mov eax, dword [0x1011681c]
dec dword [eax + 4]
mov eax, dword [0x1011681c]
cmp dword [eax], 0x16
jl 0x100c2ba3
mov byte [eax + 0x14], 0
mov eax, dword [0x1011681c]
cmp byte [eax + 0x14], 0
je 0x100c2d7e
mov eax, dword [0x1011503c]
mov esi, dword [0x10115020]
cmp eax, dword [ebx + 4]
jle 0x100c2c0a
push 0x1011503c
call fcn.100e09a6
add esp, 4
cmp dword [0x1011503c], 0xffffffff
jne 0x100c2c0a
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100dfaa0
push 0x1011503c
mov dword [0x1011502c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x1011502c]
cmp dword [eax + esi], 4
jne 0x100c2c32
mov ecx, dword [0x10114fa0]
test ecx, ecx
je 0x100c2c32
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
je 0x100c2d7e
mov eax, dword [0x1011503c]
mov esi, dword [0x10115020]
cmp eax, dword [ebx + 4]
jle 0x100c2c83
push 0x1011503c
call fcn.100e09a6
add esp, 4
cmp dword [0x1011503c], 0xffffffff
jne 0x100c2c83
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 2
call fcn.100dfaa0
push 0x1011503c
mov dword [0x1011502c], eax
call fcn.100e095c
add esp, 4
mov eax, dword [0x1011502c]
xor ecx, ecx
cmp dword [eax + esi], 6
mov eax, dword [0x1011681c]
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 [0x101151c8]
jne 0x100c2b0e
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c2b0e
mov ecx, dword [0x1011681c]
jmp 0x100c2b4f
cmp dword [ecx + 8], 0
jle 0x100c2d7e
nop dword [eax]
mov eax, dword [ecx]
test eax, eax
jle 0x100c2d7e
vmovss xmm0, dword [ebp + 8]
dec eax
mov dword [ecx], eax
mov eax, dword [0x1011681c]
push edi
push ecx
vmovss dword [esp], xmm0
dec dword [eax + 8]
mov eax, dword [0x1011681c]
dec dword [eax + 0x10]
mov eax, dword [0x1011681c]
inc dword [eax + 4]
call dword [sym.ateris.dll_void____cdecl___float__bool__CL_Move::OriginalFunction]
mov ecx, dword [0x1011681c]
add esp, 8
cmp dword [ecx + 8], 0
jg 0x100c2cf0
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 [0x1011681c]
vmovss xmm0, dword [ebp + 8]
mov dword [ecx], 0
mov eax, dword [0x1011681c]
push edi
push ecx
vmovss dword [esp], xmm0
mov dword [eax + 4], 0x16
mov eax, dword [0x1011681c]
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