Function at 0x100c4f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edf3d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10111040]
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 [0x10115080], 0
mov edi, dword [ebp + 8]
je 0x100c527e
test ebx, ebx
je 0x100c527e
test edi, edi
je 0x100c527e
mov eax, dword [0x1011689c]
mov eax, dword [eax + 0xa8]
cmp byte [eax], 0
jne 0x100c527e
push edi
call fcn.100b6810
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xc], 0
jne 0x100c4f8e
mov ecx, dword [0x10115080]
call fcn.1001cf20
mov eax, dword [eax]
shr eax, 1
test al, 1
jne 0x100c527e
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x154]
call eax
test al, al
jne 0x100c527e
mov eax, dword [0x1011689c]
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 [0x101168cc]
mov eax, dword [eax + 0x10]
vmovss xmm0, dword [eax + 0x28]
vmovss dword [esp], xmm0
call edx
mov eax, dword [0x1011689c]
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 [0x1011689c]
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 [0x101168cc]
mov eax, dword [eax + 0x10]
vmovss xmm0, dword [eax + 0x2c]
vmovss dword [esp], xmm0
call edx
mov eax, dword [0x1011689c]
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 [0x101168cc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xf0]
cmp dword [eax + 4], 1
sete dl
push edx
call esi
mov esi, dword [0x10115080]
test esi, esi
je 0x100c5227
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10115050]
mov dword [ebp + 8], ecx
cmp eax, dword [ecx + 4]
jle 0x100c50b7
push 0x10115050
call fcn.100e1839
add esp, 4
cmp dword [0x10115050], 0xffffffff
jne 0x100c50b7
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e09f0
push 0x10115050
mov dword [0x10115010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10115010]
cmp byte [eax + esi], 0
jne 0x100c5227
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
cmp byte [eax], 0
je 0x100c5227
mov ecx, dword [0x1011689c]
mov eax, dword [ecx + 0x84]
cmp byte [eax + 3], 0
je 0x100c5227
cmp dword [ecx], 1
jge 0x100c5227
cmp dword [0x10115228], 0
jne 0x100c5119
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x100c5227
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, dword [0x10115228]
jne 0x100c5227
mov eax, dword [0x101168cc]
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 0x100c5227
cmp dword [0x10115228], 0
je 0x100c5102
call esi
cmp eax, dword [0x10115228]
jne 0x100c5227
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c5227
mov ecx, dword [ebp + 8]
xor esi, esi
mov eax, dword [0x10115080]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1011509c]
cmp eax, dword [ecx + 4]
jle 0x100c51d8
push 0x1011509c
call fcn.100e1839
add esp, 4
cmp dword [0x1011509c], 0xffffffff
jne 0x100c51d8
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100e09f0
push 0x1011509c
mov dword [0x1011508c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x1011508c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx]
dec eax
cmp eax, 8
ja case.default.0x100c51f0
movzx eax, byte [eax + 0x100c52ac]
jmp dword [eax*4 + 0x100c52a0]
mov esi, 0x41
jmp case.default.0x100c51f0
mov esi, 0x44
jmp case.default.0x100c51f0
mov esi, 0x4b
mov ecx, dword [0x10115080]
call fcn.1001c910
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, esi
vaddss xmm0, xmm1, dword [eax + 8]
vmovss dword [edi + 0x48], xmm0
mov ecx, dword [0x10115080]
call fcn.1001cf20
mov eax, dword [eax]
shr eax, 1
test al, 1
mov eax, dword [0x101168cc]
mov esi, dword [eax + 0x10]
je 0x100c5245
add esi, 4
mov esi, dword [esi]
call fcn.100c0fd0
mov ecx, dword [0x10115080]
mov dword [eax], esi
call fcn.1001cf20
mov eax, dword [eax]
shr eax, 1
test al, 1
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x10]
je 0x100c526c
add eax, 4
mov edx, dword [ebp - 0x14]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [eax]
vmovss dword [edi + 0x38], xmm0
jmp 0x100c5280
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