Function at 0x10061320
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 0x100ce028
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x100f0380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10165000], 0
je 0x10061809
cmp byte [0x10164d04], 0
je 0x10061809
mov eax, dword [0x1022fd2c]
test al, 1
jne 0x10061389
or eax, 1
mov dword [0x1022fd2c], eax
test al, 2
jne 0x10061395
or eax, 2
mov dword [0x1022fd2c], eax
test al, 4
jne 0x100613a1
or eax, 4
mov dword [0x1022fd2c], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x50]
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 - 0x50]
movss xmm4, dword [0x1022fd14]
movss xmm2, dword [0x100e2d4c]
movss xmm1, dword [0x1022fd58]
movss xmm3, dword [0x1022fd18]
subss xmm2, xmm1
movss xmm5, dword [0x100e2df4]
cvtdq2ps xmm0, xmm0
comiss xmm4, xmm2
movss dword [0x1022fd14], xmm0
movd xmm0, dword [ebp - 0x4c]
cvtdq2ps xmm0, xmm0
movss dword [0x1022fd70], xmm4
movss dword [0x1022fd74], xmm3
movss dword [0x1022fd18], xmm0
jbe 0x100614b1
movaps xmm0, xmm5
subss xmm0, dword [0x1022fd5c]
comiss xmm3, xmm0
jbe 0x100614b1
addss xmm2, dword [0x100e2db4]
comiss xmm2, xmm4
jbe 0x100614b1
addss xmm0, dword [0x100e2cb4]
comiss xmm0, xmm3
jbe 0x100614b1
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm5, dword [0x100e2df4]
test ax, ax
je 0x100614a9
movss xmm1, dword [0x1022fd70]
movss xmm0, dword [0x1022fd74]
subss xmm1, dword [0x1022fd14]
subss xmm0, dword [0x1022fd18]
addss xmm1, dword [0x1022fd58]
addss xmm0, dword [0x1022fd5c]
movss dword [0x1022fd58], xmm1
movss dword [0x1022fd5c], xmm0
jmp 0x100614b1
movss xmm1, dword [0x1022fd58]
mov eax, dword [0x101c64b0]
mov esi, 0xff
movss xmm0, dword [0x100e2d4c]
subss xmm5, dword [0x1022fd5c]
subss xmm0, xmm1
mov ecx, dword [eax + 0x4cb0]
mov eax, dword [0x10164d0c]
mov dword [ebp - 0x4c], eax
imul eax, ecx
mov dword [ebp - 0x60], ecx
mov ecx, 0xff
movss dword [ebp - 0x58], xmm0
xorps xmm0, xmm0
push 5
push str.choke
sub ecx, eax
movss dword [ebp - 0x5c], xmm5
cmp ecx, esi
movups xmmword [ebp - 0x30], xmm0
cmovg ecx, esi
xor edx, edx
test ecx, ecx
cmovs ecx, edx
cmp eax, esi
mov dword [ebp - 0x64], ecx
cmovg eax, esi
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], ecx
cmovs eax, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x68], eax
call fcn.100288d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
sub esp, 0xc
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 0xf
mov esi, esp
cmova eax, dword [ebp - 0x30]
push 3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov edi, dword [ebp - 0x34]
mov eax, dword [esi]
cmp eax, edi
je 0x10061582
test eax, eax
je 0x10061577
mov ecx, esi
call fcn.1001c4c0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], esi
mov dword [esi], edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
sub esp, 0xc
cmp dword [ebp - 0x1c], 0xf
mov esi, esp
cmova ecx, dword [ebp - 0x30]
add eax, ecx
lea ecx, [ebp - 0x18]
push 3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov edi, dword [ebp - 0x34]
mov eax, dword [esi]
cmp eax, edi
je 0x100615da
test eax, eax
je 0x100615cf
mov ecx, esi
call fcn.1001c4c0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], esi
mov dword [esi], edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
sub esp, 0xc
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x18]
mov esi, esp
cmova eax, dword [ebp - 0x30]
push 3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov edi, dword [ebp - 0x34]
mov eax, dword [esi]
cmp eax, edi
je 0x1006162d
test eax, eax
je 0x10061622
mov ecx, esi
call fcn.1001c4c0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], esi
mov dword [esi], edi
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x18]
call esi
mov edx, dword [sym.imp.ucrtbased.dll_toupper]
lea ecx, [ebp - 0x48]
call fcn.1005f750
add esp, 0x24
lea ecx, [ebp - 0x18]
push 3
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
lea ecx, [ebp - 0x48]
call fcn.1001c4c0
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [0x101c6448]
cvttss2si edi, dword [ebp - 0x58]
mov dword [ebp - 0x54], 0x82000000
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
push dword [ebp - 0x54]
cvttss2si esi, dword [ebp - 0x5c]
mov dword [ebp - 0x18], edi
call eax
mov ecx, dword [0x101c6448]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xf]
push eax
lea eax, [edi + 0x64]
push eax
push esi
push edi
call edx
movq xmm0, qword [0x101c9f60]
lea eax, [ebp - 0x34]
mov esi, dword [0x101c9f68]
lea ecx, [ebp - 0x88]
push eax
movq qword [ebp - 0x48], xmm0
call fcn.10027b30
movq xmm0, qword [ebp - 0x48]
mov dword [ebp - 0x54], 0xf0ffffff
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], esi
movss xmm0, dword [ebp - 0x5c]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
addss xmm0, dword [0x100e2c14]
push 2
push eax
push dword [ebp - 0x54]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x58]
addss xmm0, dword [0x100e2cf8]
push eax
cvttss2si eax, xmm0
push eax
call fcn.100b48f0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.10028230
mov eax, dword [ebp - 0x88]
push 8
push eax
mov dword [ebp - 0x88], 0
call fcn.100c8bb0
add esp, 8
cmp dword [ebp - 0x60], 0
jle 0x100617ec
movss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [0x100e2ca0]
mov ecx, dword [0x101c6448]
mov eax, dword [ebp - 0x64]
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x68]
mov byte [ebp - 0x53], al
mov eax, dword [ecx]
cvttss2si esi, xmm0
mov word [ebp - 0x52], 0x8200
mov eax, dword [eax + 0x38]
push dword [ebp - 0x54]
mov dword [ebp - 0x58], esi
call eax
movd xmm1, dword [ebp - 0x60]
lea edi, [esi + 4]
movd xmm0, dword [ebp - 0x4c]
cvtdq2ps xmm1, xmm1
mov edx, dword [ebp - 0x18]
mov esi, edx
mov ecx, dword [0x101c6448]
push edi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x100e2e68]
cvttss2si eax, xmm1
sub esi, eax
mov eax, dword [ecx]
push esi
push dword [ebp - 0x58]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x101c6448]
mov eax, dword [ebp - 0x64]
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x68]
mov byte [ebp - 0x53], al
mov eax, dword [ecx]
mov word [ebp - 0x52], 0x8200
push dword [ebp - 0x54]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101c6448]
push edi
push esi
push dword [ebp - 0x58]
mov eax, dword [ecx]
push dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
call eax
lea ecx, [ebp - 0x34]
call fcn.10028230
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.100c8bb0
add esp, 8
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.100c8320
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret