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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1800891a0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18003ccb1
xor r9d, r9d
lea r8, [0x1800762e4]
lea rdx, [0x180075f94]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x34], 0
xor eax, eax
cmp eax, 1
je 0x18003cef9
mov eax, dword [rsp + 0xa8]
imul eax, eax, 0x3e8
sub eax, dword [rsp + 0x34]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x20], 0x1cff
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
lea rdx, [rsp + 0xa0]
mov ecx, 1
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x18003cd1b
mov eax, 1
jmp 0x18003cefb
cmp dword [rsp + 0x38], 1
je 0x18003cd96
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088dc0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x48], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088dc0]
movsxd rdx, dword [rsp + 0x48]
lea r8, [0x180088dc0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088dc0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180088dc0]
mov dword [rdx + rcx], eax
jmp 0x18003cef9
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x18003cef4
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18003cdf3
xor r9d, r9d
lea r8, [0x1800762fc]
lea rdx, [0x18007616c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x18003ce1c
mov eax, 1
jmp 0x18003cefb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x34], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088dc0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x4c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088dc0]
movsxd rdx, dword [rsp + 0x4c]
lea r8, [0x180088dc0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180088dc0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180088dc0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0xa8]
imul eax, eax, 0x3e8
cmp dword [rsp + 0x34], eax
jbe 0x18003ceef
mov eax, 0x12
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x180088dc0]
cmp dword [rcx + rax*4], 1
jne 0x18003ceeb
movsx rax, word [rsp + 0x30]
lea rcx, [0x180088dc0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x30]
lea rdx, [0x180088dc0]
mov dword [rdx + rcx*4], eax
xor eax, eax
jmp 0x18003cefb
jmp 0x18003cd96
jmp 0x18003ccc3
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18004e350
add rsp, 0x98
ret