Function at 0x10025870
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012cb01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x101d5dc0]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, dword [0x101d5f3c]
mov edi, 0x15
sub edi, ecx
cmp byte [0x101d5f1c], 0
je 0x100258ba
cmp ecx, 1
setne bl
jmp 0x100258bf
test ecx, ecx
sete bl
test eax, eax
je 0x10025912
lea ecx, [eax + 0x1c]
mov edx, 0x101d3dac
mov eax, dword [0x101d3dac]
cmp eax, dword [ecx]
cmovl edx, ecx
cmp dword [edx], 0x15
jge 0x10025912
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10014740
test al, al
jne 0x100258f9
cmp byte [0x101d3db8], al
je 0x100258f9
cmp dword [0x101d3dbc], 0xd
jg 0x10025912
cmp byte [0x101d3db6], 0
je 0x10025927
cmp byte [0x101d5f38], 0
jne 0x10025927
mov byte [0x101d3db6], 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 [0x101d5f3a], 0
je 0x10025949
cmp byte [0x101cf0e8], 0
je 0x10025940
mov byte [0x101d3db6], 1
cmp byte [0x101cf0e0], 0
jne 0x10025912
cmp byte [0x101d3db4], 0
jne 0x10025b64
cmp byte [0x101d3db5], 0
je 0x1002596e
mov ecx, esi
call fcn.10014740
test al, al
jne 0x10025b64
cmp dword [0x101d3dac], edi
jge 0x1002598c
cmp byte [0x101d5f39], 0
jne 0x1002598c
cmp byte [0x101d5f3b], 0
jne 0x1002598c
test bl, bl
jne 0x10025999
cmp byte [0x101d5f19], 0
jne 0x10025912
cmp byte [0x101d5f28], 0
je 0x100259b1
mov ecx, esi
call fcn.10014740
test al, al
je 0x10025b64
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101d5a74]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1028c2ec]
cmp eax, dword [edi + 4]
jle 0x10025a04
push 0x1028c2ec
call fcn.1012b230
add esp, 4
cmp dword [0x1028c2ec], 0xffffffff
jne 0x10025a04
push 0x1028c2ec
mov dword [0x1028aae4], 0
mov dword [0x1028aae0], 0x101cf0e4
call fcn.1012b1df
add esp, 4
mov eax, dword [0x1028aae0]
mov eax, dword [eax]
test eax, eax
jne 0x10025a16
mov dword [0x1028aae4], eax
jmp 0x10025a2c
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x1028aae4], eax
jne 0x10025a39
cmp byte [0x101d5f1b], 0
jne 0x10025912
cmp byte [0x101d5f27], 0
je 0x10025a74
movss xmm1, dword [esi + 0x120]
movss xmm0, dword [esi + 0x124]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [0x101beb58]
comiss xmm1, xmm0
ja 0x10025912
cmp byte [0x101d5f24], 0
je 0x10025a8b
push esi
call fcn.10025520
test al, al
je 0x10025912
mov eax, dword [0x101d5f20]
sub eax, 0
je 0x10025b43
sub eax, 1
je 0x10025b43
sub eax, 1
jne 0x10025912
mov eax, dword [0x101d5e8c]
cmp eax, dword [edi + 4]
jle 0x10025af6
push 0x101d5e8c
call fcn.1012b230
add esp, 4
cmp dword [0x101d5e8c], 0xffffffff
jne 0x10025af6
mov edx, str.m_vecOrigin
mov dword [ebp - 4], 0
mov ecx, str.CBaseEntity
call fcn.10014300
push 0x101d5e8c
mov dword [0x101d5e0c], eax
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5e0c]
movss xmm0, dword [0x101d3dc0]
movss xmm1, dword [0x101d3dc4]
subss xmm0, dword [eax + esi]
subss xmm1, dword [eax + esi + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x101beca4]
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 [0x101d3dac]
cmp eax, dword [0x101d3db0]
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