Function at 0x10091970
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a470f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c8
mov eax, dword [0x100b9008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10118310]
test al, 1
jne 0x100919c2
or eax, 1
mov dword [0x10118310], eax
test al, 2
jne 0x100919ce
or eax, 2
mov dword [0x10118310], eax
test al, 4
jne 0x100919da
or eax, 4
mov dword [0x10118310], eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x100a77bc
lea ecx, [ebp - 0x1c0]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0xf
mov byte [ebp - 0x1c0], 0
call fcn.10021da0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1a8]
push dword [ebp - 0x190]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.1006e3d0
push fcn.10021100
push 1
push 0x18
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 2
push eax
call fcn.1009b386
cmp byte [0x100c2fbc], 0
je 0x100920ab
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x180]
push eax
push str.Counter_Strike:_Global_Offensive
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [ebp - 0x180]
movd xmm1, dword [ebp - 0x17c]
movss xmm5, dword [0x101182ec]
movss xmm4, dword [0x101182f0]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [0x101182ec], xmm0
movss xmm0, dword [0x100ad8c8]
movss dword [0x101182f0], xmm1
movaps xmm3, xmm0
movss xmm1, dword [0x101182f4]
subss xmm3, xmm1
movss dword [0x101182e4], xmm5
movss dword [0x101182e8], xmm4
comiss xmm5, xmm3
jbe 0x10091b8b
movaps xmm2, xmm0
subss xmm2, dword [0x101182f8]
comiss xmm4, xmm2
jbe 0x10091b8b
addss xmm3, dword [0x100ad8f8]
comiss xmm3, xmm5
jbe 0x10091b8b
addss xmm2, dword [0x100ad854]
comiss xmm2, xmm4
jbe 0x10091b8b
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10091b7b
movss xmm1, dword [0x101182e4]
movss xmm0, dword [0x101182e8]
subss xmm1, dword [0x101182ec]
subss xmm0, dword [0x101182f0]
addss xmm1, dword [0x101182f4]
addss xmm0, dword [0x101182f8]
movss dword [0x101182f4], xmm1
movss dword [0x101182f8], xmm0
jmp 0x10091b83
movss xmm1, dword [0x101182f4]
movss xmm0, dword [0x100ad8c8]
mov ecx, dword [0x10112028]
movaps xmm2, xmm0
subss xmm0, dword [0x101182f8]
subss xmm2, xmm1
mov eax, dword [ecx]
movss dword [ebp - 0x18c], xmm0
movss dword [ebp - 0x188], xmm2
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10091dbb
mov eax, dword [0x10112084]
mov edi, 1
cmp dword [eax + 0x18], edi
jl 0x10091dbb
mov ecx, dword [0x1011202c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x10091dac
mov ecx, dword [0x101121c8]
mov cl, byte [ecx + esi]
test cl, cl
jne 0x10091dac
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10091dac
mov eax, dword [0x10112268]
add eax, 0xffffffcb
xor eax, 0x7e881213
cmp dword [eax + esi], 0
je 0x10091dac
mov ecx, dword [0x1011202c]
mov eax, dword [0x10112304]
add eax, 0xffffffa4
xor eax, 0x7e88123a
mov edx, dword [ecx]
push ecx
mov eax, dword [eax + esi]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
cmp eax, dword [0x100b92e0]
jne 0x10091dac
mov ecx, dword [0x10112028]
lea edx, [ebp - 0x178]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10091dac
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1a8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10091c94
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x1a8]
call fcn.10021da0
push 0x18
push 0
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1a8]
call fcn.100406e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ecx
je 0x10091d0b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [ebp - 0x1c], 0x18
jmp 0x10091d15
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.10098d40
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c4]
cmp edx, 0x10
jb 0x10091d53
mov ecx, dword [ebp - 0x1d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10091d49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10091fab
push edx
push ecx
call fcn.1009b7cf
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
cmp edx, 0x10
jb 0x10091dac
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10091da2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10091fab
push edx
push ecx
call fcn.1009b7cf
add esp, 8
mov eax, dword [0x10112084]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x10091bd2
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x18c]
addss xmm0, dword [0x100ad820]
imul ecx
cvttss2si esi, xmm0
mov ecx, dword [0x10112034]
sar edx, 2
mov eax, edx
mov dword [ebp - 0x184], 0xff1e1914
shr eax, 0x1f
add eax, edx
push dword [ebp - 0x184]
lea edi, [eax + eax*8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10112034]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + edi*2]
push eax
cvttss2si eax, dword [ebp - 0x188]
lea edi, [eax + 0xc8]
push edi
push esi
push eax
call edx
mov ecx, dword [0x10112034]
cvttss2si esi, dword [ebp - 0x18c]
mov dword [ebp - 0x184], 0xff28231e
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
push dword [ebp - 0x184]
call eax
mov ecx, dword [0x10112034]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x13]
push eax
push edi
cvttss2si edi, dword [ebp - 0x188]
push esi
push edi
call edx
movss xmm0, dword [ebp - 0x18c]
addss xmm0, dword [0x100ad850]
mov dword [ebp - 0x184], 0xc3b4b4b4
push dword [ebp - 0x184]
push dword [0x100cbb28]
cvttss2si esi, xmm0
push ecx
push 0x1e
mov ecx, edi
mov edx, esi
call fcn.1008b010
movss xmm0, dword [ebp - 0x188]
add esp, 0x10
addss xmm0, dword [0x100ad870]
mov dword [ebp - 0x184], 0xc3b4b4b4
mov edx, esi
push dword [0x100cbb28]
push dword [ebp - 0x184]
push ecx
cvttss2si ecx, xmm0
push 0x1e
call fcn.1008b010
movss xmm0, dword [ebp - 0x188]
add esp, 0x10
mov eax, dword [0x100cbb28]
mov edx, esi
addss xmm0, dword [0x100ad8a4]
push eax
push eax
push ecx
cvttss2si ecx, xmm0
push 0x8c
call fcn.1008b010
add esp, 0x10
mov dword [ebp - 0x198], 0
push 0xe
push str.spectator_list
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
call fcn.10021da0
movss xmm0, dword [ebp - 0x18c]
lea eax, [ebp - 0x1a8]
push 1
push eax
push ecx
mov byte [ebp - 4], 5
mov eax, esp
addss xmm0, dword [0x100ad7ec]
mov ecx, 0x101147f0
mov dword [eax], 0xffffffff
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x188]
addss xmm0, dword [0x100ad8b4]
push eax
cvttss2si eax, xmm0
push eax
call fcn.1008b450
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x194]
cmp edx, 0x10
jb 0x10091fbb
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10091fb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10091fb1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009b7cf
add esp, 8
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp edi, edx
je 0x100920ab
sub edx, edi
mov eax, 0x2aaaaaab
imul edx
xor ecx, ecx
sar edx, 2
mov eax, edx
mov dword [ebp - 0x184], ecx
shr eax, 0x1f
add eax, edx
je 0x100920ab
movss xmm0, dword [ebp - 0x188]
xor esi, esi
addss xmm0, dword [0x100ad818]
movss xmm1, dword [ebp - 0x18c]
xor eax, eax
addss xmm1, dword [0x100ad830]
mov dword [ebp - 0x188], eax
cvttss2si ecx, xmm0
movss dword [ebp - 0x18c], xmm1
mov dword [ebp - 0x190], ecx
add eax, edi
movd xmm0, esi
push 0
push eax
push ecx
mov eax, esp
cvtdq2pd xmm0, xmm0
mov dword [eax], 0xffffffff
mov eax, esi
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ada20]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push ecx
mov ecx, 0x101147f0
call fcn.1008b450
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x20]
add esi, 0x12
add dword [ebp - 0x188], 0x18
sub ecx, edi
inc dword [ebp - 0x184]
movss xmm1, dword [ebp - 0x18c]
imul ecx
mov ecx, dword [ebp - 0x190]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x188]
jb 0x10092026
lea ecx, [ebp - 0x20]
call fcn.100219f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009b337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret