Function at 0x10033740
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a615
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1007e00c]
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 [0x1014c5bc]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10033ae1
call fcn.10002fb0
test al, al
je 0x10033ae1
mov eax, dword [0x1014c5dc]
cmp byte [eax + 0x240], 0
je 0x10033ae1
mov esi, dword [0x1014c5bc]
cmp byte [esi + 0x154], 0
jne 0x10033ae1
movzx ecx, word [eax + 0x264]
test cx, cx
je 0x100337fb
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100337f0
cmp dword [0x1014b0d8], 0
jne 0x100338b8
push 0x1006e84c
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014b0d8], eax
mov eax, dword [0x1014c5dc]
mov esi, dword [0x1014c5bc]
cmp byte [esi + 0x156], 0
je 0x10033ae1
cmp dword [eax + 0x250], 1
mov edi, dword [0x1014af98]
jne 0x100338da
mov ecx, dword fs:[0x2c]
mov eax, dword [0x1014b010]
mov esi, dword [esi + 0x74]
mov ecx, dword [ecx + edi*4]
cmp eax, dword [ecx + 4]
jle 0x10033874
push 0x1014b010
call fcn.1006592a
add esp, 4
cmp dword [0x1014b010], 0xffffffff
jne 0x10033874
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100618f0
push 0x1014b010
mov dword [0x1014b02c], eax
mov byte [ebp - 4], 0
call fcn.100658d9
add esp, 4
mov ecx, dword [0x1014b02c]
lea ecx, [ecx + esi]
call fcn.100024f0
movss xmm1, dword [0x10074aec]
comiss xmm1, xmm0
mov eax, dword [0x1014c5dc]
jb 0x100338a1
cmp byte [eax + 0x248], 0
jne 0x10033ae1
cmp dword [eax + 0x250], 1
mov esi, dword [0x1014c5bc]
jne 0x100338da
lea ebx, [eax + 0x24c]
jmp 0x10033914
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x1014b0d8]
jne 0x100337f0
mov esi, dword [0x1014c5bc]
mov eax, dword [0x1014c5dc]
jmp 0x10033808
cmp byte [esi + 0x156], 0
lea edx, [esi + 0x160]
mov dword [ebp - 0x28], 0
mov ecx, 5
jne 0x100338fb
mov ecx, dword [eax + 0x244]
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 [0x1014af98]
cmovl ebx, edx
cmp byte [eax + 0x254], 0
mov ebx, dword [ebx]
je 0x10033a12
mov eax, dword fs:[0x2c]
mov esi, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x1014b010]
cmp eax, dword [ecx + 4]
jle 0x1003397b
push 0x1014b010
call fcn.1006592a
add esp, 4
cmp dword [0x1014b010], 0xffffffff
jne 0x1003397b
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100618f0
push 0x1014b010
mov dword [0x1014b02c], eax
mov byte [ebp - 4], 0
call fcn.100658d9
add esp, 4
mov ecx, dword [0x1014b02c]
lea ecx, [ecx + esi]
call fcn.10008640
mov esi, dword [0x1014c5bc]
movaps xmm2, xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0x2c]
mulss xmm2, dword [eax + 0x1c]
comiss xmm1, xmm2
jb 0x100339aa
movss xmm2, dword [0x10074b5c]
movss xmm0, dword [0x10074c2c]
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 [0x1014c5dc]
sar ebx, 1
cmp dword [eax + 0x250], 1
je 0x10033a30
cmp dword [esi + 0x160], ebx
jge 0x10033a30
cmp byte [esi + 0x156], 0
je 0x10033ae1
xor edi, edi
test ebx, ebx
jle 0x10033ada
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 0x10033b19
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
mov eax, dword [0x1014c5dc]
cmp dword [eax + 0x250], 0
jne 0x10033a8c
mov eax, dword [0x1014c5bc]
dec dword [eax + 0x160]
mov eax, dword [0x1014c5bc]
inc dword [eax + 0x168]
mov eax, dword [0x1014c5bc]
mov byte [eax + 0x158], 1
mov ecx, dword [0x1014c5bc]
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
lea eax, [ebx - 1]
addss xmm0, dword [0x10074b28]
cmp edi, eax
movss dword [ecx + 0x15c], xmm0
sete cl
mov eax, dword [0x1014c5bc]
inc edi
mov eax, dword [eax + 0x1e4]
mov byte [eax], cl
cmp edi, ebx
jl 0x10033a40
mov esi, dword [0x1014c5bc]
mov byte [esi + 0x158], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10033af9
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.100658a0
mov esp, ebp
pop ebp
ret 0x2c
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3