Function at 0x1400f6634
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x50]
mov rbx, rdx
mov rdi, rcx
sub rax, 0x202
je 0x1400f6685
sub rax, 3
je 0x1400f67d1
sub rax, 0x1fd
je 0x1400f67c0
sub rax, 2
je 0x1400f6747
cmp rax, 1
jne 0x1400f691f
mov rcx, qword [0x14022ab50]
xor ebx, ebx
cmp byte [rcx + 0x10fe5], bl
je 0x1400f6873
xor edx, edx
lea ebp, [rbx + 8]
call fcn.14007f1f0
mov rcx, qword [0x14022a9e8]
neg al
sbb esi, esi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400f685c
mov rcx, qword [0x14022a9e0]
xor edx, edx
add rcx, 0x260
call fcn.14003b904
test al, al
jne 0x1400f685c
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x10ffa], bl
jne 0x1400f6859
cmp byte [rax + 0x10fe5], 2
je 0x1400f6859
mov rcx, qword [0x14022a9e0]
call fcn.140013d34
cmp eax, 0x50
jae 0x1400f6859
cmp eax, 0xa
jb 0x1400f685c
mov rcx, qword [0x14022a9e0]
xor edx, edx
add rcx, 0x260
call fcn.14003b904
test al, al
jne 0x1400f685c
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1400f68dd
xor ebx, ebx
cmp byte [rcx + 0x3c0], bl
jne 0x1400f67a4
mov esi, dword [rcx + 0x3c4]
mov ebp, 0x7d0
test esi, esi
je 0x1400f691f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, ebp
ja 0x1400f67a4
cmp byte [rdi + 0x3c0], bl
jne 0x1400f691f
test esi, esi
je 0x1400f691f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x3c4]
cmp eax, ebp
jbe 0x1400f691f
mov byte [rdi + 0x3c0], 1
jmp 0x1400f691f
xor r8d, r8d
mov dword [rdi + 0x3bc], ebx
mov dl, 1
lea rcx, [0x14022da90]
call fcn.1400f6988
jmp 0x1400f691f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x3c4], eax
jmp 0x1400f691f
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x14022a9e0]
mov dl, 1
add rcx, 0x260
call fcn.1400392ec
mov rcx, qword [0x14022a9e8]
call fcn.14011e94c
mov r8b, 1
lea rcx, str.ShowSysmenu_called_from__TSA_
mov dl, r8b
call fcn.1400296e4
mov rcx, qword [0x14022a9e0]
xor r9d, r9d
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rcx + 0x3e48]
call fcn.140071fac
mov rcx, qword [0x14022a9e0]
xor edx, edx
add rcx, 0x260
call fcn.1400392ec
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400f691f
lea ebp, [rsi + 6]
mov rcx, qword [0x14022a9e0]
mov edx, ebp
add rcx, 0x260
call fcn.140032a1c
jmp 0x1400f68dd
call fcn.14007efc4
test al, al
je 0x1400f68cc
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400f68cc
mov rcx, qword [0x14022ab50]
xor edx, edx
call fcn.14007f1f0
test al, al
je 0x1400f68af
xor edx, edx
lea rcx, [0x14022da90]
call fcn.1400f6514
jmp 0x1400f68dd
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf020
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400f68dd
xor r8d, r8d
lea rcx, [0x14022da90]
xor edx, edx
call fcn.1400f6988
mov ecx, dword [rdi + 0x3bc]
sub ecx, 1
je 0x1400f6908
cmp ecx, 4
jne 0x1400f691f
mov rcx, qword [0x14022a9e0]
mov rcx, qword [rcx + 0x15a0]
call fcn.1400916ec
mov dword [rdi + 0x3bc], ebx
jmp 0x1400f691f
mov dword [rdi + 0x3bc], ebx
mov edx, 2
mov rcx, qword [0x14022a9e0]
call fcn.140010308
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret