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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003069d
mov rcx, qword [rsp + 0x30]
call fcn.1400a6c90
mov r8d, edx
mov rcx, rsi
mov rdx, rax
call fcn.1400215d0
test rax, rax
jne 0x1400304b6
lea rdi, [rsp + 0x30]
mov r14, qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
nop word cs:[rax + rax]
mov qword [rsp + 0x30], 0
mov rcx, rdi
call r14
test eax, eax
je 0x14003069d
mov rcx, qword [rsp + 0x30]
call fcn.1400a6c90
mov rbx, rax
mov ebp, edx
mov rcx, rsi
call fcn.14001f730
test rax, rax
jne 0x1400304b6
mov rcx, rsi
mov rdx, rbx
mov r8d, ebp
call fcn.1400215d0
test rax, rax
je 0x140030470
mov rdi, rax
mov rax, qword [rsi + 0x4c0]
shl rax, 1
test rax, rax
je 0x1400304de
mov r8, qword [rsi + 0x4c8]
mov rcx, qword [0x1401521d8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [rsi + 0x4a0]
call fcn.14000c100
mov rcx, rsi
call fcn.14000c830
mov rbx, qword [rsi + 0x518]
test rbx, rbx
je 0x140030536
mov rcx, qword [rsi + 0x528]
call qword [sym.imp.kernel32.dll_CloseHandle]
lock dec qword [rbx]
jne 0x14003051d
mov rcx, qword [rsi + 0x518]
call fcn.1400a4dd0
mov rax, qword [rsi + 0x520]
lock dec qword [rax]
jne 0x140030536
lea rcx, [rsi + 0x520]
call fcn.140012630
mov rax, qword [rsi + 0x4f8]
mov rbx, qword [rsi + 0x500]
test rax, rax
je 0x14003059c
cmp eax, 1
jne 0x14003063d
lock dec qword [rbx + 0x180]
jne 0x14003067c
lock bts qword [rbx + 0x80], 0
jb 0x140030578
lea rcx, [rbx + 0x100]
call fcn.140008320
mov al, 1
xchg byte [rbx + 0x190], al
test al, al
je 0x14003067c
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.14000cdb0
jmp 0x14003067c
lock dec qword [rbx + 0x200]
jne 0x14003067c
mov rax, qword [rbx + 0x80]
mov rcx, qword [rbx + 0x190]
nop dword [rax + rax]
mov rdx, rax
or rdx, rcx
lock cmpxchg qword [rbx + 0x80], rdx
jne 0x1400305c0
test qword [rbx + 0x190], rax
jne 0x1400305e6
lea rcx, [rbx + 0x140]
call fcn.140008320
mov al, 1
xchg byte [rbx + 0x210], al
test al, al
je 0x14003067c
cmp qword [rbx + 0x1a0], 0
je 0x140030616
mov r8, qword [rbx + 0x198]
mov rcx, qword [0x1401521d8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [rbx + 0x108]
call fcn.14000dd70
lea rcx, [rbx + 0x148]
call fcn.14000dd70
mov r8, qword [rbx - 8]
mov rcx, qword [0x1401521d8]
xor edx, edx
jmp 0x140030676
lock dec qword [rbx + 0x70]
jne 0x14003067c
mov rcx, rbx
call fcn.140005d00
mov al, 1
xchg byte [rbx + 0x80], al
test al, al
je 0x14003067c
lea rcx, [rbx + 8]
call fcn.14000dd70
lea rcx, [rbx + 0x38]
call fcn.14000dd70
mov rcx, qword [0x1401521d8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [rsi + 0x508]
mov rdx, qword [rsi + 0x510]
call fcn.14000ec50
mov rax, rdi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], rax
lea rax, str.C:Users_runneradmin.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_std_src_syspalwindows_time.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401185c9]
lea r9, str.p_t_n_
lea r8, [rsp + 0x38]
mov edx, 0x2b
call fcn.1400efe30
int3