Function at 0x10034530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a699
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1007d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x28], xmm1
mov dword [ebp - 4], 0
mov eax, dword [0x1014b680]
cmp byte [eax + 0x22c], 0
je 0x1003476e
cmp byte [eax + 0x234], 0
mov edi, dword [eax + 0x230]
je 0x10034673
mov eax, dword [0x1014b65c]
mov ecx, dword [0x1014a028]
mov esi, dword [eax + 0x74]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1014a0a0]
cmp eax, dword [ecx + 4]
jle 0x100345ef
push 0x1014a0a0
call fcn.10065d80
add esp, 4
cmp dword [0x1014a0a0], 0xffffffff
jne 0x100345ef
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.10061920
push 0x1014a0a0
mov dword [0x1014a0bc], eax
mov byte [ebp - 4], 0
call fcn.10065d2f
add esp, 4
mov ecx, dword [0x1014a0bc]
lea ecx, [ecx + esi]
call fcn.100084b0
mov eax, dword [0x1014b65c]
sub esp, 8
movss xmm1, dword [0x10074b34]
mov dword [ebp - 0x24], 0x16
mov dword [ebp - 0x1c], 0
mov eax, dword [eax + 0x2c]
mulss xmm0, dword [eax + 0x1c]
maxss xmm1, xmm0
movss xmm0, dword [0x10074bfc]
divss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [ebp - 0x18]
cvttss2si edx, dword [ebp - 0x18]
add esp, 8
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
test edx, edx
mov dword [ebp - 0x20], edx
cmovns ecx, eax
cmp edx, 0x16
lea eax, [ebp - 0x24]
cmovle eax, ecx
mov eax, dword [eax]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x1014b680]
sar edi, 1
movzx eax, word [eax + 0x24a]
test ax, ax
je 0x1003476e
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003476e
cmp dword [0x1014a168], 0
jne 0x100346b3
push 0x1006e88c
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014a168], eax
jmp 0x1003476e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x1014a168]
jne 0x1003476e
mov eax, dword [0x1014b65c]
cmp dword [eax + 0x15c], edi
jl 0x1003476e
xor esi, esi
test edi, edi
jle 0x10034767
mov bl, byte [ebp + 8]
movss xmm0, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 0x14], bl
movss dword [ebp - 0x18], xmm0
test ecx, ecx
je 0x100347a6
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 8]
mov eax, dword [0x1014b65c]
dec dword [eax + 0x15c]
mov eax, dword [0x1014b65c]
inc dword [eax + 0x164]
mov eax, dword [0x1014b65c]
mov byte [eax + 0x157], 1
mov ecx, dword [0x1014b65c]
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
lea eax, [edi - 1]
addss xmm0, dword [0x10074b08]
cmp esi, eax
movss dword [ecx + 0x158], xmm0
sete cl
mov eax, dword [0x1014b65c]
inc esi
mov eax, dword [eax + 0x1dc]
mov byte [eax], cl
cmp esi, edi
jl 0x100346e3
mov eax, dword [0x1014b65c]
mov byte [eax + 0x157], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10034786
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 - 0x10]
xor ecx, ebp
call fcn.10065cf6
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3