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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x80
mov ebx, ecx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, dword [0x14033afb0]
mov ecx, dword [0x140337e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a10e7
mov rsi, qword [0x14033afa8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400a1484
movzx ebp, bl
dec ebp
or ebp, 1
cmp byte [0x14033af58], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor r15d, r15d
add ebp, dword [0x14033af5c]
mov dword [0x14033af5c], ebp
cmovne r15d, ecx
mov eax, dword [0x14033af60]
cmp r15d, eax
je 0x1400a1008
movabs r14, 0xfffffffc00000000
test eax, eax
je 0x1400a0ed0
mov rax, qword [0x14032a8e8]
lea rdi, [rsp + 0x50]
mov rcx, rdi
call qword [case.0x14017aab5.0]
mov rax, qword [rdi]
mov rcx, qword [0x14033afb8]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x14033af68]
cmp r8, 2
jae 0x1400a0d88
add rdx, rcx
cmp rdx, 1
ja 0x1400a0d9f
cmp rcx, rax
je 0x1400a0d9f
jmp 0x1400a14d5
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x14033af68], rax
lea rdx, str.UpdateTimerIntervalLocked
lea r8, str....._base_time_time_win.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r9d, 0x9f
call fcn.1400b5b90
lea r12, [0x14033afb4]
and r12, r14
cmp qword [0x140336a08], r12
je 0x1400a14a2
mov al, byte [0x14033afb4]
test al, 1
je 0x1400a10a2
mov ecx, dword [0x14033af60]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov byte [0x14033afb4], 1
test byte [0x140329260], 0x19
je 0x1400a0ec3
mov rax, qword [0x14032a8e8]
lea rcx, [0x140038c30]
cmp rax, rcx
jne 0x1400a1474
lea rbx, [rsp + 0x50]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jl 0x1400a0e6e
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400a0e7e
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140329260]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority
mov cl, 0x45
xor r9d, r9d
call fcn.140189ab0
cmp qword [0x140336a08], r12
je 0x1400a14b3
mov dword [0x14033af60], r15d
test ebp, ebp
je 0x1400a1008
mov rax, qword [0x14032a8e8]
lea rdi, [rsp + 0x50]
mov rcx, rdi
call qword [case.0x14017aab5.0]
mov rax, qword [rdi]
mov qword [0x14033afb8], rax
lea rdx, str.UpdateTimerIntervalLocked
lea r8, str....._base_time_time_win.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r9d, 0xa8
call fcn.1400b5b90
lea r15, [0x14033afb5]
and r15, r14
cmp qword [0x140336a08], r15
je 0x1400a14c4
mov al, byte [0x14033afb5]
test al, 1
je 0x1400a1059
mov ecx, dword [0x14033af60]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov byte [0x14033afb5], 1
test byte [0x140329260], 0x19
je 0x1400a0ffb
mov rax, qword [0x14032a8e8]
lea rcx, [0x140038c30]
cmp rax, rcx
jne 0x1400a1427
lea rbx, [rsp + 0x50]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400a1032
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140329260]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority
mov cl, 0x45
xor r9d, r9d
call fcn.140189ab0
cmp qword [0x140336a08], r15
je 0x1400a1491
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14013d520
mov al, 1
add rsp, 0x80
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400a0fb6
call fcn.14010ce90
test eax, eax
jne 0x1400a0f44
mov ecx, 3
call fcn.1400ead10
test byte [0x140329260], 0x19
jne 0x1400a1366
mov ecx, dword [0x14033af60]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
test byte [0x140329260], 0x19
jne 0x1400a11e9
xor ecx, ecx
call fcn.1400ead10
jmp 0x1400a0f50
call fcn.14010ce90
test eax, eax
jne 0x1400a0dec
mov ecx, 3
call fcn.1400ead10
test byte [0x140329260], 0x19
jne 0x1400a12a5
mov ecx, dword [0x14033af60]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
test byte [0x140329260], 0x19
jne 0x1400a112d
xor ecx, ecx
call fcn.1400ead10
jmp 0x1400a0df8
lea rcx, [0x14033afb0]
call fcn.14013b388
cmp dword [0x14033afb0], 0xffffffff
jne 0x1400a0cb7
mov ecx, 8
call fcn.14013a6b4
mov rsi, rax
mov rcx, rax
call fcn.1400bd360
mov qword [0x14033afa8], rsi
lea rcx, [0x14033afb0]
call fcn.14013a7d4
jmp 0x1400a0cb7
mov rax, qword [0x14032a8e8]
lea rcx, [0x140038c30]
cmp rax, rcx
jne 0x1400a1464
lea rbx, [rsp + 0x50]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400a117d
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
jmp 0x1400a119f
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140329260]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x45
xor r9d, r9d
call fcn.140189ab0
jmp 0x1400a10db
mov rax, qword [0x14032a8e8]
lea rcx, [0x140038c30]
cmp rax, rcx
jne 0x1400a1454
lea rbx, [rsp + 0x50]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jl 0x1400a124b
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400a125b
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140329260]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x45
xor r9d, r9d
call fcn.140189ab0
jmp 0x1400a1096
mov rax, qword [0x14032a8e8]
lea rcx, [0x140038c30]
cmp rax, rcx
jne 0x1400a1444
lea rbx, [rsp + 0x70]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400a12f5
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
jmp 0x1400a1317
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140329260]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x42
xor r9d, r9d
call fcn.140189ab0
jmp 0x1400a10c6
mov rax, qword [0x14032a8e8]
lea rcx, [0x140038c30]
cmp rax, rcx
jne 0x1400a1437
lea rbx, [rsp + 0x70]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jl 0x1400a13c8
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400a13d8
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140329260]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x42
xor r9d, r9d
call fcn.140189ab0
jmp 0x1400a107d
lea rcx, [rsp + 0x50]
call qword [case.0x14017aab5.0]
jmp 0x1400a0fbb
lea rcx, [rsp + 0x70]
call qword [case.0x14017aab5.0]
jmp 0x1400a13dd
lea rcx, [rsp + 0x70]
call qword [case.0x14017aab5.0]
jmp 0x1400a131c
lea rcx, [rsp + 0x50]
call qword [case.0x14017aab5.0]
jmp 0x1400a1260
lea rcx, [rsp + 0x50]
call qword [case.0x14017aab5.0]
jmp 0x1400a11a4
lea rcx, [rsp + 0x50]
call qword [case.0x14017aab5.0]
jmp 0x1400a0e83
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400a0ccf
lea rcx, [0x14033afb5]
call fcn.14010edf0
jmp 0x1400a1008
lea rcx, [0x14033afb4]
call fcn.14010ecc8
jmp 0x1400a0dde
lea rcx, [0x14033afb4]
call fcn.14010edf0
jmp 0x1400a0ed0
lea rcx, [0x14033afb5]
call fcn.14010ecc8
jmp 0x1400a0f36
int3