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

Disassembly:
jmp 0x1400128e0
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 [0x1400cb008]
xor rax, rsp
mov qword [rbp + 0xf], rax
movsxd rdi, r9d
mov rbx, r8
mov r13, rdx
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], eax
lea r8, [rbp - 0x49]
mov edx, edi
mov rcx, rbx
call fcn.140011ee0
mov esi, eax
test eax, eax
jne 0x1400129f4
lea r8, [rbp - 0x49]
mov edx, edi
mov rcx, rbx
call fcn.140012170
mov esi, eax
test eax, eax
jne 0x1400129f4
lea rcx, [rbx + rdi]
cmp byte [rbx], 0x1b
jne 0x140012e18
lea rsi, [rbx + 1]
cmp rsi, rcx
jne 0x14001296a
lea esi, [rax - 1]
jmp 0x1400129f4
cmp byte [rsi], 0x5b
jne 0x140012e18
inc rsi
cmp rsi, rcx
jne 0x140012982
mov esi, 0xffffffff
jmp 0x1400129f4
cmp byte [rsi], 0x4d
jne 0x140012e18
inc rsi
cmp rsi, rcx
jne 0x14001299a
mov esi, 0xffffffff
jmp 0x1400129f4
movsx eax, byte [rsi]
sub eax, 0x20
movzx eax, al
mov dword [rbp - 0x45], eax
inc rsi
cmp rsi, rcx
jne 0x1400129b5
mov esi, 0xffffffff
jmp 0x1400129f4
movsx eax, byte [rsi]
sub ax, 0x21
mov edx, 0xff
and ax, dx
mov word [rbp - 0x41], ax
inc rsi
cmp rsi, rcx
jne 0x1400129d7
mov esi, 0xffffffff
jmp 0x1400129f4
movsx eax, byte [rsi]
sub ax, 0x21
and ax, dx
mov word [rbp - 0x3f], ax
mov byte [rbp - 0x49], 0
sub esi, ebx
add esi, 1
je 0x140012e18
mov r15d, esi
test esi, esi
jle 0x140012e1b
call fcn.140003396
mov r12d, 0x104
mov ebx, dword [0x1400cc4e8]
test al, al
je 0x140012aa1
mov rax, qword gs:[0x58]
mov rax, qword [rax + rbx*8]
mov ecx, dword [r12 + rax]
cmp dword [0x1400cc45c], ecx
jg 0x140012e44
cmp byte [0x1400cc458], 0
je 0x140012aa1
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140013080
nop
cmp qword [rax + 0x18], 0x10
jb 0x140012a56
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.mouse_input:__s
call fcn.140004610
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140012aa1
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e80
call fcn.140003b75
mov r9d, dword [rbp - 0x45]
mov r10d, r9d
and r10d, 3
xorps xmm0, xmm0
xor r11d, r11d
movups xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], r11d
mov eax, 2
mov word [rbp - 0x29], ax
movzx r8d, word [r14 + 0xec]
movzx eax, word [r14 + 0xf0]
sub ax, r8w
inc ax
movsx ecx, ax
dec ecx
mov dword [rbp - 0x39], ecx
movsx eax, word [rbp - 0x41]
mov dword [rbp - 0x35], eax
xor r15d, r15d
mov dword [rbp - 0x31], r15d
lea rdx, [rbp - 0x39]
lea rdi, [rbp - 0x35]
cmp ecx, eax
cmovge rdx, rdi
lea rax, [rbp - 0x31]
cmp dword [rdx], r11d
cmovg rax, rdx
add r8w, word [rax]
mov word [rbp - 0x25], r8w
movzx r8d, word [r14 + 0xee]
movzx eax, word [r14 + 0xf2]
sub ax, r8w
inc ax
movsx ecx, ax
dec ecx
mov dword [rbp - 0x31], ecx
movsx eax, word [rbp - 0x3f]
mov dword [rbp - 0x35], eax
mov dword [rbp - 0x39], r15d
lea rdx, [rbp - 0x31]
lea rdi, [rbp - 0x35]
cmp ecx, eax
cmovge rdx, rdi
lea rax, [rbp - 0x39]
cmp dword [rdx], r11d
cmovg rax, rdx
add r8w, word [rax]
mov word [rbp - 0x23], r8w
mov eax, dword [rbp - 0x1d]
test r9b, 4
je 0x140012b6d
or eax, 0x10
mov dword [rbp - 0x1d], eax
test byte [rbp - 0x45], 8
je 0x140012b79
or eax, 2
mov dword [rbp - 0x1d], eax
test byte [rbp - 0x45], 0x10
je 0x140012b85
or eax, 8
mov dword [rbp - 0x1d], eax
test byte [rbp - 0x45], 0x40
je 0x140012bba
or r11d, 4
mov dword [rbp - 0x19], r11d
test r10d, r10d
jne 0x140012ba4
or dword [rbp - 0x21], 0x780000
jmp 0x140012d2d
cmp r10d, 1
jne 0x140012e14
or dword [rbp - 0x21], 0xff880000
jmp 0x140012d2d
test byte [rbp - 0x45], 0x20
je 0x140012bc8
or r11d, 1
mov dword [rbp - 0x19], r11d
cmp r10d, 3
jne 0x140012be2
mov dword [r14 + 0xd4], r15d
mov byte [r14 + 0xe4], 1
jmp 0x140012d2d
test r10d, r10d
jne 0x140012bed
lea r12d, [r10 + 1]
jmp 0x140012c23
cmp r10d, 1
jne 0x140012bf9
lea r12d, [r10 + 3]
jmp 0x140012c23
mov r12d, r15d
cmp r10d, 2
mov eax, 2
cmove r12d, eax
je 0x140012c23
lea r8, str.relevantFlag___0
mov edx, 0x227
lea rcx, str.D:_a_arduino_ide_arduino_ideelectron_build_node_modules_node_ptydepswinpty_src_agentConsoleInput.cc
call fcn.1400040b1
mov ecx, dword [r14 + 0xd4]
cmp byte [rbp - 0x49], r15b
je 0x140012c85
mov eax, r12d
not eax
and eax, ecx
mov dword [r14 + 0xd4], eax
cmp r12d, dword [r14 + 0xd8]
mov r12d, 0x104
jne 0x140012c5a
mov byte [r14 + 0xe4], 1
jmp 0x140012d2d
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov dword [r14 + 0xd8], r15d
mov eax, dword [rbp - 0x45]
mov dword [r14 + 0xdc], eax
mov dword [r14 + 0xe0], r15d
mov byte [r14 + 0xe4], r15b
jmp 0x140012d2d
test r12d, ecx
jne 0x140012d27
or ecx, r12d
mov dword [r14 + 0xd4], ecx
mov ebx, dword [rbp - 0x41]
cmp dword [r14 + 0xd8], r12d
jne 0x140012d06
movzx eax, word [rbp - 0x41]
cmp word [r14 + 0xdc], ax
jne 0x140012d06
mov eax, ebx
shr eax, 0x10
cmp word [r14 + 0xde], ax
jne 0x140012d06
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 0x140012d06
or dword [rbp - 0x19], 2
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov dword [r14 + 0xd8], r15d
mov eax, dword [rbp - 0x45]
mov dword [r14 + 0xdc], eax
mov dword [r14 + 0xe0], r15d
mov byte [r14 + 0xe4], r15b
jmp 0x140012d21
mov dword [r14 + 0xd8], r12d
mov dword [r14 + 0xdc], ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r14 + 0xe0], eax
mov ebx, dword [0x1400cc4e8]
mov r12d, 0x104
mov eax, dword [r14 + 0xd4]
or dword [rbp - 0x21], eax
cmp byte [r14 + 0xe9], r15b
je 0x140012e14
cmp byte [r14 + 0xea], r15b
jne 0x140012e14
call fcn.140003396
test al, al
je 0x140012de8
mov r8d, ebx
mov rax, qword gs:[0x58]
mov edx, r12d
mov rax, qword [rax + r8*8]
mov edx, dword [rdx + rax]
cmp dword [0x1400cc464], edx
jg 0x140012e86
cmp byte [0x1400cc460], 0
je 0x140012de8
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x11]
call fcn.140002b58
nop
cmp qword [rax + 0x18], 0x10
jb 0x140012da1
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.mouse_event:__s
call fcn.140004610
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140012de8
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012de3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e3e
call fcn.140003b75
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x140012e08
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
mov eax, dword [rbp - 0x19]
mov dword [rdx + 0x10], eax
add qword [r13 + 8], 0x14
mov eax, esi
jmp 0x140012e1e
lea r8, [rbp - 0x29]
mov rcx, r13
call fcn.14000270c
mov eax, esi
jmp 0x140012e1e
xor r15d, r15d
mov eax, r15d
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400029d2
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000215d
int3
lea rcx, [0x1400cc45c]
call fcn.140003f49
cmp dword [0x1400cc45c], 0xffffffff
jne 0x140012a35
lea rcx, str.input
call fcn.140004746
mov byte [0x1400cc458], al
lea rcx, [0x1400cc45c]
call fcn.140004106
jmp 0x140012a35
call fcn.14000215d
int3
lea rcx, [0x1400cc464]
call fcn.140003f49
cmp dword [0x1400cc464], 0xffffffff
jne 0x140012d80
lea rcx, str.input
call fcn.140004746
mov byte [0x1400cc460], al
lea rcx, [0x1400cc464]
call fcn.140004106
jmp 0x140012d80