Function at 0x1401c33c0
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 0x1401c3883
mov r15, rcx
mov qword [rbp - 0x49], rcx
movss xmm6, dword [0x140372188]
mov r13, qword [rbp + 0x6f]
lea rcx, [0x1404290d0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x140429100]
lea rcx, [0x1404290d0]
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 0x1401c349a
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.1400f4200
inc dword [r14 + 0xb8]
cmp dword [rdi + 0x14], 0
jle 0x1401c3822
mov rax, qword [rdi + 8]
movzx ecx, word [rax]
cmp cx, r12w
je 0x1401c34cc
mov word [rbp + 0x7f], cx
lea rdx, [rdi + 8]
mov rcx, qword [r14 + 8]
call fcn.1400f8ca0
mov r13, rax
test r13, r13
je 0x1401c37c2
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 0x1401c3533
mov rcx, rdi
call fcn.1400d1020
test al, al
je 0x1401c37c2
mov rdx, rdi
mov rcx, r14
call fcn.1401c38b0
jmp 0x1401c37c2
cmp byte [rbp + 0x67], 0
je 0x1401c3541
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 0x1401c3586
cmp r15, 1
ja 0x1401c37c2
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x428]
test rcx, rcx
je 0x1401c37c2
mov rdx, rdi
call fcn.1401c7060
jmp 0x1401c37c2
cmp rcx, 0x2300000
jae 0x1401c37c2
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 0x1401c37c2
mov rcx, qword [rdi + 0x40]
shr rcx, 0x3c
and cl, 1
jne 0x1401c3660
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.1401c3d60
movzx r15d, al
test al, al
je 0x1401c360f
movabs rax, 0x1000000000000000
or qword [rdi + 0x40], rax
jmp 0x1401c361d
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 0x1401c3657
mov r8, qword [rdi + 8]
mov rdx, rax
lea rcx, str.___I64ums_:__ws_r_n
call fcn.1402b7a88
test r15b, r15b
je 0x1401c37b0
xor r15b, r15b
xor r8d, r8d
mov rdx, qword [r14 + 0x30]
lea rcx, [rdi + 8]
call fcn.1401fce20
test al, al
je 0x1401c3696
mov r15b, 1
mov edx, 0x10
mov rcx, rdi
call fcn.1401c2a60
test al, al
jne 0x1401c3696
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 0x1401c36c5
shr rcx, 0x15
test cl, 1
jne 0x1401c36c5
mov rcx, rdi
call fcn.1400d1020
test al, al
je 0x1401c36c5
mov rdx, rdi
mov rcx, r14
call fcn.1401c3c40
mov rsi, qword [rdi + 0x40]
mov rax, rsi
shr rax, 0x24
test al, 1
jne 0x1401c37b0
mov rax, rsi
shr rax, 0x14
test al, 1
je 0x1401c37b0
mov rax, qword [rbp - 0x49]
cmp rax, 2
jne 0x1401c3733
lea edx, [rax + 0xe]
mov rcx, rdi
call fcn.1401c2a60
test al, al
je 0x1401c3798
shr rsi, 0x23
test sil, 1
jne 0x1401c3798
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x420]
test rcx, rcx
je 0x1401c37b0
mov rdx, rdi
call fcn.14000be20
jmp 0x1401c37b0
cmp rax, 1
ja 0x1401c37b0
mov edx, 0x10
mov rcx, rdi
call fcn.1401c2a60
test al, al
je 0x1401c376f
mov rax, rsi
shr rax, 0x23
test al, 1
jne 0x1401c376f
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x420]
test rcx, rcx
je 0x1401c37b0
mov rdx, rdi
call fcn.14000be20
jmp 0x1401c37b0
test r15b, r15b
jne 0x1401c3798
shr rsi, 0x3d
test sil, 1
jne 0x1401c3798
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x428]
test rcx, rcx
je 0x1401c37b0
mov rdx, rdi
call fcn.1401c7060
jmp 0x1401c37b0
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x430]
test rcx, rcx
je 0x1401c37b0
mov rdx, rdi
call fcn.1401ce0b0
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax]
mov r15, qword [rbp - 0x49]
cmp byte [rbx + 0x19], 0
jne 0x1401c380e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401c37ee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401c380e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401c37e0
jmp 0x1401c380e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401c380b
cmp rbx, qword [rax + 0x10]
jne 0x1401c380b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401c37f8
mov rbx, rax
mov rax, qword [rbp + 0x6f]
cmp rbx, qword [rax]
movzx r12d, word [rbp + 0x7f]
jne 0x1401c3431
jmp 0x1401c3883
lea rcx, [rbp - 0x19]
call fcn.1401fa810
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rbp - 0x19], rax
mov edx, 0x2a
lea rcx, [rbp - 0x11]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x2a
lea rcx, [rbp - 0x11]
call fcn.1401fde50
nop
lea rdx, [0x14040da50]
lea rcx, [rbp - 0x19]
call fcn.1402bece8
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