Function at 0x1016f6c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10194b31
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x1031555c], 0
push ebx
push esi
push edi
je 0x1016f705
cmp byte [0x10310c18], 0
je 0x1016f705
mov ecx, dword [0x1024f68c]
push str.lastdisguise
mov eax, dword [ecx]
mov eax, dword [eax + 0x1a8]
call eax
mov edi, dword [0x1024d1e0]
mov esi, dword [0x1024d1e4]
mov byte [0x103109f4], 0
mov byte [0x10310c18], 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1016f9d5
test esi, esi
je 0x1016f9d5
cmp byte [0x10315a48], 0
je 0x1016f9d5
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1024f340]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1031ab88]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jle 0x1016f798
push 0x1031ab88
call fcn.101928b8
add esp, 4
cmp dword [0x1031ab88], 0xffffffff
jne 0x1016f798
push 0x1031ab88
mov dword [0x1031ab90], 0
mov dword [0x1031ab8c], 0x10315a6c
call fcn.10192867
add esp, 4
mov ecx, dword [0x10315a6c]
test ecx, ecx
je 0x1016f7dd
mov eax, dword [0x1031ab8c]
mov eax, dword [eax]
test eax, eax
jne 0x1016f7b6
mov dword [0x1031ab90], eax
xor al, al
jmp 0x1016f7d1
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx ecx, al
mov dword [0x1031ab90], ecx
mov ecx, dword [0x10315a6c]
test al, al
jne 0x1016f7dd
test ecx, ecx
jne 0x1016f9d5
mov ecx, dword [0x10310784]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x1016f9d5
mov ecx, dword [0x10310830]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1016f9d5
cmp byte [0x10310750], al
jne 0x1016f9d5
mov ebx, dword [ebp + 8]
push ebx
push ecx
push edi
call fcn.1016e190
cmp byte [0x103155c8], 0
je 0x1016f9bd
cmp byte [0x10310868], 0
je 0x1016f9bd
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 7
jne 0x1016f9bd
cmp byte [0x10310760], 0
jne 0x1016f9bd
cmp byte [0x10315610], 0
je 0x1016f878
push ebx
push esi
push edi
mov ecx, 0x10310c10
call fcn.1016ea80
jmp 0x1016f9a9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
sub esp, 0xc
mov edi, esp
push eax
call fcn.1007f640
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov ecx, eax
call edx
movss xmm2, dword [esi]
movss xmm1, dword [esi + 4]
movss xmm0, dword [esi + 8]
addss xmm2, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
mov esi, dword [ebp - 0x14]
lea eax, [ebx + 0xc]
push eax
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
movss dword [edi + 8], xmm0
mov edi, dword [ebp - 0x10]
push esi
push edi
call fcn.1016e480
mov dword [ebp + 8], eax
test eax, eax
je 0x1016f9a9
push eax
push esi
call fcn.1016e3d0
test al, al
je 0x1016f9a9
or dword [ebx + 0x24], 1
cmp byte [0x10318890], 0
mov byte [0x10310c18], 1
je 0x1016f9a9
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x1031074c]
cmp eax, dword [ecx + 4]
jle 0x1016f959
push 0x1031074c
call fcn.101928b8
add esp, 4
cmp dword [0x1031074c], 0xffffffff
jne 0x1016f959
push str.m_flSimulationTime
push str.DT_BaseEntity
mov dword [ebp - 4], 0
call fcn.100756f0
push 0x1031074c
mov dword [0x10310758], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x1024f710]
movss xmm0, dword [0x103107d0]
mov ecx, dword [ebp + 8]
movss xmm2, dword [eax + 0x1c]
divss xmm0, xmm2
movaps xmm1, xmm2
mulss xmm1, dword [0x102377fc]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x10310758]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm0, dword [eax + ecx]
divss xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebx + 8], eax
test byte [ebx + 0x24], 1
je 0x1016f9b6
mov byte [0x10310760], 1
mov byte [0x103109f4], 1
push ebx
push ecx
push edi
call fcn.100b7b90
push ebx
push esi
push edi
call fcn.100b6760
push ebx
push esi
push edi
call fcn.100b9e60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4