Function at 0x100c5280
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee7dd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], esi
mov ebx, ecx
cmp dword [0x10116080], 0
mov edi, dword [ebp + 8]
je 0x100c55fe
test ebx, ebx
je 0x100c55fe
test edi, edi
je 0x100c55fe
mov eax, dword [0x10117880]
mov eax, dword [eax + 0xa8]
cmp byte [eax], 0
jne 0x100c55fe
push edi
call fcn.100b6890
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xc], 0
jne 0x100c530e
mov ecx, dword [0x10116080]
call fcn.1001ceb0
mov eax, dword [eax]
shr eax, 1
test al, 1
jne 0x100c55fe
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x154]
call eax
test al, al
jne 0x100c55fe
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push ecx
mov edx, dword [eax + 4]
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
vmovss xmm0, dword [eax + 0x28]
vmovss dword [esp], xmm0
call edx
mov eax, dword [0x10117880]
push 0
mov eax, dword [eax + 0x90]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
call dword [eax]
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push ecx
mov edx, dword [eax + 4]
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
vmovss xmm0, dword [eax + 0x2c]
vmovss dword [esp], xmm0
call edx
mov eax, dword [0x10117880]
xor edx, edx
mov eax, dword [eax + 0x90]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
mov esi, dword [eax]
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xec]
cmp dword [eax + 4], 1
sete dl
push edx
call esi
mov esi, dword [0x10116080]
test esi, esi
je 0x100c55a7
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115fb4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10116050]
mov dword [ebp + 8], ecx
cmp eax, dword [ecx + 4]
jle 0x100c5437
push 0x10116050
call fcn.100e211f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100c5437
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e12d0
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e20ce
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + esi], 0
jne 0x100c55a7
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
cmp byte [eax], 0
je 0x100c55a7
mov ecx, dword [0x10117880]
mov eax, dword [ecx + 0x84]
cmp byte [eax + 3], 0
je 0x100c55a7
cmp dword [ecx], 1
jge 0x100c55a7
cmp dword [0x10116228], 0
jne 0x100c5499
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x100c55a7
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, dword [0x10116228]
jne 0x100c55a7
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100c55a7
cmp dword [0x10116228], 0
je 0x100c5482
call esi
cmp eax, dword [0x10116228]
jne 0x100c55a7
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c55a7
mov ecx, dword [ebp + 8]
xor esi, esi
mov eax, dword [0x10116080]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1011609c]
cmp eax, dword [ecx + 4]
jle 0x100c5558
push 0x1011609c
call fcn.100e211f
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x100c5558
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100e12d0
push 0x1011609c
mov dword [0x1011608c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e20ce
add esp, 4
mov eax, dword [0x1011608c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx]
dec eax
cmp eax, 8
ja case.default.0x100c5570
movzx eax, byte [eax + 0x100c562c]
jmp dword [eax*4 + 0x100c5620]
mov esi, 0x41
jmp case.default.0x100c5570
mov esi, 0x44
jmp case.default.0x100c5570
mov esi, 0x4b
mov ecx, dword [0x10116080]
call fcn.1001c8a0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, esi
vaddss xmm0, xmm1, dword [eax + 8]
vmovss dword [edi + 0x48], xmm0
mov ecx, dword [0x10116080]
call fcn.1001ceb0
mov eax, dword [eax]
shr eax, 1
test al, 1
mov eax, dword [0x101178b0]
mov esi, dword [eax + 0x10]
je 0x100c55c5
add esi, 4
mov esi, dword [esi]
call fcn.100c0500
mov ecx, dword [0x10116080]
mov dword [eax], esi
call fcn.1001ceb0
mov eax, dword [eax]
shr eax, 1
test al, 1
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
je 0x100c55ec
add eax, 4
mov edx, dword [ebp - 0x14]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [eax]
vmovss dword [edi + 0x38], xmm0
jmp 0x100c5600
mov edx, esi
push edi
mov ecx, ebx
call dword [sym.ateris.dll_void____fastcall___void___void___class_CViewSetup___OverrideView::OriginalFunction]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4