Function at 0x1001ad60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123771
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x101cf52c]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, dword [0x101cf58c]
mov edi, 0x15
sub edi, ecx
cmp byte [0x101cf56c], 0
je 0x1001adaa
cmp ecx, 1
setne bl
jmp 0x1001adaf
test ecx, ecx
sete bl
test eax, eax
je 0x1001b03b
lea ecx, [eax + 0x1c]
mov edx, 0x101c99a4
mov eax, dword [0x101c99a4]
cmp eax, dword [ecx]
cmovl edx, ecx
cmp dword [edx], 0x15
jge 0x1001b03b
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10010d70
test al, al
jne 0x1001adf5
cmp byte [0x101c99b0], al
je 0x1001adf5
cmp dword [0x101c99b4], 0xd
jg 0x1001b03b
cmp byte [0x101cf589], 0
je 0x1001ae0b
cmp byte [0x101a706c], 0
jne 0x1001b03b
cmp byte [0x101c99ac], 0
jne 0x1001b026
cmp byte [0x101c99ad], 0
je 0x1001ae30
mov ecx, esi
call fcn.10010d70
test al, al
jne 0x1001b026
cmp dword [0x101c99a4], edi
jge 0x1001ae4e
cmp byte [0x101cf588], 0
jne 0x1001ae4e
cmp byte [0x101cf58a], 0
jne 0x1001ae4e
test bl, bl
jne 0x1001ae5b
cmp byte [0x101cf569], 0
jne 0x1001b03b
cmp byte [0x101cf578], 0
je 0x1001ae73
mov ecx, esi
call fcn.10010d70
test al, al
je 0x1001b026
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101cf110]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x102b9404]
cmp eax, dword [edi + 4]
jle 0x1001aec6
push 0x102b9404
call fcn.10121ee8
add esp, 4
cmp dword [0x102b9404], 0xffffffff
jne 0x1001aec6
push 0x102b9404
mov dword [0x102b7bf8], 0
mov dword [0x102b7bf4], 0x101a7070
call fcn.10121e9e
add esp, 4
mov eax, dword [0x102b7bf4]
mov eax, dword [eax]
test eax, eax
jne 0x1001aed8
mov dword [0x102b7bf8], eax
jmp 0x1001aeee
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102b7bf8], eax
jne 0x1001aefb
cmp byte [0x101cf56b], 0
jne 0x1001b03b
cmp byte [0x101cf577], 0
je 0x1001af36
movss xmm1, dword [esi + 0x120]
movss xmm0, dword [esi + 0x124]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000f940
movss xmm1, dword [0x10197818]
comiss xmm1, xmm0
ja 0x1001b03b
cmp byte [0x101cf574], 0
je 0x1001af4d
push esi
call fcn.1001aa10
test al, al
je 0x1001b03b
mov eax, dword [0x101cf570]
sub eax, 0
je 0x1001b005
sub eax, 1
je 0x1001b005
sub eax, 1
jne 0x1001b03b
mov eax, dword [0x101cf4d8]
cmp eax, dword [edi + 4]
jle 0x1001afb8
push 0x101cf4d8
call fcn.10121ee8
add esp, 4
cmp dword [0x101cf4d8], 0xffffffff
jne 0x1001afb8
mov edx, str.m_vecOrigin
mov dword [ebp - 4], 0
mov ecx, str.CBaseEntity
call fcn.100109e0
push 0x101cf4d8
mov dword [0x101cf454], eax
call fcn.10121e9e
add esp, 4
mov eax, dword [0x101cf454]
movss xmm0, dword [0x101c99b8]
movss xmm1, dword [0x101c99bc]
subss xmm0, dword [eax + esi]
subss xmm1, dword [eax + esi + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x10197978]
comiss xmm0, xmm1
seta al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x101c99a4]
cmp eax, dword [0x101c99a8]
setl al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4