Function at 0x100c5300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee80d
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 0x100c567e
test ebx, ebx
je 0x100c567e
test edi, edi
je 0x100c567e
mov eax, dword [0x10117880]
mov eax, dword [eax + 0xa8]
cmp byte [eax], 0
jne 0x100c567e
push edi
call fcn.100b65a0
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xc], 0
jne 0x100c538e
mov ecx, dword [0x10116080]
call fcn.1001ceb0
mov eax, dword [eax]
shr eax, 1
test al, 1
jne 0x100c567e
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x154]
call eax
test al, al
jne 0x100c567e
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 0x100c5627
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 0x100c54b7
push 0x10116050
call fcn.100e217f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100c54b7
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e1330
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + esi], 0
jne 0x100c5627
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
cmp byte [eax], 0
je 0x100c5627
mov ecx, dword [0x10117880]
mov eax, dword [ecx + 0x84]
cmp byte [eax + 3], 0
je 0x100c5627
cmp dword [ecx], 1
jge 0x100c5627
cmp dword [0x10116228], 0
jne 0x100c5519
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x100c5627
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, dword [0x10116228]
jne 0x100c5627
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 0x100c5627
cmp dword [0x10116228], 0
je 0x100c5502
call esi
cmp eax, dword [0x10116228]
jne 0x100c5627
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c5627
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 0x100c55d8
push 0x1011609c
call fcn.100e217f
add esp, 4
cmp dword [0x1011609c], 0xffffffff
jne 0x100c55d8
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100e1330
push 0x1011609c
mov dword [0x1011608c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
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.0x100c55f0
movzx eax, byte [eax + 0x100c56ac]
jmp dword [eax*4 + 0x100c56a0]
mov esi, 0x41
jmp case.default.0x100c55f0
mov esi, 0x44
jmp case.default.0x100c55f0
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 0x100c5645
add esi, 4
mov esi, dword [esi]
call fcn.100c0210
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 0x100c566c
add eax, 4
mov edx, dword [ebp - 0x14]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [eax]
vmovss dword [edi + 0x38], xmm0
jmp 0x100c5680
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