Function at 0x1400b7f40
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 [0x140346038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, dword [0x1403627c0]
mov ecx, dword [0x1403576e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b8328
mov rsi, qword [0x1403627b8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b83b7
movzx ebp, bl
dec ebp
or ebp, 1
cmp byte [0x140362768], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor r15d, r15d
add ebp, dword [0x14036276c]
mov dword [0x14036276c], ebp
cmovne r15d, ecx
mov eax, dword [0x140362770]
cmp r15d, eax
je 0x1400b8186
movabs r14, 0xfffffffc00000000
test eax, eax
je 0x1400b80e9
mov rax, qword [0x140356358]
lea rdi, [rsp + 0x50]
mov rcx, rdi
call qword [0x14037e008]
mov rax, qword [rdi]
mov rcx, qword [0x1403627c8]
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 [0x140362778]
cmp r8, 2
jae 0x1400b8058
cmp rcx, rax
je 0x1400b806f
add rcx, rdx
cmp rcx, 1
ja 0x1400b806f
jmp 0x1400b87a4
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140362778], 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.1400c6940
lea r12, [0x1403627c4]
and r12, r14
cmp r12, qword [0x140346fc8]
je 0x1400b8771
mov al, byte [0x1403627c4]
test al, 1
je 0x1400b83c4
mov ecx, dword [0x140362770]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov byte [0x1403627c4], 1
test byte [0x140354cd0], 0x19
jne 0x1400b826c
cmp r12, qword [0x140346fc8]
je 0x1400b8782
mov dword [0x140362770], r15d
test ebp, ebp
je 0x1400b8186
mov rax, qword [0x140356358]
lea rdi, [rsp + 0x50]
mov rcx, rdi
call qword [0x14037e008]
mov rax, qword [rdi]
mov qword [0x1403627c8], 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.1400c6940
lea r15, [0x1403627c5]
and r15, r14
cmp r15, qword [0x140346fc8]
je 0x1400b8793
mov al, byte [0x1403627c5]
test al, 1
je 0x1400b836e
mov ecx, dword [0x140362770]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov byte [0x1403627c5], 1
test byte [0x140354cd0], 0x19
jne 0x1400b81b0
cmp r15, qword [0x140346fc8]
je 0x1400b8760
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140156fe0
mov al, 1
add rsp, 0x80
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x1400b8409
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 0x1400b8212
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400b8222
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
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, [0x140354cd0]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority
mov cl, 0x45
xor r9d, r9d
call fcn.1401bfdf0
jmp 0x1400b8179
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x1400b8419
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 0x1400b82ce
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400b82de
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
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, [0x140354cd0]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority
mov cl, 0x45
xor r9d, r9d
call fcn.1401bfdf0
jmp 0x1400b80dc
lea rcx, [0x1403627c0]
call fcn.1401547b8
cmp dword [0x1403627c0], 0xffffffff
jne 0x1400b7f87
mov ecx, 8
call fcn.140153bd4
mov rsi, rax
mov rcx, rax
call fcn.1400c9700
mov qword [0x1403627b8], rsi
lea rcx, [0x1403627c0]
call fcn.140153cf4
jmp 0x1400b7f87
call fcn.1400fb3f0
test eax, eax
jne 0x1400b815d
mov ecx, 3
call fcn.1400fb200
test byte [0x140354cd0], 0x19
jne 0x1400b8662
mov ecx, dword [0x140362770]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
test byte [0x140354cd0], 0x19
jne 0x1400b84e5
xor ecx, ecx
call fcn.1400fb200
jmp 0x1400b8169
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400b7f9f
call fcn.1400fb3f0
test eax, eax
jne 0x1400b80bc
mov ecx, 3
call fcn.1400fb200
test byte [0x140354cd0], 0x19
jne 0x1400b85a1
mov ecx, dword [0x140362770]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
test byte [0x140354cd0], 0x19
jne 0x1400b8429
xor ecx, ecx
call fcn.1400fb200
jmp 0x1400b80c8
lea rcx, [rsp + 0x50]
call qword [0x14037e008]
jmp 0x1400b8227
lea rcx, [rsp + 0x50]
call qword [0x14037e008]
jmp 0x1400b82e3
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x1400b8750
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 0x1400b848b
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400b849b
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
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, [0x140354cd0]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x45
xor r9d, r9d
call fcn.1401bfdf0
jmp 0x1400b83fd
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x1400b8740
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 0x1400b8547
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400b8557
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
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, [0x140354cd0]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x45
xor r9d, r9d
call fcn.1401bfdf0
jmp 0x1400b83ab
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x1400b8723
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 0x1400b8603
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400b8613
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
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, [0x140354cd0]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x42
xor r9d, r9d
call fcn.1401bfdf0
jmp 0x1400b83e8
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x1400b8733
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 0x1400b86c4
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400b86d4
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
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, [0x140354cd0]
lea r8, str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov cl, 0x42
xor r9d, r9d
call fcn.1401bfdf0
jmp 0x1400b8392
lea rcx, [rsp + 0x70]
call qword [0x14037e008]
jmp 0x1400b8618
lea rcx, [rsp + 0x70]
call qword [0x14037e008]
jmp 0x1400b86d9
lea rcx, [rsp + 0x50]
call qword [0x14037e008]
jmp 0x1400b855c
lea rcx, [rsp + 0x50]
call qword [0x14037e008]
jmp 0x1400b84a0
lea rcx, [0x1403627c5]
call fcn.140151ea0
jmp 0x1400b8186
lea rcx, [0x1403627c4]
call fcn.140151d50
jmp 0x1400b80ae
lea rcx, [0x1403627c4]
call fcn.140151ea0
jmp 0x1400b80e9
lea rcx, [0x1403627c5]
call fcn.140151d50
jmp 0x1400b814f
int3