Function at 0x1800cc890
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 [0x1804cd010]
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 0x1800ccdba
xor r13d, r13d
movabs rsi, 0x3ff0000000000000
movsd xmm6, qword [0x1803e8428]
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 0x1800ccdba
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 0x1800ccc69
mov eax, dword [rbp - 0x51]
sub eax, 0x5f6
je 0x1800cc9a7
cmp eax, 2
jne 0x1800ccc50
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800cc999
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [r14 + 0x38]
call fcn.1800cf3b0
jmp 0x1800ccc50
cmp dword [r14 + 0x10c], 1
je 0x1800ccc50
lea rcx, [r14 + 0x38]
call fcn.1800cf3b0
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 0x1800cc9ec
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cc9ec
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [r14 + 0x1a8]
test r15, r15
je 0x1800cca08
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 0x1800cca23
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rsi, r15
mov qword [rbp - 0x79], r15
test rbx, rbx
je 0x1800cca3a
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cca36
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.1800ce830
test al, al
je 0x1800ccbc7
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x1800cca73
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800cca73
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [r14 + 0x1a8]
test r15, r15
je 0x1800ccbae
test rdi, rdi
je 0x1800ccbae
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 0x1800ccac0
mov rcx, qword [r12]
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x1800ccacd
mov r8, qword [rax]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r12 + 0x10]
jne 0x1800ccaf9
test rdx, rdx
je 0x1800ccaf4
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800ccaf9
add rcx, 2
sub rdx, 1
jne 0x1800ccae0
mov r15b, 1
jmp 0x1800ccafc
xor r15b, r15b
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1800ccb3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ccb37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ccdec
call fcn.180388460
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1800ccb8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ccb88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ccdf3
call fcn.180388460
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 0x1800ccc16
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800ccbc1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x69], r13
jmp 0x1800ccc16
mov qword [rbp - 0x61], rbx
test rbx, rbx
je 0x1800ccbdf
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800ccbdf
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov dword [r14 + 0x10c], r13d
mov rcx, qword [r14 + 0x1a8]
test rcx, rcx
je 0x1800ccbff
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r14 + 0x1a8], r13
test rbx, rbx
je 0x1800ccc16
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800ccc12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x61], r13
mov rcx, qword [r14 + 0x118]
test rcx, rcx
je 0x1800ccc29
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
test rsi, rsi
je 0x1800ccc38
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
test rdi, rdi
je 0x1800ccc46
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 0x1800ccdad
cmp dword [r14 + 0x10c], 1
jne 0x1800ccda7
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 0x1800cccd6
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800cccd6
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x10]
test al, al
je 0x1800cccd6
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 0x1800ccd02
mov eax, edi
sub eax, dword [rbx + 0x38]
cmp eax, dword [rbx + 0x20]
jb 0x1800ccd02
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov dword [rbx + 0x38], edi
movsd xmm0, qword [rbx + 0x10]
ucomisd xmm0, xmm6
jp 0x1800ccd2e
jne 0x1800ccd2e
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800ccd25
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x10]
test al, al
je 0x1800ccd2e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movzx eax, byte [r14 + 0x1d8]
test al, al
je 0x1800ccdad
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800ccd4c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, r14
call fcn.1800cce00
test al, al
jne 0x1800ccd93
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x88]
test al, al
je 0x1800ccd8a
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.1800cce00
test al, al
jne 0x1800ccd93
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [r14 + 0x148]
test rcx, rcx
je 0x1800ccdad
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1800ccdad
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
movzx eax, byte [r14 + 0x19]
test al, al
je 0x1800cc920
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180388400
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