Function at 0x1007f510
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b751
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x10243e1c]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, dword [0x102fd8a0]
mov edi, 0x15
sub edi, ecx
cmp byte [0x10303fc0], 0
je 0x1007f55a
cmp ecx, 1
setne bl
jmp 0x1007f55f
test ecx, ecx
sete bl
test eax, eax
je 0x1007f5b2
lea ecx, [eax + 0x1c]
mov edx, 0x102415ec
mov eax, dword [0x102415ec]
cmp eax, dword [ecx]
cmovl edx, ecx
cmp dword [edx], 0x15
jge 0x1007f5b2
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.1006b0c0
test al, al
jne 0x1007f599
cmp byte [0x102415f8], al
je 0x1007f599
cmp dword [0x102415fc], 0xd
jg 0x1007f5b2
cmp byte [0x102415f6], 0
je 0x1007f5c7
cmp byte [0x102fd89c], 0
jne 0x1007f5c7
mov byte [0x102415f6], 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 [0x102fd894], 0
je 0x1007f5e9
cmp byte [0x1030238c], 0
je 0x1007f5e0
mov byte [0x102415f6], 1
cmp byte [0x10303dd8], 0
jne 0x1007f5b2
cmp byte [0x102415f4], 0
jne 0x1007f804
cmp byte [0x102415f5], 0
je 0x1007f60e
mov ecx, esi
call fcn.1006b0c0
test al, al
jne 0x1007f804
cmp dword [0x102415ec], edi
jge 0x1007f62c
cmp byte [0x102fd89d], 0
jne 0x1007f62c
cmp byte [0x102fd89e], 0
jne 0x1007f62c
test bl, bl
jne 0x1007f639
cmp byte [0x103040e0], 0
jne 0x1007f5b2
cmp byte [0x10303c28], 0
je 0x1007f651
mov ecx, esi
call fcn.1006b0c0
test al, al
je 0x1007f804
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10243ad0]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x103069ac]
cmp eax, dword [edi + 4]
jle 0x1007f6a4
push 0x103069ac
call fcn.10189be4
add esp, 4
cmp dword [0x103069ac], 0xffffffff
jne 0x1007f6a4
push 0x103069ac
mov dword [0x103051a0], 0
mov dword [0x1030519c], 0x10303c94
call fcn.10189b93
add esp, 4
mov eax, dword [0x1030519c]
mov eax, dword [eax]
test eax, eax
jne 0x1007f6b6
mov dword [0x103051a0], eax
jmp 0x1007f6cc
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x103051a0], eax
jne 0x1007f6d9
cmp byte [0x10304074], 0
jne 0x1007f5b2
cmp byte [0x10303d00], 0
je 0x1007f714
movss xmm1, dword [esi + 0x120]
movss xmm0, dword [esi + 0x124]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10068330
movss xmm1, dword [0x1022b834]
comiss xmm1, xmm0
ja 0x1007f5b2
cmp byte [0x10303f1c], 0
je 0x1007f72b
push esi
call fcn.1007f1c0
test al, al
je 0x1007f5b2
mov eax, dword [0x10303f9c]
sub eax, 0
je 0x1007f7e3
sub eax, 1
je 0x1007f7e3
sub eax, 1
jne 0x1007f5b2
mov eax, dword [0x10243ee4]
cmp eax, dword [edi + 4]
jle 0x1007f796
push 0x10243ee4
call fcn.10189be4
add esp, 4
cmp dword [0x10243ee4], 0xffffffff
jne 0x1007f796
mov edx, str.m_vecOrigin
mov dword [ebp - 4], 0
mov ecx, str.CBaseEntity
call fcn.1006ac70
push 0x10243ee4
mov dword [0x10243e64], eax
call fcn.10189b93
add esp, 4
mov eax, dword [0x10243e64]
movss xmm0, dword [0x10241600]
movss xmm1, dword [0x10241604]
subss xmm0, dword [eax + esi]
subss xmm1, dword [eax + esi + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x1022b9a0]
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 [0x102415ec]
cmp eax, dword [0x102415f0]
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