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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov ebp, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor r11b, r11b
cmp qword [0x1401168f8], 0
mov esi, 1
movzx edi, r11b
cmovne edi, esi
cmp qword [0x140116900], 0
je 0x14000cdca
or dil, 2
xor r12d, r12d
mov qword [rsp + 0x50], rbx
test dil, dil
je 0x14000cf26
mov qword [rsp + 0x60], r13
mov ebx, r12d
mov ecx, dword [0x14011546c]
mov r9, rsi
xor r8d, r8d
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14000ce0e
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000cde3
xor r13b, r13b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
nop dword [rax]
mov rcx, qword [0x140117360]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x58], 0x103
jne 0x14000ce55
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x14000ce6e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ce20
mov rcx, qword [0x140117360]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140117360], r12
call fcn.14000bbc0
cmp qword [0x1401168f8], r12
je 0x14000ce96
test sil, dil
jne 0x14000ceaf
lea r8, str.AHK_Keybd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140117350], rax
jmp 0x14000ceaf
test sil, dil
je 0x14000ceaf
mov rcx, qword [0x140117350]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140117350], r12
cmp qword [0x140116900], r12
je 0x14000ced8
test dil, 2
jne 0x14000cef2
lea r8, str.AHK_Mouse
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140117358], rax
jmp 0x14000cef2
test dil, 2
je 0x14000cef2
mov rcx, qword [0x140117358]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140117358], r12
test r13b, r13b
mov r13, qword [rsp + 0x60]
je 0x14000cf26
xorpd xmm3, xmm3
lea rcx, str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140111454], r12d
mov qword [rsp + 0x20], r12
call fcn.1400b2450
mov dword [0x140111454], esi
mov rcx, qword [0x140116908]
test rcx, rcx
je 0x14000cf38
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov r8, qword [0x140112e40]
mov edi, r12d
cmp r12w, word [r8]
jae 0x14000cfdb
mov rdx, qword [0x140118138]
mov r9, qword [0x140118130]
mov rsi, r12
nop dword [rax]
mov rax, qword [0x140117398]
mov rbx, qword [rsi + rax]
test rbx, rbx
je 0x14000cfcd
cmp byte [rbx + 0x18], r12b
je 0x14000cfa4
movzx edx, word [rbx + 4]
mov rcx, qword [0x1401167a8]
call qword [sym.imp.USER32.dll_UnregisterHotKey]
mov r8, qword [0x140112e40]
mov rdx, qword [0x140118138]
mov r9, qword [0x140118130]
test eax, eax
sete al
mov byte [rbx + 0x18], al
cmp rbx, rdx
jne 0x14000cfcd
test rdx, rdx
je 0x14000cfcd
mov rax, qword [r9 + 8]
mov rcx, rax
sub rcx, rdx
mov rdx, r12
sub rax, rcx
add qword [r9 + 0x10], rcx
mov qword [0x140118138], rdx
mov qword [r9 + 8], rax
movzx eax, word [r8]
inc edi
add rsi, 8
cmp edi, eax
jl 0x14000cf60
mov ecx, ebp
call fcn.1400c93fc
mov rbx, qword [rsp + 0x50]
int3