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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], rdx
mov rsi, rcx
mov rax, qword [0x1400ab520]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x78]
mov qword [rax], 0
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
lea rbx, [rsp + 0x68]
lea rdi, [rsp + 0x60]
lea r14, [0x14008a070]
xor r13d, r13d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rbp
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
mov r8, rdi
call rsi
mov ecx, 3
test al, al
je 0x14004cea3
call fcn.140001935
test al, al
je 0x14004cc30
mov dword [rsp + 0x74], r15d
xor ebx, ebx
jmp 0x14004cc5f
mov ecx, r15d
lea rdx, [rsp + 0x74]
call fcn.140049f77
mov ebx, 0xffffffff
test al, al
je 0x14004cc5f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rsp + 0x74]
mov ecx, ebx
sub ebx, eax
sub eax, r15d
sub ecx, r15d
cmp eax, ecx
cmova ebx, ebp
lea rcx, [rsp + 0x70]
call fcn.14004ee69
movsxd rsi, dword [rsp + 0x70]
cmp qword [0x1400ab510], 0xffffffffffffffff
je 0x14004cca0
lea rdi, [rsi + 1]
mov r8d, 8
mov rcx, rax
mov rdx, rdi
call fcn.140008831
mov rcx, qword [0x1400ab510]
mov qword [rax + rsi*8], rcx
mov r12, rsi
mov rsi, rdi
jmp 0x14004cca7
mov r12, 0xffffffffffffffff
mov rdi, qword [rsp + 0x60]
add rdi, rsi
mov r8d, 8
mov rcx, rax
mov rdx, rdi
call fcn.140008831
cmp qword [rsp + 0x60], 0
je 0x14004cce6
lea rbp, [rax + rsi*8]
xor ecx, ecx
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + rcx*8]
mov qword [rbp + rcx*8], rdx
inc rcx
cmp rcx, qword [rsp + 0x60]
jb 0x14004ccce
mov ecx, edi
mov rdx, rax
mov rdi, rax
xor r8d, r8d
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov r15d, eax
mov rbp, qword [rsp + 0x60]
cmp eax, dword [rsp + 0x70]
mov qword [rsp + 0x40], rdi
jae 0x14004cd23
mov qword [rsp + 0x38], rbp
mov eax, r15d
mov rcx, qword [rdi + rax*8]
call fcn.14004efe2
jmp 0x14004ce54
mov eax, r15d
cmp r12, rax
jne 0x14004cd69
cmp qword [0x1400ab510], 0xffffffffffffffff
je 0x14004cd69
mov qword [rsp + 0x38], rbp
lea rdi, [rsp + 0x5c]
mov rcx, rdi
call fcn.1400520e5
cmp rax, 0xffffffffffffffff
lea r12, [rsp + 0x80]
je 0x14004cd89
xor esi, esi
inc esi
mov rcx, rdi
call fcn.140052114
cmp rax, 0xffffffffffffffff
jne 0x14004cd57
jmp 0x14004cd8b
cmp rsi, rax
ja 0x14004cd7f
lea rcx, [rsi + rbp]
mov rdx, rax
sub rdx, rsi
cmp rcx, rax
cmova rbp, rdx
mov qword [rsp + 0x38], rbp
jmp 0x14004ce54
xor esi, esi
mov r9d, esi
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r8d, 8
mov rcx, r13
lea rdx, [rsp + 0x78]
call fcn.14000887c
mov r13, rax
mov rcx, rdi
call fcn.1400520e5
cmp rax, 0xffffffffffffffff
je 0x14004ce54
mov rsi, 0xffffffffffffffff
lea rdi, [rsp + 0x5c]
mov qword [r13 + rsi*8 + 8], rax
mov rcx, rdi
call fcn.140052114
inc rsi
cmp rax, 0xffffffffffffffff
jne 0x14004cdd0
cmp rsi, 0xffffffffffffffff
je 0x14004ce54
xor ebp, ebp
mov rbx, qword [r13 + rbp*8]
mov rcx, rbx
xor edx, edx
mov r8, r12
call qword [0x1400ac620]
test eax, eax
jne 0x14004ce48
mov ecx, 1
mov edx, ebx
call fcn.140052935
xor edi, edi
mov eax, dword [r14 + rdi*8 + 4]
test dword [rsp + 0x80], eax
je 0x14004ce3f
movsxd rcx, dword [r14 + rdi*8]
mov ecx, dword [rsp + rcx*4 + 0x84]
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movsxd rdx, ecx
mov rcx, rbx
call fcn.140051b84
inc rdi
cmp rdi, 6
jne 0x14004ce13
lea rax, [rbp + 1]
cmp rsi, rbp
mov rbp, rax
jne 0x14004cdee
mov rsi, qword [rsp + 0x30]
lea rbx, [rsp + 0x68]
call fcn.1400018d9
cmp r15d, 0x102
jne 0x14004ce73
mov r15d, dword [rsp + 0x74]
jmp 0x14004ce7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
xor ebp, ebp
lea rdi, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.140008872
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
call qword [rsp + 0x50]
xor al, 1
movzx eax, al
lea ecx, [rax + rax*2]
test ecx, ecx
je 0x14004cbfa
mov rcx, r13
call fcn.140008872
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400575f0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret