Function at 0x1010a450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1012d0b1
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x10289c7a], 0
push ebx
push esi
push edi
je 0x1010a495
cmp byte [0x10289ec4], 0
je 0x1010a495
mov ecx, dword [0x101d5dc0]
push str.lastdisguise
mov eax, dword [ecx]
mov eax, dword [eax + 0x1a8]
call eax
mov edi, dword [0x101d3580]
mov esi, dword [0x101d3584]
mov byte [0x102899d0], 0
mov byte [0x10289ec4], 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1010a769
test esi, esi
je 0x1010a769
cmp byte [0x10289c70], 0
je 0x1010a769
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101d5a74]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1028cd80]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jle 0x1010a528
push 0x1028cd80
call fcn.1012b230
add esp, 4
cmp dword [0x1028cd80], 0xffffffff
jne 0x1010a528
push 0x1028cd80
mov dword [0x1028cd88], 0
mov dword [0x1028cd84], 0x101cf304
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101cf304]
test eax, eax
je 0x1010a571
mov ecx, dword [0x1028cd84]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1010a547
mov dword [0x1028cd88], ecx
xor dl, dl
jmp 0x1010a565
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edx, ax
mov eax, dword [0x101cf304]
shr edx, 0xf
and dl, 1
movzx ecx, dl
mov dword [0x1028cd88], ecx
test dl, dl
jne 0x1010a571
test eax, eax
jne 0x1010a769
mov ecx, dword [0x101d5f68]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x1010a769
mov ecx, dword [0x101d602c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1010a769
cmp byte [0x101d5f00], al
jne 0x1010a769
mov ebx, dword [ebp + 8]
push ebx
push ecx
push edi
call fcn.10109080
cmp byte [0x10289c75], 0
je 0x1010a751
cmp byte [0x101d6068], 0
je 0x1010a751
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 7
jne 0x1010a751
cmp byte [0x101d5f3a], 0
jne 0x1010a751
cmp byte [0x10289c77], 0
je 0x1010a60c
push ebx
push esi
push edi
mov ecx, 0x10289ebc
call fcn.10109970
jmp 0x1010a73d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
sub esp, 0xc
mov edi, esp
push eax
call fcn.10021c70
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.10109370
mov dword [ebp + 8], eax
test eax, eax
je 0x1010a73d
push eax
push esi
call fcn.101092c0
test al, al
je 0x1010a73d
or dword [ebx + 0x24], 1
cmp byte [0x10289934], 0
mov byte [0x10289ec4], 1
je 0x1010a73d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x101d5ef8]
cmp eax, dword [ecx + 4]
jle 0x1010a6ed
push 0x101d5ef8
call fcn.1012b230
add esp, 4
cmp dword [0x101d5ef8], 0xffffffff
jne 0x1010a6ed
push str.m_flSimulationTime
push str.DT_BaseEntity
mov dword [ebp - 4], 0
call fcn.10017f20
push 0x101d5ef8
mov dword [0x101d5f0c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5e48]
movss xmm0, dword [0x101d5fb4]
mov ecx, dword [ebp + 8]
movss xmm2, dword [eax + 0x1c]
divss xmm0, xmm2
movaps xmm1, xmm2
mulss xmm1, dword [0x101be9bc]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x101d5f0c]
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 0x1010a74a
mov byte [0x101d5f3a], 1
mov byte [0x102899d0], 1
push ebx
push ecx
push edi
call fcn.1004ec10
push ebx
push esi
push edi
call fcn.1004d880
push ebx
push esi
push edi
call fcn.10050bb0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4