Function at 0x1400458a0
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movss xmm6, dword [0x14011a880]
xorps xmm0, xmm0
movups xmmword [0x140130c78], xmm0
xor esi, esi
movups xmmword [0x140130c88], xmm0
movups xmmword [0x140130c98], xmm0
nop
mov rdx, qword [0x140130ca8]
lea rcx, [0x140130c78]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140045930
lea rcx, [0x140130c78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140130c78]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140130c60]
cmp rax, rcx
jne 0x14004597d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140130ca8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140130c60]
xorps xmm0, xmm0
mov qword [rbp + 0xf], rsi
lea rdx, [rbp + 0x1f]
movups xmmword [rbp + 0x1f], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140130c60]
lea rdx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0xf]
lea rcx, [rbp + 0x2f]
mov rbx, qword [0x140130c30]
mov dword [rbp + 0x1f], eax
mov eax, dword [rbp + 0x13]
mov dword [rbp + 0x23], eax
mov rax, qword [0x140130c60]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x2f]
mov ecx, 1
sub eax, dword [rbp + 0xf]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp + 0x33]
sub eax, dword [rbp + 0x13]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140045a2b
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x140045a32
mov byte [rbx + 0x120], sil
mov eax, dword [0x1401315d8]
mov ecx, dword [rbp + 0x2b]
mov edx, dword [rbp + 0x27]
cmp dword [rbp + 0x1f], eax
jne 0x140045a5e
cmp edx, dword [0x1401315e0]
jne 0x140045a5e
mov eax, dword [0x1401315dc]
cmp dword [rbp + 0x23], eax
jne 0x140045a5e
cmp ecx, dword [0x1401315e4]
je 0x140045abf
movups xmm0, xmmword [rbp + 0x1f]
mov r9d, dword [rbp + 0x13]
mov r8d, dword [rbp + 0xf]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140130d54], edx
mov dword [0x140130d50], ecx
mov dword [0x140130cf0], edx
xor edx, edx
mov dword [0x140130cf4], ecx
mov rcx, qword [0x140130ca8]
movups xmmword [0x1401315d8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140130d38]
lea rdx, [0x140130cf0]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x1401310d8], rsi
jne 0x140045acd
call fcn.1400258e0
mov rcx, qword [0x1401310f8]
lea rdx, [rbp - 1]
mov rdi, qword [0x140130c30]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 7]
lea rcx, [rbp + 0x37]
sub eax, dword [rbp - 1]
movd xmm1, eax
mov eax, dword [rbp + 0xb]
sub eax, dword [rbp + 3]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x37]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140131100]
cvtsi2ss xmm0, qword [0x140131108]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140131100], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140130c30]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], sil
mov byte [rdi + 0x132], al
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], sil
je 0x140045bd4
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x17], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1401310f8]
mov dword [rbp + 0x1b], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x1b]
mov ecx, dword [rbp + 0x17]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401310f8]
jne 0x140045c2c
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140045c2c
mov rcx, qword [0x1401310f8]
lea rdx, [rbp - 9]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140045c2c
movd xmm0, dword [rbp - 9]
movd xmm1, dword [rbp - 5]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], sil
je 0x140045c3c
mov eax, 0xffffffff
jmp 0x140045c49
mov rax, qword [0x140130c30]
mov eax, dword [rax + 0x1d70]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x140045c5c
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140025a50
call fcn.140006da0
call fcn.140042b50
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140045cbe
cmp byte [0x1401315f0], sil
je 0x140045cbe
mov eax, dword [0x140130dbc]
test eax, eax
jne 0x140045c9a
mov ecx, WSASetLastError
call fcn.140042770
mov eax, dword [0x140130dbc]
cmp eax, 1
jne 0x140045caf
mov ecx, 0x44
call fcn.140042770
mov eax, dword [0x140130dbc]
cmp eax, 2
jne 0x140045cbe
mov ecx, Ordinal_41
call fcn.140042770
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140045d16
cmp byte [0x1401315f3], sil
je 0x140045d16
mov eax, dword [0x140130dbc]
test eax, eax
jne 0x140045cf2
mov ecx, WSASetLastError
call fcn.140042770
mov eax, dword [0x140130dbc]
cmp eax, 1
jne 0x140045d07
mov ecx, 0x44
call fcn.140042770
mov eax, dword [0x140130dbc]
cmp eax, 2
jne 0x140045d16
mov ecx, Ordinal_41
call fcn.140042770
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140045d6e
cmp byte [0x1401315f6], sil
je 0x140045d6e
mov eax, dword [0x140130dbc]
test eax, eax
jne 0x140045d4a
mov ecx, WSASetLastError
call fcn.140042770
mov eax, dword [0x140130dbc]
cmp eax, 1
jne 0x140045d5f
mov ecx, 0x44
call fcn.140042770
mov eax, dword [0x140130dbc]
cmp eax, 2
jne 0x140045d6e
mov ecx, Ordinal_41
call fcn.140042770
call fcn.140040c00
call fcn.140007ea0
mov rcx, qword [0x140130d38]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140130d38]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140130d38]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140130d38]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140130d38]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140045e2d
call fcn.140008350
mov rax, qword [0x140130c30]
mov rcx, rsi
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140024fe0
mov rcx, qword [0x140130d38]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140130d38]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140045eef
mov rcx, qword [0x140130d38]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140045eef
cmp qword [0x1401310e8], rsi
je 0x140045ed3
mov rcx, qword [0x1401310f0]
test rcx, rcx
je 0x140045e8f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401310f0], rsi
mov rcx, qword [0x1401310e0]
test rcx, rcx
je 0x140045ea8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401310e0], rsi
mov rcx, qword [0x1401310d8]
mov rbx, qword [0x140130c30]
test rcx, rcx
je 0x140045ec1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401310d8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x140130d38]
lea rdx, [0x140130cf0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400258e0
cmp dword [0x140130c80], 0x12
jne 0x1400458f0
cmp qword [0x1401310e8], rsi
je 0x140045f62
mov rcx, qword [0x1401310f0]
test rcx, rcx
je 0x140045f1e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401310f0], rsi
mov rcx, qword [0x1401310e0]
test rcx, rcx
je 0x140045f37
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401310e0], rsi
mov rcx, qword [0x1401310d8]
mov rbx, qword [0x140130c30]
test rcx, rcx
je 0x140045f50
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401310d8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rbx, qword [0x140130c30]
mov rcx, rbx
mov qword [0x1401310e8], rsi
mov qword [0x1401310f8], rsi
call fcn.140007630
cmp qword [0x140130c30], rbx
jne 0x140045f8f
mov qword [0x140130c30], rsi
test rbx, rbx
je 0x140045fb7
mov rcx, rbx
call fcn.140015480
mov rax, qword [0x140130c30]
test rax, rax
je 0x140045fae
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140130d38]
test rcx, rcx
je 0x140045fd9
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140130d38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140130cb0]
test rcx, rcx
je 0x140045feb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140130ca8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140130c88]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400c52f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret