Function at 0x10077cc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f871
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x10236ddc]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, dword [0x10236f3c]
mov edi, 0x15
sub edi, ecx
cmp byte [0x102f4470], 0
je 0x10077d0a
cmp ecx, 1
setne bl
jmp 0x10077d0f
test ecx, ecx
sete bl
test eax, eax
je 0x10077d62
lea ecx, [eax + 0x1c]
mov edx, 0x102345e4
mov eax, dword [0x102345e4]
cmp eax, dword [ecx]
cmovl edx, ecx
cmp dword [edx], 0x15
jge 0x10077d62
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10066ca0
test al, al
jne 0x10077d49
cmp byte [0x102345f0], al
je 0x10077d49
cmp dword [0x102345f4], 0xd
jg 0x10077d62
cmp byte [0x102345ee], 0
je 0x10077d77
cmp byte [0x10236f38], 0
jne 0x10077d77
mov byte [0x102345ee], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [0x10236f3a], 0
je 0x10077d99
cmp byte [0x102f29a0], 0
je 0x10077d90
mov byte [0x102345ee], 1
cmp byte [0x102f4288], 0
jne 0x10077d62
cmp byte [0x102345ec], 0
jne 0x10077fb4
cmp byte [0x102345ed], 0
je 0x10077dbe
mov ecx, esi
call fcn.10066ca0
test al, al
jne 0x10077fb4
cmp dword [0x102345e4], edi
jge 0x10077ddc
cmp byte [0x10236f39], 0
jne 0x10077ddc
cmp byte [0x10236f3b], 0
jne 0x10077ddc
test bl, bl
jne 0x10077de9
cmp byte [0x102f4590], 0
jne 0x10077d62
cmp byte [0x102f40d8], 0
je 0x10077e01
mov ecx, esi
call fcn.10066ca0
test al, al
je 0x10077fb4
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10236a90]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x102f6c34]
cmp eax, dword [edi + 4]
jle 0x10077e54
push 0x102f6c34
call fcn.1017dd04
add esp, 4
cmp dword [0x102f6c34], 0xffffffff
jne 0x10077e54
push 0x102f6c34
mov dword [0x102f542c], 0
mov dword [0x102f5428], 0x102f4144
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x102f5428]
mov eax, dword [eax]
test eax, eax
jne 0x10077e66
mov dword [0x102f542c], eax
jmp 0x10077e7c
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102f542c], eax
jne 0x10077e89
cmp byte [0x102f4524], 0
jne 0x10077d62
cmp byte [0x102f41b0], 0
je 0x10077ec4
movss xmm1, dword [esi + 0x120]
movss xmm0, dword [esi + 0x124]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10063f20
movss xmm1, dword [0x1021ea78]
comiss xmm1, xmm0
ja 0x10077d62
cmp byte [0x102f43cc], 0
je 0x10077edb
push esi
call fcn.10077970
test al, al
je 0x10077d62
mov eax, dword [0x102f444c]
sub eax, 0
je 0x10077f93
sub eax, 1
je 0x10077f93
sub eax, 1
jne 0x10077d62
mov eax, dword [0x10236ea4]
cmp eax, dword [edi + 4]
jle 0x10077f46
push 0x10236ea4
call fcn.1017dd04
add esp, 4
cmp dword [0x10236ea4], 0xffffffff
jne 0x10077f46
mov edx, str.m_vecOrigin
mov dword [ebp - 4], 0
mov ecx, str.CBaseEntity
call fcn.10066860
push 0x10236ea4
mov dword [0x10236e24], eax
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10236e24]
movss xmm0, dword [0x102345f8]
movss xmm1, dword [0x102345fc]
subss xmm0, dword [eax + esi]
subss xmm1, dword [eax + esi + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x1021ebc8]
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 [0x102345e4]
cmp eax, dword [0x102345e8]
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 ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4