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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov rax, qword [rcx + 0x178]
mov qword [rsp + 0x30], rax
movzx eax, byte [rcx + 0x19]
test al, al
jne 0x1800cc70a
xor r13d, r13d
movabs rsi, 0x3ff0000000000000
movsd xmm6, qword [0x1803e72b8]
nop word [rax + rax]
mov dword [rsp + 0x20], 0x4ff
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea ecx, [r8 + 1]
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
movzx eax, byte [r14 + 0x19]
test al, al
jne 0x1800cc70a
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1800cc5b9
mov eax, dword [rbp - 0x51]
sub eax, 0x5f6
je 0x1800cc2f7
cmp eax, 2
jne 0x1800cc5a0
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800cc2e9
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [r14 + 0x38]
call fcn.1800ced00
jmp 0x1800cc5a0
cmp dword [r14 + 0x10c], 1
je 0x1800cc5a0
lea rcx, [r14 + 0x38]
call fcn.1800ced00
mov rdi, r13
mov qword [rsp + 0x38], r13
mov rsi, r13
mov qword [rbp - 0x79], r13
lea rbx, [r14 + 0x1b8]
mov qword [rbp - 0x71], rbx
test rbx, rbx
je 0x1800cc33c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc33c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [r14 + 0x1a8]
test r15, r15
je 0x1800cc358
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rdi, r15
mov qword [rsp + 0x38], r15
mov r15, qword [r14 + 0x1b0]
test r15, r15
je 0x1800cc373
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rsi, r15
mov qword [rbp - 0x79], r15
test rbx, rbx
je 0x1800cc38a
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc386
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x71], r13
mov dword [r14 + 0x10c], 2
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.1800ce180
test al, al
je 0x1800cc517
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x1800cc3c3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc3c3
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [r14 + 0x1a8]
test r15, r15
je 0x1800cc4fe
test rdi, rdi
je 0x1800cc4fe
mov rax, qword [rdi]
lea rdx, [rbp - 1]
mov rcx, rdi
call qword [rax + 0xc0]
mov r12, rax
mov r8, qword [r15]
lea rdx, [rbp - 0x21]
mov rcx, r15
call qword [r8 + 0xc0]
nop
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1800cc410
mov rcx, qword [r12]
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x1800cc41d
mov r8, qword [rax]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r12 + 0x10]
jne 0x1800cc449
test rdx, rdx
je 0x1800cc444
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800cc449
add rcx, 2
sub rdx, 1
jne 0x1800cc430
mov r15b, 1
jmp 0x1800cc44c
xor r15b, r15b
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1800cc48c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cc487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cc73c
call fcn.180386950
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1800cc4dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cc4d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cc743
call fcn.180386950
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
mov eax, r13d
test r15b, r15b
setne al
mov dword [r14 + 0x10c], eax
test rbx, rbx
je 0x1800cc566
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc511
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x69], r13
jmp 0x1800cc566
mov qword [rbp - 0x61], rbx
test rbx, rbx
je 0x1800cc52f
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc52f
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov dword [r14 + 0x10c], r13d
mov rcx, qword [r14 + 0x1a8]
test rcx, rcx
je 0x1800cc54f
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r14 + 0x1a8], r13
test rbx, rbx
je 0x1800cc566
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc562
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x61], r13
mov rcx, qword [r14 + 0x118]
test rcx, rcx
je 0x1800cc579
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
test rsi, rsi
je 0x1800cc588
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
test rdi, rdi
je 0x1800cc596
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
movabs rsi, 0x3ff0000000000000
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x59]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1800cc6fd
cmp dword [r14 + 0x10c], 1
jne 0x1800cc6f7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rbx, [r14 + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 8]
mov ecx, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
mov ecx, dword [rbx + 0xc]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm1, xmm0
movsd qword [rbx + 0x10], xmm1
comisd xmm1, xmm6
jb 0x1800cc626
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800cc626
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x10]
test al, al
je 0x1800cc626
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx]
movsd xmm1, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800cc652
mov eax, edi
sub eax, dword [rbx + 0x38]
cmp eax, dword [rbx + 0x20]
jb 0x1800cc652
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov dword [rbx + 0x38], edi
movsd xmm0, qword [rbx + 0x10]
ucomisd xmm0, xmm6
jp 0x1800cc67e
jne 0x1800cc67e
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800cc675
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x10]
test al, al
je 0x1800cc67e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movzx eax, byte [r14 + 0x1d8]
test al, al
je 0x1800cc6fd
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800cc69c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, r14
call fcn.1800cc750
test al, al
jne 0x1800cc6e3
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x88]
test al, al
je 0x1800cc6da
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5f7
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r14
call fcn.1800cc750
test al, al
jne 0x1800cc6e3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800cc6fd
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1800cc6fd
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
movzx eax, byte [r14 + 0x19]
test al, al
je 0x1800cc270
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3