Function at 0x1002ded0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100627c5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10074040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x3c], xmm1
mov dword [ebp - 4], 0
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002e296
call fcn.100028c0
test al, al
je 0x1002e296
mov eax, dword [0x10142a5c]
cmp byte [eax + 0x269], 0
je 0x1002e296
mov esi, dword [0x10142a3c]
cmp byte [esi + 0x154], 0
jne 0x1002e296
movzx ecx, word [eax + 0x29c]
test cx, cx
je 0x1002df8b
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002df80
cmp dword [0x10141540], 0
jne 0x1002e048
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], eax
mov eax, dword [0x10142a5c]
mov esi, dword [0x10142a3c]
cmp byte [esi + 0x156], 0
je 0x1002e296
cmp dword [eax + 0x288], 1
mov edi, dword [0x101413f8]
jne 0x1002e06a
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10141490]
mov esi, dword [esi + 0x74]
mov ecx, dword [ecx + edi*4]
cmp eax, dword [ecx + 4]
jle 0x1002e004
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1002e004
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov ecx, dword [0x101414a4]
lea ecx, [esi + ecx]
call fcn.100032d0
movss xmm1, dword [0x1006c034]
comiss xmm1, xmm0
mov eax, dword [0x10142a5c]
jb 0x1002e031
cmp byte [eax + 0x280], 0
jne 0x1002e296
cmp dword [eax + 0x288], 1
mov esi, dword [0x10142a3c]
jne 0x1002e06a
lea ebx, [eax + 0x284]
jmp 0x1002e0a4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10141540]
jne 0x1002df80
mov esi, dword [0x10142a3c]
mov eax, dword [0x10142a5c]
jmp 0x1002df98
cmp byte [esi + 0x156], 0
lea edx, [esi + 0x160]
mov dword [ebp - 0x28], 0
mov ecx, 5
jne 0x1002e08b
mov ecx, dword [eax + 0x27c]
test ecx, ecx
mov dword [ebp - 0x2c], ecx
lea edi, [ebp - 0x2c]
lea ebx, [ebp - 0x28]
cmovns ebx, edi
cmp dword [edx], ecx
mov edi, dword [0x101413f8]
cmovl ebx, edx
cmp byte [eax + 0x28c], 0
mov ebx, dword [ebx]
je 0x1002e1c5
mov eax, dword fs:[0x2c]
mov esi, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x10141490]
cmp eax, dword [ecx + 4]
jle 0x1002e10b
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1002e10b
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov eax, dword [0x101414a4]
sub esp, 8
movss xmm0, dword [esi + eax]
movss xmm1, dword [esi + eax + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100032c0
mov esi, dword [0x10142a3c]
xorps xmm0, xmm0
fstp dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x20]
mov eax, dword [esi + 0x2c]
mulss xmm1, dword [eax + 0x1c]
comiss xmm0, xmm1
jb 0x1002e15d
movss xmm1, dword [0x1006c0a4]
movss xmm0, dword [0x1006c16c]
sub esp, 8
divss xmm0, xmm1
mov dword [ebp - 0x38], 0x15
mov dword [ebp - 0x30], 0
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x24], xmm0
fld qword [ebp - 0x24]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x24]
lea eax, [ebp - 0x34]
cvtpd2ps xmm0, xmm0
add esp, 8
lea ecx, [ebp - 0x30]
cvttss2si edx, xmm0
test edx, edx
mov dword [ebp - 0x34], edx
cmovns ecx, eax
cmp edx, 0x15
lea eax, [ebp - 0x38]
cmovle eax, ecx
mov eax, dword [eax]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [0x10142a5c]
sar ebx, 1
cmp dword [eax + 0x288], 1
je 0x1002e1e3
cmp dword [esi + 0x160], ebx
jge 0x1002e1e3
cmp byte [esi + 0x156], 0
je 0x1002e296
xor edi, edi
test ebx, ebx
jle 0x1002e28f
nop dword [eax]
mov al, byte [ebp + 8]
movss xmm0, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 0x18], al
movss dword [ebp - 0x20], xmm0
test ecx, ecx
je 0x1002e2ce
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
mov eax, dword [0x10142a5c]
cmp dword [eax + 0x288], 0
jne 0x1002e23c
mov eax, dword [0x10142a3c]
dec dword [eax + 0x160]
mov eax, dword [0x10142a3c]
inc dword [eax + 0x168]
mov eax, dword [0x10142a3c]
mov byte [eax + 0x158], 1
mov ecx, dword [0x10142a3c]
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
mov eax, dword [0x10142a5c]
addss xmm0, dword [eax + 0x274]
lea eax, [ebx - 1]
cmp edi, eax
movss dword [ecx + 0x15c], xmm0
sete cl
mov eax, dword [0x10142a3c]
inc edi
mov eax, dword [eax + 0x1e4]
mov byte [eax], cl
cmp edi, ebx
jl 0x1002e1f0
mov esi, dword [0x10142a3c]
mov byte [esi + 0x158], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1002e2ae
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005e617
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3