Function at 0x101756e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1019ac81
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x1031b554], 0
push ebx
push esi
push edi
je 0x10175725
cmp byte [0x10316c14], 0
je 0x10175725
mov ecx, dword [0x102556bc]
push str.lastdisguise
mov eax, dword [ecx]
mov eax, dword [eax + 0x1a8]
call eax
mov edi, dword [0x10253210]
mov esi, dword [0x10253214]
mov byte [0x103169f4], 0
mov byte [0x10316c14], 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
test edi, edi
je 0x101759f5
test esi, esi
je 0x101759f5
cmp byte [0x1031ba40], 0
je 0x101759f5
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255374]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10320b80]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jle 0x101757b8
push 0x10320b80
call fcn.101987e8
add esp, 4
cmp dword [0x10320b80], 0xffffffff
jne 0x101757b8
push 0x10320b80
mov dword [0x10320b88], 0
mov dword [0x10320b84], 0x1031ba64
call fcn.10198797
add esp, 4
mov ecx, dword [0x1031ba64]
test ecx, ecx
je 0x101757fd
mov eax, dword [0x10320b84]
mov eax, dword [eax]
test eax, eax
jne 0x101757d6
mov dword [0x10320b88], eax
xor al, al
jmp 0x101757f1
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx ecx, al
mov dword [0x10320b88], ecx
mov ecx, dword [0x1031ba64]
test al, al
jne 0x101757fd
test ecx, ecx
jne 0x101759f5
mov ecx, dword [0x10316784]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x101759f5
mov ecx, dword [0x10316830]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x101759f5
cmp byte [0x10316750], al
jne 0x101759f5
mov ebx, dword [ebp + 8]
push ebx
push ecx
push edi
call fcn.10174310
cmp byte [0x1031b5c0], 0
je 0x101759dd
cmp byte [0x10316864], 0
je 0x101759dd
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 7
jne 0x101759dd
cmp byte [0x10316760], 0
jne 0x101759dd
cmp byte [0x1031b608], 0
je 0x10175898
push ebx
push esi
push edi
mov ecx, 0x10316c0c
call fcn.10174bf0
jmp 0x101759c9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
sub esp, 0xc
mov edi, esp
push eax
call fcn.10086020
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.10174600
mov dword [ebp + 8], eax
test eax, eax
je 0x101759c9
push eax
push esi
call fcn.10174550
test al, al
je 0x101759c9
or dword [ebx + 0x24], 1
cmp byte [0x1031e888], 0
mov byte [0x10316c14], 1
je 0x101759c9
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x1031674c]
cmp eax, dword [ecx + 4]
jle 0x10175979
push 0x1031674c
call fcn.101987e8
add esp, 4
cmp dword [0x1031674c], 0xffffffff
jne 0x10175979
push str.m_flSimulationTime
push str.DT_BaseEntity
mov dword [ebp - 4], 0
call fcn.1007c590
push 0x1031674c
mov dword [0x10316758], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x10255740]
movss xmm0, dword [0x103167d0]
mov ecx, dword [ebp + 8]
movss xmm2, dword [eax + 0x1c]
divss xmm0, xmm2
movaps xmm1, xmm2
mulss xmm1, dword [0x1023d0c4]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x10316758]
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 0x101759d6
mov byte [0x10316760], 1
mov byte [0x103169f4], 1
push ebx
push ecx
push edi
call fcn.100be3f0
push ebx
push esi
push edi
call fcn.100bd050
push ebx
push esi
push edi
call fcn.100c06f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4