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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x88], 0
mov r15, r9
mov rbp, r8
mov r12d, edx
mov rbx, rcx
je 0x140247b5e
test edx, edx
je 0x140247b5e
xor r13d, r13d
mov esi, r13d
mov edi, r13d
call sub.KERNEL32.dll_GetTickCount
cmp eax, 0x1388
jb 0x140247a18
mov rcx, qword [rbx + 0x18]
lea edx, [rax - 0x1388]
test rcx, rcx
je 0x140247960
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x140247960
cmp eax, edx
jae 0x14024795b
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x10], r13d
jmp 0x140247960
mov edi, eax
mov rsi, rcx
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14024798e
mov eax, dword [rbx + 0x28]
test eax, eax
je 0x14024798e
cmp eax, edx
jae 0x14024797e
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x28], r13d
jmp 0x14024798e
test edi, edi
jne 0x140247986
mov edi, eax
jmp 0x14024798b
cmp eax, edi
cmovb edi, eax
add rsi, rcx
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1402479bc
mov eax, dword [rbx + 0x40]
test eax, eax
je 0x1402479bc
cmp eax, edx
jae 0x1402479ac
mov qword [rbx + 0x48], r13
mov dword [rbx + 0x40], r13d
jmp 0x1402479bc
test edi, edi
jne 0x1402479b4
mov edi, eax
jmp 0x1402479b9
cmp eax, edi
cmovb edi, eax
add rsi, rcx
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1402479ea
mov eax, dword [rbx + 0x58]
test eax, eax
je 0x1402479ea
cmp eax, edx
jae 0x1402479da
mov qword [rbx + 0x60], r13
mov dword [rbx + 0x58], r13d
jmp 0x1402479ea
test edi, edi
jne 0x1402479e2
mov edi, eax
jmp 0x1402479e7
cmp eax, edi
cmovb edi, eax
add rsi, rcx
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140247a18
mov eax, dword [rbx + 0x70]
test eax, eax
je 0x140247a18
cmp eax, edx
jae 0x140247a08
mov qword [rbx + 0x78], r13
mov dword [rbx + 0x70], r13d
jmp 0x140247a18
test edi, edi
jne 0x140247a10
mov edi, eax
jmp 0x140247a15
cmp eax, edi
cmovb edi, eax
add rsi, rcx
call sub.KERNEL32.dll_GetTickCount
mov r10d, eax
cmp eax, edi
jb 0x140247aaa
mov r11d, 0xffffffff
lea rcx, [rbx + 0x10]
mov r9d, r13d
mov r8, r13
mov edx, dword [rcx]
test edx, edx
je 0x140247a58
cmp r10d, edx
jae 0x140247a4c
mov dword [rcx], r13d
mov qword [rcx + 8], r13
jmp 0x140247a58
mov eax, r10d
sub eax, edx
cmp eax, 0x3e8
jbe 0x140247a6a
inc r9d
inc r8
add rcx, 0x18
cmp r8, 5
jl 0x140247a38
jmp 0x140247a72
mov r11d, r9d
test r9d, r9d
jns 0x140247ad7
mov edx, r13d
lea rax, [rbx + 0x10]
mov rcx, r13
nop dword [rax]
cmp dword [rax], r13d
je 0x140247a96
inc edx
inc rcx
add rax, 0x18
cmp rcx, 5
jl 0x140247a80
jmp 0x140247aa5
movsxd rax, edx
mov r11d, edx
lea rcx, [rax + rax*2]
mov dword [rbx + rcx*8 + 0x10], r10d
test r11d, r11d
jns 0x140247ad7
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x10], r13d
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x28], r13d
mov qword [rbx + 0x48], r13
mov dword [rbx + 0x40], r13d
mov qword [rbx + 0x60], r13
mov dword [rbx + 0x58], r13d
mov qword [rbx + 0x78], r13
mov dword [rbx + 0x70], r13d
jmp 0x140247b5e
mov eax, r11d
sub r10d, edi
inc rax
mov r8d, r10d
lea rax, [rax + rax*2]
add qword [rbx + rax*8], r12
lea rax, [r12 + rsi]
imul rax, rax, 0x3e8
mov dword [rbx + 0x80], r11d
cqo
idiv qword [rbx + 0x88]
mov rbx, rax
cmp rax, r8
jle 0x140247b5e
sub rbx, r8
mov eax, 0x2710
cmp rbx, rax
cmovg rbx, rax
test rbp, rbp
je 0x140247b57
mov esi, dword [rbp + 0xd0]
test esi, esi
je 0x140247b57
cmp ebx, esi
jb 0x140247b57
cmp ebx, esi
mov edi, esi
cmovb edi, ebx
mov ecx, edi
call sub.KERNEL32.dll_Sleep
mov rdx, r15
mov rcx, rbp
call fcn.140145480
test al, al
jne 0x140247b53
sub ebx, edi
jne 0x140247b30
jmp 0x140247b5e
mov al, 1
jmp 0x140247b60
mov ecx, ebx
call sub.KERNEL32.dll_Sleep
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret