Function at 0x10060d50
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 0x100cc998
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x100ed380]
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 [0x10162008], 0
je 0x10061239
cmp byte [0x10161d0c], 0
je 0x10061239
mov eax, dword [0x1022ccd8]
test al, 1
jne 0x10060db9
or eax, 1
mov dword [0x1022ccd8], eax
test al, 2
jne 0x10060dc5
or eax, 2
mov dword [0x1022ccd8], eax
test al, 4
jne 0x10060dd1
or eax, 4
mov dword [0x1022ccd8], 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 [0x1022ccc0]
movss xmm2, dword [0x100e0bb4]
movss xmm1, dword [0x1022cd04]
movss xmm3, dword [0x1022ccc4]
subss xmm2, xmm1
movss xmm5, dword [0x100e0c5c]
cvtdq2ps xmm0, xmm0
comiss xmm4, xmm2
movss dword [0x1022ccc0], xmm0
movd xmm0, dword [ebp - 0x4c]
cvtdq2ps xmm0, xmm0
movss dword [0x1022cd1c], xmm4
movss dword [0x1022cd20], xmm3
movss dword [0x1022ccc4], xmm0
jbe 0x10060ee1
movaps xmm0, xmm5
subss xmm0, dword [0x1022cd08]
comiss xmm3, xmm0
jbe 0x10060ee1
addss xmm2, dword [0x100e0c1c]
comiss xmm2, xmm4
jbe 0x10060ee1
addss xmm0, dword [0x100e0b1c]
comiss xmm0, xmm3
jbe 0x10060ee1
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm5, dword [0x100e0c5c]
test ax, ax
je 0x10060ed9
movss xmm1, dword [0x1022cd1c]
movss xmm0, dword [0x1022cd20]
subss xmm1, dword [0x1022ccc0]
subss xmm0, dword [0x1022ccc4]
addss xmm1, dword [0x1022cd04]
addss xmm0, dword [0x1022cd08]
movss dword [0x1022cd04], xmm1
movss dword [0x1022cd08], xmm0
jmp 0x10060ee1
movss xmm1, dword [0x1022cd04]
mov eax, dword [0x101c3480]
mov esi, 0xff
movss xmm0, dword [0x100e0bb4]
subss xmm5, dword [0x1022cd08]
subss xmm0, xmm1
mov ecx, dword [eax + 0x4cb0]
mov eax, dword [0x10161d14]
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 0x10060fb2
test eax, eax
je 0x10060fa7
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 0x1006100a
test eax, eax
je 0x10060fff
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 0x1006105d
test eax, eax
je 0x10061052
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.1005f7a0
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 [0x101c3418]
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 [0x101c3418]
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 [0x101c6f28]
lea eax, [ebp - 0x34]
mov esi, dword [0x101c6f30]
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 [0x100e0a7c]
push 2
push eax
push dword [ebp - 0x54]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x58]
addss xmm0, dword [0x100e0b60]
push eax
cvttss2si eax, xmm0
push eax
call fcn.100b3530
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.100c75e0
add esp, 8
cmp dword [ebp - 0x60], 0
jle 0x1006121c
movss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [0x100e0b08]
mov ecx, dword [0x101c3418]
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 [0x101c3418]
push edi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x100e0cd0]
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 [0x101c3418]
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 [0x101c3418]
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.100c75e0
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.100c6d50
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret