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

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x20]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18003f2a3
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
xor ebp, ebp
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1801c958c], 0x80
mov esi, eax
jne 0x18003f082
mov edx, dword [0x1801cd36c]
test edx, edx
je 0x18003f082
mov ecx, eax
sub ecx, edx
cmp ecx, 0xbb8
jb 0x18003f082
mov qword [0x1801c9578], rbp
call fcn.18003be60
mov dword [0x1801cd368], ebp
mov dword [0x1801cd36c], ebp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, qword [0x1801cebc8]
mov rdi, rax
cmp r9, rax
je 0x18003f0ce
lea rdx, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x50], ebp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x50], eax
jne 0x18003f0c7
inc dword [rbx + 0x94]
mov r9, rdi
mov qword [0x1801cebc8], rdi
jmp 0x18003f0ce
mov r9, qword [0x1801cebc8]
mov ecx, dword [0x1801df0a0]
test ecx, ecx
je 0x18003f124
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], esi
lea r9, str.CLINEThread::Run___d____d____x____x_
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x94]
lea r8, str.LINE
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x9c]
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x20], eax
call fcn.18008da50
mov r9, qword [0x1801cebc8]
mov ecx, dword [0x1801df0a0]
cmp dword [rbx + 0x9c], ebp
je 0x18003f14b
cmp dword [rbx + 0x94], ebp
je 0x18003f27a
mov eax, dword [rbx + 0x90]
add eax, 0x3e8
cmp esi, eax
jb 0x18003f27a
test ecx, ecx
je 0x18003f188
mov eax, dword [rbx + 0xa8]
lea r8, str.LINE
lea rcx, [0x1801de7b8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
lea r9, str.CLINEThread::Run_forewindow___x____d_
or edx, 0xffffffff
call fcn.18008da50
mov r9, qword [0x1801cebc8]
mov ecx, dword [0x1801df0a0]
test r9, r9
je 0x18003f27a
cmp dword [0x1801c958c], 0x8000000
jne 0x18003f261
cmp dword [rbx + 0xa8], ebp
jne 0x18003f27a
test ecx, ecx
je 0x18003f1df
mov eax, dword [0x1801cebc0]
lea r9, str.CLINEThread::Run____d_
lea r8, str.LINE
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x20], eax
call fcn.18008da50
mov r9, qword [0x1801cebc8]
cmp dword [rbx + 0x9c], ebp
je 0x18003f21f
mov eax, dword [rbx + 0xac]
mov dword [0x1801cebc0], ebp
add eax, 0xbb8
cmp esi, eax
jbe 0x18003f217
mov edx, dword [0x1801c1094]
mov rcx, qword [0x1801c9590]
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x18003f27a
mov dword [rbx + 0x94], ebp
jmp 0x18003f27a
cmp dword [0x1801cebc0], 3
jbe 0x18003f240
mov dword [rbx + 0x9c], 1
mov dword [rbx + 0x94], ebp
mov dword [0x1801cebc0], ebp
jmp 0x18003f27a
mov edx, dword [0x1801c1094]
mov rcx, qword [0x1801c9590]
mov r8d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [0x1801cebc0]
jmp 0x18003f27a
mov edx, dword [0x1801c1094]
mov rcx, qword [0x1801c9590]
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x20]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x18003f040
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x40
pop rbx
ret