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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x160
mov rax, qword [0x180146030]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov byte [rsp + 0x21], r14b
mov byte [rsp + 0x20], r14b
mov eax, dword [0x180156150]
test eax, eax
je 0x18007d0fe
lea rcx, [0x180156120]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov sil, 1
mov byte [rsp + 0x20], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea r8, [0x180156130]
mov qword [rsp + 0x28], r14
lea r10, [rsp + 0x28]
mov rcx, qword [0x180156138]
lea r9d, [r14 - 1]
test rcx, rcx
je 0x18007cdda
mov rax, qword [rcx + 0x20]
cmp qword [rax], rdi
jne 0x18007cdb7
mov eax, r14d
jmp 0x18007cdc0
mov eax, 1
cmovb eax, r9d
test eax, eax
je 0x18007cdd1
jns 0x18007cdcc
mov rcx, qword [rcx + 8]
jmp 0x18007cda4
mov rcx, qword [rcx]
jmp 0x18007cda4
test rcx, rcx
jne 0x18007d03e
mov qword [r10], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x90], r14
mov rbx, r14
movdqa xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xe0], xmm1
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], r14
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
test rbx, rbx
je 0x18007d0ec
movdqa xmmword [rsp + 0x70], xmm1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x80], xmm0
lea rdx, [rbx + 8]
lea rcx, [0x180156138]
call fcn.18008c4e0
mov rdx, qword [0x180156160]
lea rcx, ds:[rbx + 8]
mov rax, qword [0x180156158]
call qword [case.0x180020d94.0]
lea rcx, [0x180156120]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor sil, sil
mov byte [rsp + 0x20], sil
lea r14, [0x180146040]
mov rax, qword [0x180146040]
cmp rax, r14
je 0x18007cef6
test byte [rax + 0x44], 1
je 0x18007cef6
cmp byte [rax + 0x41], 4
jb 0x18007cef6
xor eax, eax
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, 0xa6
mov r9, qword [rsp + 0xa0]
lea r8, [0x1801356b0]
mov rcx, qword [0x180146040]
mov rcx, qword [rcx + 0x38]
call fcn.180018fe0
lea rdx, ds:[rsp + 0x21]
mov rcx, rdi
call fcn.1800723e0
mov ebx, eax
mov rcx, qword [0x180146040]
cmp rcx, r14
je 0x18007cf5b
test byte [rcx + 0x44], 1
je 0x18007cf5b
cmp byte [rcx + 0x41], 4
jb 0x18007cf5b
xor eax, eax
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, 0xa7
mov r9, qword [rsp + 0xa8]
lea r8, [0x1801356b0]
mov rcx, qword [0x180146040]
mov rcx, qword [rcx + 0x38]
call fcn.180018fe0
nop dword [rax + rax]
test ebx, ebx
js 0x18007d0ec
cmp byte [rsp + 0x21], sil
je 0x18007d0ec
lea r8, [rsp + 0xb0]
mov dl, 1
mov rcx, rdi
call fcn.180071960
test eax, eax
js 0x18007d0ec
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x110], eax
lea rcx, [0x180156120]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov sil, 1
mov byte [rsp + 0x20], sil
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xf0]
lea rcx, [0x180156170]
call fcn.18008c080
mov dword [rsp + 0x24], eax
cmp eax, 0xc0000225
je 0x18007d0ec
nop dword [rax + rax]
test eax, eax
jns 0x18007d074
mov rax, qword [0x180146040]
cmp rax, r14
je 0x18007d0ec
test byte ds:[rax + 0x1c], 0x40
je 0x18007d0ec
cmp byte [rax + 0x19], 2
jb 0x18007d0ec
lfence
mov edx, 0xa8
mov r9d, dword [rsp + 0x24]
lea r8, [0x1801356b0]
mov rcx, qword [0x180146040]
mov rcx, qword [rcx + 0x10]
call fcn.180012460
movzx esi, byte [rsp + 0x20]
jmp 0x18007d0ec
mov qword [r10], rcx
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x18007cddd
add rbx, 0xfffffffffffffff8
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x90], rbx
jmp 0x18007cdfc
mov rcx, qword [0x180146040]
nop dword [rax + rax]
cmp rcx, r14
je 0x18007d0a9
test byte [rcx + 0x1c], 0x40
je 0x18007d0a9
cmp byte [rcx + 0x19], 5
jb 0x18007d0a9
mov edx, 0xa9
mov r9d, edi
lea r8, [0x1801356b0]
mov rcx, qword [rcx + 0x10]
call fcn.180012460
mov rcx, qword [rsp + 0x30]
add rcx, 0x48
mov rdx, rdi
call fcn.180077fe0
test eax, eax
jns 0x18007d0ec
mov rcx, qword [0x180146040]
cmp rcx, r14
je 0x18007d0ec
test byte [rcx + 0x1c], 0x40
je 0x18007d0ec
cmp byte [rcx + 0x19], 5
jb 0x18007d0ec
mov edx, 0xaa
lea r8, [0x1801356b0]
mov rcx, qword [rcx + 0x10]
call fcn.180011520
nop
test sil, sil
je 0x18007d0fe
lea rcx, [0x180156120]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18008e6f0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret