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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov eax, 0x1060
call fcn.1400d9fd0
sub rsp, rax
cmp byte [0x14012815c], 0
mov rbx, rdx
mov rsi, rcx
jne 0x140018de7
cmp dword [0x140125fa8], 0
mov qword [rsp + 0x1070], rbp
mov qword [rsp + 0x1078], rdi
jne 0x140018bab
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 0x140018be4
lea edi, [rbp + 1]
cmp ecx, edx
jb 0x140018be6
mov edi, ebp
test edi, edi
je 0x140018cb8
mov dword [rsp + 0x20], ecx
lea r8, [0x1401011b0]
lea rcx, [rsp + 0x60]
mov edx, 0x800
call fcn.14009cd90
movzx r9d, word [0x140125e14]
mov r8d, ebp
cmp bp, r9w
jae 0x140018c65
mov rdx, rbp
nop dword [rax]
mov rax, qword [0x140125f90]
mov rcx, qword [rdx + rax]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x140018c55
nop dword [rax]
nop dword [rax + rax]
mov byte [rax + 0x2f], bpl
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140018c40
movzx r9d, word [0x140125e14]
inc r8d
movzx eax, r9w
add rdx, 8
cmp r8d, eax
jl 0x140018c20
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.1400a3a00
cmp eax, 7
jne 0x140018c9f
lea edx, [rax - 3]
lea rcx, [0x140127620]
call fcn.140047580
mov eax, dword [0x140125fa4]
mov dword [0x14011f180], 1
mov byte [0x14012815c], bpl
jmp 0x140018cbc
cmp ecx, edx
jbe 0x140018cd0
mov dword [0x140128158], ebp
mov dword [0x140125fa8], eax
test edi, edi
jne 0x140018dd7
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 0x140018d16
call fcn.140007ba8
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a50]
jb 0x140018d30
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.14008cad0
mov rcx, qword [0x140121a58]
sub rcx, 0x18
cmp rcx, qword [0x140121a50]
mov qword [0x140121a58], rcx
jb 0x140018d96
mov rcx, qword [rcx]
mov qword [0x140121a78], rcx
mov qword [0x140127cd8], rcx
dec byte [rbx + 0x2a]
test eax, eax
jne 0x140018da3
mov byte [rbx + 0x2f], bpl
jmp 0x140018dd7
cmp byte [rbx + 0x2f], bpl
je 0x140018dd7
mov byte [rbx + 0x2f], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x20]
cmp eax, 0x3e8
ja 0x140018dd7
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