Function at 0x100adca0
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 0x100c8844
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x100de364]
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 [0x1019cae4]
test al, 1
jne 0x100adcf2
or eax, 1
mov dword [0x1019cae4], eax
test al, 2
jne 0x100adcfe
or eax, 2
mov dword [0x1019cae4], eax
test al, 4
jne 0x100add0a
or eax, 4
mov dword [0x1019cae4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0
push 0x100cbdc8
lea ecx, [ebp - 0x1e0]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x1e0], xmm0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1002f120
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.10083510
push fcn.1002e5a0
push 1
push 0x18
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 2
push eax
call fcn.100bc5b2
mov eax, dword [0x1014bc1c]
test eax, eax
je 0x100ae53e
cmp eax, 1
je 0x100ae53e
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 [0x1019caf0]
movd xmm0, dword [ebp - 0x180]
movss xmm3, dword [0x100d2b7c]
movss xmm5, dword [0x1019caec]
movss xmm2, dword [0x100d2c94]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [0x1019caf0], xmm1
movss xmm1, dword [0x1019caf4]
subss xmm3, xmm1
movss dword [0x1019c9d8], xmm5
movss dword [0x1019c9dc], xmm4
movss dword [0x1019caec], xmm0
comiss xmm5, xmm3
jbe 0x100adeaf
movaps xmm0, xmm2
subss xmm0, dword [0x1019caf8]
comiss xmm4, xmm0
jbe 0x100adeaf
addss xmm3, dword [0x100d2c70]
comiss xmm3, xmm5
jbe 0x100adeaf
addss xmm0, dword [0x100d2bac]
comiss xmm0, xmm4
jbe 0x100adeaf
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm2, dword [0x100d2c94]
test ax, ax
je 0x100adea7
movss xmm1, dword [0x1019c9d8]
movss xmm0, dword [0x1019c9dc]
subss xmm1, dword [0x1019caec]
subss xmm0, dword [0x1019caf0]
addss xmm1, dword [0x1019caf4]
addss xmm0, dword [0x1019caf8]
movss dword [0x1019caf4], xmm1
movss dword [0x1019caf8], xmm0
jmp 0x100adeaf
movss xmm1, dword [0x1019caf4]
mov ecx, dword [0x10196c70]
movss xmm0, dword [0x100d2b7c]
subss xmm2, dword [0x1019caf8]
subss xmm0, xmm1
mov eax, dword [ecx]
movss dword [ebp - 0x190], xmm2
mov eax, dword [eax + 0x68]
movss dword [ebp - 0x188], xmm0
call eax
test al, al
je 0x100ae106
mov eax, dword [0x10196cd0]
mov edi, 1
cmp dword [eax + 0x18], edi
jl 0x100ae106
nop dword [eax + eax]
mov ecx, dword [0x10196c74]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100ae0f7
mov ecx, dword [0x10196e24]
mov cl, byte [ecx + esi]
test cl, cl
jne 0x100ae0f7
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100ae0f7
mov eax, dword [0x10196eac]
add eax, 0xffffffcc
xor eax, 0x39528c43
cmp dword [eax + esi], 0
je 0x100ae0f7
mov ecx, dword [0x10196c74]
mov eax, dword [0x10196f48]
add eax, 0xffffffa5
xor eax, 0x39528c6a
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 [0x10141fc8]
jne 0x100ae0f7
mov ecx, dword [0x10196c70]
lea edx, [ebp - 0x178]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100ae0f7
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x19c], 0
movups xmmword [ebp - 0x1b0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100adfc5
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.1002f120
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1b0]
mov ecx, 0x18
mov dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1a0], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c8], xmm0
cmovb ecx, dword [ebp - 0x1a0]
cmp dword [ebp - 0x19c], 0x10
push ecx
cmovae eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1c8]
push eax
mov dword [ebp - 0x1b4], 0
call fcn.1002f120
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x100ae06b
movups xmm0, xmmword [ebp - 0x1c8]
mov ecx, 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 0x100ae081
lea ecx, [ebp - 0x1c8]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100b8de0
mov ecx, dword [ebp - 0x1b4]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x100ae0b9
mov edx, dword [ebp - 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ae0af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ae3ab
push ecx
push edx
call fcn.100bc9e1
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0x10
jb 0x100ae0f7
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ae0ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ae3ab
push ecx
push edx
call fcn.100bc9e1
add esp, 8
mov eax, dword [0x10196cd0]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x100adf00
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x190]
addss xmm0, dword [0x100d2b64]
imul ecx
cvttss2si edi, dword [ebp - 0x188]
mov ecx, dword [0x10196c7c]
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 - 0x194], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10196c7c]
add edi, 0xaa
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x194]
add eax, esi
push eax
cvttss2si eax, dword [ebp - 0x188]
push edi
push esi
push eax
call edx
mov ecx, dword [0x10196c7c]
cvttss2si esi, dword [ebp - 0x190]
push 0xff131313
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10196c7c]
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 [0x100d2ba4]
mov ecx, dword [0x10196c7c]
mov edx, dword [ecx]
cvttss2si eax, xmm0
mov edx, dword [edx + 0x38]
movss xmm0, dword [ebp - 0x188]
addss xmm0, dword [0x100d2c10]
mov dword [ebp - 0x184], eax
mov eax, dword [0x101553fc]
mov esi, eax
push eax
shr esi, 0x18
cvttss2si edi, xmm0
mov dword [ebp - 0x18c], edi
call edx
mov ecx, dword [0x10196c7c]
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 [0x10196c7c]
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10196c7c]
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 [0x10196c7c]
mov esi, dword [0x101553fc]
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 [0x10196c7c]
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 [0x10196c7c]
push dword [ebp - 0x18c]
shr esi, 0x18
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10196c7c]
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
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
push str.spectators
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x19c], 0
movups xmmword [ebp - 0x1b0], xmm0
call fcn.1002f120
movss xmm0, dword [ebp - 0x190]
lea eax, [ebp - 0x1b0]
push 2
push eax
push ecx
mov byte [ebp - 4], 5
mov eax, esp
addss xmm0, dword [0x100d2ae4]
mov dword [eax], 0xffcdcdcd
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x188]
push eax
addss xmm0, dword [0x100d2c14]
mov ecx, 0x10199834
cvttss2si eax, xmm0
push eax
call fcn.100a5150
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0x10
jb 0x100ae3bb
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ae3b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ae3b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100bc9e1
add esp, 8
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp esi, edx
je 0x100ae53e
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 0x100ae53e
movss xmm1, dword [ebp - 0x190]
xor edi, edi
addss xmm1, dword [0x100d2b5c]
mov dword [ebp - 0x194], ecx
movss dword [ebp - 0x190], xmm1
movss xmm1, dword [ebp - 0x188]
addss xmm1, dword [0x100d2b5c]
mov dword [ebp - 0x188], edi
cvttss2si eax, xmm1
mov dword [ebp - 0x17c], eax
nop word [eax + eax]
mov ecx, dword [edi + esi + 0x14]
add edi, esi
mov dword [ebp - 0x198], edi
mov eax, dword [edi + 0x10]
cmp ecx, 0x10
jb 0x100ae44e
add eax, dword [edi]
mov dword [ebp - 0x18c], eax
jmp 0x100ae45d
add eax, edi
mov esi, edi
mov dword [ebp - 0x18c], eax
cmp ecx, 0x10
jb 0x100ae45f
mov esi, dword [edi]
cmp esi, eax
je 0x100ae48a
mov edi, dword [ebp - 0x18c]
nop dword [eax]
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 0x100ae470
mov edi, dword [ebp - 0x198]
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x100ae494
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10033980
add esp, 4
mov ecx, eax
push 0x1003e090
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 - 0x194]
push 0
push edi
push ecx
mov eax, esp
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov ecx, 0x10199834
mov dword [eax], 0xffcdcdcd
mov eax, esi
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d2de0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x190]
cvttss2si eax, xmm0
push eax
push dword [ebp - 0x17c]
call fcn.100a5150
mov ecx, dword [ebp - 0x1c]
add esi, 0x12
mov edi, dword [ebp - 0x188]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x184]
add edi, 0x18
mov dword [ebp - 0x194], esi
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
mov dword [ebp - 0x188], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x184], eax
jb 0x100ae430
lea ecx, [ebp - 0x20]
call fcn.10051ec0
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.100bc566
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret