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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
call fcn.140044488
xor r15d, r15d
mov esi, 1
test al, al
jne 0x14001c555
mov rcx, qword [0x14022a9e8]
lea edx, [rsi - 0x11]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1b
jae 0x14001c555
mov rcx, qword [0x14022a9e8]
mov edx, esi
call qword [sym.imp.USER32.dll_EnableWindow]
xor r9d, r9d
mov qword [rsp + 0x48], r15
lea r8, [rsp + 0x48]
mov rcx, rbx
lea rdx, str.OnTimer_Main
call fcn.14001de94
mov r13b, al
test al, al
je 0x14001c58f
cmp dword [rbx + 0x2654], r15d
jne 0x14001c58f
mov r8b, sil
mov dl, sil
mov rcx, rbx
call fcn.1400237c4
mov rcx, qword [0x14022a9e8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [0x14022ab50]
cmp byte [rcx + 0x10ffa], r15b
jne 0x14001c5c1
test al, 8
je 0x14001c5c1
lea rcx, [rbx + 0x260]
call fcn.140031c58
mov rcx, qword [rbx + 0x3e60]
call fcn.1400e5a08
call fcn.1401010c4
cmp dword [rbx + 0x47d8], r15d
jne 0x14001c601
cmp byte [rbx + 0x56eb], r15b
je 0x14001c611
cmp dword [0x14022ab70], r15d
jg 0x14001c611
mov rcx, rbx
call fcn.1400162d4
mov byte [rbx + 0x56eb], r15b
jmp 0x14001ca46
cmp byte [rbx + 0x56ec], r15b
jne 0x14001c611
mov byte [rbx + 0x56ec], r15b
call fcn.14010512c
call fcn.140108174
movzx r14d, al
mov dword [rsp + 0x40], r14d
cmp byte [rbx + 0x4788], r15b
je 0x14001c6e8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14022ab50]
sub eax, dword [rbx + 0x478c]
cmp eax, dword [rcx + 0x111f8]
jbe 0x14001c6e8
mov rcx, qword [rbx + 0x4780]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001c6da
test rbp, rbp
je 0x14001c6da
mov rcx, rbp
mov byte [rbx + 0x4788], r15b
call fcn.14010f780
mov rcx, rax
call fcn.1400a2658
mov edi, 0x22
mov rcx, rax
mov r8d, edi
mov r9d, 0x1510001
mov edx, 0x100
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbp
call fcn.14010f780
mov rcx, rax
call fcn.1400a2658
mov rcx, rax
mov r9d, 0xc1510001
mov r8d, edi
mov edx, 0x101
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.140108174
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x478c], eax
mov byte [rbx + 0x4788], sil
jmp 0x14001c6e8
mov qword [rbx + 0x4780], r15
mov byte [rbx + 0x4788], r15b
mov rcx, qword [rbx + 0x3e58]
test rcx, rcx
je 0x14001c6f9
call fcn.140062174
test r14d, r14d
jne 0x14001c71f
cmp byte [rbx + 0x4779], r15b
je 0x14001c71f
xor edx, edx
mov byte [rbx + 0x4779], r15b
xor ecx, ecx
call fcn.1401073a0
mov rcx, rbx
call fcn.140013710
lea rdi, [rbx + 0x260]
xor edx, edx
mov rcx, rdi
call fcn.14003b904
test al, al
jne 0x14001c765
test byte [rbx + 0x3ed0], 0x80
jne 0x14001c746
cmp byte [rbx + 0x3ed4], r15b
je 0x14001c75e
xor edx, edx
mov rcx, rdi
call fcn.14003ba80
test al, al
jne 0x14001c75e
xor edx, edx
mov rcx, rdi
call fcn.14003b198
call fcn.1401054d4
jmp 0x14001c775
cmp byte [rbx + 0x3ed4], r15b
je 0x14001c775
mov byte [rbx + 0x3ed4], r15b
mov rcx, qword [0x14022a9e0]
xor edx, edx
add rcx, 0x260
call fcn.14003b9dc
test al, al
je 0x14001c793
test r13b, r13b
jne 0x14001c7ad
cmp dword [rbx + 0x46c], r15d
je 0x14001c8d3
mov rcx, rdi
call fcn.14003b134
jmp 0x14001c8d3
xor edx, edx
mov rcx, rdi
call fcn.14003b904
test al, al
jne 0x14001c8d3
xor edx, edx
mov rcx, rdi
call fcn.14003ba80
test al, al
jne 0x14001c8d3
cmp dword [rbx + 0x414], 0x51f
jne 0x14001c8d3
mov dl, sil
mov rcx, rbx
call fcn.140026544
cmp dword [rbx + 0x46c], r15d
mov edx, r15d
movzx r14d, al
setne dl
cmp r14d, edx
je 0x14001c8ce
mov ecx, r15d
test al, al
mov edx, 3
setne cl
mov dword [rbx + 0x46c], ecx
mov rcx, qword [0x14022a9e8]
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x14022a9e8]
mov r15d, 4
mov edx, r15d
call qword [sym.imp.USER32.dll_KillTimer]
mov al, r14b
neg al
mov rax, qword [0x14022ab50]
sbb r12w, r12w
add r12w, r15w
test r14b, r14b
je 0x14001c85e
mov r15d, dword [rax + 0x10ff0]
jmp 0x14001c865
mov r15d, dword [rax + 0x10ff4]
test r15d, r15d
je 0x14001c8b7
mov rcx, qword [rbx + 0x3e70]
test rcx, rcx
je 0x14001c89b
test r14b, r14b
mov byte [rsp + 0x20], sil
lea rax, str.Timer_TIMER_CAPTION_APPEAR_ID_
mov r8b, sil
lea rdx, str.Timer_TIMER_CAPTION_DISAPPEAR_ID_
cmovne rdx, rax
xor r9d, r9d
call fcn.14011c0a8
mov rcx, qword [0x14022a9e8]
xor r9d, r9d
movzx edx, r12w
mov r8d, r15d
call qword [sym.imp.USER32.dll_SetTimer]
xor r15d, r15d
jmp 0x14001c8ce
xor r15d, r15d
mov rcx, rdi
test r14b, r14b
je 0x14001c8c9
call fcn.14003b0cc
jmp 0x14001c8ce
call fcn.14003b134
mov r14d, dword [rsp + 0x40]
test rbp, rbp
je 0x14001c953
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x11077], r15b
je 0x14001c8f2
test r13b, r13b
jne 0x14001c8f2
test r14d, r14d
je 0x14001c8f5
mov sil, r15b
cmp byte [rbp + 0x16a0], sil
je 0x14001c90d
mov rcx, rbx
mov byte [rbp + 0x16a0], sil
call fcn.140013710
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14001c936
mov rcx, rbp
call fcn.14010c714
cmp rdi, rax
jne 0x14001c936
mov rcx, rbp
call fcn.14010f780
mov rcx, rax
call fcn.1400a824c
jmp 0x14001c953
cmp byte [rbp + 0x30], r15b
je 0x14001c953
test r13b, r13b
je 0x14001c953
mov rcx, rbp
call fcn.14010f780
mov rcx, rax
xor edx, edx
call fcn.1400a80dc
cmp qword [rbx + 0x7a88], r15
je 0x14001c96f
cmp byte [rbx + 0x7a90], r15b
jne 0x14001c96f
xor edx, edx
mov rcx, rbx
call fcn.1400262c4
mov rcx, qword [rbx + 0x3e48]
call fcn.14006f48c
test eax, eax
je 0x14001c9f3
cmp qword [rbx + 0x3e68], r15
je 0x14001c9f3
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_WindowFromPoint]
test rax, rax
je 0x14001c9f3
mov r8d, 0x80
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x14001c9f3
lea rdx, str.VirtualConsoleClass
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001c9e7
lea rdx, str.VirtualConsoleClass
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14001c9f3
mov rcx, qword [rbx + 0x3e68]
call fcn.140121ba8
lea rax, str.TIMER_MAIN_ID
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
xor edx, edx
mov rcx, rbx
call fcn.140016900
mov rcx, qword [0x14022ab50]
test r14d, r14d
jne 0x14001ca41
cmp byte [rcx + 0x116a9], r15b
je 0x14001ca41
add rcx, 0x116a0
call fcn.1400fbf98
mov rcx, qword [0x14022ab50]
call fcn.14007ab84
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret