Function at 0x1002dc50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062f45
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10076040]
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 [0x10144a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002dff6
call fcn.10002910
test al, al
je 0x1002dff6
mov eax, dword [0x10144a5c]
cmp byte [eax + 0x291], 0
je 0x1002dff6
mov esi, dword [0x10144a3c]
cmp byte [esi + 0x154], 0
jne 0x1002dff6
movzx ecx, word [eax + 0x2c4]
test cx, cx
je 0x1002dd0b
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002dd00
cmp dword [0x10143540], 0
jne 0x1002ddc8
push 0x10067868
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10143540], eax
mov eax, dword [0x10144a5c]
mov esi, dword [0x10144a3c]
cmp byte [esi + 0x156], 0
je 0x1002dff6
cmp dword [eax + 0x2b0], 1
mov edi, dword [0x101433f8]
jne 0x1002ddea
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10143490]
mov esi, dword [esi + 0x74]
mov ecx, dword [ecx + edi*4]
cmp eax, dword [ecx + 4]
jle 0x1002dd84
push 0x10143490
call fcn.1005eea1
add esp, 4
cmp dword [0x10143490], 0xffffffff
jne 0x1002dd84
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.10059a30
push 0x10143490
mov dword [0x101434a4], eax
mov byte [ebp - 4], 0
call fcn.1005ee50
add esp, 4
mov ecx, dword [0x101434a4]
lea ecx, [esi + ecx]
call fcn.10003310
movss xmm1, dword [0x1006d604]
comiss xmm1, xmm0
mov eax, dword [0x10144a5c]
jb 0x1002ddb1
cmp byte [eax + 0x2a8], 0
jne 0x1002dff6
cmp dword [eax + 0x2b0], 1
mov esi, dword [0x10144a3c]
jne 0x1002ddea
lea ebx, [eax + 0x2ac]
jmp 0x1002de24
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10143540]
jne 0x1002dd00
mov esi, dword [0x10144a3c]
mov eax, dword [0x10144a5c]
jmp 0x1002dd18
cmp byte [esi + 0x156], 0
lea edx, [esi + 0x160]
mov dword [ebp - 0x28], 0
mov ecx, 5
jne 0x1002de0b
mov ecx, dword [eax + 0x2a4]
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 [0x101433f8]
cmovl ebx, edx
cmp byte [eax + 0x2b4], 0
mov ebx, dword [ebx]
je 0x1002df22
mov eax, dword fs:[0x2c]
mov esi, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x10143490]
cmp eax, dword [ecx + 4]
jle 0x1002de8b
push 0x10143490
call fcn.1005eea1
add esp, 4
cmp dword [0x10143490], 0xffffffff
jne 0x1002de8b
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.10059a30
push 0x10143490
mov dword [0x101434a4], eax
mov byte [ebp - 4], 0
call fcn.1005ee50
add esp, 4
mov ecx, dword [0x101434a4]
lea ecx, [esi + ecx]
call fcn.10008990
mov esi, dword [0x10144a3c]
movaps xmm2, xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0x2c]
mulss xmm2, dword [eax + 0x1c]
comiss xmm1, xmm2
jb 0x1002deba
movss xmm2, dword [0x1006d674]
movss xmm0, dword [0x1006d734]
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 eax, dword [eax]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [0x10144a5c]
sar ebx, 1
cmp dword [eax + 0x2b0], 1
je 0x1002df40
cmp dword [esi + 0x160], ebx
jge 0x1002df40
cmp byte [esi + 0x156], 0
je 0x1002dff6
xor edi, edi
test ebx, ebx
jle 0x1002dfef
nop word [eax + 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 0x1002e02e
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
mov eax, dword [0x10144a5c]
cmp dword [eax + 0x2b0], 0
jne 0x1002df9c
mov eax, dword [0x10144a3c]
dec dword [eax + 0x160]
mov eax, dword [0x10144a3c]
inc dword [eax + 0x168]
mov eax, dword [0x10144a3c]
mov byte [eax + 0x158], 1
mov ecx, dword [0x10144a3c]
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
mov eax, dword [0x10144a5c]
addss xmm0, dword [eax + 0x29c]
lea eax, [ebx - 1]
cmp edi, eax
movss dword [ecx + 0x15c], xmm0
sete cl
mov eax, dword [0x10144a3c]
inc edi
mov eax, dword [eax + 0x1e4]
mov byte [eax], cl
cmp edi, ebx
jl 0x1002df50
mov esi, dword [0x10144a3c]
mov byte [esi + 0x158], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1002e00e
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.1005ee17
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3