Function at 0x140009230
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 qword [rbp - 0x41], 0xfffffffffffffffe
mov rax, qword [0x140042010]
xor rax, rsp
mov qword [rbp + 7], rax
movsxd rdi, r9d
mov rbx, r8
mov r13, rdx
mov qword [rbp - 0x49], rdx
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], eax
lea r8, [rbp - 0x39]
mov edx, edi
mov rcx, rbx
call fcn.140007f60
mov esi, eax
test eax, eax
jne 0x140009350
lea r8, [rbp - 0x39]
mov edx, edi
mov rcx, rbx
call fcn.140008180
mov esi, eax
test eax, eax
jne 0x140009350
lea rcx, [rbx + rdi]
cmp byte [rbx], 0x1b
jne 0x140009780
lea rsi, [rbx + 1]
cmp rsi, rcx
jne 0x1400092c6
lea esi, [rax - 1]
jmp 0x140009350
cmp byte [rsi], 0x5b
jne 0x140009780
inc rsi
cmp rsi, rcx
jne 0x1400092de
mov esi, 0xffffffff
jmp 0x140009350
cmp byte [rsi], 0x4d
jne 0x140009780
inc rsi
cmp rsi, rcx
jne 0x1400092f6
mov esi, 0xffffffff
jmp 0x140009350
movsx eax, byte [rsi]
sub eax, 0x20
movzx eax, al
mov dword [rbp - 0x35], eax
inc rsi
cmp rsi, rcx
jne 0x140009311
mov esi, 0xffffffff
jmp 0x140009350
movsx eax, byte [rsi]
sub ax, 0x21
mov edx, 0xff
and ax, dx
mov word [rbp - 0x31], ax
inc rsi
cmp rsi, rcx
jne 0x140009333
mov esi, 0xffffffff
jmp 0x140009350
movsx eax, byte [rsi]
sub ax, 0x21
and ax, dx
mov word [rbp - 0x2f], ax
mov byte [rbp - 0x39], 0
sub esi, ebx
add esi, 1
je 0x140009780
mov r12d, esi
test esi, esi
jle 0x140009783
call fcn.140014120
mov ebx, 4
test al, al
je 0x140009423
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140043eac], eax
jle 0x1400093b7
lea rcx, [0x140043eac]
call fcn.14001777c
cmp dword [0x140043eac], 0xffffffff
jne 0x1400093b7
lea rcx, str.input
call fcn.1400141c0
mov byte [0x140043e9c], al
lea rcx, [0x140043eac]
call fcn.14001771c
cmp byte [0x140043e9c], 0
je 0x140009423
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.140007d70
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400093d8
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.mouse_input:__s
call fcn.1400146a0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140009423
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000941e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097c5
call fcn.140017530
mov r8d, dword [rbp - 0x35]
mov r9d, r8d
and r9d, 3
xor r15d, r15d
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov dword [rbp - 9], r15d
mov r10d, 2
mov word [rbp - 0x19], r10w
movzx edx, word [r14 + 0xec]
movzx eax, word [r14 + 0xf0]
sub ax, dx
inc ax
movsx ecx, ax
dec ecx
movsx eax, word [rbp - 0x31]
cmp ecx, eax
cmovge ecx, eax
xor r12d, r12d
test ecx, ecx
cmovle cx, r12w
add cx, dx
mov word [rbp - 0x15], cx
movzx edx, word [r14 + 0xee]
movzx eax, word [r14 + 0xf2]
sub ax, dx
inc ax
movsx ecx, ax
dec ecx
movsx eax, word [rbp - 0x2f]
cmp ecx, eax
cmovge ecx, eax
test ecx, ecx
cmovle cx, r12w
add cx, dx
mov word [rbp - 0x13], cx
mov eax, dword [rbp - 0xd]
test r8b, 4
je 0x1400094be
or eax, 0x10
mov dword [rbp - 0xd], eax
test byte [rbp - 0x35], 8
je 0x1400094ca
or eax, r10d
mov dword [rbp - 0xd], eax
test byte [rbp - 0x35], 0x10
je 0x1400094d6
or eax, 8
mov dword [rbp - 0xd], eax
test byte [rbp - 0x35], 0x40
je 0x14000950b
or r15d, 4
mov dword [rbp - 9], r15d
test r9d, r9d
jne 0x1400094f5
or dword [rbp - 0x11], 0x780000
jmp 0x140009667
cmp r9d, 1
jne 0x14000977c
or dword [rbp - 0x11], 0xff880000
jmp 0x140009667
test byte [rbp - 0x35], 0x20
je 0x140009519
or r15d, 1
mov dword [rbp - 9], r15d
cmp r9d, 3
jne 0x140009533
mov dword [r14 + 0xd4], r12d
mov byte [r14 + 0xe4], 1
jmp 0x140009667
test r9d, r9d
jne 0x140009568
lea r13d, [r9 + 1]
cmp byte [rbp - 0x39], r12b
je 0x1400095b4
mov eax, r13d
not eax
and dword [r14 + 0xd4], eax
cmp r13d, dword [r14 + 0xd8]
mov r13, qword [rbp - 0x49]
jne 0x140009586
mov byte [r14 + 0xe4], 1
jmp 0x140009667
cmp r9d, 1
jne 0x140009574
lea r13d, [r9 + 3]
jmp 0x14000953c
mov r13d, r12d
cmp r9d, r10d
cmove r13d, r10d
jne 0x1400097ac
jmp 0x14000953c
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov dword [r14 + 0xd8], r12d
mov eax, dword [rbp - 0x35]
mov dword [r14 + 0xdc], eax
mov dword [r14 + 0xe0], r12d
mov byte [r14 + 0xe4], r12b
jmp 0x140009667
mov eax, dword [r14 + 0xd4]
test r13d, eax
jne 0x140009663
or eax, r13d
mov dword [r14 + 0xd4], eax
mov ebx, dword [rbp - 0x31]
cmp dword [r14 + 0xd8], r13d
jne 0x140009643
movzx eax, word [rbp - 0x31]
cmp word [r14 + 0xdc], ax
jne 0x140009643
mov eax, ebx
shr eax, 0x10
cmp word [r14 + 0xde], ax
jne 0x140009643
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 0x140009643
or r15d, 2
mov dword [rbp - 9], r15d
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov dword [r14 + 0xd8], r12d
mov eax, dword [rbp - 0x35]
mov dword [r14 + 0xdc], eax
mov dword [r14 + 0xe0], r12d
mov byte [r14 + 0xe4], r12b
jmp 0x14000965e
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 - 0x49]
mov eax, dword [r14 + 0xd4]
or dword [rbp - 0x11], eax
cmp byte [r14 + 0xe9], r12b
je 0x14000977c
cmp byte [r14 + 0xea], r12b
jne 0x14000977c
call fcn.140014120
test al, al
je 0x140009752
mov r8d, ebx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [r8 + rdx]
cmp dword [0x140043e90], eax
jle 0x1400096e6
lea rcx, [0x140043e90]
call fcn.14001777c
cmp dword [0x140043e90], 0xffffffff
jne 0x1400096e6
lea rcx, str.input
call fcn.1400141c0
mov byte [0x140043e9f], al
lea rcx, [0x140043e90]
call fcn.14001771c
cmp byte [0x140043e9f], 0
je 0x140009752
lea rdx, [rbp - 0x15]
lea rcx, [rbp - 0x39]
call fcn.14000b6e0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140009707
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.mouse_event:__s
call fcn.1400146a0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14000974e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009749
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097a6
call fcn.140017530
mov r15d, dword [rbp - 9]
mov rdx, qword [r13 + 8]
cmp qword [r13 + 0x10], rdx
je 0x140009770
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], r15d
add qword [r13 + 8], 0x14
mov eax, esi
jmp 0x140009786
lea r8, [rbp - 0x19]
mov rcx, r13
call fcn.14000a630
mov eax, esi
jmp 0x140009786
xor r12d, r12d
mov eax, r12d
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400174d0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001bb5c
int3
lea r8, str.relevantFlag___0
mov edx, 0x227
lea rcx, str.d:mouxxuk8reloaded_release_app_node_modules_node_ptydepswinpty_src_agentconsoleinput.cc
call fcn.140017100
int3
call fcn.14001bb5c
int3