Function at 0x140031750
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x48]
sub rsp, 0x140
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp - 0x10], rax
movss xmm6, dword [0x14003988c]
xorps xmm0, xmm0
movss xmm8, dword [0x14003986c]
xor esi, esi
movss xmm9, dword [0x1400397d4]
xorps xmm7, xmm7
movups xmmword [0x140040938], xmm0
mov r14d, 4
movups xmmword [0x140040948], xmm0
mov qword [r11 + 8], rdi
movups xmmword [0x140040958], xmm0
nop
mov rdx, qword [0x140040968]
lea rcx, [0x140040938]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140031810
lea rcx, [0x140040938]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140040938]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0x23
mov rbx, rax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140031fc1
mov rcx, qword [0x140040930]
cmp rbx, rcx
jne 0x140031873
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140040968]
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 [0x140040930]
xorps xmm0, xmm0
mov qword [rbp - 0x80], rsi
lea rdx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140040930]
lea rdx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x80]
lea rcx, [rbp - 0x60]
mov rbx, qword [0x140040928]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x7c]
mov dword [rbp - 0x6c], eax
mov rax, qword [0x140040930]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x60]
mov ecx, 1
sub eax, dword [rbp - 0x80]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp - 0x5c]
sub eax, dword [rbp - 0x7c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140031921
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x140031928
mov byte [rbx + 0x120], sil
mov eax, dword [0x140040e88]
mov ecx, dword [rbp - 0x64]
mov edx, dword [rbp - 0x68]
cmp dword [rbp - 0x70], eax
jne 0x140031954
cmp edx, dword [0x140040e90]
jne 0x140031954
mov eax, dword [0x140040e8c]
cmp dword [rbp - 0x6c], eax
jne 0x140031954
cmp ecx, dword [0x140040e94]
je 0x1400319b5
movups xmm0, xmmword [rbp - 0x70]
mov r9d, dword [rbp - 0x7c]
mov r8d, dword [rbp - 0x80]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400409c4], edx
mov dword [0x1400409c0], ecx
mov dword [0x140040980], edx
xor edx, edx
mov dword [0x140040984], ecx
mov rcx, qword [0x140040968]
movups xmmword [0x140040e88], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140040978]
lea rdx, [0x140040980]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x1400409e8], rsi
jne 0x1400319c3
call fcn.140024d40
mov rcx, qword [0x140040a08]
lea rdx, [rsp + 0x70]
mov rdi, qword [0x140040928]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x78]
lea rcx, [rbp - 0x58]
sub eax, dword [rsp + 0x70]
movd xmm1, eax
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
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 - 0x58]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140040a10]
cvtsi2ss xmm0, qword [0x140040a18]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140040a10], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140040928]
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 0x140031acf
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 0x78]
mov dword [rbp - 0x78], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x140040a08]
mov dword [rbp - 0x74], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x74]
mov ecx, dword [rbp - 0x78]
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 [0x140040a08]
jne 0x140031b2b
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140031b2b
mov rcx, qword [0x140040a08]
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140031b2b
movd xmm0, dword [rsp + 0x68]
movd xmm1, dword [rsp + 0x6c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], sil
je 0x140031b3b
mov eax, 0xffffffff
jmp 0x140031b48
mov rax, qword [0x140040928]
mov eax, dword [rax + 0x1d70]
cmp dword [0x140040208], eax
je 0x140031b5b
mov dword [0x140040208], eax
call fcn.140024eb0
call fcn.1400078f0
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r14 + rcx]
cmp dword [0x140040e98], eax
jle 0x140031ba5
lea rcx, [0x140040e98]
call fcn.140033b24
cmp dword [0x140040e98], 0xffffffff
jne 0x140031ba5
lea rcx, [0x140040ea0]
call fcn.1400329d0
lea rcx, [0x140040e98]
call fcn.140033ab8
lea rcx, [rsp + 0x50]
call fcn.1400329d0
mov r8d, dword [0x140040e64]
mov rax, qword [rsp + 0x50]
inc r8d
mov rcx, rax
mov dword [0x140040e64], r8d
sub rcx, qword [0x140040ea0]
cmp rcx, 0x3baa0c40
jl 0x140031bee
mov dword [0x140040e68], r8d
mov dword [0x140040e64], esi
mov qword [0x140040ea0], rax
jmp 0x140031bf5
mov r8d, dword [0x140040e68]
lea rdx, str.FPS:__03d
lea rcx, [rbp - 0x50]
call fcn.140015120
movaps xmm0, xmmword [0x1400399d0]
lea rcx, [rsp + 0x58]
mov r8, qword [0x140040928]
movups xmmword [rsp + 0x58], xmm0
lea r11, [r8 + 0x1cc8]
call fcn.1400046a0
mov r10, qword [r8 + 0x18f0]
mov r9d, eax
test eax, 0xff000000
je 0x140031ccd
lea rax, [rbp - 0x50]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], sil
jne 0x140031c50
lea r8, [rbp - 0x50]
add r8, rcx
lea rax, [rbp - 0x50]
cmp rax, r8
je 0x140031ccd
test r10, r10
jne 0x140031c76
mov rax, qword [r11 + 0x38]
mov r10, qword [rax + 8]
mov rax, qword [r11 + 0x68]
movaps xmm2, xmm8
movsxd rcx, dword [r11 + 0x60]
mov rdx, r11
mov byte [rsp + 0x48], sil
add rcx, rcx
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], r8
movups xmm0, xmmword [rax + rcx*8 - 0x10]
lea rax, [rbp - 0x50]
mov rcx, r10
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x28], rax
movaps xmm0, xmm6
mov dword [rsp + 0x20], r9d
unpcklps xmm0, xmm6
movq r9, xmm0
call fcn.140023050
call fcn.140001590
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140031cf0
cmp byte [0x14004020c], sil
je 0x140031cf0
call fcn.140001050
call fcn.140031fd0
call fcn.140008a00
mov rcx, qword [0x140040978]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140040978]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140040978]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140040978]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm9
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140040978]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140031dae
call fcn.140008eb0
mov rax, qword [0x140040928]
mov rcx, rsi
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140024460
mov rcx, qword [0x140040978]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140040978]
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 0x140031e70
mov rcx, qword [0x140040978]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140031e70
cmp qword [0x1400409f8], rsi
je 0x140031e54
mov rcx, qword [0x140040a00]
test rcx, rcx
je 0x140031e10
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140040a00], rsi
mov rcx, qword [0x1400409f0]
test rcx, rcx
je 0x140031e29
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400409f0], rsi
mov rcx, qword [0x1400409e8]
mov rbx, qword [0x140040928]
test rcx, rcx
je 0x140031e42
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400409e8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x140040978]
lea rdx, [0x140040980]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140024d40
cmp dword [0x140040940], 0x12
jne 0x1400317d0
cmp qword [0x1400409f8], rsi
je 0x140031ee3
mov rcx, qword [0x140040a00]
test rcx, rcx
je 0x140031e9f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140040a00], rsi
mov rcx, qword [0x1400409f0]
test rcx, rcx
je 0x140031eb8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400409f0], rsi
mov rcx, qword [0x1400409e8]
mov rbx, qword [0x140040928]
test rcx, rcx
je 0x140031ed1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400409e8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rbx, qword [0x140040928]
mov rcx, rbx
mov qword [0x1400409f8], rsi
mov qword [0x140040a08], rsi
call fcn.140008190
cmp qword [0x140040928], rbx
jne 0x140031f10
mov qword [0x140040928], rsi
test rbx, rbx
je 0x140031f38
mov rcx, rbx
call fcn.140014d30
mov rax, qword [0x140040928]
test rax, rax
je 0x140031f2f
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140040978]
test rcx, rcx
je 0x140031f5a
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140040978]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140040970]
test rcx, rcx
je 0x140031f6c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140040968]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140040948]
mov rdi, qword [rsp + 0x150]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400337e0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3