Function at 0x14000c920
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 [0x1400c84f8]
xor ebp, ebp
mov r14, rdx
mov r15, rcx
lea r12d, [rbp + 1]
test rdx, rdx
je 0x14000ca08
cmp byte [rdi + 0x58], bpl
je 0x14000ca08
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 0x14000c9ec
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 0x14000c9e5
mov eax, r8d
sub eax, dword [rcx + r13 + 8]
cmp eax, dword [rdi + 0xc]
jae 0x14000c9e5
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001378a
mov r8d, dword [rsp + 0xa8]
inc esi
cmp esi, dword [rdi + 8]
jb 0x14000c99e
add dword [rdi + 0x4c], 0xffffffff
mov eax, dword [rdi + 0x4c]
jne 0x14000c9f8
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 0x14000cdb4
test byte [0x1400c9100], 2
jne 0x1400137de
mov ebx, ebp
mov qword [rsp + 0x50], rbp
cmp byte [r15 + 0x14], bl
jne 0x1400137f7
mov edi, dword [rsp + 0xa8]
movzx eax, byte [r15 + 0x14]
test al, al
jne 0x140013862
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 [0x1400a8400]
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 [0x1400a8400]
mov rcx, qword [rsp + 0x40]
mov r9d, eax
test rcx, rcx
je 0x140013877
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14000caef
mov r8, qword [rcx]
test r8, r8
jne 0x14001386f
mov qword [rcx], rdx
mov rcx, qword [rsp + 0x40]
test edi, edi
jne 0x14001388d
test byte [0x1400c9100], 2
jne 0x140013895
test edi, edi
jne 0x1400138ae
test rcx, rcx
je 0x1400138eb
lea ecx, [rdi + 0x20]
call fcn.14000d114
mov rsi, rax
test rax, rax
je 0x1400139d4
mov rcx, qword [rsp + 0x40]
mov r15, rsi
mov rdx, qword [0x1400c84f8]
mov dword [rax + 8], 1
lea rax, [0x14008c048]
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 0x14000cd1f
mov r12d, 0x80070057
test r14, r14
je 0x14000cd13
mov rdi, 0xffffffffffffffff
mov rcx, rdi
nop dword [rax]
inc rcx
cmp word [r14 + rcx*2], bp
jne 0x14000cb80
mov eax, dword [rdx + 0x10]
cmp rcx, rax
ja 0x14000cd13
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 0x140013973
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 0x14000cd4d
mov r12d, ebp
call fcn.14000d154
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140013929
mov rcx, rdi
inc rcx
cmp word [r14 + rcx*2], bp
jne 0x14000cc32
inc rcx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14000d114
mov qword [rsi], rax
mov rcx, rax
test rax, rax
je 0x14001395c
inc rdi
cmp word [r14 + rdi*2], bp
jne 0x14000cc62
add rdi, 1
je 0x14000ccc1
cmp rdi, 0x7fffffff
ja 0x140013937
mov edx, 0x7ffffffe
mov r8, r14
sub rdx, rdi
sub r8, rax
nop dword [rax]
lea rax, [rdx + rdi]
test rax, rax
je 0x14000ccbe
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14000ccb5
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14000cc90
jmp 0x14001393f
test rdi, rdi
je 0x14001393f
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 0x14000ccee
lea ecx, [rax + 1]
lock cmpxchg dword [r15 + 8], ecx
jne 0x140013948
cmp r12d, 1
je 0x140013967
add dword [rbx + 0x2c], 0xffffffff
mov eax, dword [rbx + 0x2c]
jne 0x14000cd04
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 0x1400139c6
mov rax, qword [rsp + 0xb0]
mov qword [rax], r15
test ebp, ebp
js 0x1400139d9
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 0x140013908
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 0x1400138f5
cmp eax, r13d
jbe 0x14000cdab
mov ecx, r12d
mov r13d, eax
mov dword [rsp + 0xa8], ecx
inc r12d
cmp r12d, dword [r8 + 8]
jb 0x14000cbec
jmp 0x140013973
mov ecx, dword [rsp + 0xa8]
jmp 0x14000cd99
mov eax, r12d
jmp 0x14000cd34
mov rsi, qword [rsp + 0xb0]
mov r12d, ebp
test rsi, rsi
je 0x14000c9ec
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + r13 + 0x10]
test rdx, rdx
je 0x14000c9ec
mov eax, dword [rdx + 8]
mov qword [rsi], rdx
cmp eax, 0x7fffffff
je 0x14000c9ec
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14000c9ec
mov eax, dword [rdx + 8]
cmp eax, 0x7fffffff
jne 0x1400137c1
jmp 0x14000c9ec
mov r8, r14
lea rdx, [0x1400b5688]
call fcn.140078540
mov rcx, qword [rsp + 0x40]
jmp 0x14000ca27
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 [0x1400a8400]
mov rcx, qword [rsp + 0x40]
mov edi, eax
mov rax, rcx
test rcx, rcx
je 0x14000ca3f
movzx edx, word [rax + 0x10]
cmp dx, 1
je 0x140013858
cmp dx, 0x1c
je 0x140013858
mov rax, qword [rax]
test rax, rax
jne 0x14001383b
jmp 0x14000ca3f
mov ebx, 1
jmp 0x14000ca3f
test ebx, ebx
jne 0x14000caf7
jmp 0x14000ca4c
mov rcx, r8
jmp 0x14000cadb
mov rax, qword [rsp + 0x50]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x40], rcx
jmp 0x14000caef
mov edi, r9d
jmp 0x14000caf7
mov r8, r14
lea rdx, [0x1400b57e8]
call fcn.140078540
mov rcx, qword [rsp + 0x40]
jmp 0x14000cb04
cmp edi, 0x25e5
je 0x1400138eb
mov rcx, qword [0x1400c72a8]
lea rax, [0x1400c72a8]
cmp rcx, rax
je 0x1400138eb
test byte [rcx + 0x44], 0x20
je 0x1400138eb
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400aaa60]
mov edx, 0xa
mov dword [rsp + 0x20], edi
mov r9, r14
call fcn.140041b24
mov eax, 0x80072af9
jmp 0x14000cd34
mov r8, r15
mov rdx, r14
call fcn.14008066c
mov r12d, eax
jmp 0x14000ccee
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 0x14000ccf8
call fcn.14000e85c
mov qword [rsi + 0x10], rbp
jmp 0x14000cc2f
mov word [rax], bp
jmp 0x14000ccc1
sub rcx, 2
jmp 0x14000ccbe
mov eax, dword [r15 + 8]
cmp eax, 0x7fffffff
jne 0x14000ccdf
jmp 0x14000ccee
mov r12d, 0x8007000e
jmp 0x14000ccee
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 0x1400139ac
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, r14
call fcn.14008066c
mov r12d, eax
test eax, eax
js 0x14000ccf8
mov rcx, qword [rsp + 0x48]
inc dword [rcx + 8]
jmp 0x14000ccf8
mov eax, ecx
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, r14
call fcn.14008066c
mov r12d, eax
jmp 0x14000ccf8
mov rcx, r15
call fcn.14000e85c
nop
jmp 0x14000cd2a
mov ebp, 0x8007000e
mov rcx, qword [0x1400c72a8]
lea rax, [0x1400c72a8]
cmp rcx, rax
je 0x140013a0e
test byte [rcx + 0x44], 0x20
je 0x140013a0e
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400aaa60]
mov edx, 0xb
mov dword [rsp + 0x20], ebp
mov r9, r14
call fcn.14004b4bc
mov eax, ebp
jmp 0x14000cd34