Function at 0x100b6230
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 0x100d0034
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x100e7380]
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 [0x101ab8fc]
test al, 1
jne 0x100b6282
or eax, 1
mov dword [0x101ab8fc], eax
test al, 2
jne 0x100b628e
or eax, 2
mov dword [0x101ab8fc], eax
test al, 4
jne 0x100b629a
or eax, 4
mov dword [0x101ab8fc], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0
push 0x100d3ed0
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.100304b0
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.10089aa0
push fcn.1002f930
push 1
push 0x18
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 2
push eax
call fcn.100c3d56
mov eax, dword [0x10158158]
test eax, eax
je 0x100b6abe
cmp eax, 1
je 0x100b6abe
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 [0x101ab908]
movd xmm0, dword [ebp - 0x180]
movss xmm3, dword [0x100daf98]
movss xmm5, dword [0x101ab904]
movss xmm2, dword [0x100db0b8]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [0x101ab908], xmm1
movss xmm1, dword [0x101ab90c]
subss xmm3, xmm1
movss dword [0x101ab7f0], xmm5
movss dword [0x101ab7f4], xmm4
movss dword [0x101ab904], xmm0
comiss xmm5, xmm3
jbe 0x100b643f
movaps xmm0, xmm2
subss xmm0, dword [0x101ab910]
comiss xmm4, xmm0
jbe 0x100b643f
addss xmm3, dword [0x100db094]
comiss xmm3, xmm5
jbe 0x100b643f
addss xmm0, dword [0x100dafc4]
comiss xmm0, xmm4
jbe 0x100b643f
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm2, dword [0x100db0b8]
test ax, ax
je 0x100b6437
movss xmm1, dword [0x101ab7f0]
movss xmm0, dword [0x101ab7f4]
subss xmm1, dword [0x101ab904]
subss xmm0, dword [0x101ab908]
addss xmm1, dword [0x101ab90c]
addss xmm0, dword [0x101ab910]
movss dword [0x101ab90c], xmm1
movss dword [0x101ab910], xmm0
jmp 0x100b643f
movss xmm1, dword [0x101ab90c]
mov ecx, dword [0x101a5c50]
movss xmm0, dword [0x100daf98]
subss xmm2, dword [0x101ab910]
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 0x100b6696
mov eax, dword [0x101a5cb0]
mov edi, 1
cmp dword [eax + 0x18], edi
jl 0x100b6696
nop dword [eax + eax]
mov ecx, dword [0x101a5c54]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100b6687
mov ecx, dword [0x101a5e04]
mov cl, byte [ecx + esi]
test cl, cl
jne 0x100b6687
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100b6687
mov eax, dword [0x101a5e9c]
add eax, 0xffffffcc
xor eax, 0x23f81eab
cmp dword [eax + esi], 0
je 0x100b6687
mov ecx, dword [0x101a5c54]
mov eax, dword [0x101a5f38]
add eax, 0xffffffa5
xor eax, 0x23f81ed2
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 [0x1014f200]
jne 0x100b6687
mov ecx, dword [0x101a5c50]
lea edx, [ebp - 0x178]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100b6687
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 0x100b6555
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.100304b0
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], 0xf
push ecx
cmova eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1c8]
push eax
mov dword [ebp - 0x1b4], 0
call fcn.100304b0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x100b65fb
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 0x100b6611
lea ecx, [ebp - 0x1c8]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100c0480
mov ecx, dword [ebp - 0x1b4]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x100b6649
mov edx, dword [ebp - 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b663f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b693b
push ecx
push edx
call fcn.100c418a
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0xf
jbe 0x100b6687
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b667d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b693b
push ecx
push edx
call fcn.100c418a
add esp, 8
mov eax, dword [0x101a5cb0]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x100b6490
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x190]
addss xmm0, dword [0x100daf80]
imul ecx
cvttss2si edi, dword [ebp - 0x188]
mov ecx, dword [0x101a5c5c]
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 [0x101a5c5c]
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 [0x101a5c5c]
cvttss2si esi, dword [ebp - 0x190]
push 0xff131313
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101a5c5c]
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 [0x100dafbc]
mov ecx, dword [0x101a5c5c]
mov edx, dword [ecx]
cvttss2si eax, xmm0
mov edx, dword [edx + 0x38]
movss xmm0, dword [ebp - 0x188]
addss xmm0, dword [0x100db02c]
mov dword [ebp - 0x184], eax
mov eax, dword [0x10162acc]
mov esi, eax
push eax
shr esi, 0x18
cvttss2si edi, xmm0
mov dword [ebp - 0x18c], edi
call edx
mov ecx, dword [0x101a5c5c]
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 [0x101a5c5c]
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101a5c5c]
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 [0x101a5c5c]
mov esi, dword [0x10162acc]
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 [0x101a5c5c]
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 [0x101a5c5c]
push dword [ebp - 0x18c]
shr esi, 0x18
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101a5c5c]
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.100304b0
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 [0x100daec0]
mov dword [eax], 0xffcdcdcd
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x188]
push eax
addss xmm0, dword [0x100db030]
mov ecx, 0x101a886c
cvttss2si eax, xmm0
push eax
call fcn.100ad4e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0xf
jbe 0x100b694b
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b6941
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b6941
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c418a
add esp, 8
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp esi, edx
je 0x100b6abe
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 0x100b6abe
movss xmm1, dword [ebp - 0x190]
xor edi, edi
addss xmm1, dword [0x100daf78]
mov dword [ebp - 0x194], ecx
movss dword [ebp - 0x190], xmm1
movss xmm1, dword [ebp - 0x188]
addss xmm1, dword [0x100daf78]
mov dword [ebp - 0x188], edi
cvttss2si eax, xmm1
mov dword [ebp - 0x17c], eax
nop word [eax + eax]
mov eax, dword [edi + esi + 0x10]
add edi, esi
mov dword [ebp - 0x198], edi
cmp dword [edi + 0x14], 0xf
jbe 0x100b69d8
mov esi, dword [edi]
add eax, esi
jmp 0x100b69dc
add eax, edi
mov esi, edi
mov dword [ebp - 0x18c], eax
cmp esi, eax
je 0x100b6a0a
mov edi, eax
nop dword [eax + 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 0x100b69f0
mov edi, dword [ebp - 0x198]
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x100b6a14
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.10036170
add esp, 4
mov ecx, eax
push 0x10040e10
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, 0x101a886c
mov dword [eax], 0xffcdcdcd
mov eax, esi
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100db210]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x190]
cvttss2si eax, xmm0
push eax
push dword [ebp - 0x17c]
call fcn.100ad4e0
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 0x100b69c0
lea ecx, [ebp - 0x20]
call fcn.10056230
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.100c3c5c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret