Function at 0x1400216c0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1400cb008]
xor rax, rsp
mov qword [rbp + 0x120], rax
call fcn.1400039e0
call fcn.140003774
xor r12d, r12d
mov dword [rsp + 0x30], r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
jne 0x14002172f
lea r8, str.cmdline___nullptr___GetCommandLineW_returned_NULL_
lea edx, [rax + 0x43]
lea rcx, str.D:_a_arduino_ide_arduino_ideelectron_build_node_modules_node_ptydepswinpty_src_agentmain.cc
call fcn.1400040b1
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
test rax, rax
jne 0x14002175b
lea r8, str.argv___nullptr___CommandLineToArgvW_returned_NULL_
lea edx, [rax + 0x45]
lea rcx, str.D:_a_arduino_ide_arduino_ideelectron_build_node_modules_node_ptydepswinpty_src_agentmain.cc
call fcn.1400040b1
mov rdi, 0xffffffffffffffff
mov r9d, dword [rsp + 0x30]
cmp r9d, 2
jne 0x1400217ae
mov rdx, qword [r14 + 8]
lea r8, str.__version
mov rcx, r12
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x1400217b0
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1400217b0
add rcx, 2
cmp rcx, 0xa
jne 0x140021780
call fcn.14000271b
xor eax, eax
jmp 0x140021d5d
jl 0x1400217e2
mov rdx, qword [r14 + 8]
lea r8, str.__show_input
mov rcx, rdi
nop
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1400217e2
add rcx, 2
cmp rcx, 0xd
je 0x14002182e
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x1400217c0
cmp r9d, 3
jne 0x140021911
mov rcx, qword [r14 + 0x10]
lea rdx, str.__create_desktop
nop word [rax + rax]
movzx eax, word [rcx + rdi*2 + 2]
cmp ax, word [rdx + rdi*2 + 2]
jne 0x140021917
add rdi, 2
cmp rdi, 0x11
je 0x140021901
movzx eax, word [rcx + rdi*2]
cmp ax, word [rdx + rdi*2]
jne 0x140021917
jmp 0x140021800
xor r10b, r10b
xor r8b, r8b
mov edx, 2
cmp r9d, edx
jle 0x1400218ed
add r14, 0x10
lea rsi, str.__with_mouse
lea r11, str.__escape_input
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [r14]
mov rcx, rdi
nop word [rax + rax]
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [rsi + rcx*2 + 2]
jne 0x140021890
add rcx, 2
cmp rcx, 0xd
je 0x1400218d6
movzx eax, word [rbx + rcx*2]
cmp ax, word [rsi + rcx*2]
je 0x140021870
mov rax, rdi
movzx ecx, word [rbx + rax*2 + 2]
cmp cx, word [r11 + rax*2 + 2]
jne 0x1400218b5
add rax, 2
cmp rax, 0xf
je 0x1400218db
movzx ecx, word [rbx + rax*2]
cmp cx, word [r11 + rax*2]
je 0x140021893
mov ecx, 2
call fcn.140004967
mov rcx, rax
mov r8, rbx
lea rdx, str.Unrecognized___show_input_option:__ls_n
call fcn.140003e2c
jmp 0x140021d58
mov r10b, 1
jmp 0x1400218de
mov r8b, 1
inc edx
add r14, 8
cmp edx, r9d
jl 0x140021860
movzx edx, r8b
movzx ecx, r10b
call fcn.140003ce7
xor eax, eax
jmp 0x140021d5d
mov rcx, qword [r14 + 8]
call fcn.140001db1
xor eax, eax
jmp 0x140021d5d
cmp r9d, 6
je 0x140021943
mov rbx, qword [r14]
mov ecx, 2
call fcn.140004967
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9, rbx
mov r8, rbx
lea rdx, str.Usage:__ls_controlPipeName_flags_mouseMode_cols_rows_nUsage:__ls_controlPipeName___create_desktop_n_nOrdinarily__this_program_is_launched_by_winpty.dll_and_is_not_directly_nuseful_to_winpty_users.__However__it_also_has_options_intended_for_ndebugging_winpty._n_nUsage:__ls__options__n_nOptions:_n____show_input____with_mouse_____escape_input__n___________________Dump_INPUT_RECORDs_from_the_console_input_buffer_n_____________________with_mouse:_Include_MOUSE_INPUT_RECORDs_in_the_dump_n_______________________output_n_____________________escape_input:_Direct_the_new_Windows_10_console_to_use_n_______________________escape_sequences_for_input_n____version________Print_the_winpty_version_n
call fcn.140003e2c
jmp 0x140021d58
mov rdx, qword [r14 + 0x28]
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140021960
lea rcx, [rbp - 0x68]
call fcn.14000454d
nop
mov rdx, qword [r14 + 0x20]
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x140021992
lea rcx, [rsp + 0x78]
call fcn.14000454d
nop
mov rdx, qword [r14 + 0x18]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400219d0
lea rcx, [rsp + 0x58]
call fcn.14000454d
nop
mov rdx, qword [r14 + 0x10]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140021a03
mov r8, rdi
lea rcx, [rsp + 0x38]
call fcn.14000454d
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x18]
call fcn.1400047d2
mov rdi, rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 8]
call fcn.1400047d2
mov rbx, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.1400047d2
mov r15, rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.1400047d2
nop
cmp qword [rdi + 0x18], 0x10
jb 0x140021a66
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 0x10
jb 0x140021a70
mov rbx, qword [rbx]
cmp qword [r15 + 0x18], 0x10
jb 0x140021a7a
mov r15, qword [r15]
cmp qword [rax + 0x18], 0x10
jb 0x140021a84
mov rax, qword [rax]
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, rax
call fcn.1400021df
mov rsi, rax
mov rcx, rdi
call fcn.14000184d
mov edi, eax
mov rcx, rbx
call fcn.14000184d
mov ebx, eax
mov rcx, r15
call fcn.14000184d
mov r9d, eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
mov r8, rsi
mov rdx, qword [r14 + 8]
lea rcx, [rbp + 0x40]
call fcn.140002c25
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140021b08
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021b03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d93
call fcn.140003b75
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140021b53
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021b4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d99
call fcn.140003b75
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140021b9e
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021b99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d9f
call fcn.140003b75
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140021be9
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021be4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021da5
call fcn.140003b75
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140021c3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021dab
call fcn.140003b75
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140021c91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021c8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021db1
call fcn.140003b75
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140021ce6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021ce1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021db7
call fcn.140003b75
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140021d34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021d2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021d8d
call fcn.140003b75
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
lea rcx, [rbp + 0x40]
call fcn.140004359
nop
lea rcx, [rbp + 0x40]
call fcn.140003eea
mov eax, 1
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400029d2
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000215d
nop
call fcn.14000215d
nop
call fcn.14000215d
nop
call fcn.14000215d
nop
call fcn.14000215d
nop
call fcn.14000215d
nop
call fcn.14000215d
nop
call fcn.14000215d
int3