Function at 0x100c5030
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee67d
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 [0x10115084], 0
mov edi, dword [ebp + 8]
je 0x100c53ae
test ebx, ebx
je 0x100c53ae
test edi, edi
je 0x100c53ae
mov eax, dword [0x10116880]
mov eax, dword [eax + 0xa8]
cmp byte [eax], 0
jne 0x100c53ae
push edi
call fcn.100b64f0
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xc], 0
jne 0x100c50be
mov ecx, dword [0x10115084]
call fcn.1001cec0
mov eax, dword [eax]
shr eax, 1
test al, 1
jne 0x100c53ae
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x154]
call eax
test al, al
jne 0x100c53ae
mov eax, dword [0x10116880]
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 [0x101168b0]
mov eax, dword [eax + 0x10]
vmovss xmm0, dword [eax + 0x28]
vmovss dword [esp], xmm0
call edx
mov eax, dword [0x10116880]
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 [0x10116880]
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 [0x101168b0]
mov eax, dword [eax + 0x10]
vmovss xmm0, dword [eax + 0x2c]
vmovss dword [esp], xmm0
call edx
mov eax, dword [0x10116880]
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 [0x101168b0]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xec]
cmp dword [eax + 4], 1
sete dl
push edx
call esi
mov esi, dword [0x10115084]
test esi, esi
je 0x100c5357
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10115054]
mov dword [ebp + 8], ecx
cmp eax, dword [ecx + 4]
jle 0x100c51e7
push 0x10115054
call fcn.100e1f89
add esp, 4
cmp dword [0x10115054], 0xffffffff
jne 0x100c51e7
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e1140
push 0x10115054
mov dword [0x10115010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f38
add esp, 4
mov eax, dword [0x10115010]
cmp byte [eax + esi], 0
jne 0x100c5357
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
cmp byte [eax], 0
je 0x100c5357
mov ecx, dword [0x10116880]
mov eax, dword [ecx + 0x84]
cmp byte [eax + 3], 0
je 0x100c5357
cmp dword [ecx], 1
jge 0x100c5357
cmp dword [0x10115228], 0
jne 0x100c5249
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x100c5357
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, dword [0x10115228]
jne 0x100c5357
mov eax, dword [0x101168b0]
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 0x100c5357
cmp dword [0x10115228], 0
je 0x100c5232
call esi
cmp eax, dword [0x10115228]
jne 0x100c5357
mov ecx, dword [0x1011509c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c5357
mov ecx, dword [ebp + 8]
xor esi, esi
mov eax, dword [0x10115084]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101150a0]
cmp eax, dword [ecx + 4]
jle 0x100c5308
push 0x101150a0
call fcn.100e1f89
add esp, 4
cmp dword [0x101150a0], 0xffffffff
jne 0x100c5308
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100e1140
push 0x101150a0
mov dword [0x10115090], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f38
add esp, 4
mov eax, dword [0x10115090]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx]
dec eax
cmp eax, 8
ja case.default.0x100c5320
movzx eax, byte [eax + 0x100c53dc]
jmp dword [eax*4 + 0x100c53d0]
mov esi, 0x41
jmp case.default.0x100c5320
mov esi, 0x44
jmp case.default.0x100c5320
mov esi, 0x4b
mov ecx, dword [0x10115084]
call fcn.1001c8b0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, esi
vaddss xmm0, xmm1, dword [eax + 8]
vmovss dword [edi + 0x48], xmm0
mov ecx, dword [0x10115084]
call fcn.1001cec0
mov eax, dword [eax]
shr eax, 1
test al, 1
mov eax, dword [0x101168b0]
mov esi, dword [eax + 0x10]
je 0x100c5375
add esi, 4
mov esi, dword [esi]
call fcn.100c0260
mov ecx, dword [0x10115084]
mov dword [eax], esi
call fcn.1001cec0
mov eax, dword [eax]
shr eax, 1
test al, 1
mov eax, dword [0x101168b0]
mov eax, dword [eax + 0x10]
je 0x100c539c
add eax, 4
mov edx, dword [ebp - 0x14]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [eax]
vmovss dword [edi + 0x38], xmm0
jmp 0x100c53b0
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