Function at 0x10024bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054a65
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10064040]
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 [0x100662f8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10024f81
call fcn.10002970
test al, al
je 0x10024f81
mov ecx, dword [0x10066318]
cmp byte [ecx + 0x2bc], 0
je 0x10024f81
mov esi, dword [0x100662f8]
cmp byte [esi + 0x168], 0
jne 0x10024f81
movzx eax, word [ecx + 0x2f4]
test ax, ax
je 0x10024c8d
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10024c81
cmp dword [0x10064e84], 0
jne 0x10024d49
push 0x10058864
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10064e84], eax
mov ecx, dword [0x10066318]
mov esi, dword [0x100662f8]
cmp byte [esi + 0x16a], 0
je 0x10024f81
cmp dword [ecx + 0x2e0], 1
mov edi, dword [0x10064d58]
jne 0x10024d39
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10064df0]
mov esi, dword [esi + 0x74]
mov ecx, dword [ecx + edi*4]
cmp eax, dword [ecx + 4]
jle 0x10024d06
push 0x10064df0
call fcn.100513b1
add esp, 4
cmp dword [0x10064df0], 0xffffffff
jne 0x10024d06
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.1004bfd0
push 0x10064df0
mov dword [0x10064e04], eax
mov byte [ebp - 4], 0
call fcn.10051360
add esp, 4
mov eax, dword [0x10064e04]
lea ecx, [esi + eax]
call fcn.10003370
movss xmm1, dword [0x1005c400]
comiss xmm1, xmm0
mov ecx, dword [0x10066318]
jb 0x10024d33
cmp byte [ecx + 0x2d8], 0
jne 0x10024f81
mov esi, dword [0x100662f8]
cmp byte [ecx + 0x2e5], 0
je 0x10024d6c
mov ebx, 1
jmp 0x10024db9
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10064e84]
jne 0x10024c81
mov esi, dword [0x100662f8]
mov ecx, dword [0x10066318]
jmp 0x10024c9a
cmp dword [ecx + 0x2e0], 1
jne 0x10024d7d
mov ebx, dword [ecx + 0x2dc]
jmp 0x10024db9
cmp byte [esi + 0x16a], 0
lea ebx, [esi + 0x174]
mov dword [ebp - 0x28], 0
mov edx, 5
jne 0x10024d9e
mov edx, dword [ecx + 0x2d4]
test edx, edx
mov dword [ebp - 0x2c], edx
lea edi, [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmovns eax, edi
cmp dword [ebx], edx
mov edi, dword [0x10064d58]
cmovl eax, ebx
mov ebx, dword [eax]
cmp byte [ecx + 0x2e4], 0
je 0x10024eb6
mov eax, dword fs:[0x2c]
mov esi, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x10064df0]
cmp eax, dword [ecx + 4]
jle 0x10024e1e
push 0x10064df0
call fcn.100513b1
add esp, 4
cmp dword [0x10064df0], 0xffffffff
jne 0x10024e1e
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.1004bfd0
push 0x10064df0
mov dword [0x10064e04], eax
mov byte [ebp - 4], 0
call fcn.10051360
add esp, 4
mov ecx, dword [0x10064e04]
lea ecx, [esi + ecx]
call fcn.10008960
mov esi, dword [0x100662f8]
movaps xmm2, xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0x2c]
mulss xmm2, dword [eax + 0x1c]
comiss xmm1, xmm2
jb 0x10024e4d
movss xmm2, dword [0x1005c470]
movss xmm0, dword [0x1005c520]
sub esp, 8
divss xmm0, xmm2
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 ecx, dword [0x10066318]
mov eax, dword [eax]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp dword [ecx + 0x2e0], 1
je 0x10024ed4
cmp dword [esi + 0x174], ebx
jge 0x10024ed4
cmp byte [esi + 0x16a], 0
je 0x10024f81
xor edi, edi
test ebx, ebx
jle 0x10024f7a
nop
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 0x10024fb9
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
mov eax, dword [0x10066318]
cmp dword [eax + 0x2e0], 0
jne 0x10024f2c
mov eax, dword [0x100662f8]
dec dword [eax + 0x174]
mov eax, dword [0x100662f8]
inc dword [eax + 0x17c]
mov eax, dword [0x100662f8]
mov byte [eax + 0x16c], 1
mov ecx, dword [0x100662f8]
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
lea eax, [ebx - 1]
addss xmm0, dword [0x1005c444]
cmp edi, eax
movss dword [ecx + 0x170], xmm0
sete cl
mov eax, dword [0x100662f8]
inc edi
mov eax, dword [eax + 0x1f4]
mov byte [eax], cl
cmp edi, ebx
jl 0x10024ee0
mov esi, dword [0x100662f8]
mov byte [esi + 0x16c], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10024f99
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.10051327
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3