Function at 0x140039520
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
movaps xmmword [r11 - 0x58], xmm10
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rbp - 0x20], rax
movdqa xmm9, xmmword [0x1400421d0]
lea r14, str.VEX.CC
movdqa xmm8, xmmword [0x1400421a0]
xorps xmm0, xmm0
movss xmm6, dword [0x140041ca8]
xor esi, esi
movss xmm7, dword [0x140041c90]
movss xmm10, dword [0x140041bcc]
movups xmmword [0x14006f7c0], xmm0
mov qword [r11 + 8], rdi
movups xmmword [0x14006f7d0], xmm0
movups xmmword [0x14006f7e0], xmm0
mov rdx, qword [0x14006f7f0]
lea rcx, [0x14006f7c0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400395f2
lea rcx, [0x14006f7c0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14006f7c0]
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 0x140039ce5
mov rcx, qword [0x14006f7b8]
cmp rbx, rcx
jne 0x140039655
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x14006f7f0]
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 [0x14006f7b8]
xorps xmm0, xmm0
mov qword [rsp + 0x68], rsi
lea rdx, [rsp + 0x78]
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x14006f7b8]
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x68]
lea rcx, [rbp - 0x78]
mov rbx, qword [0x14006f7b0]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x7c], eax
mov rax, qword [0x14006f7b8]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x78]
mov ecx, 1
sub eax, dword [rsp + 0x68]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp - 0x74]
sub eax, dword [rsp + 0x6c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003970d
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x140039714
mov byte [rbx + 0x120], sil
mov eax, dword [0x14006fd48]
mov ecx, dword [rbp - 0x7c]
mov edx, dword [rbp - 0x80]
cmp dword [rsp + 0x78], eax
jne 0x140039742
cmp edx, dword [0x14006fd50]
jne 0x140039742
mov eax, dword [0x14006fd4c]
cmp dword [rsp + 0x7c], eax
jne 0x140039742
cmp ecx, dword [0x14006fd54]
je 0x1400397a6
movups xmm0, xmmword [rsp + 0x78]
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x68]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x14006f84c], edx
mov dword [0x14006f848], ecx
mov dword [0x14006f800], edx
xor edx, edx
mov dword [0x14006f804], ecx
mov rcx, qword [0x14006f7f0]
movups xmmword [0x14006fd48], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14006f840]
lea rdx, [0x14006f800]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x14006f870], rsi
jne 0x1400397b4
call fcn.140026df0
mov rcx, qword [0x14006f890]
lea rdx, [rsp + 0x58]
mov rdi, qword [0x14006f7b0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x60]
lea rcx, [rbp - 0x70]
sub eax, dword [rsp + 0x58]
movd xmm1, eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rsp + 0x5c]
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 - 0x70]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14006f898]
cvtsi2ss xmm0, qword [0x14006f8a0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14006f898], 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 [0x14006f7b0]
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 0x1400398c5
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x14006f890]
mov dword [rsp + 0x74], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
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 [0x14006f890]
jne 0x140039921
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140039921
mov rcx, qword [0x14006f890]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140039921
movd xmm0, dword [rsp + 0x50]
movd xmm1, dword [rsp + 0x54]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], sil
je 0x140039931
mov eax, 0xffffffff
jmp 0x14003993e
mov rax, qword [0x14006f7b0]
mov eax, dword [rax + 0x1d70]
cmp dword [0x14006f068], eax
je 0x140039951
mov dword [0x14006f068], eax
call fcn.140026f60
call fcn.140009230
movaps xmm0, xmm6
mov qword [rsp + 0x30], r14
movd ecx, xmm0
lea r9, [rsp + 0x40]
mov byte [rsp + 0x28], 1
mov edx, 0xf
mov r8d, 8
movdqa xmmword [rsp + 0x40], xmm8
mov byte [rsp + 0x20], sil
call fcn.140001600
mov rax, qword [0x14006f7b0]
lea r8, str.fps__.0f
mov edx, 0x40
lea rcx, [rbp - 0x60]
movss xmm3, dword [rax + 0x3b4]
cvtps2pd xmm3, xmm3
movq r9, xmm3
call fcn.140038fc0
movaps xmm0, xmm7
movdqa xmmword [rsp + 0x40], xmm9
lea rax, [rbp - 0x60]
movd ecx, xmm0
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
mov byte [rsp + 0x28], 1
mov edx, 0x11
mov r8d, 0x20
mov byte [rsp + 0x20], sil
call fcn.140001600
call fcn.140001e00
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140039a0d
cmp byte [0x14006fcf0], sil
je 0x140039a0d
call fcn.140001130
call fcn.140039d00
call fcn.14000a330
mov rcx, qword [0x14006f840]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14006f840]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14006f840]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14006f840]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm10
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x14006f840]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140039acd
call fcn.14000a7e0
mov rax, qword [0x14006f7b0]
mov rcx, rsi
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.1400264f0
mov rcx, qword [0x14006f840]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14006f840]
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 0x140039b8f
mov rcx, qword [0x14006f840]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140039b8f
cmp qword [0x14006f880], rsi
je 0x140039b73
mov rcx, qword [0x14006f888]
test rcx, rcx
je 0x140039b2f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14006f888], rsi
mov rcx, qword [0x14006f878]
test rcx, rcx
je 0x140039b48
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14006f878], rsi
mov rcx, qword [0x14006f870]
mov rbx, qword [0x14006f7b0]
test rcx, rcx
je 0x140039b61
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14006f870], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x14006f840]
lea rdx, [0x14006f800]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140026df0
cmp dword [0x14006f7c8], 0x12
jne 0x1400395b2
cmp qword [0x14006f880], rsi
je 0x140039c02
mov rcx, qword [0x14006f888]
test rcx, rcx
je 0x140039bbe
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14006f888], rsi
mov rcx, qword [0x14006f878]
test rcx, rcx
je 0x140039bd7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14006f878], rsi
mov rcx, qword [0x14006f870]
mov rbx, qword [0x14006f7b0]
test rcx, rcx
je 0x140039bf0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14006f870], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rbx, qword [0x14006f7b0]
mov rcx, rbx
mov qword [0x14006f880], rsi
mov qword [0x14006f890], rsi
call fcn.140009ac0
cmp qword [0x14006f7b0], rbx
jne 0x140039c2f
mov qword [0x14006f7b0], rsi
test rbx, rbx
je 0x140039c57
mov rcx, rbx
call fcn.1400173d0
mov rax, qword [0x14006f7b0]
test rax, rax
je 0x140039c4e
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14006f840]
test rcx, rcx
je 0x140039c79
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14006f840]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14006f7f8]
test rcx, rcx
je 0x140039c8b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14006f7f0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x14006f7d0]
mov rdi, qword [rsp + 0x150]
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.14003b0a0
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]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rbp
ret
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3