Function at 0x10064fe90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x78
mov rbx, rcx
mov rcx, qword [0x10072c7f8]
mov esi, edx
call sym.vim.exe_channel_can_write_to
test eax, eax
jne 0x1006501d0
movzx eax, byte [rbx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
lea rcx, [rbx + 1]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
cmp al, 0x3d
je 0x1006501a9
cmp al, 0x3a
jne 0x100650190
lea r13, [rbx + 1]
mov edx, 0x3a
mov rcx, r13
mov qword [rsp + 0x38], r13
call sub.msys_2.0.dll_strchr
test rax, rax
je 0x100650210
mov byte [rax], 0
lea r14, [rax + 1]
mov edx, 0x3a
xor r12d, r12d
mov rcx, r14
mov qword [rsp + 0x40], r14
call sub.msys_2.0.dll_strchr
test rax, rax
je 0x10064ff3a
lea r12, [rax + 1]
mov byte [rax], 0
mov qword [rsp + 0x48], r12
cmp byte [rbx + 1], 0
je 0x100650288
test r12, r12
je 0x10065023e
test r13, r13
je 0x10064ff5f
mov rcx, r13
call sym.vim.exe_vim_strsave
mov qword [rsp + 0x38], rax
test r14, r14
je 0x10064ff71
mov rcx, r14
call sym.vim.exe_vim_strsave
mov qword [rsp + 0x40], rax
test r12, r12
je 0x10064ff86
mov rcx, r12
call sym.vim.exe_vim_strsave
mov qword [rsp + 0x48], rax
mov r12, rax
mov r13, qword [rsp + 0x38]
test r13, r13
je 0x10064ff97
cmp byte [r13], 0
jne 0x10064ffb3
mov rcx, r13
call sym.vim.exe_vim_free
lea rcx, str.localhost
call sym.vim.exe_vim_strsave
mov qword [rsp + 0x38], rax
mov r13, rax
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x10064ffc3
cmp byte [r14], 0
jne 0x10064ffdf
mov rcx, r14
call sym.vim.exe_vim_free
lea rcx, str.3219
call sym.vim.exe_vim_strsave
mov qword [rsp + 0x40], rax
mov r14, rax
test r12, r12
je 0x10064ffeb
cmp byte [r12], 0
jne 0x100650007
mov rcx, r12
call sym.vim.exe_vim_free
lea rcx, str.changeme
call sym.vim.exe_vim_strsave
mov qword [rsp + 0x48], rax
mov r12, rax
test r13, r13
je 0x1006500f0
test r14, r14
je 0x1006500f0
test r12, r12
je 0x1006500f0
mov rcx, r14
call fcn.100672ad0
lea r9, [0x10064c6c0]
mov r8d, 0xbb8
mov rcx, r13
mov edx, eax
call sym.vim.exe_channel_open
mov qword [0x10072c7f8], rax
test rax, rax
je 0x1006500fc
lea rbx, [rsp + 0x50]
mov r9, r12
mov edx, 0x20
lea r8, str.AUTH__s_n
mov rcx, rbx
call sym.vim.exe_vim_snprintf
mov r15, qword [0x10072c7f8]
test r15, r15
je 0x10065009d
mov rcx, rbx
call sub.msys_2.0.dll_strlen
lea rdx, str.netbeans_connect
mov r8, rbx
mov rcx, r15
mov qword [rsp + 0x20], rdx
mov r9d, eax
xor edx, edx
call sym.vim.exe_channel_send
lea rax, [0x1006e94bb]
lea r9, str.0:version0___s__n
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r8d, 0x20
call sub.msys_2.0.dll___sprintf_chk
mov r15, qword [0x10072c7f8]
test r15, r15
je 0x1006500fc
mov rcx, rbx
call sub.msys_2.0.dll_strlen
lea rdx, str.externaleditor_version
mov r8, rbx
mov rcx, r15
mov qword [rsp + 0x20], rdx
mov r9d, eax
xor edx, edx
call sym.vim.exe_channel_send
mov r15, qword [0x10072c7f8]
test r15, r15
jne 0x100650104
test esi, esi
jne 0x100650260
mov rcx, r13
call sym.vim.exe_vim_free
mov rcx, r14
call sym.vim.exe_vim_free
mov rcx, r12
call sym.vim.exe_vim_free
mov rcx, qword [0x10072c7f8]
call sym.vim.exe_channel_can_write_to
test eax, eax
je 0x1006501f8
mov rcx, qword [0x10072c7f8]
test rcx, rcx
je 0x10065015c
lea rax, str.netbeans_startup_done
mov r9d, 0x10
lea r8, str.0:startupDone0_n
xor edx, edx
mov qword [rsp + 0x20], rax
call sym.vim.exe_channel_send
call sym.vim.exe_changed_window_setting
mov ecx, 0x32
call sym.vim.exe_update_screen
call sym.vim.exe_setcursor
call sym.vim.exe_cursor_on
xor edx, edx
mov ecx, 1
add rsp, 0x78
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.vim.exe_out_flush_cursor
lea rcx, str.__NETBEANS_CONINFO
call sub.msys_2.0.dll_getenv
mov rcx, rax
test rax, rax
je 0x100650216
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
call fcn.10064cdb0
test eax, eax
je 0x1006501f8
mov r12, qword [rsp + 0x48]
jmp 0x10064ff86
mov rcx, qword [sym.vim.exe_e_netbeans_already_connected]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
add rsp, 0x78
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.vim.exe_emsg
add rsp, 0x78
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rbx + 1], 0
jne 0x10065026f
lea rcx, str.__NETBEANS_HOST
call sub.msys_2.0.dll_getenv
lea rcx, str.__NETBEANS_SOCKET
mov qword [rsp + 0x38], rax
mov r13, rax
call sub.msys_2.0.dll_getenv
mov qword [rsp + 0x40], rax
mov r14, rax
lea rcx, str.__NETBEANS_VIM_PASSWORD
call sub.msys_2.0.dll_getenv
mov qword [rsp + 0x48], rax
mov r12, rax
jmp 0x10064ff4d
mov ecx, 1
call sym.vim.exe_getout
jmp 0x100650104
lea rcx, str.__NETBEANS_SOCKET
call sub.msys_2.0.dll_getenv
mov qword [rsp + 0x40], rax
mov r14, rax
jmp 0x10065023e
lea rcx, str.__NETBEANS_HOST
call sub.msys_2.0.dll_getenv
mov qword [rsp + 0x38], rax
mov r13, rax
jmp 0x10064ff44