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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x88], 0
mov r14, r9
mov rbp, r8
mov r15d, edx
mov rbx, rcx
je 0x1401d6bde
test edx, edx
je 0x1401d6bde
xor r12d, r12d
mov esi, r12d
mov edi, r12d
call sub.KERNEL32.dll_GetTickCount
cmp eax, 0x1388
jb 0x1401d6a8a
mov rcx, qword [rbx + 0x18]
lea edx, [rax - 0x1388]
test rcx, rcx
je 0x1401d69d2
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x1401d69d2
cmp eax, edx
jae 0x1401d69cd
mov qword [rbx + 0x18], r12
mov dword [rbx + 0x10], r12d
jmp 0x1401d69d2
mov edi, eax
mov rsi, rcx
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401d6a00
mov eax, dword [rbx + 0x28]
test eax, eax
je 0x1401d6a00
cmp eax, edx
jae 0x1401d69f0
mov qword [rbx + 0x30], r12
mov dword [rbx + 0x28], r12d
jmp 0x1401d6a00
test edi, edi
jne 0x1401d69f8
mov edi, eax
jmp 0x1401d69fd
cmp eax, edi
cmovb edi, eax
add rsi, rcx
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1401d6a2e
mov eax, dword [rbx + 0x40]
test eax, eax
je 0x1401d6a2e
cmp eax, edx
jae 0x1401d6a1e
mov qword [rbx + 0x48], r12
mov dword [rbx + 0x40], r12d
jmp 0x1401d6a2e
test edi, edi
jne 0x1401d6a26
mov edi, eax
jmp 0x1401d6a2b
cmp eax, edi
cmovb edi, eax
add rsi, rcx
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1401d6a5c
mov eax, dword [rbx + 0x58]
test eax, eax
je 0x1401d6a5c
cmp eax, edx
jae 0x1401d6a4c
mov qword [rbx + 0x60], r12
mov dword [rbx + 0x58], r12d
jmp 0x1401d6a5c
test edi, edi
jne 0x1401d6a54
mov edi, eax
jmp 0x1401d6a59
cmp eax, edi
cmovb edi, eax
add rsi, rcx
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1401d6a8a
mov eax, dword [rbx + 0x70]
test eax, eax
je 0x1401d6a8a
cmp eax, edx
jae 0x1401d6a7a
mov qword [rbx + 0x78], r12
mov dword [rbx + 0x70], r12d
jmp 0x1401d6a8a
test edi, edi
jne 0x1401d6a82
mov edi, eax
jmp 0x1401d6a87
cmp eax, edi
cmovb edi, eax
add rsi, rcx
call sub.KERNEL32.dll_GetTickCount
mov r10d, eax
cmp eax, edi
jb 0x1401d6b1e
mov r11d, 0xffffffff
lea rcx, [rbx + 0x10]
mov r9d, r12d
mov r8, r12
nop word [rax + rax]
mov edx, dword [rcx]
test edx, edx
je 0x1401d6ad0
cmp r10d, edx
jae 0x1401d6ac4
mov dword [rcx], r12d
mov qword [rcx + 8], r12
jmp 0x1401d6ad0
mov eax, r10d
sub eax, edx
cmp eax, 0x3e8
jbe 0x1401d6ae2
inc r9d
inc r8
add rcx, 0x18
cmp r8, 5
jl 0x1401d6ab0
jmp 0x1401d6aea
mov r11d, r9d
test r9d, r9d
jns 0x1401d6b4b
mov edx, r12d
lea rax, [rbx + 0x10]
mov rcx, r12
cmp dword [rax], r12d
je 0x1401d6b0a
inc edx
inc rcx
add rax, 0x18
cmp rcx, 5
jl 0x1401d6af4
jmp 0x1401d6b19
movsxd rax, edx
mov r11d, edx
lea rcx, [rax + rax*2]
mov dword [rbx + rcx*8 + 0x10], r10d
test r11d, r11d
jns 0x1401d6b4b
mov qword [rbx + 0x18], r12
mov dword [rbx + 0x10], r12d
mov qword [rbx + 0x30], r12
mov dword [rbx + 0x28], r12d
mov qword [rbx + 0x48], r12
mov dword [rbx + 0x40], r12d
mov qword [rbx + 0x60], r12
mov dword [rbx + 0x58], r12d
mov qword [rbx + 0x78], r12
mov dword [rbx + 0x70], r12d
jmp 0x1401d6bde
mov eax, r11d
sub r10d, edi
inc rax
mov r8d, r10d
lea rax, [rax + rax*2]
add qword [rbx + rax*8], r15
lea rax, [r15 + rsi]
imul rax, rax, 0x3e8
mov dword [rbx + 0x80], r11d
cqo
idiv qword [rbx + 0x88]
mov rbx, rax
cmp rax, r8
jle 0x1401d6bde
sub rbx, r8
mov eax, 0x2710
cmp rbx, rax
cmovg rbx, rax
test rbp, rbp
je 0x1401d6bd7
mov esi, dword [rbp + 0xd0]
test esi, esi
je 0x1401d6bd7
cmp ebx, esi
jb 0x1401d6bd7
nop dword [rax]
nop dword [rax + rax]
cmp ebx, esi
mov edi, esi
cmovb edi, ebx
mov ecx, edi
call sub.KERNEL32.dll_Sleep
mov rdx, r14
mov rcx, rbp
call fcn.1400c6c70
test al, al
jne 0x1401d6bd3
sub ebx, edi
jne 0x1401d6bb0
jmp 0x1401d6bde
mov al, 1
jmp 0x1401d6be0
mov ecx, ebx
call sub.KERNEL32.dll_Sleep
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret