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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xa8
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [r8]
mov rsi, r8
mov r15, rdx
mov rbx, rcx
cmp qword [rax + 8], 0
je 0x1800fdf8a
mov qword [r11 + 0x20], rdi
mov byte [rcx + 0x100], 0
lea rcx, [rbp + 7]
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x38], r14
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 0x1800fde7e
mov rdi, qword [rbx + 0xc8]
mov r14, qword [rbx + 0xd0]
cmp rdi, r14
jne 0x1800fdcd7
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 0x1800fdf72
mov qword [rsp + 0x98], r13
xor r13d, r13d
mov byte [rbp - 0x39], 0
cmp rdi, r14
je 0x1800fde65
movabs rax, 0x6666666666666667
nop dword [rax]
mov r8, qword [rsi]
inc r13d
mov rcx, qword [rbx + 0xd0]
sub rcx, qword [rbx + 0xc8]
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, dword [r8 + 0x88]
imul rdx, rax
movsxd rax, r13d
add rdx, rax
mov rax, qword [r8 + 0xa0]
sub rax, qword [r8 + 0x98]
sar rax, 2
cmp rdx, rax
ja 0x1800fde65
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 r12d, eax
lea rax, [rbp - 9]
mov byte [rsp + 0x28], 0
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call qword [r10 + 0x58]
test al, al
jne 0x1800fde22
cmp byte [rbx + 0x100], al
jne 0x1800fde22
movaps xmm1, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm0, xmm1
movd eax, 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
xor ecx, ecx
mov dword [rbp - 0x29], ecx
mov dword [rbp - 0x25], ecx
call fcn.18008b210
mov rcx, rax
lea r9, [rbp - 0x29]
movzx eax, byte [rbp - 0x39]
mov r8d, r12d
mov rdx, rsi
mov byte [rsp + 0x20], al
call fcn.18008c830
mov rax, qword [rbx]
lea rcx, [rbp - 9]
mov byte [rsp + 0x28], 0
mov r9d, r12d
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, rbx
mov rdx, r15
call qword [rax + 0x58]
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x19]
sub rax, qword [rbp + 7]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp + 0xf]
cmp rax, 0x14
jl 0x1800fde4e
mov byte [rbx + 0x100], 1
add rdi, 0x14
movabs rax, 0x6666666666666667
cmp rdi, r14
jne 0x1800fdd00
mov rax, qword [rbx]
mov rdx, r15
mov rcx, rbx
call qword [rax + 0x50]
mov r13, qword [rsp + 0x98]
jmp 0x1800fdf43
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 0x1800fdf72
mov r14d, dword [rdx + r8*4]
lea r12, [rbx + 0x90]
mov rax, qword [rbx]
mov r9d, r14d
mov byte [rsp + 0x28], 1
mov r8, rsi
mov rdx, r15
mov qword [rsp + 0x20], r12
mov rcx, rbx
call qword [rax + 0x58]
test al, al
jne 0x1800fdf43
movups xmm1, xmmword [r12]
movzx edi, byte [rbx + 0xc0]
movups xmmword [rbp - 0x29], xmm1
mov dword [rbp - 0x29], 0
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], 0
call fcn.18008b210
mov rcx, rax
mov byte [rsp + 0x20], dil
lea r9, [rbp - 0x29]
mov r8d, r14d
mov rdx, rsi
call fcn.18008c830
mov rax, qword [rbx]
mov r9d, r14d
mov byte [rsp + 0x28], 1
mov r8, rsi
mov rdx, r15
mov qword [rsp + 0x20], r12
mov rcx, rbx
call qword [rax + 0x58]
cmp byte [rbx + 0x100], 0
je 0x1800fdf72
cmp qword [rbx + 0xf8], 0
jne 0x1800fdf72
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 r12, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xe8]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0xa8
pop r15
pop rsi
pop rbx
pop rbp
ret