Function at 0x140001a58
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.140057580
sub rsp, rax
mov r14, r9
mov r12d, r8d
mov rdi, rcx
mov rax, qword [0x1400ab520]
xor rax, rsp
mov qword [rsp + 0x1020], rax
cmp byte [rcx], 0x2d
jne 0x140001ce0
mov r13, rdx
lea rdx, str._load
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001d74
mov rsi, qword [str._7_b_]
test rsi, rsi
je 0x140001aea
lea rbx, [rdi + 1]
lea rbp, [0x1400820c8]
mov rdx, qword [rsi + 0x88]
mov rcx, rbx
call fcn.140068ff0
test eax, eax
je 0x140001da2
mov rsi, qword [rbp]
add rbp, 8
test rsi, rsi
jne 0x140001ac6
lea rdx, [0x140092836]
mov rcx, rdi
call fcn.140068ff0
xor ebp, ebp
test eax, eax
je 0x140001e30
lea rdx, [0x140095bfe]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001f14
lea rdx, str._loghost
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001f5b
lea rdx, str._hostkey
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002052
lea rdx, [0x140098ef4]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001fa2
lea rdx, [0x140098b59]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001fa2
lea rdx, [0x140099719]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001fa2
lea rdx, [0x1400981cc]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002292
lea rdx, [0x14009589e]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x14000232c
lea rdx, [0x140098c1b]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002460
lea rdx, [0x1400927e8]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x1400024ab
lea rdx, str._agent
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001c22
lea rdx, str._pagent
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140001c22
lea rdx, str._pageant
mov rcx, rdi
call fcn.140068ff0
test eax, eax
jne 0x140001c5b
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x1d
mov r8b, 1
call fcn.140003a60
mov ebp, 1
lea rdx, str._noagent
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002567
lea rdx, str._nopagent
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002567
lea rdx, str._nopageant
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002567
lea rdx, str._share
mov rcx, rdi
call fcn.140068ff0
test eax, eax
jne 0x1400025c8
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
jmp 0x1400025b3
xor ebp, ebp
test r12d, r12d
js 0x140003086
mov esi, dword [0x14008314c]
test sil, 4
je 0x140001d04
cmp byte [0x1400ac0e3], 0
je 0x140001e5c
test sil, 0x40
je 0x140003086
cmp byte [0x1400ac0e4], 0
jne 0x140003086
mov rcx, rdi
call fcn.14004b70d
mov rsi, rax
lea rcx, [0x140098c1b]
mov ebp, 1
mov rdx, rax
mov r8d, 1
mov r9, r14
call fcn.140001a58
mov edi, eax
mov rcx, rsi
call fcn.140008872
cmp edi, 2
je 0x14000212b
lea rcx, str.retd__2
lea rdx, str..._cmdline.c
mov r8d, 0x184
call fcn.140065644
jmp 0x14000212b
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
mov rcx, r13
mov rdx, r14
call fcn.14001766c
mov byte [0x1400ac0e2], 1
jmp 0x140003086
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov edi, dword [rsi + 0x98]
mov ecx, edi
call fcn.140015078
mov rcx, r14
mov edx, 2
mov r8d, edi
call fcn.140003b5f
mov edi, dword [rsi + 0x9c]
test edi, edi
je 0x140001e04
mov ecx, edi
call fcn.14001507f
mov rcx, r14
mov edx, 1
mov r8d, edi
call fcn.140003b5f
cmp dword [rsi + 0x98], 5
jne 0x140003086
mov rcx, r14
xor edx, edx
call fcn.140003643
mov rcx, r14
mov edx, 0x3c
mov r8, rax
call fcn.140003c8b
jmp 0x140003086
mov ebp, 1
test r12d, r12d
js 0x140003086
cmp byte [0x14008314c], 0
js 0x140003077
mov byte [0x1400ac0e1], 1
mov ebp, 1
jmp 0x140001b03
test sil, 0x20
je 0x140001e7b
cmp byte [0x1400ac0e2], 1
jne 0x140001e7b
mov rcx, r14
call fcn.140008bcc
test al, al
jne 0x140001d04
lea rdx, str.telnet:
mov r8d, 7
mov rcx, rdi
call fcn.140069ae0
test eax, eax
je 0x140002092
mov r15d, 0xffffffff
test sil, 0x10
je 0x14000216d
mov rcx, rdi
mov edx, 0x2c
call fcn.140058d30
test rax, rax
je 0x14000216d
mov rbx, rax
mov edx, ebx
sub edx, edi
lea rcx, [0x140093bc5]
mov r8, rdi
call fcn.14004b6ab
mov r12, rax
mov rcx, rax
call fcn.140015086
test rax, rax
je 0x14000214a
mov rdi, rax
mov ebp, dword [rax + 0x98]
mov ecx, ebp
call fcn.140015078
mov rcx, r14
mov edx, 2
mov r8d, ebp
call fcn.140003b5f
mov r15d, dword [rdi + 0x9c]
jmp 0x14000215f
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x37
mov r8, r13
call fcn.140003c8b
mov ebp, 2
jmp 0x140001b1a
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 9
mov r8, r13
call fcn.140003c8b
mov ebp, 2
jmp 0x140001b31
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x14000207f
lea rdx, [0x140099719]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002519
movsx r15d, byte [rdi + 1]
mov rcx, r13
mov edx, 0x3a
call fcn.14004b586
test rax, rax
je 0x140002505
mov rsi, rax
mov rbx, rax
lea rcx, [rsi + 1]
mov edx, 0x3a
call fcn.14004b586
mov rcx, rax
mov rax, rsi
mov rsi, rcx
test rcx, rcx
jne 0x140002004
test rbx, rbx
je 0x140002505
mov r8d, ebx
sub r8d, r13d
lea rcx, str._c_.s
mov edx, r15d
mov r9, r13
call fcn.14004b6ab
mov rbp, rax
inc rbx
mov rcx, rbx
jmp 0x140002532
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
je 0x14000241c
mov rcx, rdi
mov rdx, r13
xor r8d, r8d
call fcn.1400030c8
jmp 0x140003086
lea rsi, [rdi + 7]
cmp byte [rdi + 7], 0x2f
jne 0x1400020a8
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.140003b5f
lea rdx, [0x14009ab42]
mov rcx, rsi
call fcn.14004b4ed
mov rdi, rax
lea rcx, [0x140093bc5]
mov edx, edi
mov r8, rsi
call fcn.14004b6ab
mov rbx, rax
mov rcx, r14
xor edx, edx
mov r8, rax
call fcn.140003c8b
mov rcx, rbx
call fcn.140008872
mov byte [0x1400ac0e3], 1
cmp byte [rsi + rdi], 0x3a
jne 0x140002137
add rsi, rdi
inc rsi
mov rcx, rsi
call fcn.14006614c
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8d, eax
call fcn.140003b5f
mov byte [0x1400ac0e4], 1
jmp 0x140003086
mov rcx, r14
mov edx, 1
mov r8d, 0xffffffff
jmp 0x140002288
lea rcx, str.unrecognised_protocol_prefix__s
mov rdx, r12
call fcn.140013fa6
mov r15d, 0xffffffff
mov rcx, r12
call fcn.140008872
inc rbx
mov rdi, rbx
test sil, 8
je 0x1400021a3
mov rcx, rdi
mov edx, 0x40
call fcn.140058dbc
test rax, rax
je 0x1400021a3
mov rbp, rax
mov edx, ebp
sub edx, edi
lea rcx, [0x140093bc5]
mov r8, rdi
call fcn.14004b6ab
mov rbx, rax
inc rbp
jmp 0x1400021a8
xor ebx, ebx
mov rbp, rdi
lea rdx, [0x14009f378]
mov rcx, rdi
call fcn.140069ce0
add rdi, rax
mov rcx, rdi
call fcn.14004b70d
mov rdi, rax
mov rcx, rax
call fcn.140069a20
test rax, rax
je 0x1400021ea
mov cl, byte [rdi + rax - 1]
cmp cl, 0x20
je 0x1400021e0
cmp cl, 9
jne 0x1400021ea
mov byte [rdi + rax - 1], 0
dec rax
jne 0x1400021d2
mov byte [0x1400ac0e3], 1
mov rcx, r14
xor edx, edx
mov r8, rdi
call fcn.140003c8b
test sil, 8
je 0x14000225f
cmp byte [0x1400ac0e2], 0
jne 0x14000225f
call fcn.1400031e4
mov rsi, rax
mov rcx, rbp
mov rdx, rax
call fcn.14001766c
test al, al
je 0x140002257
mov rcx, rsi
call fcn.140008bcc
test al, al
je 0x140002257
mov rcx, r14
mov rdx, rsi
call fcn.1400032b8
mov byte [0x1400ac0e2], 1
test rbx, rbx
je 0x140002257
mov rcx, r14
mov edx, 0x37
mov r8, rbx
call fcn.140003c8b
mov rcx, rsi
call fcn.14000326b
mov rcx, rdi
call fcn.140008872
mov rcx, rbx
call fcn.140008872
test r15d, r15d
js 0x140002967
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8d, r15d
call fcn.140003b5f
jmp 0x140003086
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r13
mov edx, 0x3a
call fcn.14004b586
test rax, rax
je 0x14000286c
mov rbx, rax
mov edx, ebx
sub edx, r13d
lea rcx, [0x140093bc5]
mov r8, r13
call fcn.14004b6ab
mov rbp, rax
mov rcx, r14
mov edx, 0x31
mov r8, rax
call fcn.140003c8b
inc rbx
mov rcx, rbx
call fcn.14006614c
mov rcx, r14
mov edx, 0x32
mov r8d, eax
call fcn.140003b5f
mov rcx, rbp
call fcn.140008872
mov ebp, 2
jmp 0x140001ba4
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x14000207f
lea rdx, [0x140094c0d]
mov rcx, r13
call fcn.140067520
test rax, rax
je 0x14000291d
mov r15, rax
call fcn.14004bab7
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
mov r9, r15
call fcn.140067964
test rax, rax
je 0x1400023ce
mov rbx, rsi
add rbx, 0x18
lea rbp, [rsp + 0x20]
mov rcx, rbx
mov rdx, rbp
mov r8, rax
call fcn.14000810c
mov edx, 1
mov r8d, 0x1000
mov rcx, rbp
mov r9, r15
call fcn.140067964
test rax, rax
jne 0x1400023a5
mov rcx, r15
call fcn.140066e9c
mov r8, qword [rsi]
mov rcx, r14
mov edx, 0x14
call fcn.140003c8b
lea r8, [0x14009f3f8]
mov rcx, r14
mov edx, 0x15
call fcn.140003c8b
mov rcx, r14
mov edx, 0x16
mov r8b, 1
call fcn.140003a60
mov rcx, rsi
call fcn.14004bb34
mov ebp, 2
jmp 0x140001bbb
mov rcx, r13
call fcn.14004b70d
mov rbx, rax
mov rcx, rax
call fcn.140008bff
test al, al
je 0x1400024e9
lea r9, [0x14009f3f8]
mov rcx, r14
mov edx, 0xbf
mov r8, rbx
call fcn.140003d26
mov rcx, rbx
call fcn.140008872
mov ebp, 2
jmp 0x140001b48
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x1400024d8
mov rcx, r13
call fcn.14006614c
mov rcx, r14
mov edx, 1
mov r8d, eax
call fcn.140003b5f
mov ebp, 2
jmp 0x140001bd2
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
je 0x14000287d
mov rcx, rdi
mov rdx, r13
mov r8d, 1
jmp 0x140002088
lea rcx, str._s_is_not_a_valid_format_for_a_manual_host_key_specification
mov rdx, r13
call fcn.140013fa6
mov rcx, rbx
call fcn.140008872
jmp 0x140003086
lea rcx, str.__c_expects_at_least_two_colons_in_its_argument
mov edx, r15d
call fcn.140013fa6
jmp 0x140003086
lea rcx, [0x140093d1a]
mov rdx, r13
call fcn.14004b6ab
mov rbp, rax
lea rcx, [0x14009971a]
call fcn.14004b70d
mov rbx, rax
mov rcx, r14
mov edx, 0xad
mov r8, rbp
mov r9, rax
call fcn.140003d26
mov rcx, rbp
call fcn.140008872
mov rcx, rbx
call fcn.140008872
mov ebp, 2
jmp 0x140001b8d
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x1d
xor r8d, r8d
call fcn.140003a60
lea rdx, str._share
mov rcx, rdi
call fcn.140068ff0
mov ebp, 1
test eax, eax
jne 0x1400025c8
mov rcx, r14
mov edx, 0xbc
mov r8b, 1
call fcn.140003a60
mov ebp, 1
lea rdx, str._noshare
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x1400028bf
lea rdx, [0x140099943]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x14000293d
lea rdx, [0x1400984ef]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002971
lea rdx, [0x140098685]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x1400029c3
lea rdx, [0x1400927ca]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002a01
lea rdx, [0x140093454]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002a76
lea rdx, [0x1400988a1]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002ab0
lea rdx, [0x140098ddc]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002ade
lea rdx, [0x1400997cd]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002b07
lea rdx, [0x14009a8c1]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002b59
lea rdx, [0x14009a515]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002b97
lea rdx, [0x140095cbc]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002bd8
lea rdx, [0x14009a329]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002702
lea rdx, str._ipv4
mov rcx, rdi
call fcn.140068ff0
test eax, eax
jne 0x140002729
test r12d, r12d
js 0x140002967
jne 0x140002ad4
mov ebp, 1
mov rcx, r14
mov edx, 3
mov r8d, 1
call fcn.140003b5f
lea rdx, [0x14009a10e]
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x14000274f
lea rdx, str._ipv6
mov rcx, rdi
call fcn.140068ff0
test eax, eax
jne 0x140002776
test r12d, r12d
js 0x140002967
jne 0x140002ad4
mov rcx, r14
mov edx, 3
mov r8d, 2
call fcn.140003b5f
mov ebp, 1
lea rdx, str._sercfg
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002c78
lea rdx, str._sessionlog
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002f3a
lea rdx, str._sshlog
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002ea0
lea rdx, str._sshrawlog
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002ea0
lea rdx, str._logoverwrite
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002fa7
lea rdx, str._logappend
mov rcx, rdi
call fcn.140068ff0
test eax, eax
je 0x140002fe8
lea rcx, str._nc_expects_argument_of_form_host:port
call fcn.140013fa6
jmp 0x140003086
mov ebp, 2
mov rcx, r14
mov edx, 2
call fcn.1400034cd
cmp eax, 3
jne 0x14000292c
mov rcx, r13
call fcn.14004b70d
mov qword [0x1400ac0a0], rax
mov rcx, r13
call fcn.140069a20
mov rcx, r13
mov rdx, rax
call fcn.14004fd54
jmp 0x140001be9
mov ebp, 1
test r12d, r12d
js 0x140003086
mov esi, dword [0x14008314c]
test sil, 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0xbc
xor r8d, r8d
call fcn.140003a60
lea rdx, [0x140099943]
mov rcx, rdi
call fcn.140068ff0
mov ebp, 1
test eax, eax
jne 0x1400025f6
test sil, 3
jne 0x140002958
jmp 0x140002a5c
lea rcx, str.unable_to_open_command_file___s_
mov rdx, r13
jmp 0x140003081
lea rcx, str.the__pw_option_can_only_be_used_with_the_SSH_protocol
call fcn.140013fa6
jmp 0x140001be9
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
je 0x140002a53
lea rcx, str.option___s__not_available_in_this_tool
mov rdx, rdi
call fcn.140013fa6
mov ebp, 1
jmp 0x140003086
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x1e
xor r8d, r8d
call fcn.140003a60
lea rdx, [0x140098685]
mov rcx, rdi
call fcn.140068ff0
mov ebp, 1
test eax, eax
jne 0x140002624
jmp 0x1400029e7
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0xa7
mov r8b, 1
call fcn.140003a60
mov ebp, 1
jmp 0x140002624
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0xa7
xor r8d, r8d
call fcn.140003a60
lea rdx, [0x140093454]
mov rcx, rdi
call fcn.140068ff0
mov ebp, 1
test eax, eax
jne 0x140002652
jmp 0x140002a96
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x1e
mov r8b, 1
call fcn.140003a60
mov ebp, 1
jmp 0x1400025f6
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x140002ad4
mov rcx, r14
mov edx, 0x16
xor r8d, r8d
call fcn.140003a60
mov ebp, 1
jmp 0x140002652
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
je 0x140002c32
mov ebp, 1
jmp 0x1400024d8
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x14000207f
jmp 0x140002c5e
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x17
mov r8b, 1
call fcn.140003a60
lea rdx, [0x14009a8c1]
mov rcx, rdi
call fcn.140068ff0
mov ebp, 1
test eax, eax
jne 0x1400026ae
jmp 0x140002b7d
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x22
xor r8d, r8d
call fcn.140003b5f
mov ebp, 1
jmp 0x1400026ae
mov ebp, 1
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r14
mov edx, 0x22
mov r8d, 3
call fcn.140003b5f
mov ebp, 1
jmp 0x1400026c5
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r13
call fcn.14004f760
mov rbx, rax
mov rcx, r14
mov edx, 0x21
mov r8, rax
call fcn.140003ef3
mov rcx, rbx
call fcn.14004f7d4
mov ebp, 2
jmp 0x1400026dc
mov rcx, r14
mov edx, 0x16
mov r8b, 1
call fcn.140003a60
lea rdx, [0x140098ddc]
mov rcx, rdi
call fcn.140068ff0
mov ebp, 1
test eax, eax
jne 0x140002680
mov rcx, r14
mov edx, 0x30
mov r8b, 1
call fcn.140003a60
mov ebp, 1
jmp 0x140002680
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 3
jne 0x140003077
test r12d, r12d
jne 0x1400024d8
mov ebp, 2
mov rcx, r14
mov edx, 2
call fcn.1400034cd
cmp eax, 5
je 0x140002cc8
lea rcx, str.the__sercfg_option_can_only_be_used_with_the_serial_protocol
call fcn.140013fa6
cmp byte [r13], 0
je 0x14000278d
lea r15, [0x14009a23c]
mov rbx, r13
mov rcx, rbx
mov edx, 0x2c
call fcn.140058d30
test rax, rax
je 0x140002d03
mov rbp, rax
sub rbp, rbx
movsxd rax, ebp
mov byte [rbx + rax], 0
mov esi, 1
jmp 0x140002d10
mov rcx, rbx
call fcn.140069a20
mov rbp, rax
xor esi, esi
cmp ebp, 3
je 0x140002d42
cmp ebp, 1
jne 0x140002d57
movsx r8d, byte [rbx]
cmp r8d, 0x4d
jg 0x140002d87
lea eax, [r8 - 0x35]
cmp eax, 5
jae 0x140002dee
add r8d, 0xffffffd0
mov rcx, r14
mov edx, 0x3e
jmp 0x140002e7e
mov r8d, 3
mov rcx, rbx
mov rdx, r15
call fcn.140069ae0
test eax, eax
je 0x140002db8
mov rcx, rbx
call fcn.14006614c
test eax, eax
je 0x140002d73
mov rcx, r14
mov edx, 0x3d
mov r8d, eax
jmp 0x140002e7e
lea rcx, str.Unrecognised_suboption___sercfg__s_
mov rdx, rbx
call fcn.140013fa6
jmp 0x140002e83
cmp r8d, 0x64
jg 0x140002dcb
cmp r8d, 0x4e
je 0x140002e18
cmp r8d, 0x52
je 0x140002e22
cmp r8d, 0x58
jne case.0x140002de2.112
mov rcx, r14
mov edx, 0x41
jmp 0x140002e68
mov rcx, r14
mov edx, 0x3f
mov r8d, 3
jmp 0x140002e7e
lea eax, [r8 - 0x6d]
cmp eax, 6
ja case.default.0x140002de2
lea rcx, [0x1400030ac]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rcx, r14
mov edx, 0x40
jmp 0x140002dc0
lea eax, [r8 - 0x31]
cmp eax, 2
jae 0x140002e08
add r8d, r8d
add r8d, 0xffffffa0
mov rcx, r14
mov edx, 0x3f
jmp 0x140002e7e
cmp r8d, 0x44
jne case.0x140002de2.112
mov rcx, r14
mov edx, 0x41
jmp 0x140002dc0
mov rcx, r14
mov edx, 0x41
jmp 0x140002e5b
mov rcx, r14
mov edx, 0x41
jmp 0x140002e3a
cmp r8d, 0x65
jne case.0x140002de2.112
mov rcx, r14
mov edx, 0x40
mov r8d, 2
jmp 0x140002e7e
lea rcx, str.Unrecognised_suboption___sercfg__c_
mov edx, r8d
call fcn.140013fa6
jmp 0x140002e83
mov rcx, r14
mov edx, 0x40
xor r8d, r8d
jmp 0x140002e7e
mov rcx, r14
mov edx, 0x40
mov r8d, 1
jmp 0x140002e7e
mov rcx, r14
mov edx, 0x40
mov r8d, 4
call fcn.140003b5f
add esi, ebp
movsxd rax, esi
cmp byte [rbx + rax], 0
lea rbx, [rbx + rax]
mov ebp, 2
jne 0x140002cdd
jmp 0x14000278d
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 2
jne 0x140003077
test r13, r13
je 0x140003070
mov ebp, 2
test r12d, r12d
js 0x140003086
test byte [0x14008314c], 1
jne 0x140003077
test r12d, r12d
jne 0x14000207f
mov rcx, r13
call fcn.14004f760
mov rbx, rax
mov rcx, r14
mov edx, 0x7e
mov r8, rax
call fcn.140003ef3
mov ebp, 2
mov rcx, r14
mov edx, 0x7f
mov r8d, 2
call fcn.140003b5f
mov rcx, rbx
call fcn.14004f7d4
jmp 0x1400027a4
mov ebp, 1
test r12d, r12d
js 0x140003086
mov ebp, 0xfffffffe
jmp 0x140003086
lea rcx, str.option___s__not_available_in_this_tool
mov rdx, rdi
call fcn.140013fa6
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400575f0
mov eax, ebp
add rsp, 0x1028
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret