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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov qword [rbp - 0x21], 0xfffffffffffffffe
movaps xmmword [rsp + 0x80], xmm6
mov rbx, rdx
mov r14, rcx
xor eax, eax
movzx r12d, ax
mov word [rbp + 0x7f], ax
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [r14 + 8]
movsxd rcx, dword [rax + 0x10]
mov rax, qword [rbx]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401c4ea3
mov r15, rcx
mov qword [rbp - 0x49], rcx
movss xmm6, dword [0x140374998]
mov r13, qword [rbp + 0x6f]
lea rcx, [0x14042c0b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x14042c0e0]
lea rcx, [0x14042c0b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rbx + 0x28]
xor edx, edx
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1401c4aba
mov rcx, qword [r14 + 8]
mov eax, dword [r14 + 0xb8]
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
mulss xmm2, xmm6
mov eax, dword [rcx + 0x4a0]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm2, xmm0
lea rdx, [rdi + 8]
xor r9d, r9d
call fcn.1400f51b0
inc dword [r14 + 0xb8]
cmp dword [rdi + 0x14], 0
jle 0x1401c4e42
mov rax, qword [rdi + 8]
movzx ecx, word [rax]
cmp cx, r12w
je 0x1401c4aec
mov word [rbp + 0x7f], cx
lea rdx, [rdi + 8]
mov rcx, qword [r14 + 8]
call fcn.1400f9c50
mov r13, rax
test r13, r13
je 0x1401c4de2
lea rax, vtable.Core::DateTime.0
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 0
mov dword [rbp - 9], 1
mov r10, qword [r13]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x41]
lea rdx, [rdi + 8]
mov rcx, r13
call qword [r10 + 0x28]
test al, al
jne 0x1401c4b53
mov rcx, rdi
call fcn.1400d1050
test al, al
je 0x1401c4de2
mov rdx, rdi
mov rcx, r14
call fcn.1401c4ed0
jmp 0x1401c4de2
cmp byte [rbp + 0x67], 0
je 0x1401c4b61
or qword [rdi + 0x40], 0x400
mov rcx, qword [rbp - 0x41]
mov dword [rdi + 0x38], ecx
mov rax, qword [rbp - 0x11]
mov qword [rdi + 0x28], rax
mov eax, dword [rbp - 9]
mov dword [rdi + 0x30], eax
test rcx, rcx
jne 0x1401c4ba6
cmp r15, 1
ja 0x1401c4de2
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x428]
test rcx, rcx
je 0x1401c4de2
mov rdx, rdi
call fcn.1401c8680
jmp 0x1401c4de2
cmp rcx, 0x2300000
jae 0x1401c4de2
mov rax, qword [r13]
xor r8d, r8d
lea rdx, [rdi + 8]
mov rcx, r13
call qword [rax + 0x30]
mov r12, rax
test rax, rax
je 0x1401c4de2
mov rcx, qword [rdi + 0x40]
shr rcx, 0x3c
and cl, 1
jne 0x1401c4c80
lea rcx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x90]
mov r9d, eax
mov eax, dword [r14 + 0xc8]
cmp r9d, eax
cmova r9d, eax
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1401c5380
movzx r15d, al
test al, al
je 0x1401c4c2f
movabs rax, 0x1000000000000000
or qword [rdi + 0x40], rax
jmp 0x1401c4c3d
movabs rax, 0xefffffffffffffff
and qword [rdi + 0x40], rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x39]
sub rax, qword [rbp - 0x31]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x29]
cmp rax, 0x3e8
jl 0x1401c4c77
mov r8, qword [rdi + 8]
mov rdx, rax
lea rcx, str.___I64ums_:__ws_r_n
call fcn.1402ba358
test r15b, r15b
je 0x1401c4dd0
xor r15b, r15b
xor r8d, r8d
mov rdx, qword [r14 + 0x30]
lea rcx, [rdi + 8]
call fcn.1401ff540
test al, al
je 0x1401c4cb6
mov r15b, 1
mov edx, 0x10
mov rcx, rdi
call fcn.1401c4080
test al, al
jne 0x1401c4cb6
mov rax, qword [r14 + 8]
mov byte [rax + 0x225], r15b
mov rcx, qword [rdi + 0x40]
mov rax, rcx
shr rax, 0x24
test al, 1
jne 0x1401c4ce5
shr rcx, 0x15
test cl, 1
jne 0x1401c4ce5
mov rcx, rdi
call fcn.1400d1050
test al, al
je 0x1401c4ce5
mov rdx, rdi
mov rcx, r14
call fcn.1401c5260
mov rsi, qword [rdi + 0x40]
mov rax, rsi
shr rax, 0x24
test al, 1
jne 0x1401c4dd0
mov rax, rsi
shr rax, 0x14
test al, 1
je 0x1401c4dd0
mov rax, qword [rbp - 0x49]
cmp rax, 2
jne 0x1401c4d53
lea edx, [rax + 0xe]
mov rcx, rdi
call fcn.1401c4080
test al, al
je 0x1401c4db8
shr rsi, 0x23
test sil, 1
jne 0x1401c4db8
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x420]
test rcx, rcx
je 0x1401c4dd0
mov rdx, rdi
call fcn.14000be20
jmp 0x1401c4dd0
cmp rax, 1
ja 0x1401c4dd0
mov edx, 0x10
mov rcx, rdi
call fcn.1401c4080
test al, al
je 0x1401c4d8f
mov rax, rsi
shr rax, 0x23
test al, 1
jne 0x1401c4d8f
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x420]
test rcx, rcx
je 0x1401c4dd0
mov rdx, rdi
call fcn.14000be20
jmp 0x1401c4dd0
test r15b, r15b
jne 0x1401c4db8
shr rsi, 0x3d
test sil, 1
jne 0x1401c4db8
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x428]
test rcx, rcx
je 0x1401c4dd0
mov rdx, rdi
call fcn.1401c8680
jmp 0x1401c4dd0
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x430]
test rcx, rcx
je 0x1401c4dd0
mov rdx, rdi
call fcn.1401cf6d0
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax]
mov r15, qword [rbp - 0x49]
cmp byte [rbx + 0x19], 0
jne 0x1401c4e2e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401c4e0e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401c4e2e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401c4e00
jmp 0x1401c4e2e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401c4e2b
cmp rbx, qword [rax + 0x10]
jne 0x1401c4e2b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401c4e18
mov rbx, rax
mov rax, qword [rbp + 0x6f]
cmp rbx, qword [rax]
movzx r12d, word [rbp + 0x7f]
jne 0x1401c4a51
jmp 0x1401c4ea3
lea rcx, [rbp - 0x19]
call fcn.1401fcf30
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rbp - 0x19], rax
mov edx, 0x2a
lea rcx, [rbp - 0x11]
call fcn.1401ff260
mov eax, dword [rbp - 9]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rbp - 0x11]
call fcn.1402bd21c
mov edx, 0x2a
lea rcx, [rbp - 0x11]
call fcn.140200570
nop
lea rdx, [0x140410838]
lea rcx, [rbp - 0x19]
call fcn.1402c1558
int3
mov al, 1
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret