Function at 0x1400318a0
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 [0x140041040]
xor rax, rsp
mov qword [rbp - 0x10], rax
movss xmm6, dword [0x14003a868]
xorps xmm0, xmm0
movss xmm8, dword [0x14003a848]
xor esi, esi
movss xmm9, dword [0x14003a7a4]
xorps xmm7, xmm7
movups xmmword [0x140041938], xmm0
mov r14d, 4
movups xmmword [0x140041948], xmm0
mov qword [r11 + 8], rdi
movups xmmword [0x140041958], xmm0
nop
mov rdx, qword [0x140041968]
lea rcx, [0x140041938]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140031960
lea rcx, [0x140041938]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140041938]
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 0x140032111
mov rcx, qword [0x140041930]
cmp rbx, rcx
jne 0x1400319c3
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140041968]
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 [0x140041930]
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 [0x140041930]
lea rdx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x80]
lea rcx, [rbp - 0x60]
mov rbx, qword [0x140041928]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x7c]
mov dword [rbp - 0x6c], eax
mov rax, qword [0x140041930]
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 0x140031a71
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x140031a78
mov byte [rbx + 0x120], sil
mov eax, dword [0x140041e88]
mov ecx, dword [rbp - 0x64]
mov edx, dword [rbp - 0x68]
cmp dword [rbp - 0x70], eax
jne 0x140031aa4
cmp edx, dword [0x140041e90]
jne 0x140031aa4
mov eax, dword [0x140041e8c]
cmp dword [rbp - 0x6c], eax
jne 0x140031aa4
cmp ecx, dword [0x140041e94]
je 0x140031b05
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 [0x1400419c4], edx
mov dword [0x1400419c0], ecx
mov dword [0x140041980], edx
xor edx, edx
mov dword [0x140041984], ecx
mov rcx, qword [0x140041968]
movups xmmword [0x140041e88], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140041978]
lea rdx, [0x140041980]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x1400419e8], rsi
jne 0x140031b13
call fcn.140024e90
mov rcx, qword [0x140041a08]
lea rdx, [rsp + 0x70]
mov rdi, qword [0x140041928]
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 [0x140041a10]
cvtsi2ss xmm0, qword [0x140041a18]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140041a10], 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 [0x140041928]
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 0x140031c1f
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 0x78]
mov dword [rbp - 0x78], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x140041a08]
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 [0x140041a08]
jne 0x140031c7b
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140031c7b
mov rcx, qword [0x140041a08]
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140031c7b
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 0x140031c8b
mov eax, 0xffffffff
jmp 0x140031c98
mov rax, qword [0x140041928]
mov eax, dword [rax + 0x1d70]
cmp dword [0x140041208], eax
je 0x140031cab
mov dword [0x140041208], eax
call fcn.140025000
call fcn.140007980
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r14 + rcx]
cmp dword [0x140041e98], eax
jle 0x140031cf5
lea rcx, [0x140041e98]
call fcn.140033d74
cmp dword [0x140041e98], 0xffffffff
jne 0x140031cf5
lea rcx, [0x140041ea0]
call fcn.140032b40
lea rcx, [0x140041e98]
call fcn.140033d08
lea rcx, [rsp + 0x50]
call fcn.140032b40
mov r8d, dword [0x140041e64]
mov rax, qword [rsp + 0x50]
inc r8d
mov rcx, rax
mov dword [0x140041e64], r8d
sub rcx, qword [0x140041ea0]
cmp rcx, 0x3baa0c40
jl 0x140031d3e
mov dword [0x140041e68], r8d
mov dword [0x140041e64], esi
mov qword [0x140041ea0], rax
jmp 0x140031d45
mov r8d, dword [0x140041e68]
lea rdx, str.FPS:__03d
lea rcx, [rbp - 0x50]
call fcn.1400151b0
movaps xmm0, xmmword [0x14003a9b0]
lea rcx, [rsp + 0x58]
mov r8, qword [0x140041928]
movups xmmword [rsp + 0x58], xmm0
lea r11, [r8 + 0x1cc8]
call fcn.140004730
mov r10, qword [r8 + 0x18f0]
mov r9d, eax
test eax, 0xff000000
je 0x140031e1d
lea rax, [rbp - 0x50]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], sil
jne 0x140031da0
lea r8, [rbp - 0x50]
add r8, rcx
lea rax, [rbp - 0x50]
cmp rax, r8
je 0x140031e1d
test r10, r10
jne 0x140031dc6
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.1400231a0
call fcn.140001590
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140031e40
cmp byte [0x14004120c], sil
je 0x140031e40
call fcn.140001050
call fcn.140032120
call fcn.140008a90
mov rcx, qword [0x140041978]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140041978]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140041978]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140041978]
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 [0x140041978]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140031efe
call fcn.140008f40
mov rax, qword [0x140041928]
mov rcx, rsi
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.1400245b0
mov rcx, qword [0x140041978]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140041978]
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 0x140031fc0
mov rcx, qword [0x140041978]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140031fc0
cmp qword [0x1400419f8], rsi
je 0x140031fa4
mov rcx, qword [0x140041a00]
test rcx, rcx
je 0x140031f60
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140041a00], rsi
mov rcx, qword [0x1400419f0]
test rcx, rcx
je 0x140031f79
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400419f0], rsi
mov rcx, qword [0x1400419e8]
mov rbx, qword [0x140041928]
test rcx, rcx
je 0x140031f92
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400419e8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x140041978]
lea rdx, [0x140041980]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140024e90
cmp dword [0x140041940], 0x12
jne 0x140031920
cmp qword [0x1400419f8], rsi
je 0x140032033
mov rcx, qword [0x140041a00]
test rcx, rcx
je 0x140031fef
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140041a00], rsi
mov rcx, qword [0x1400419f0]
test rcx, rcx
je 0x140032008
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400419f0], rsi
mov rcx, qword [0x1400419e8]
mov rbx, qword [0x140041928]
test rcx, rcx
je 0x140032021
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400419e8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rbx, qword [0x140041928]
mov rcx, rbx
mov qword [0x1400419f8], rsi
mov qword [0x140041a08], rsi
call fcn.140008220
cmp qword [0x140041928], rbx
jne 0x140032060
mov qword [0x140041928], rsi
test rbx, rbx
je 0x140032088
mov rcx, rbx
call fcn.140014dc0
mov rax, qword [0x140041928]
test rax, rax
je 0x14003207f
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140041978]
test rcx, rcx
je 0x1400320aa
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140041978]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140041970]
test rcx, rcx
je 0x1400320bc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140041968]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140041948]
mov rdi, qword [rsp + 0x150]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140033a30
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