Function at 0x140001990
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1028
call fcn.14007d570
sub rsp, rax
mov r14, r9
mov esi, r8d
mov rdi, rcx
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
cmp byte [rcx], 0x2d
jne 0x140001eda
mov rbx, rdx
lea rdx, str._load
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140001f69
lea rdx, str._ssh
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140001fa5
lea rdx, str._telnet
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002012
lea rdx, str._rlogin
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002109
lea rdx, str._raw
mov rcx, rdi
call fcn.14008c8e0
xor ebp, ebp
test eax, eax
je 0x14000216b
lea rdx, str._serial
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x14000225a
lea rdx, [0x1400aed29]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
jne 0x140001a83
test esi, esi
js 0x140002593
or byte [0x1400cd040], 1
mov ebp, 1
lea rdx, [0x1400b3835]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x1400022d0
lea rdx, [0x1400af09d]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002315
lea rdx, str._hostkey
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002408
lea rdx, [0x1400b7a20]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x14000235a
lea rdx, [0x1400b7622]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x14000235a
lea rdx, [0x1400b833b]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x14000235a
lea rdx, [0x1400b6c25]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x14000259d
lea rdx, [0x1400b3336]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002635
lea rdx, [0x1400b76cc]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002768
lea rdx, [0x1400aeb17]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x1400027b1
lea rdx, str._agent
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140001ba2
lea rdx, str._pagent
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140001ba2
lea rdx, str._pageant
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
jne 0x140001bd9
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0x1d
mov r8b, 1
call fcn.140003a71
mov ebp, 1
lea rdx, str._noagent
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140001c12
lea rdx, str._nopagent
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140001c12
lea rdx, str._nopageant
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
jne 0x140001c49
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0x1d
xor r8d, r8d
call fcn.140003a71
mov ebp, 1
lea rdx, str._share
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x1400028be
lea rdx, str._noshare
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002909
lea rdx, [0x1400b879e]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002956
lea rdx, [0x1400b6fee]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002992
lea rdx, [0x1400b71b2]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x1400029ce
lea rdx, [0x1400aeaf9]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002a0a
lea rdx, [0x1400afc40]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002a46
lea rdx, [0x1400b7403]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002a7e
lea rdx, [0x1400b78bc]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002aaa
lea rdx, [0x1400b85b7]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002ae6
lea rdx, [0x1400b9d5a]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x140002b22
xor ebp, ebp
test esi, esi
js 0x140002f8a
mov eax, dword [0x1400cac54]
test al, 4
je 0x140001efb
cmp byte [0x1400cac58], 0
je 0x140001fee
test al, 0x40
je 0x140002f8a
cmp byte [0x1400cac59], 0
jne 0x140002f8a
mov rcx, rdi
call fcn.14005f215
mov rsi, rax
lea rcx, [0x1400b76cc]
mov ebp, 1
mov rdx, rax
mov r8d, 1
mov r9, r14
call fcn.140001990
mov edi, eax
mov rcx, rsi
call fcn.1400118b0
cmp edi, 2
je 0x14000224e
lea rcx, str.retd__2
lea rdx, str..._cmdline.c
mov r8d, 0x180
call fcn.140088ff4
jmp 0x14000224e
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
mov rcx, rbx
mov rdx, r14
call fcn.140021a8d
mov byte [0x1400cdd00], 1
mov rcx, rbx
call fcn.14005f215
mov qword [0x1400cdd08], rax
jmp 0x140002f8a
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov dword [0x1400cd058], 3
mov dword [0x1400cd05c], 0x16
mov rcx, r14
mov edx, 2
mov r8d, 3
jmp 0x14000214d
test al, 0x20
je 0x14000206c
cmp byte [0x1400cdd00], 0
je 0x14000206c
mov rcx, r14
call fcn.1400145f4
test al, al
je 0x14000206c
mov eax, dword [0x1400cac54]
jmp 0x140001efb
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov dword [0x1400cd058], 1
mov dword [0x1400cd05c], 0x17
mov ebp, 1
mov rcx, r14
mov edx, 2
mov r8d, 1
call fcn.140003b70
mov r8d, dword [0x1400cd05c]
jmp 0x14000215e
lea rdx, str.telnet:
mov r8d, 7
mov rcx, rdi
call fcn.14008cc80
test eax, eax
je 0x1400021b1
mov esi, dword [0x1400cac54]
mov r15d, 0xffffffff
test sil, 0x10
je 0x14000246f
mov rcx, rdi
mov edx, 0x2c
call fcn.14007ecb0
test rax, rax
je 0x14000246f
mov rbx, rax
mov edx, ebx
sub edx, edi
lea rcx, [0x1400b0df2]
mov r8, rdi
call fcn.14005f1b3
mov rsi, rax
mov rcx, rax
call fcn.14001d6ec
test rax, rax
je 0x140002446
mov rdi, rax
mov r8d, dword [rax + 0x88]
mov dword [0x1400cd058], r8d
mov rcx, r14
mov edx, 2
call fcn.140003b70
mov r15d, dword [rdi + 0x8c]
jmp 0x14000245b
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov dword [0x1400cd058], 2
mov dword [0x1400cd05c], 0x201
mov rcx, r14
mov edx, 2
mov r8d, 2
call fcn.140003b70
mov r8d, dword [0x1400cd05c]
mov ebp, 1
mov rcx, r14
mov edx, 1
jmp 0x140002589
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov dword [0x1400cd058], 0
mov rcx, r14
mov edx, 2
xor r8d, r8d
call fcn.140003b70
mov ebp, 1
jmp 0x140001a45
lea rsi, [rdi + 7]
cmp byte [rdi + 7], 0x2f
jne 0x1400021c7
lea rax, [rdi + 9]
cmp byte [rdi + 8], 0x2f
cmove rsi, rax
mov ebp, 1
mov rcx, r14
mov edx, 2
mov r8d, 1
call fcn.140003b70
lea rdx, [0x1400ba02c]
mov rcx, rsi
call fcn.14005eff5
mov rdi, rax
lea rcx, [0x1400b0df2]
mov edx, edi
mov r8, rsi
call fcn.14005f1b3
mov rbx, rax
mov rcx, r14
xor edx, edx
mov r8, rax
call fcn.140003c9c
mov rcx, rbx
call fcn.1400118b0
mov byte [0x1400cac58], 1
cmp byte [rsi + rdi], 0x3a
jne 0x1400022bd
add rsi, rdi
inc rsi
mov rcx, rsi
call fcn.14008a488
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8d, eax
call fcn.140003b70
mov byte [0x1400cac59], 1
jmp 0x140002f8a
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov dword [0x1400cd058], 4
mov rcx, r14
mov edx, 2
mov r8d, 4
call fcn.140003b70
mov rcx, r14
xor edx, edx
call fcn.14000359b
mov rcx, r14
mov edx, 0x3c
mov r8, rax
call fcn.140003c9c
mov ebp, 1
jmp 0x140001a5c
mov rcx, r14
mov edx, 1
mov r8d, 0xffffffff
jmp 0x140002589
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0x37
mov r8, rbx
call fcn.140003c9c
mov ebp, 2
jmp 0x140001a9a
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 9
mov r8, rbx
call fcn.140003c9c
mov ebp, 2
jmp 0x140001ab1
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
lea rdx, [0x1400b833b]
mov rcx, rdi
call fcn.14008c8e0
test eax, eax
je 0x14000281d
movsx r15d, byte [rdi + 1]
mov rcx, rbx
mov edx, 0x3a
call fcn.14005f08e
test rax, rax
je 0x140002809
mov r13, rax
mov r12, rax
lea rcx, [r13 + 1]
mov edx, 0x3a
call fcn.14005f08e
mov rcx, rax
mov rax, r13
mov r13, rcx
test rcx, rcx
jne 0x1400023ba
test r12, r12
je 0x140002809
mov r8d, r12d
sub r8d, ebx
lea rcx, str._c_.s
mov edx, r15d
mov r9, rbx
call fcn.14005f1b3
mov r15, rax
inc r12
mov rcx, r12
jmp 0x140002836
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
je 0x140002724
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140002fcc
jmp 0x140002f8a
lea rcx, str.unrecognised_protocol_prefix__s
mov rdx, rsi
call fcn.14006832a
mov r15d, 0xffffffff
mov rcx, rsi
call fcn.1400118b0
inc rbx
mov esi, dword [0x1400cac54]
mov rdi, rbx
test sil, 8
je 0x1400024a5
mov rcx, rdi
mov edx, 0x40
call fcn.14007ed3c
test rax, rax
je 0x1400024a5
mov rbp, rax
mov edx, ebp
sub edx, edi
lea rcx, [0x1400b0df2]
mov r8, rdi
call fcn.14005f1b3
mov rbx, rax
inc rbp
jmp 0x1400024aa
xor ebx, ebx
mov rbp, rdi
lea rdx, [0x1400bd11a]
mov rcx, rdi
call fcn.14008cf48
add rdi, rax
mov rcx, rdi
call fcn.14005f215
mov rdi, rax
mov rcx, rax
call fcn.14008cbc0
test rax, rax
je 0x1400024ec
mov cl, byte [rdi + rax - 1]
cmp cl, 0x20
je 0x1400024e2
cmp cl, 9
jne 0x1400024ec
mov byte [rdi + rax - 1], 0
dec rax
jne 0x1400024d4
mov byte [0x1400cac58], 1
mov rcx, r14
xor edx, edx
mov r8, rdi
call fcn.140003c9c
test byte [0x1400cac54], 8
je 0x140002564
cmp byte [0x1400cdd00], 0
jne 0x140002564
call fcn.14000313c
mov rsi, rax
mov rcx, rbp
mov rdx, rax
call fcn.140021a8d
test al, al
je 0x14000255c
mov rcx, rsi
call fcn.1400145f4
test al, al
je 0x14000255c
mov rcx, r14
mov rdx, rsi
call fcn.140003210
mov byte [0x1400cdd00], 1
test rbx, rbx
je 0x14000255c
mov rcx, r14
mov edx, 0x37
mov r8, rbx
call fcn.140003c9c
mov rcx, rsi
call fcn.1400031c2
mov rcx, rdi
call fcn.1400118b0
mov rcx, rbx
call fcn.1400118b0
test r15d, r15d
js 0x140002593
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8d, r15d
call fcn.140003b70
jmp 0x140002f8a
mov ebp, 1
jmp 0x140002f8a
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, rbx
mov edx, 0x3a
call fcn.14005f08e
test rax, rax
je 0x14000286b
mov r15, rax
mov edx, r15d
sub edx, ebx
lea rcx, [0x1400b0df2]
mov r8, rbx
call fcn.14005f1b3
mov rbp, rax
mov rcx, r14
mov edx, 0x31
mov r8, rax
call fcn.140003c9c
inc r15
mov rcx, r15
call fcn.14008a488
mov rcx, r14
mov edx, 0x32
mov r8d, eax
call fcn.140003b70
mov rcx, rbp
call fcn.1400118b0
mov ebp, 2
jmp 0x140001b24
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
lea rdx, [0x1400b20f0]
mov rcx, rbx
call fcn.14008b718
test rax, rax
je 0x1400028fa
mov r15, rax
call fcn.14005f59f
mov r12, rax
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
mov r9, r15
call fcn.14008b8b4
test rax, rax
je 0x1400026d5
mov rbp, r12
add rbp, 0x18
lea r13, [rsp + 0x20]
mov rcx, rbp
mov rdx, r13
mov r8, rax
call fcn.1400112e8
mov edx, 1
mov r8d, 0x1000
mov rcx, r13
mov r9, r15
call fcn.14008b8b4
test rax, rax
jne 0x1400026ac
mov rcx, r15
call fcn.14008b1fc
mov r8, qword [r12]
mov rcx, r14
mov edx, 0x14
call fcn.140003c9c
lea r8, [0x1400bd255]
mov rcx, r14
mov edx, 0x15
call fcn.140003c9c
mov rcx, r14
mov edx, 0x16
mov r8b, 1
call fcn.140003a71
mov rcx, r12
call fcn.14005f61a
mov ebp, 2
jmp 0x140001b3b
mov rcx, rbx
call fcn.14005f215
mov r15, rax
mov rcx, rax
call fcn.140014653
test al, al
je 0x1400027ed
lea r9, [0x1400bd255]
mov rcx, r14
mov edx, 0xbb
mov r8, r15
call fcn.140003d37
mov rcx, r15
call fcn.1400118b0
mov ebp, 2
jmp 0x140001ac8
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x1400027dc
mov rcx, rbx
call fcn.14008a488
mov rcx, r14
mov edx, 1
mov r8d, eax
call fcn.140003b70
mov ebp, 2
jmp 0x140001b52
test rbx, rbx
je 0x140002f85
mov ebp, 2
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
je 0x14000287c
mov rcx, rdi
mov rdx, rbx
mov r8d, 1
jmp 0x14000243c
lea rcx, str._s_is_not_a_valid_format_for_a_manual_host_key_specification
mov rdx, rbx
call fcn.14006832a
mov rcx, r15
call fcn.1400118b0
jmp 0x140002f8a
lea rcx, str.__c_expects_at_least_two_colons_in_its_argument
mov edx, r15d
call fcn.14006832a
jmp 0x140002f8a
lea rcx, [0x1400b0fac]
mov rdx, rbx
call fcn.14005f1b3
mov r15, rax
lea rcx, [0x1400b833c]
call fcn.14005f215
mov rbp, rax
mov rcx, r14
mov edx, 0xa9
mov r8, r15
mov r9, rax
call fcn.140003d37
mov rcx, r15
call fcn.1400118b0
mov rcx, rbp
call fcn.1400118b0
mov ebp, 2
jmp 0x140001b0d
lea rcx, str._nc_expects_argument_of_form_host:port
call fcn.14006832a
jmp 0x140002f8a
mov ebp, 2
mov rcx, r14
mov edx, 2
call fcn.140003425
cmp eax, 3
jne 0x140002945
mov rcx, rbx
call fcn.14005f215
mov qword [0x1400cac10], rax
mov rcx, rbx
call fcn.14008cbc0
mov rcx, rbx
mov rdx, rax
call fcn.140074310
jmp 0x140001b69
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0xb8
mov r8b, 1
call fcn.140003a71
mov ebp, 1
jmp 0x140001c60
lea rcx, str.unable_to_open_command_file___s_
mov rdx, rbx
jmp 0x140002f7e
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0xb8
xor r8d, r8d
call fcn.140003a71
mov ebp, 1
jmp 0x140001c77
lea rcx, str.the__pw_option_can_only_be_used_with_the_SSH_protocol
call fcn.14006832a
jmp 0x140001b69
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0x1e
mov r8b, 1
call fcn.140003a71
mov ebp, 1
jmp 0x140001c8e
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0x1e
xor r8d, r8d
call fcn.140003a71
mov ebp, 1
jmp 0x140001ca5
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0xa3
mov r8b, 1
call fcn.140003a71
mov ebp, 1
jmp 0x140001cbc
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0xa3
xor r8d, r8d
call fcn.140003a71
mov ebp, 1
jmp 0x140001cd3
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002aa0
mov rcx, r14
mov edx, 0x16
xor r8d, r8d
call fcn.140003a71
mov ebp, 1
jmp 0x140001cea
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
je 0x140002bf5
mov ebp, 1
jmp 0x1400027dc
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 3
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0x30
mov r8b, 1
call fcn.140003a71
mov ebp, 1
jmp 0x140001d18
mov ebp, 1
test esi, esi
js 0x140002f8a
test byte [0x1400cac54], 2
jne 0x140002f74
test esi, esi
jne 0x140002433
mov rcx, r14
mov edx, 0x17
mov r8b, 1
call fcn.140003a71
mov ebp, 1
jmp 0x140001d2f
mov rcx, r14
mov edx, 0x16
mov r8b, 1
call fcn.140003a71
mov ebp, 1
jmp 0x140001d01
lea rcx, str.option___s__not_available_in_this_tool
mov rdx, rdi
call fcn.14006832a
jmp 0x140002f8a
mov ebp, 0xfffffffe
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14007d5e0
mov eax, ebp
add rsp, 0x1028
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret