Function at 0x1800cc6d0
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 [0x1804ca010]
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 0x1800ccbfa
xor r13d, r13d
movabs rsi, 0x3ff0000000000000
movsd xmm6, qword [0x1803e63f8]
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 0x1800ccbfa
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 0x1800ccaa9
mov eax, dword [rbp - 0x51]
sub eax, 0x5f6
je 0x1800cc7e7
cmp eax, 2
jne 0x1800cca90
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800cc7d9
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [r14 + 0x38]
call fcn.1800cf1f0
jmp 0x1800cca90
cmp dword [r14 + 0x10c], 1
je 0x1800cca90
lea rcx, [r14 + 0x38]
call fcn.1800cf1f0
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 0x1800cc82c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc82c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [r14 + 0x1a8]
test r15, r15
je 0x1800cc848
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 0x1800cc863
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rsi, r15
mov qword [rbp - 0x79], r15
test rbx, rbx
je 0x1800cc87a
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc876
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.1800ce670
test al, al
je 0x1800cca07
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x1800cc8b3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc8b3
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [r14 + 0x1a8]
test r15, r15
je 0x1800cc9ee
test rdi, rdi
je 0x1800cc9ee
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 0x1800cc900
mov rcx, qword [r12]
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x1800cc90d
mov r8, qword [rax]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r12 + 0x10]
jne 0x1800cc939
test rdx, rdx
je 0x1800cc934
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800cc939
add rcx, 2
sub rdx, 1
jne 0x1800cc920
mov r15b, 1
jmp 0x1800cc93c
xor r15b, r15b
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1800cc97c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cc977
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ccc2c
call fcn.180385c70
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1800cc9cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cc9c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ccc33
call fcn.180385c70
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 0x1800cca56
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cca01
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x69], r13
jmp 0x1800cca56
mov qword [rbp - 0x61], rbx
test rbx, rbx
je 0x1800cca1f
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cca1f
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov dword [r14 + 0x10c], r13d
mov rcx, qword [r14 + 0x1a8]
test rcx, rcx
je 0x1800cca3f
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r14 + 0x1a8], r13
test rbx, rbx
je 0x1800cca56
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cca52
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x61], r13
mov rcx, qword [r14 + 0x118]
test rcx, rcx
je 0x1800cca69
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
test rsi, rsi
je 0x1800cca78
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
test rdi, rdi
je 0x1800cca86
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 0x1800ccbed
cmp dword [r14 + 0x10c], 1
jne 0x1800ccbe7
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 0x1800ccb16
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800ccb16
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x10]
test al, al
je 0x1800ccb16
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 0x1800ccb42
mov eax, edi
sub eax, dword [rbx + 0x38]
cmp eax, dword [rbx + 0x20]
jb 0x1800ccb42
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov dword [rbx + 0x38], edi
movsd xmm0, qword [rbx + 0x10]
ucomisd xmm0, xmm6
jp 0x1800ccb6e
jne 0x1800ccb6e
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800ccb65
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x10]
test al, al
je 0x1800ccb6e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movzx eax, byte [r14 + 0x1d8]
test al, al
je 0x1800ccbed
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800ccb8c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, r14
call fcn.1800ccc40
test al, al
jne 0x1800ccbd3
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x88]
test al, al
je 0x1800ccbca
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.1800ccc40
test al, al
jne 0x1800ccbd3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800ccbed
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1800ccbed
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
movzx eax, byte [r14 + 0x19]
test al, al
je 0x1800cc760
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180385c10
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