Function at 0x1800fdfb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rcx
mov byte [rcx + 0x100], 0
lea rcx, [rbp + 7]
mov rsi, r8
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
call fcn.18008b210
cmp byte [rax + 0x90], 0
je 0x1800fe1ec
mov rdi, qword [rbx + 0xc8]
mov r14, qword [rbx + 0xd0]
cmp rdi, r14
jne 0x1800fe041
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x141a
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1800fe2cd
xor r12d, r12d
mov byte [rbp - 0x39], 0
mov r9d, r12d
cmp rdi, r14
je 0x1800fe1db
movabs rax, 0x6666666666666667
mov qword [rsp + 0xe8], r13
nop word [rax + rax]
mov r8, qword [rsi]
inc r9d
mov rcx, qword [rbx + 0xd0]
sub rcx, qword [rbx + 0xc8]
imul rcx
mov dword [rbp - 0x19], r9d
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, dword [r8 + 0x88]
imul rdx, rax
movsxd rax, r9d
add rdx, rax
mov rax, qword [r8 + 0xa0]
sub rax, qword [r8 + 0x98]
sar rax, 2
cmp rdx, rax
ja 0x1800fe1d3
lea rax, [rbp - 0x39]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, [rdi + 4]
mov eax, dword [rdi]
lea rdx, [rbp - 9]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1800fe8f0
call fcn.18008b210
mov r8d, dword [rdi]
mov rcx, rax
mov rdx, rsi
call fcn.18008e590
mov r10, qword [rbx]
mov r13d, eax
lea rax, [rbp - 9]
mov byte [rsp + 0x28], r12b
mov r9d, r13d
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call qword [r10 + 0x60]
test al, al
jne 0x1800fe18c
cmp byte [rbx + 0x100], r12b
jne 0x1800fe18c
movaps xmm1, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 8
movd ecx, xmm0
mov dword [rbp - 0x29], r12d
sub ecx, eax
mov eax, dword [rbp - 0x25]
sub dword [rbp - 0x1d], eax
mov dword [rbp - 0x21], ecx
mov dword [rbp - 0x25], r12d
call fcn.18008b210
lea r9, [rbp - 0x29]
mov r8d, r13d
mov rdx, rsi
call fcn.180082e70
mov rax, qword [rbx]
lea rcx, [rbp - 9]
mov byte [rsp + 0x28], r12b
mov r9d, r13d
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, rbx
mov rdx, r15
call qword [rax + 0x60]
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x11]
sub rax, qword [rbp + 7]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp + 0xf]
cmp rax, 0x14
jl 0x1800fe1b8
mov byte [rbx + 0x100], 1
mov r9d, dword [rbp - 0x19]
add rdi, 0x14
movabs rax, 0x6666666666666667
cmp rdi, r14
jne 0x1800fe070
mov r13, qword [rsp + 0xe8]
mov rax, qword [rbx]
mov rdx, r15
mov rcx, rbx
call qword [rax + 0x50]
jmp 0x1800fe29e
mov rax, qword [rsi]
mov rdx, qword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
mov r8d, dword [rax + 0x88]
sub rcx, rdx
sar rcx, 2
cmp r8, rcx
jae 0x1800fe2cd
mov edi, dword [rdx + r8*4]
lea r14, [rbx + 0x90]
mov rax, qword [rbx]
mov r9d, edi
mov byte [rsp + 0x28], 1
mov r8, rsi
mov rdx, r15
mov qword [rsp + 0x20], r14
mov rcx, rbx
call qword [rax + 0x60]
test al, al
jne 0x1800fe29e
movups xmm1, xmmword [r14]
xor r12d, r12d
movups xmmword [rbp - 0x29], xmm1
mov dword [rbp - 0x29], r12d
movd eax, xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
sub ecx, eax
mov eax, dword [rbp - 0x25]
sub dword [rbp - 0x1d], eax
mov dword [rbp - 0x21], ecx
mov dword [rbp - 0x25], r12d
call fcn.18008b210
lea r9, [rbp - 0x29]
mov r8d, edi
mov rdx, rsi
call fcn.180082e70
mov rax, qword [rbx]
mov r9d, edi
mov byte [rsp + 0x28], 1
mov r8, rsi
mov rdx, r15
mov qword [rsp + 0x20], r14
mov rcx, rbx
call qword [rax + 0x60]
cmp byte [rbx + 0x100], 0
je 0x1800fe2cd
cmp qword [rbx + 0xf8], 0
jne 0x1800fe2cd
mov rcx, qword [rbx + 8]
xor r9d, r9d
lea edx, [r9 + 0x65]
lea r8d, [r9 + 0x14]
call qword [sym.imp.USER32.dll_SetTimer]
mov qword [rbx + 0xf8], rax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret