Function at 0x100a9eb0
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 0x100bf574
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x100d400c]
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 [0x10115e10]
test al, 1
jne 0x100a9f02
or eax, 1
mov dword [0x10115e10], eax
test al, 2
jne 0x100a9f0e
or eax, 2
mov dword [0x10115e10], eax
test al, 4
jne 0x100a9f1a
or eax, 4
mov dword [0x10115e10], eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1e0], 0
push 0x100c34ed
lea ecx, [ebp - 0x1e0]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
call fcn.1002bb90
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x1c8]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.1007e3e0
push fcn.1002b770
push 1
push 0x18
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 2
push eax
call fcn.100b3911
mov eax, dword [0x100f5458]
test eax, eax
je 0x100aa766
cmp eax, 1
je 0x100aa766
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 xmm1, dword [ebp - 0x17c]
movss xmm4, dword [0x10116044]
movd xmm0, dword [ebp - 0x180]
movss xmm2, dword [0x100c918c]
movss xmm5, dword [0x10116040]
movss xmm3, dword [0x100c92a8]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [0x10116044], xmm1
movss xmm1, dword [0x10116048]
subss xmm2, xmm1
movss dword [0x10115e20], xmm5
movss dword [0x10115e24], xmm4
movss dword [0x10116040], xmm0
comiss xmm5, xmm2
jbe 0x100aa0c9
movaps xmm0, xmm3
subss xmm0, dword [0x1011604c]
comiss xmm4, xmm0
jbe 0x100aa0c9
addss xmm2, dword [0x100c9280]
comiss xmm2, xmm5
jbe 0x100aa0c9
addss xmm0, dword [0x100c91b0]
comiss xmm0, xmm4
jbe 0x100aa0c9
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm3, dword [0x100c92a8]
test ax, ax
je 0x100aa0c1
movss xmm1, dword [0x10115e20]
movss xmm0, dword [0x10115e24]
subss xmm1, dword [0x10116040]
subss xmm0, dword [0x10116044]
addss xmm1, dword [0x10116048]
addss xmm0, dword [0x1011604c]
movss dword [0x10116048], xmm1
movss dword [0x1011604c], xmm0
jmp 0x100aa0c9
movss xmm1, dword [0x10116048]
mov ecx, dword [0x1010c3e8]
movss xmm0, dword [0x100c918c]
subss xmm3, dword [0x1011604c]
subss xmm0, xmm1
mov eax, dword [ecx]
movss dword [ebp - 0x190], xmm3
mov eax, dword [eax + 0x68]
movss dword [ebp - 0x188], xmm0
call eax
test al, al
je 0x100aa32f
mov eax, dword [0x1010c444]
mov edi, 1
cmp dword [eax + 0x18], edi
jl 0x100aa32f
mov ecx, dword [0x1010c3ec]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100aa320
mov ecx, dword [0x1010c5a4]
mov cl, byte [ecx + esi]
test cl, cl
jne 0x100aa320
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100aa320
mov eax, dword [0x1010c614]
add eax, 0xffffffc9
xor eax, 0x358f6f8
cmp dword [eax + esi], 0
je 0x100aa320
mov ecx, dword [0x1010c3ec]
mov eax, dword [0x1010c6d8]
add eax, 0xffffff98
xor eax, 0x358f72a
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 [0x101136b8]
jne 0x100aa320
mov ecx, dword [0x1010c3e8]
lea edx, [ebp - 0x178]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100aa320
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x198], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100aa1e1
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x1a8]
call fcn.1002bb90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1a8]
mov ecx, 0x18
mov dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x198], ecx
mov dword [ebp - 0x1b8], 0
cmovb ecx, dword [ebp - 0x198]
cmp dword [ebp - 0x194], 0x10
push ecx
cmovae eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1c8]
push eax
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
call fcn.1002bb90
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x100aa294
movups xmm0, xmmword [ebp - 0x1c8]
mov dword [eax], 0
mov edx, 0xf
mov byte [ebp - 0x1c8], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1b8]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x1c], 0x18
jmp 0x100aa2aa
lea ecx, [ebp - 0x1c8]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100b1640
mov edx, dword [ebp - 0x1b4]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x100aa2e2
mov ecx, dword [ebp - 0x1c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa2d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa5db
push edx
push ecx
call fcn.100b3d40
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x194]
cmp edx, 0x10
jb 0x100aa320
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa316
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa5db
push edx
push ecx
call fcn.100b3d40
add esp, 8
mov eax, dword [0x1010c444]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x100aa115
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x190]
addss xmm0, dword [0x100c9174]
imul ecx
cvttss2si edi, dword [ebp - 0x188]
mov ecx, dword [0x1010c3f4]
sar edx, 2
mov eax, edx
mov dword [ebp - 0x184], 0xb41d1d1d
shr eax, 0x1f
push dword [ebp - 0x184]
add eax, edx
cvttss2si esi, xmm0
lea eax, [eax + eax*8]
add eax, eax
mov dword [ebp - 0x18c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
add edi, 0xaa
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x18c]
add eax, esi
push eax
cvttss2si eax, dword [ebp - 0x188]
push edi
push esi
push eax
call edx
mov ecx, dword [0x1010c3f4]
cvttss2si esi, dword [ebp - 0x190]
push 0xff131313
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x13]
push eax
cvttss2si eax, dword [ebp - 0x188]
push edi
push esi
push eax
call edx
movss xmm0, dword [ebp - 0x190]
addss xmm0, dword [0x100c91a8]
mov ecx, dword [0x1010c3f4]
mov edx, dword [ecx]
cvttss2si eax, xmm0
mov edx, dword [edx + 0x38]
movss xmm0, dword [ebp - 0x188]
addss xmm0, dword [0x100c920c]
mov dword [ebp - 0x184], eax
mov eax, dword [0x100fe1b4]
mov esi, eax
push eax
shr esi, 0x18
cvttss2si edi, xmm0
mov dword [ebp - 0x18c], edi
call edx
mov ecx, dword [0x1010c3f4]
add edi, 0x5a
mov edx, dword [ebp - 0x184]
push 1
push 0
mov eax, dword [ecx]
inc edx
push esi
mov esi, dword [ebp - 0x18c]
push edx
mov eax, dword [eax + 0x1ec]
push edi
push dword [ebp - 0x184]
push esi
call eax
mov ecx, dword [0x1010c3f4]
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
mov edx, dword [ebp - 0x184]
push 1
push 0
mov eax, dword [ecx]
inc edx
push 0
push edx
push edi
push dword [ebp - 0x184]
mov eax, dword [eax + 0x1ec]
push esi
call eax
mov ecx, dword [0x1010c3f4]
mov esi, dword [0x100fe1b4]
push 0
mov dword [ebp - 0x18c], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
cvttss2si edi, dword [ebp - 0x188]
mov edx, dword [ebp - 0x184]
mov ecx, dword [0x1010c3f4]
inc edx
push 1
push 0
push 0
mov eax, dword [ecx]
push edx
cvttss2si edx, dword [ebp - 0x188]
add edi, 0x5a
mov eax, dword [eax + 0x1ec]
push edi
push dword [ebp - 0x184]
push edx
call eax
mov ecx, dword [0x1010c3f4]
push dword [ebp - 0x18c]
shr esi, 0x18
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
push 1
push esi
mov esi, dword [ebp - 0x184]
mov eax, dword [ecx]
push 0
lea edx, [esi + 1]
mov eax, dword [eax + 0x1ec]
push edx
cvttss2si edx, dword [ebp - 0x188]
push edi
push esi
push edx
call eax
push 0xa
mov dword [ebp - 0x1a8], 0
lea ecx, [ebp - 0x1a8]
push str.spectators
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
call fcn.1002bb90
movss xmm0, dword [ebp - 0x190]
lea eax, [ebp - 0x1a8]
push 2
push eax
push ecx
mov byte [ebp - 4], 5
mov eax, esp
addss xmm0, dword [0x100c90cc]
mov dword [eax], 0xffcdcdcd
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x188]
push eax
addss xmm0, dword [0x100c9210]
mov ecx, 0x10110904
cvttss2si eax, xmm0
push eax
call fcn.100a00a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x194]
cmp edx, 0x10
jb 0x100aa5eb
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa5e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100aa5e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b3d40
add esp, 8
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp esi, edx
je 0x100aa766
sub edx, esi
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 0x100aa766
movss xmm1, dword [ebp - 0x190]
xor edi, edi
addss xmm1, dword [0x100c916c]
mov dword [ebp - 0x18c], edi
movss dword [ebp - 0x190], xmm1
movss xmm1, dword [ebp - 0x188]
addss xmm1, dword [0x100c916c]
mov dword [ebp - 0x188], ecx
cvttss2si eax, xmm1
mov dword [ebp - 0x17c], eax
nop word [eax + eax]
mov ecx, dword [edi + esi + 0x14]
add edi, esi
mov dword [ebp - 0x1ac], edi
mov eax, edi
cmp ecx, 0x10
jb 0x100aa675
mov eax, dword [edi]
mov edx, dword [edi + 0x10]
mov esi, edi
add eax, edx
mov dword [ebp - 0x1b0], eax
cmp ecx, 0x10
jb 0x100aa689
mov esi, dword [edi]
cmp esi, eax
je 0x100aa6b3
mov edi, dword [ebp - 0x1b0]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x100aa693
mov edi, dword [ebp - 0x1ac]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x100aa6bc
mov eax, dword [edi]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
mov edx, eax
call fcn.10030930
add esp, 4
mov ecx, eax
push 0x1003ba00
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, dword [ebp - 0x188]
push 0
push edi
push ecx
mov eax, esp
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov ecx, 0x10110904
mov dword [eax], 0xffcdcdcd
mov eax, esi
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c93c0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x190]
cvttss2si eax, xmm0
push eax
push dword [ebp - 0x17c]
call fcn.100a00a0
mov ecx, dword [ebp - 0x1c]
add esi, 0x12
mov edi, dword [ebp - 0x18c]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x184]
add edi, 0x18
mov dword [ebp - 0x188], esi
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
mov dword [ebp - 0x18c], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x184], eax
jb 0x100aa660
lea ecx, [ebp - 0x20]
call fcn.1004d740
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.100b38c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret