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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rbp + 0xf], rax
movsxd rdi, r9d
mov rbx, r8
mov r13, rdx
mov qword [rbp - 0x39], rdx
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x11], rax
mov dword [rbp - 9], eax
lea r8, [rbp - 0x11]
mov edx, edi
mov rcx, rbx
call fcn.140007ea0
mov esi, eax
test eax, eax
jne 0x140009298
lea r8, [rbp - 0x11]
mov edx, edi
mov rcx, rbx
call fcn.1400080b0
mov esi, eax
test eax, eax
jne 0x140009298
lea rcx, [rbx + rdi]
cmp byte [rbx], 0x1b
jne 0x1400096f1
lea rsi, [rbx + 1]
cmp rsi, rcx
jne 0x14000920e
lea esi, [rax - 1]
jmp 0x140009298
cmp byte [rsi], 0x5b
jne 0x1400096f1
inc rsi
cmp rsi, rcx
jne 0x140009226
mov esi, 0xffffffff
jmp 0x140009298
cmp byte [rsi], 0x4d
jne 0x1400096f1
inc rsi
cmp rsi, rcx
jne 0x14000923e
mov esi, 0xffffffff
jmp 0x140009298
movsx eax, byte [rsi]
sub eax, 0x20
movzx eax, al
mov dword [rbp - 0xd], eax
inc rsi
cmp rsi, rcx
jne 0x140009259
mov esi, 0xffffffff
jmp 0x140009298
movsx eax, byte [rsi]
sub ax, 0x21
mov edx, 0xff
and ax, dx
mov word [rbp - 9], ax
inc rsi
cmp rsi, rcx
jne 0x14000927b
mov esi, 0xffffffff
jmp 0x140009298
movsx eax, byte [rsi]
sub ax, 0x21
and ax, dx
mov word [rbp - 7], ax
mov byte [rbp - 0x11], 0
sub esi, ebx
add esi, 1
je 0x1400096f1
mov r12d, esi
test esi, esi
jle 0x1400096f4
call fcn.140014330
mov ebx, 4
test al, al
je 0x14000936b
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140046e8c], eax
jle 0x1400092ff
lea rcx, [0x140046e8c]
call fcn.140017ea8
cmp dword [0x140046e8c], 0xffffffff
jne 0x1400092ff
lea rcx, str.input
call fcn.1400143d0
mov byte [0x140046e7c], al
lea rcx, [0x140046e8c]
call fcn.140017e48
cmp byte [0x140046e7c], 0
je 0x14000936b
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.140007cc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140009320
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.mouse_input:__s
call fcn.1400149c0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14000936b
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009366
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009736
call fcn.140017cec
mov r9d, dword [rbp - 0xd]
mov r10d, r9d
and r10d, 3
xorps xmm0, xmm0
xor r15d, r15d
movups xmmword [rbp - 0x31], xmm0
mov dword [rbp - 0x21], r15d
mov edi, 2
mov word [rbp - 0x31], di
movzx r8d, word [r14 + 0xec]
movzx eax, word [r14 + 0xf0]
sub ax, r8w
inc ax
movsx ecx, ax
dec ecx
mov dword [rbp - 0x49], ecx
movsx eax, word [rbp - 9]
mov dword [rbp - 0x45], eax
lea rdx, [rbp - 0x49]
lea r11, [rbp - 0x45]
cmp ecx, eax
cmovge rdx, r11
xor r12d, r12d
mov dword [rbp - 0x41], r12d
lea rax, [rbp - 0x41]
cmp dword [rdx], r12d
cmovg rax, rdx
add r8w, word [rax]
mov word [rbp - 0x2d], r8w
movzx r8d, word [r14 + 0xee]
movzx eax, word [r14 + 0xf2]
sub ax, r8w
inc ax
movsx ecx, ax
dec ecx
mov dword [rbp - 0x41], ecx
movsx eax, word [rbp - 7]
mov dword [rbp - 0x45], eax
lea rdx, [rbp - 0x41]
lea r11, [rbp - 0x45]
cmp ecx, eax
cmovge rdx, r11
mov dword [rbp - 0x49], r12d
lea rax, [rbp - 0x49]
cmp dword [rdx], r12d
cmovg rax, rdx
add r8w, word [rax]
mov word [rbp - 0x2b], r8w
mov eax, dword [rbp - 0x25]
test r9b, 4
je 0x140009437
or eax, 0x10
mov dword [rbp - 0x25], eax
test byte [rbp - 0xd], 8
je 0x140009442
or eax, edi
mov dword [rbp - 0x25], eax
test byte [rbp - 0xd], 0x10
je 0x14000944e
or eax, 8
mov dword [rbp - 0x25], eax
test byte [rbp - 0xd], 0x40
je 0x140009483
or r15d, 4
mov dword [rbp - 0x21], r15d
test r10d, r10d
jne 0x14000946d
or dword [rbp - 0x29], 0x780000
jmp 0x1400095d8
cmp r10d, 1
jne 0x1400096ed
or dword [rbp - 0x29], 0xff880000
jmp 0x1400095d8
test byte [rbp - 0xd], 0x20
je 0x140009491
or r15d, 1
mov dword [rbp - 0x21], r15d
cmp r10d, 3
jne 0x1400094ab
mov dword [r14 + 0xd4], r12d
mov byte [r14 + 0xe4], 1
jmp 0x1400095d8
test r10d, r10d
jne 0x1400094e9
lea r13d, [r10 + 1]
mov ecx, dword [r14 + 0xd4]
cmp byte [rbp - 0x11], r12b
je 0x14000952f
mov eax, r13d
not eax
and eax, ecx
mov dword [r14 + 0xd4], eax
cmp r13d, dword [r14 + 0xd8]
mov r13, qword [rbp - 0x39]
jne 0x140009507
mov byte [r14 + 0xe4], 1
jmp 0x1400095d8
cmp r10d, 1
jne 0x1400094f5
lea r13d, [r10 + 3]
jmp 0x1400094b4
mov r13d, r12d
cmp r10d, edi
cmove r13d, edi
jne 0x14000971d
jmp 0x1400094b4
movups xmmword [rbp - 0x11], xmm0
mov dword [r14 + 0xd8], r12d
mov eax, dword [rbp - 0xd]
mov dword [r14 + 0xdc], eax
mov dword [r14 + 0xe0], r12d
mov byte [r14 + 0xe4], r12b
jmp 0x1400095d8
test r13d, ecx
jne 0x1400095d4
or ecx, r13d
mov dword [r14 + 0xd4], ecx
mov ebx, dword [rbp - 9]
cmp dword [r14 + 0xd8], r13d
jne 0x1400095b4
movzx eax, word [rbp - 9]
cmp word [r14 + 0xdc], ax
jne 0x1400095b4
mov eax, ebx
shr eax, 0x10
cmp word [r14 + 0xde], ax
jne 0x1400095b4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, dword [r14 + 0xe0]
call qword [sym.imp.USER32.dll_GetDoubleClickTime]
cmp edi, eax
jae 0x1400095b4
or r15d, 2
mov dword [rbp - 0x21], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov dword [r14 + 0xd8], r12d
mov eax, dword [rbp - 0xd]
mov dword [r14 + 0xdc], eax
mov dword [r14 + 0xe0], r12d
mov byte [r14 + 0xe4], r12b
jmp 0x1400095cf
mov dword [r14 + 0xd8], r13d
mov dword [r14 + 0xdc], ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r14 + 0xe0], eax
mov ebx, 4
mov r13, qword [rbp - 0x39]
mov eax, dword [r14 + 0xd4]
or dword [rbp - 0x29], eax
cmp byte [r14 + 0xe9], r12b
je 0x1400096ed
cmp byte [r14 + 0xea], r12b
jne 0x1400096ed
call fcn.140014330
test al, al
je 0x1400096c3
mov r8d, ebx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [r8 + rdx]
cmp dword [0x140046e70], eax
jle 0x140009657
lea rcx, [0x140046e70]
call fcn.140017ea8
cmp dword [0x140046e70], 0xffffffff
jne 0x140009657
lea rcx, str.input
call fcn.1400143d0
mov byte [0x140046e7f], al
lea rcx, [0x140046e70]
call fcn.140017e48
cmp byte [0x140046e7f], 0
je 0x1400096c3
lea rdx, [rbp - 0x2d]
lea rcx, [rbp - 0x11]
call fcn.14000b620
nop
cmp qword [rax + 0x18], 0x10
jb 0x140009678
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.mouse_event:__s
call fcn.1400149c0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400096bf
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009717
call fcn.140017cec
mov r15d, dword [rbp - 0x21]
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x1400096e1
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], r15d
add qword [r13 + 8], 0x14
mov eax, esi
jmp 0x1400096f7
lea r8, [rbp - 0x31]
mov rcx, r13
call fcn.14000a380
mov eax, esi
jmp 0x1400096f7
xor r12d, r12d
mov eax, r12d
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140017c90
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001e704
int3
lea r8, str.relevantFlag___0
mov edx, 0x227
lea rcx, str.D:_a_arduino_ide_arduino_ide_node_modules_node_ptydepswinpty_src_agentConsoleInput.cc
call fcn.1400178c0
int3
call fcn.14001e704
int3