Function at 0x14007a0d8
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov esi, 0xffff8300
mov dword [rsp + 0x48], r9d
mov ebx, r8d
mov edi, edx
mov r14, rcx
cmp edx, esi
je 0x14007a11d
cmp ebx, esi
jne 0x14007a1f8
mov rcx, qword [0x14021c5e0]
lea rdx, [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [0x14021c5d8]
lea rdx, [rsp + 0x68]
add rcx, 0x260
call fcn.1400ee2c8
mov rcx, qword [0x14021c5e0]
lea rdx, [rsp + 0x78]
xorps xmm1, xmm1
movups xmm0, xmmword [rax]
xor eax, eax
mov dword [rsp + 0x78], 0x3c
movups xmmword [rsp + 0x7c], xmm1
mov qword [rbp - 0x54], rax
movdqu xmmword [rsp + 0x68], xmm0
movups xmmword [rbp - 0x74], xmm1
movups xmmword [rbp - 0x64], xmm1
call qword [sym.imp.USER32.dll_GetWindowInfo]
mov rcx, qword [0x14021c5d8]
xor edx, edx
add rcx, 0x260
call fcn.14003ddc0
test al, al
je 0x14007a1d6
mov rcx, qword [0x14021c5d8]
call fcn.140027dc4
test al, al
je 0x14007a1d6
mov rax, qword [0x14021c740]
cmp byte [rax + 0x1112a], 1
je 0x14007a1d6
mov rcx, qword [0x14021c5d8]
add rcx, 0x260
call fcn.1400ee9e8
jmp 0x14007a1d8
xor eax, eax
cmp edi, esi
jne 0x14007a1e7
mov edi, dword [rsp + 0x60]
sub edi, dword [rbp - 0x58]
sub edi, dword [rsp + 0x70]
cmp ebx, esi
jne 0x14007a1f8
mov ebx, dword [rsp + 0x64]
sub ebx, dword [rbp - 0x54]
sub ebx, dword [rsp + 0x74]
add ebx, eax
mov rcx, qword [0x14021c5d8]
xor edx, edx
add rcx, 0x260
call fcn.14003de70
mov rcx, qword [0x14021c5d8]
mov r12b, al
add rcx, 0x260
call fcn.14003e0f8
mov rcx, qword [0x14021c5e0]
mov r13b, al
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov rcx, qword [0x14021c5e0]
mov edx, 0xfffffff0
test eax, eax
setne r15b
call qword [sym.imp.USER32.dll_GetWindowLongW]
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x40], eax
call fcn.1400773d4
mov rsi, rax
test rax, rax
je 0x14007a51a
mov rcx, qword [0x14021c5d8]
cmp qword [rcx + 0x3fc0], 0
jne 0x14007a36b
test r15b, r15b
je 0x14007a28e
test r12b, r12b
jne 0x14007a289
test r13b, r13b
je 0x14007a28e
xor r8d, r8d
jmp 0x14007a294
mov r8d, 1
mov edx, 0xf120
mov rcx, rsi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r15b, r15b
je 0x14007a2b6
test r12b, r12b
jne 0x14007a2b6
test r13b, r13b
jne 0x14007a2b6
xor r8d, r8d
jmp 0x14007a2bc
mov r8d, 1
mov edx, 0xf010
mov rcx, rsi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r15b, r15b
je 0x14007a2e8
test r12b, r12b
jne 0x14007a2e8
test r13b, r13b
jne 0x14007a2e8
test dword [rsp + 0x40], 0x40000
je 0x14007a2e8
xor r8d, r8d
jmp 0x14007a2ee
mov r8d, 1
mov edx, 0xf000
mov rcx, rsi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r15b, r15b
je 0x14007a317
test r12b, r12b
mov r12d, dword [rsp + 0x40]
jne 0x14007a31c
bt r12d, 0x11
jae 0x14007a31c
xor r8d, r8d
jmp 0x14007a322
mov r12d, dword [rsp + 0x40]
mov r8d, 1
mov edx, 0xf020
mov rcx, rsi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r15b, r15b
je 0x14007a346
test r13b, r13b
jne 0x14007a346
bt r12d, 0x10
jae 0x14007a346
xor r8d, r8d
jmp 0x14007a34c
mov r8d, 1
mov edx, 0xf030
mov rcx, rsi
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor r8d, r8d
mov edx, 0xabcf
mov rcx, rsi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r12d, 1
xor r9d, r9d
mov dword [r14 + 0x18], r12d
mov r8, rsi
mov rcx, qword [0x14021c5e0]
mov edx, 0x116
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14021c5e0]
mov r9d, 0x10000
mov r8, rsi
mov edx, 0x117
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.USER32.dll_SetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor r15d, r15d
lea rcx, [rsp + 0x50]
mov dword [r14 + 4], eax
mov qword [rsp + 0x50], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [0x14021c5e0]
mov r8, rsi
mov r9d, dword [rsp + 0x48]
mov edx, r12d
mov qword [rsp + 0x38], r15
or r9d, 0x102
mov qword [rsp + 0x30], rax
mov rcx, r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call fcn.14007ab5c
mov edi, eax
mov esi, 0xf060
test eax, eax
jne 0x14007a49b
mov ecx, r12d
call fcn.1401239d4
mov bl, al
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r14 + 8], eax
test bl, bl
je 0x14007a49f
call qword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, dword [r14 + 8]
sub ecx, dword [r14 + 4]
cmp ecx, eax
jae 0x14007a49f
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, dword [rsp + 0x54]
lea r9d, [r12 + 7]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.140127704
test al, al
je 0x14007a49f
movzx ecx, word [rsp + 0x4c]
xor r8d, r8d
movzx eax, word [rsp + 0x48]
mov edx, 0x84
shl ecx, 0x10
or ecx, eax
movsxd r9, ecx
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 3
jne 0x14007a49f
mov edi, esi
jmp 0x14007a49f
mov dword [r14 + 8], r15d
mov r8d, edi
lea rdx, str.ShowSysmenu_result:__i
lea rcx, [rbp - 0x40]
call fcn.14000d060
mov r8b, r12b
lea rcx, [rbp - 0x40]
mov dl, r12b
call fcn.14002b004
test edi, edi
je 0x14007a51a
cmp byte [0x14021f9f9], r15b
je 0x14007a503
mov rcx, qword [0x14021c5d8]
xor edx, edx
add rcx, 0x260
call fcn.14003de70
test al, al
je 0x14007a503
cmp edi, esi
je 0x14007a503
mov rcx, qword [0x14021c5d8]
mov edx, 3
add rcx, 0x260
call fcn.14003492c
mov edx, dword [r14 + 0x10]
xor r9d, r9d
mov rcx, qword [0x14021c5e0]
movsxd r8, edi
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140139b10
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret