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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbx
push rdi
sub rsp, 0x88
mov qword [rax - 0x20], r12
mov rdi, rcx
mov qword [rax - 0x28], r13
lea rcx, [rax - 0x68]
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [rsp + 0xc0]
lea r13, [0x140280be0]
cmp dword [r12 + 8], 0
je 0x1400a6441
mov rbx, qword [r12]
jmp 0x1400a6444
mov rbx, r13
mov qword [rsp + 0x80], rsi
call fcn.1400c2e20
mov rcx, rax
mov rdx, rbx
call fcn.1400c1b30
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call fcn.1400a2410
mov r14, rax
test rax, rax
je 0x1400a6658
xor ecx, ecx
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], rcx
mov ebp, ecx
mov qword [rsp + 0x58], rcx
mov esi, ecx
mov eax, ecx
test r15, r15
je 0x1400a64fd
cmp word [r15], cx
je 0x1400a64fd
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r15 + rbx*2], cx
jne 0x1400a64a2
inc ebx
test ebx, ebx
jle 0x1400a64cb
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140019a30
mov eax, dword [rsp + 0x5c]
mov esi, dword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov edx, esi
add esi, ebx
mov dword [rsp + 0x58], esi
cmp esi, eax
jle 0x1400a64ea
lea rcx, [rsp + 0x50]
call fcn.1400197d0
mov esi, dword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
movsxd r8, ebx
mov rdx, r15
add r8, r8
mov rcx, rbp
call fcn.140038f30
xor ecx, ecx
mov eax, dword [r14 + 8]
cmp eax, dword [r14 + 0x34]
je 0x1400a659a
test esi, esi
je 0x1400a6517
mov rdx, rbp
lea ecx, [rsi - 1]
jmp 0x1400a651a
mov rdx, r13
mov rbx, qword [r14 + 0x40]
lea rdi, [r14 + 0x38]
call fcn.140023d50
movsxd rcx, eax
movsxd rax, dword [r14 + 0x48]
dec rax
and rcx, rax
test rbx, rbx
cmovne rdi, rbx
mov ebx, dword [rdi + rcx*4]
cmp ebx, 0xffffffff
je 0x1400a659a
mov rcx, qword [r14]
nop word [rax + rax]
movsxd rax, ebx
imul rdi, rax, 0xb8
mov eax, dword [rcx + rdi + 8]
cmp eax, esi
je 0x1400a6569
add eax, esi
cmp eax, 1
jmp 0x1400a6580
cmp eax, 1
jle 0x1400a66e4
mov rcx, qword [rcx + rdi]
mov rdx, rbp
call fcn.140041dc0
test eax, eax
sete al
test al, al
jne 0x1400a66e4
mov rcx, qword [r14]
mov ebx, dword [rdi + rcx + 0xb0]
cmp ebx, 0xffffffff
jne 0x1400a6550
xor r14d, r14d
mov ecx, r14d
test rcx, rcx
lea rdi, [rcx + 0x10]
cmove rdi, r14
test rbp, rbp
je 0x1400a65b8
mov rcx, rbp
call fcn.1400556b0
mov rbp, qword [rsp + 0xa0]
test rdi, rdi
je 0x1400a6658
mov rsi, qword [rsp + 0xb0]
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov r8d, 1
call fcn.1400d33e0
mov eax, dword [rdi + 8]
cmp eax, dword [rdi + 0x34]
je 0x1400a6658
mov ecx, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x40]
call fcn.1400d8a60
mov rcx, qword [rdi + 0x40]
lea r8, [rdi + 0x38]
movsxd rdx, dword [rdi + 0x48]
add eax, ebx
dec rdx
cdqe
and rdx, rax
test rcx, rcx
cmovne r8, rcx
mov eax, dword [r8 + rdx*4]
cmp eax, 0xffffffff
je 0x1400a6658
mov r9, qword [rdi]
mov r10d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
nop dword [rax + rax]
movsxd rdx, eax
imul r8, rdx, 0x38
add r8, r9
cmp dword [r8 + 8], r10d
sete dl
cmp dword [r8], ecx
sete al
test al, dl
jne 0x1400a66fb
mov eax, dword [r8 + 0x30]
cmp eax, 0xffffffff
jne 0x1400a6630
xor dil, dil
cmp qword [0x1403ebb08], 0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
je 0x1400a66ce
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [0x1403ebb08]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x30]
sub rsi, rbx
cmp rsi, qword [rcx + 0x40]
jbe 0x1400a66ce
xor ecx, ecx
call fcn.1400cd940
mov rcx, qword [0x1403ebb08]
lea rdx, str.FConfigCacheIni::GetString
mov r8d, eax
mov r9, rbx
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
call fcn.1400cac50
mov rsi, qword [rsp + 0x80]
movzx eax, dil
add rsp, 0x88
pop rdi
pop rbx
ret
cmp ebx, 0xffffffff
je 0x1400a659a
mov rcx, qword [r14]
add rcx, rdi
xor r14d, r14d
jmp 0x1400a65a0
test r8, r8
lea rcx, [r8 + 0x10]
cmove rcx, r14
test rcx, rcx
je 0x1400a6658
mov eax, dword [rcx + 0x18]
lea rdx, [rcx + 0x10]
test eax, eax
je 0x1400a6720
dec eax
test eax, eax
jg 0x1400a6723
mov rdx, rcx
mov rcx, qword [rsp + 0xb8]
call fcn.14002cc40
cmp dword [r12 + 8], 0
je 0x1400a673c
mov r13, qword [r12]
mov r9, rsi
lea rcx, [0x14036ee58]
mov r8, r15
mov rdx, r13
call fcn.14009fab0
mov dil, 1
jmp 0x1400a665b