Function at 0x14000d6b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rdi, qword [0x1400c94f8]
xor ebp, ebp
mov r14, rdx
mov r15, rcx
lea r12d, [rbp + 1]
test rdx, rdx
je 0x14000d798
cmp byte [rdi + 0x58], bpl
je 0x14000d798
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
inc dword [rdi + 0x4c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rdi + 0x48], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov esi, ebp
mov r8d, eax
mov dword [rsp + 0xa8], eax
cmp dword [rdi + 8], ebp
jbe 0x14000d77c
mov ecx, esi
lea rdx, [rcx + rcx*2]
mov rcx, qword [rdi + 0x18]
lea r13, [rdx*8]
mov rdx, qword [rcx + rdx*8]
test rdx, rdx
je 0x14000d775
mov eax, r8d
sub eax, dword [rcx + r13 + 8]
cmp eax, dword [rdi + 0xc]
jae 0x14000d775
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140013ea2
mov r8d, dword [rsp + 0xa8]
inc esi
cmp esi, dword [rdi + 8]
jb 0x14000d72e
add dword [rdi + 0x4c], 0xffffffff
mov eax, dword [rdi + 0x4c]
jne 0x14000d788
mov dword [rdi + 0x48], ebp
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, rbp
mov qword [rsp + 0x40], rcx
cmp r12d, 1
jne 0x14000db44
test byte [0x1400ca180], 2
jne 0x140013ef6
mov ebx, ebp
mov qword [rsp + 0x50], rbp
cmp byte [r15 + 0x14], bl
jne 0x140013f0f
mov edi, dword [rsp + 0xa8]
movzx eax, byte [r15 + 0x14]
test al, al
jne 0x140013f7a
mov ebx, 0x10
test al, al
mov r8d, ebx
cmovne r8d, ebp
lea edx, [rbx - 0xf]
movabs r10, 0xd3212ea510dfaa70
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [r15 + 0x18]
mov rcx, r14
call qword [0x1400a9400]
cmp byte [r15 + 0x14], bpl
mov edx, 0x1c
mov edi, eax
cmovne ebx, ebp
movabs r10, 0xd3212ea510dfaa70
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [r15 + 0x18]
mov r8d, ebx
mov rcx, r14
call qword [0x1400a9400]
mov rcx, qword [rsp + 0x40]
mov r9d, eax
test rcx, rcx
je 0x140013f8f
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14000d87f
mov r8, qword [rcx]
test r8, r8
jne 0x140013f87
mov qword [rcx], rdx
mov rcx, qword [rsp + 0x40]
test edi, edi
jne 0x140013fa5
test byte [0x1400ca180], 2
jne 0x140013fad
test edi, edi
jne 0x140013fc6
test rcx, rcx
je 0x140014003
lea ecx, [rdi + 0x20]
call fcn.14000df2c
mov rsi, rax
test rax, rax
je 0x1400140ec
mov rcx, qword [rsp + 0x40]
mov r15, rsi
mov rdx, qword [0x1400c94f8]
mov dword [rax + 8], 1
lea rax, vtable.qYtH_g.0
mov qword [rsi], rax
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], rcx
mov qword [rsp + 0x48], rdx
cmp byte [rdx + 0x58], bpl
je 0x14000daaf
mov r12d, 0x80070057
test r14, r14
je 0x14000daa3
mov rdi, 0xffffffffffffffff
mov rcx, rdi
nop dword [rax]
inc rcx
cmp word [r14 + rcx*2], bp
jne 0x14000d910
mov eax, dword [rdx + 0x10]
cmp rcx, rax
ja 0x14000daa3
lea rbx, [rdx + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
inc dword [rbx + 0x2c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rbx + 0x28], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r8, qword [rsp + 0x48]
mov ecx, ebp
mov dword [rsp + 0xb8], eax
mov r13d, ebp
mov dword [rsp + 0xa8], ecx
mov r12d, ebp
cmp dword [r8 + 8], ecx
jbe 0x14001408b
mov eax, r12d
lea rcx, [rax + rax*2]
mov rax, qword [r8 + 0x18]
lea rsi, [rcx*8]
lea rcx, [rax + rsi]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rax + rsi]
test rcx, rcx
jne 0x14000dadd
mov r12d, ebp
call fcn.14000df6c
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140014041
mov rcx, rdi
inc rcx
cmp word [r14 + rcx*2], bp
jne 0x14000d9c2
inc rcx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14000df2c
mov qword [rsi], rax
mov rcx, rax
test rax, rax
je 0x140014074
inc rdi
cmp word [r14 + rdi*2], bp
jne 0x14000d9f2
add rdi, 1
je 0x14000da51
cmp rdi, 0x7fffffff
ja 0x14001404f
mov edx, 0x7ffffffe
mov r8, r14
sub rdx, rdi
sub r8, rax
nop dword [rax]
lea rax, [rdx + rdi]
test rax, rax
je 0x14000da4e
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14000da45
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14000da20
jmp 0x140014057
test rdi, rdi
je 0x140014057
mov word [rcx], bp
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsi + 8], eax
mov qword [rsi + 0x10], r15
mov eax, dword [r15 + 8]
cmp eax, 0x7fffffff
je 0x14000da7e
lea ecx, [rax + 1]
lock cmpxchg dword [r15 + 8], ecx
jne 0x140014060
cmp r12d, 1
je 0x14001407f
add dword [rbx + 0x2c], 0xffffffff
mov eax, dword [rbx + 0x2c]
jne 0x14000da94
mov dword [rbx + 0x28], ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov ebp, r12d
test r12d, r12d
js 0x1400140de
mov rax, qword [rsp + 0xb0]
mov qword [rax], r15
test ebp, ebp
js 0x1400140f1
mov eax, ebp
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, rcx
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140014020
mov r8, qword [rsp + 0x48]
mov eax, dword [rsp + 0xb8]
mov rcx, qword [r8 + 0x18]
add rcx, rsi
sub eax, dword [rcx + 8]
cmp eax, dword [r8 + 0xc]
ja 0x14001400d
cmp eax, r13d
jbe 0x14000db3b
mov ecx, r12d
mov r13d, eax
mov dword [rsp + 0xa8], ecx
inc r12d
cmp r12d, dword [r8 + 8]
jb 0x14000d97c
jmp 0x14001408b
mov ecx, dword [rsp + 0xa8]
jmp 0x14000db29
mov eax, r12d
jmp 0x14000dac4
mov rsi, qword [rsp + 0xb0]
mov r12d, ebp
test rsi, rsi
je 0x14000d77c
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + r13 + 0x10]
test rdx, rdx
je 0x14000d77c
mov eax, dword [rdx + 8]
mov qword [rsi], rdx
cmp eax, 0x7fffffff
je 0x14000d77c
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14000d77c
mov eax, dword [rdx + 8]
cmp eax, 0x7fffffff
jne 0x140013ed9
jmp 0x14000d77c
mov r8, r14
lea rdx, [0x1400b67f8]
call fcn.1400797a0
mov rcx, qword [rsp + 0x40]
jmp 0x14000d7b7
mov edx, 0xff
movabs r10, 0xd3212ea510dfaa70
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [r15 + 0x18]
xor r8d, r8d
mov rcx, r14
call qword [0x1400a9400]
mov rcx, qword [rsp + 0x40]
mov edi, eax
mov rax, rcx
test rcx, rcx
je 0x14000d7cf
movzx edx, word [rax + 0x10]
cmp dx, 1
je 0x140013f70
cmp dx, 0x1c
je 0x140013f70
mov rax, qword [rax]
test rax, rax
jne 0x140013f53
jmp 0x14000d7cf
mov ebx, 1
jmp 0x14000d7cf
test ebx, ebx
jne 0x14000d887
jmp 0x14000d7dc
mov rcx, r8
jmp 0x14000d86b
mov rax, qword [rsp + 0x50]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x40], rcx
jmp 0x14000d87f
mov edi, r9d
jmp 0x14000d887
mov r8, r14
lea rdx, [0x1400b6958]
call fcn.1400797a0
mov rcx, qword [rsp + 0x40]
jmp 0x14000d894
cmp edi, 0x25e5
je 0x140014003
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x140014003
test byte [rcx + 0x44], 0x20
je 0x140014003
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400abb58]
mov edx, 0xa
mov dword [rsp + 0x20], edi
mov r9, r14
call fcn.140042cf4
mov eax, 0x80072af9
jmp 0x14000dac4
mov r8, r15
mov rdx, r14
call fcn.140081854
mov r12d, eax
jmp 0x14000da7e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
mov r12d, ebp
mov rcx, qword [rcx + 0x18]
mov dword [rcx + rsi + 8], eax
jmp 0x14000da88
call fcn.14000f66c
mov qword [rsi + 0x10], rbp
jmp 0x14000d9bf
mov word [rax], bp
jmp 0x14000da51
sub rcx, 2
jmp 0x14000da4e
mov eax, dword [r15 + 8]
cmp eax, 0x7fffffff
jne 0x14000da6f
jmp 0x14000da7e
mov r12d, 0x8007000e
jmp 0x14000da7e
mov r8, qword [rsp + 0x48]
mov ecx, dword [rsp + 0xa8]
mov eax, dword [r8 + 8]
cmp eax, dword [r8 + 4]
mov rdx, qword [r8 + 0x18]
mov r8, r15
jae 0x1400140c4
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, r14
call fcn.140081854
mov r12d, eax
test eax, eax
js 0x14000da88
mov rcx, qword [rsp + 0x48]
inc dword [rcx + 8]
jmp 0x14000da88
mov eax, ecx
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, r14
call fcn.140081854
mov r12d, eax
jmp 0x14000da88
mov rcx, r15
call fcn.14000f66c
nop
jmp 0x14000daba
mov ebp, 0x8007000e
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x140014126
test byte [rcx + 0x44], 0x20
je 0x140014126
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400abb58]
mov edx, 0xb
mov dword [rsp + 0x20], ebp
mov r9, r14
call fcn.14004c764
mov eax, ebp
jmp 0x14000dac4