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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rsi, qword [0x1400c8518]
xor r14d, r14d
mov rdi, rdx
mov rbp, rcx
mov r13d, 1
test rdx, rdx
je 0x14000e3ea
cmp byte [rsi + 0x58], r14b
je 0x14000e3ea
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
inc dword [rsi + 0x4c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rsi + 0x48], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ebp, r14d
mov r12d, eax
cmp dword [rsi + 8], r14d
jbe 0x14000e3c5
mov ecx, ebp
lea rdx, [rcx + rcx*2]
mov rcx, qword [rsi + 0x18]
lea r15, [rdx*8]
mov rdx, qword [rcx + rdx*8]
test rdx, rdx
je 0x14000e37c
mov eax, r12d
sub eax, dword [rcx + r15 + 8]
cmp eax, dword [rsi + 0xc]
jae 0x14000e37c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000e385
inc ebp
cmp ebp, dword [rsi + 8]
jb 0x14000e341
jmp 0x14000e3c5
mov r12, qword [rsp + 0xc0]
mov r13d, r14d
test r12, r12
je 0x14000e3c5
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax + r15 + 0x10]
test rdx, rdx
je 0x14000e3c5
mov eax, dword [rdx + 8]
mov qword [r12], rdx
cmp eax, 0x7fffffff
je 0x14000e3c5
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14000e3c5
mov eax, dword [rdx + 8]
cmp eax, 0x7fffffff
jne 0x14000e3b1
add dword [rsi + 0x4c], 0xffffffff
mov eax, dword [rsi + 0x4c]
jne 0x14000e3d2
mov dword [rsi + 0x48], r14d
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rbp, qword [rsp + 0xb0]
mov rcx, r14
mov qword [rsp + 0x48], rcx
cmp r13d, 1
jne 0x14000e8de
test byte [0x1400c9180], 2
je 0x14000e419
mov r8, rdi
lea rdx, [0x1400b57f8]
call fcn.140078c30
mov rcx, qword [rsp + 0x48]
mov esi, r14d
mov qword [rsp + 0x50], r14
cmp byte [rbp + 0x14], sil
je 0x14000e494
mov edx, 0xff
movabs r10, 0xd3212ea510dfaa70
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rbp + 0x18]
xor r8d, r8d
mov rcx, rdi
call qword [0x1400a83f0]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
mov rdx, rcx
test rcx, rcx
je 0x14000e49b
nop word [rax + rax]
movzx r8d, word [rdx + 0x10]
cmp r8w, 1
je 0x14000e48d
cmp r8w, 0x1c
je 0x14000e48d
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14000e470
jmp 0x14000e49b
mov esi, 1
jmp 0x14000e49b
mov ebx, dword [rsp + 0xb8]
movzx eax, byte [rbp + 0x14]
test al, al
je 0x14000e4ab
test esi, esi
jne 0x14000e563
mov esi, 0x10
test al, al
mov r8d, r14d
cmove r8d, esi
lea edx, [rsi - 0xf]
movabs r10, 0xd3212ea510dfaa70
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rbp + 0x18]
mov rcx, rdi
call qword [0x1400a83f0]
mov r8d, r14d
lea edx, [rsi + 0xc]
cmp byte [rbp + 0x14], r8b
mov ebx, eax
cmove r8d, esi
movabs r10, 0xd3212ea510dfaa70
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rbp + 0x18]
mov rcx, rdi
call qword [0x1400a83f0]
mov rcx, qword [rsp + 0x48]
mov r9d, eax
test rcx, rcx
je 0x14000e54c
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x14000e55d
mov rdx, qword [rcx]
test rdx, rdx
je 0x14000e542
mov rcx, rdx
jmp 0x14000e535
mov qword [rcx], r8
mov rcx, qword [rsp + 0x48]
jmp 0x14000e55d
mov rax, qword [rsp + 0x50]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x48], rcx
test ebx, ebx
cmovne ebx, r9d
test byte [0x1400c9180], 2
je 0x14000e580
mov r8, rdi
lea rdx, [0x1400b5958]
call fcn.140078c30
mov rcx, qword [rsp + 0x48]
test ebx, ebx
je 0x14000e5cb
cmp ebx, 0x25e5
je 0x14000e5c1
mov rcx, qword [0x1400c72a8]
lea rax, [0x1400c72a8]
cmp rcx, rax
je 0x14000e5c1
test byte [rcx + 0x44], 0x20
je 0x14000e5c1
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400aab70]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140042144
mov eax, 0x80072af9
jmp 0x14000e8e1
test rcx, rcx
je 0x14000e5c1
mov ecx, 0x20
call fcn.14000ecd8
mov r13, rax
test rax, rax
je 0x14000e89d
mov rcx, qword [rsp + 0x48]
mov rbp, r13
mov rsi, qword [0x1400c8518]
mov dword [rax + 8], 1
lea rax, [0x14008c0b0]
mov qword [r13], rax
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], rcx
cmp byte [rsi + 0x58], r14b
je 0x14000e87e
mov r15d, 0x80070057
test rdi, rdi
je 0x14000e876
mov r12, 0xffffffffffffffff
mov rcx, r12
inc rcx
cmp word [rdi + rcx*2], r14w
jne 0x14000e632
mov eax, dword [rsi + 0x10]
cmp rcx, rax
ja 0x14000e876
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
inc dword [rsi + 0x4c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rsi + 0x48], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, r14d
mov dword [rsp + 0xc8], r14d
mov r15d, r14d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0xb8], ecx
cmp dword [rsi + 8], ecx
jbe 0x14000e819
nop dword [rax + rax]
mov eax, r15d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x18]
lea r13, [rcx*8]
add rax, r13
mov qword [rsp + 0x58], rax
mov rcx, qword [rax]
test rcx, rcx
je 0x14000e751
mov rdx, rcx
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000e734
mov rcx, qword [rsi + 0x18]
mov eax, dword [rsp + 0x40]
add rcx, r13
sub eax, dword [rcx + 8]
cmp eax, dword [rsi + 0xc]
ja 0x14000e721
cmp eax, dword [rsp + 0xc8]
jbe 0x14000e70c
mov ecx, r15d
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0xb8], ecx
jmp 0x14000e713
mov ecx, dword [rsp + 0xb8]
inc r15d
cmp r15d, dword [rsi + 8]
jb 0x14000e6a0
jmp 0x14000e819
mov r8, rbp
mov rdx, rdi
call fcn.140080c24
mov r15d, eax
jmp 0x14000e80c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x18]
mov r15d, r14d
mov dword [rcx + r13 + 8], eax
jmp 0x14000e859
mov r15d, r14d
call fcn.14000eccc
mov r13, qword [rsp + 0x58]
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x14000e770
call fcn.140010f34
mov qword [r13 + 0x10], r14
mov rcx, r12
inc rcx
cmp word [rdi + rcx*2], r14w
jne 0x14000e773
inc rcx
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.14000ecd8
mov qword [r13], rax
test rax, rax
je 0x14000e806
nop dword [rax]
inc r12
cmp word [rdi + r12*2], r14w
jne 0x14000e7a0
add r12, 1
je 0x14000e7cd
cmp r12, 0x7fffffff
jbe 0x14000e7bf
mov word [rax], r14w
jmp 0x14000e7cd
mov r9, rdi
mov rdx, r12
mov rcx, rax
call fcn.1400109d0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [r13 + 8], eax
mov qword [r13 + 0x10], rbp
mov eax, dword [rbp + 8]
cmp eax, 0x7fffffff
je 0x14000e80c
nop dword [rax + rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rbp + 8], ecx
je 0x14000e80c
mov eax, dword [rbp + 8]
cmp eax, 0x7fffffff
jne 0x14000e7f0
jmp 0x14000e80c
mov r15d, 0x8007000e
cmp r15d, 1
jne 0x14000e859
mov ecx, dword [rsp + 0xb8]
mov eax, dword [rsi + 8]
mov r8, rbp
mov rdx, qword [rsi + 0x18]
cmp eax, dword [rsi + 4]
jae 0x14000e844
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, rdi
call fcn.140080c24
mov r15d, eax
test eax, eax
js 0x14000e859
inc dword [rsi + 8]
jmp 0x14000e859
mov eax, ecx
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, rdi
call fcn.140080c24
mov r15d, eax
add dword [rsi + 0x4c], 0xffffffff
mov eax, dword [rsi + 0x4c]
jne 0x14000e866
mov dword [rsi + 0x48], r14d
lea rcx, [rsi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov r14d, r15d
test r15d, r15d
js 0x14000e88b
mov rax, qword [rsp + 0xc0]
mov qword [rax], rbp
jmp 0x14000e893
mov rcx, rbp
call fcn.140010f34
test r14d, r14d
js 0x14000e8a3
mov eax, r14d
jmp 0x14000e8e1
mov r14d, 0x8007000e
mov rcx, qword [0x1400c72a8]
lea rax, [0x1400c72a8]
cmp rcx, rax
je 0x14000e8d9
test byte [rcx + 0x44], 0x20
je 0x14000e8d9
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400aab70]
mov edx, 0xb
mov dword [rsp + 0x20], r14d
mov r9, rdi
call fcn.14004bba0
mov eax, r14d
jmp 0x14000e8e1
mov eax, r13d
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret