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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov eax, 0x1060
call fcn.1400d9ac0
sub rsp, rax
cmp byte [0x14012815c], 0
mov rbx, rdx
mov rsi, rcx
jne 0x140018df7
cmp dword [0x140125fa8], 0
mov qword [rsp + 0x1070], rbp
mov qword [rsp + 0x1078], rdi
jne 0x140018bbb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140125fa8], eax
inc dword [0x140128158]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x140128158]
xor ebp, ebp
mov edx, dword [0x14011fb34]
mov ecx, eax
sub ecx, dword [0x140125fa8]
cmp r9d, dword [0x14011fb38]
mov dword [0x140125fa4], eax
jbe 0x140018bf4
lea edi, [rbp + 1]
cmp ecx, edx
jb 0x140018bf6
mov edi, ebp
test edi, edi
je 0x140018cc8
mov dword [rsp + 0x20], ecx
lea r8, [0x1401011b0]
lea rcx, [rsp + 0x60]
mov edx, 0x800
call fcn.14009c880
movzx r9d, word [0x140125e14]
mov r8d, ebp
cmp bp, r9w
jae 0x140018c75
mov rdx, rbp
nop dword [rax]
mov rax, qword [0x140125f90]
mov rcx, qword [rdx + rax]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x140018c65
nop dword [rax]
nop dword [rax + rax]
mov byte [rax + 0x2f], bpl
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140018c50
movzx r9d, word [0x140125e14]
inc r8d
movzx eax, r9w
add rdx, 8
cmp r8d, eax
jl 0x140018c30
xor r8d, r8d
mov byte [0x14012815c], 1
xorps xmm3, xmm3
mov dword [0x14011f180], ebp
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rbp
lea edx, [r8 + 4]
call fcn.1400a34f0
cmp eax, 7
jne 0x140018caf
lea edx, [rax - 3]
lea rcx, [0x140127620]
call fcn.1400475b0
mov eax, dword [0x140125fa4]
mov dword [0x14011f180], 1
mov byte [0x14012815c], bpl
jmp 0x140018ccc
cmp ecx, edx
jbe 0x140018ce0
mov dword [0x140128158], ebp
mov dword [0x140125fa8], eax
test edi, edi
jne 0x140018de7
movzx eax, byte [rsi + 0xf]
mov byte [0x140127d7e], al
inc byte [rbx + 0x2a]
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a60]
mov rax, qword [rsi + 0x20]
mov rdi, qword [0x140127ce8]
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140018d26
call fcn.140007ba8
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a50]
jb 0x140018d40
mov rax, qword [0x140127cd8]
mov qword [rcx], rax
mov rcx, qword [0x140121a58]
add rcx, 0x18
mov byte [rsp + 0x38], bpl
mov qword [0x140121a58], rcx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov qword [rcx], rbp
mov qword [rcx + 8], rdi
mov dword [rcx + 0x10], ebp
mov rcx, qword [rbx]
mov rdx, rcx
call fcn.14008c560
mov rcx, qword [0x140121a58]
sub rcx, 0x18
cmp rcx, qword [0x140121a50]
mov qword [0x140121a58], rcx
jb 0x140018da6
mov rcx, qword [rcx]
mov qword [0x140121a78], rcx
mov qword [0x140127cd8], rcx
dec byte [rbx + 0x2a]
test eax, eax
jne 0x140018db3
mov byte [rbx + 0x2f], bpl
jmp 0x140018de7
cmp byte [rbx + 0x2f], bpl
je 0x140018de7
mov byte [rbx + 0x2f], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x20]
cmp eax, 0x3e8
ja 0x140018de7
movzx r8d, word [rsi + 4]
xor r9d, r9d
mov rcx, qword [0x140125b28]
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbp, qword [rsp + 0x1070]
mov rdi, qword [rsp + 0x1078]
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1060
pop rsi
ret