Function at 0x1004681c0
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x238
mov byte [0x100600220], 0xa
xor edi, edi
lea rsi, str.ersa:d:i:n:p:t:u:N:
mov dword [0x100600230], 0
lea rbx, [0x1004f56d8]
mov dword [sym.bash.exe_sigalrm_seen], 0
mov qword [rsp + 0x280], rcx
mov dword [rsp + 0xfc], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x34], 0
call sym.bash.exe_reset_internal_getopt
mov rbp, qword [rsp + 0x280]
mov rdx, rsi
mov rcx, rbp
call sym.bash.exe_internal_getopt
cmp eax, 0xffffffff
je 0x100468338
cmp eax, 0xffffff9d
je 0x1004687b8
sub eax, 0x4e
cmp eax, 0x27
ja case.0x1004682ca.79
movsxd rax, dword [rbx + rax*4]
add rax, rbx
jmp rax
mov byte [0x100600220], 0xff
mov dword [rsp + 0x34], 1
mov rax, qword [sym.bash.exe_list_optarg]
lea rdx, [rsp + 0x110]
mov rcx, qword [rax]
call sym.bash.exe_legal_number
test eax, eax
je 0x1004692ba
mov rax, qword [rsp + 0x110]
test rax, rax
js 0x1004692ba
movsxd rdx, eax
cmp rax, rdx
jne 0x1004692ba
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x40], eax
call sym.bash.exe_internal_getopt
cmp eax, 0xffffffff
jne 0x1004682ae
nop dword [rax + rax]
mov rax, qword [sym.bash.exe_loptend]
mov rax, qword [rax]
mov qword [rsp + 0x280], rax
test edi, edi
je 0x10046835c
mov eax, dword [rsp + 0x58]
or eax, dword [rsp + 0x44]
je 0x10046886e
cmp qword [rsp + 0x280], 0
je 0x100468383
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_legal_identifier
test eax, eax
je 0x100468885
mov ecx, dword [rsp + 0x34]
test ecx, ecx
jne 0x100468813
call sym.bash.exe_getifs
test rax, rax
je 0x10046883c
mov edx, dword [rsp + 0x34]
test edx, edx
jne 0x10046883c
mov qword [rsp + 0xc0], rax
mov rsi, rax
mov qword [rsp + 0x120], rax
movzx eax, byte [rax]
test al, al
je 0x100469d0a
lea rdx, [rsi + 1]
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
cmp al, 1
mov qword [rsp + 0x120], rdx
sete r9b
or ecx, r9d
cmp al, 0x7f
sete al
add rdx, 1
movzx eax, al
or r8d, eax
movzx eax, byte [rdx - 1]
test al, al
jne 0x1004683d0
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x9c], r8d
mov dword [rsp + 0xd8], 0x70
mov ecx, 0x70
call sym.bash.exe_xmalloc
mov qword [rsp + 0x118], rax
mov byte [rax], 0
test edi, edi
jne 0x100468498
lea rcx, str.TMOUT
call sym.bash.exe_get_string_value
mov qword [rsp + 0x120], rax
mov rcx, rax
test rax, rax
je 0x100468498
lea rdx, [rsp + 0x100]
lea r8, [rsp + 0x108]
call sym.bash.exe_uconvert
test eax, eax
je 0x100469897
mov rax, qword [rsp + 0x100]
test rax, rax
js 0x100469897
mov rdx, qword [rsp + 0x108]
test rdx, rdx
cmovs eax, edi
cmovns edi, edx
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x44], edi
nop dword [rax]
lea rcx, str.read_builtin
call sym.bash.exe_begin_unwind_frame
mov rax, qword [sym.bash.exe_interactive]
mov eax, dword [rax]
test eax, eax
jne 0x1004684c2
mov rbx, qword [sym.bash.exe_default_buffered_input]
mov eax, dword [rbx]
test eax, eax
jns 0x10046881f
mov ecx, dword [rsp + 0x30]
call sub.msys_2.0.dll_isatty
mov dword [rsp + 0x98], eax
test eax, eax
je 0x1004687d5
mov dword [rsp + 0xd4], 0
mov r15d, dword [rsp + 0x28]
test r15d, r15d
je 0x1004684fd
mov rcx, qword [sym.bash.exe_xfree]
xor edx, edx
call sym.bash.exe_add_unwind_protect
mov dword [rsp + 0xdc], 0
mov edi, dword [rsp + 0x58]
mov dword [rsp + 0x84], 0
mov eax, edi
or eax, dword [rsp + 0x44]
je 0x1004688c0
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x1b0]
call sub.msys_2.0.dll_fstat
test eax, eax
js 0x1004688c0
mov eax, dword [rsp + 0x1c0]
and eax, 0xf000
cmp eax, 0x8000
je 0x1004688c0
test edi, edi
je 0x1004696f5
xor ecx, ecx
xor edx, edx
lea r8, [0x1006001c8]
mov qword [0x1006001c0], 0
call sub.msys_2.0.dll_pthread_sigmask
lea rcx, [sym.bash.exe_alrmbuf]
call sub.msys_2.0.dll_setjmp
test eax, eax
je 0x1004694c0
movsxd rax, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x118]
mov dword [sym.bash.exe_sigalrm_seen], 0
mov byte [rdx + rax], 0
mov eax, dword [rsp + 0xfc]
test eax, eax
jne 0x1004698ac
mov ecx, 1
call sym.bash.exe_xmalloc
mov byte [rax], 0
mov rbx, rax
lea rcx, str.read_builtin
mov r12d, 0x8e
call sym.bash.exe_run_unwind_frame
mov qword [rsp + 0x118], rbx
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1004692e4
mov rcx, rdi
call sym.bash.exe_legal_identifier
test eax, eax
jne 0x100469710
mov rcx, rdi
call sym.bash.exe_sh_invalidid
mov rcx, qword [rsp + 0x118]
call sym.bash.exe_xfree
nop dword [rax]
mov r12d, 1
jmp 0x10046862b
call sym.bash.exe_builtin_usage
mov r12d, 0x102
mov eax, r12d
add rsp, 0x238
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [sym.bash.exe_list_optarg]
lea rdx, [rsp + 0x110]
mov rcx, qword [rax]
call sym.bash.exe_legal_number
test eax, eax
je 0x1004696a9
mov rax, qword [rsp + 0x110]
test rax, rax
js 0x1004696a9
movsxd rdx, eax
mov r12d, eax
cmp rax, rdx
jne 0x1004696a9
mov ecx, eax
mov dword [rsp + 0x30], eax
call sym.bash.exe_sh_validfd
test eax, eax
jne 0x10046829a
call sub.msys_2.0.dll___errno
mov ecx, dword [rax]
call sub.msys_2.0.dll_strerror
lea rcx, str._d:_invalid_file_descriptor:__s
mov rbx, rax
call sym.bash.exe_libintl_gettext
mov r8, rbx
mov edx, r12d
mov rcx, rax
call sym.bash.exe_builtin_error
jmp 0x100468618
mov rax, qword [sym.bash.exe_list_optarg]
lea rdx, [rsp + 0x100]
lea r8, [rsp + 0x108]
mov rcx, qword [rax]
call sym.bash.exe_uconvert
test eax, eax
je 0x1004696cf
mov rax, qword [rsp + 0x100]
test rax, rax
js 0x1004696cf
mov rdx, qword [rsp + 0x108]
test rdx, rdx
js 0x1004696cf
mov dword [rsp + 0x58], eax
mov edi, 1
mov dword [rsp + 0x44], edx
jmp 0x10046829a
mov dword [rsp + 0x5c], 1
jmp 0x10046829a
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x10046829a
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x10046829a
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [0x100600220], al
jmp 0x10046829a
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x10046829a
mov dword [rsp + 0x28], 1
jmp 0x10046829a
call sym.bash.exe_builtin_help
jmp 0x100468625
mov dword [rsp + 0x68], 1
jmp 0x10046829a
cmp qword [rsp + 0x48], 0
je 0x1004699a8
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0xd4], 1
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
jmp 0x1004684fd
mov byte [0x100600220], 0xff
jmp 0x10046838f
mov ecx, dword [rsp + 0x30]
call sym.bash.exe_fd_is_bash_input
test eax, eax
je 0x1004684c2
mov ecx, dword [rbx]
call sym.bash.exe_sync_buffered_stream
jmp 0x1004684c2
lea rax, [0x1004f55e0]
mov dword [rsp + 0x9c], 0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x88], 0
jmp 0x10046840a
mov ecx, dword [rsp + 0x30]
xor r12d, r12d
call sym.bash.exe_input_avail
test eax, eax
sete r12b
jmp 0x10046862b
mov rax, qword [rsp + 0x280]
xor edx, edx
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_valid_array_reference
test eax, eax
jne 0x100468383
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_sh_invalidid
jmp 0x100468618
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x58], 0
mov ebp, dword [rsp + 0x40]
test ebp, ebp
jle 0x100469617
mov edi, dword [rsp + 0x28]
test edi, edi
je 0x100469532
mov edi, dword [rsp + 0x40]
test edi, edi
jle 0x100468906
mov rbx, qword [sym.bash.exe_rl_num_chars_to_read]
mov edx, 4
mov rcx, rbx
call sym.bash.exe_unwind_protect_mem
mov dword [rbx], edi
movzx ebx, byte [0x100600220]
cmp bl, 0xa
je 0x10046899c
mov rax, qword [sym.bash.exe_bash_readline_initialized]
mov esi, dword [rax]
test esi, esi
je 0x100469c06
call sym.bash.exe_rl_get_keymap
lea rcx, [0x100468080]
mov byte [0x1006001d0], bl
movsx edx, byte [rax + 0xd0]
mov byte [rax + 0xd0], 0
mov dword [0x1006001e0], edx
mov rdx, qword [rax + 0xd8]
mov qword [0x1006001d8], rdx
mov rdx, qword [sym.bash.exe_rl_insert]
mov qword [rax + 0xd8], rdx
movzx edx, bl
shl rdx, 4
add rax, rdx
movsx edx, byte [rax]
mov byte [rax], 0
mov dword [0x1006001f0], edx
mov rdx, qword [rax + 8]
mov qword [0x1006001e8], rdx
mov rdx, qword [sym.bash.exe_rl_newline]
mov qword [rax + 8], rdx
xor edx, edx
call sym.bash.exe_add_unwind_protect
mov rdx, qword [rsp + 0x118]
mov rcx, qword [sym.bash.exe_xfree]
call sym.bash.exe_add_unwind_protect
mov r14d, dword [sym.bash.exe_sigalrm_seen]
test r14d, r14d
jne 0x100469978
mov r8d, dword [rsp + 0x40]
test r8d, r8d
jle 0x100469800
mov ecx, dword [rsp + 0x98]
test ecx, ecx
jne 0x1004697eb
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1004697eb
mov dword [rsp + 0x2c], 2
cmp qword [rsp + 0x48], 0
je 0x100468a05
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x100469949
mov rdi, qword [rsp + 0x48]
movzx ebp, byte [rsp + 0x5c]
mov esi, r14d
mov dword [rsp + 0x74], r14d
lea rax, [0x1004f55e0]
mov ebx, dword [rsp + 0x6c]
mov r12d, esi
mov r15d, 0x70
test rdi, rdi
cmovne rax, rdi
xor r13d, r13d
xor ebp, 1
xor r14d, r14d
mov qword [rsp + 0x78], r13
mov rdi, qword [sym.bash.exe_posixly_correct]
mov byte [rsp + 0x73], bpl
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov ebp, dword [rsp + 0x40]
jmp 0x100468b35
test r13, r13
je 0x100468f00
movsxd rax, ebx
cmp byte [r13 + rax], 0
je 0x1004690f0
test r13, r13
je 0x100468f00
movsxd rax, ebx
add ebx, 1
movzx eax, byte [r13 + rax]
mov byte [rsp + 0xf8], al
mov r11d, dword [sym.bash.exe_sigalrm_seen]
test r11d, r11d
jne 0x100469978
mov eax, dword [rsp + 0xfc]
add eax, 4
cmp eax, r15d
jge 0x100468c38
movzx eax, byte [rsp + 0xf8]
test r14d, r14d
je 0x100468bf8
cmp al, 0xa
je 0x100468e90
mov r14d, dword [rsp + 0x74]
movsxd rdx, dword [rsp + 0xfc]
lea ecx, [rdx + 1]
mov dword [rsp + 0xfc], ecx
mov rcx, qword [rsp + 0x118]
mov byte [rcx + rdx], al
mov r10d, dword [sym.bash.exe_sigalrm_seen]
test r10d, r10d
jne 0x100469978
test ebp, ebp
jg 0x100468c80
add dword [rsp + 0x24], 1
mov eax, dword [rsp + 0x24]
test ebp, ebp
jle 0x100468b27
cmp ebp, eax
jle 0x100469939
mov eax, dword [sym.bash.exe_sigalrm_seen]
test eax, eax
jne 0x100469978
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x100468a68
test esi, esi
je 0x100468b75
mov rax, qword [rsp + 0x78]
mov r12, rax
test rax, rax
je 0x100469288
call sub.msys_2.0.dll___getreent
mov rcx, r12
mov rdx, qword [rax + 0x18]
call sub.msys_2.0.dll_fputs
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x18]
call fcn.1004d2bc0
cmp dword [rsp + 0x2c], 2
mov eax, dword [rdi]
je 0x100468e40
mov esi, dword [rsp + 0x2c]
lea rdx, [rsp + 0xf8]
test esi, esi
je 0x100468e70
mov ecx, dword [rsp + 0x30]
mov r8d, 1
test eax, eax
je 0x100469148
call sym.bash.exe_zreadintr
mov r12d, eax
test r12d, r12d
jle 0x100469820
mov esi, dword [sym.bash.exe_sigalrm_seen]
test esi, esi
jne 0x100469978
mov rax, qword [sym.bash.exe_terminating_signal]
mov edx, dword [rax]
test edx, edx
jne 0x100468ee0
mov rax, qword [sym.bash.exe_interrupt_state]
mov eax, dword [rax]
test eax, eax
je 0x100468aac
call sym.bash.exe_throw_to_top_level
jmp 0x100468a9c
cmp byte [rsp + 0x73], 0
je 0x100468c07
cmp al, 0x5c
je 0x1004691a0
mov ecx, dword [rsp + 0x34]
test ecx, ecx
jne 0x100468c1b
cmp al, byte [0x100600220]
je 0x100469b48
test al, al
jne 0x100468de0
cmp byte [0x100600220], 0
je 0x100468add
jmp 0x100468b27
sub r15d, 0xffffff80
mov rcx, qword [rsp + 0x118]
movsxd rdx, r15d
call sym.bash.exe_xrealloc
cmp qword [rsp + 0x118], rax
je 0x100468abf
mov qword [rsp + 0x118], rax
call sym.bash.exe_remove_unwind_protect
mov rdx, qword [rsp + 0x118]
mov rcx, qword [sym.bash.exe_xfree]
call sym.bash.exe_add_unwind_protect
jmp 0x100468abf
mov dword [rsp + 0x80], r10d
call sub.msys_2.0.dll___locale_mb_cur_max
mov r10d, dword [rsp + 0x80]
cmp eax, 1
jle 0x100468b12
movzx ecx, byte [rsp + 0xf8]
mov rdx, qword [sym.bash.exe_is_basic_table]
mov eax, ecx
shr al, 5
and eax, 7
mov eax, dword [rdx + rax*4]
shr eax, cl
test al, 1
jne 0x100468b12
movsxd rax, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x118]
mov dword [rsp + 0xac], r15d
lea rcx, [rsp + 0x128]
mov dword [rsp + 0xd0], r10d
mov r11d, 1
mov byte [rdx + rax], 0
mov eax, dword [rsp + 0xfc]
lea rdx, [rsp + 0xfa]
mov qword [rsp + 0x128], 0
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x118]
mov dword [rsp + 0xb0], ebp
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0xf8]
mov dword [rsp + 0xb4], ebx
mov rbx, r11
mov byte [rsp + 0x130], al
lea rax, [rsp + 0x130]
mov dword [rsp + 0xb8], esi
mov rbp, rax
mov rsi, rcx
mov dword [rsp + 0xbc], r12d
mov r12, rdx
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, r12
mov dword [rsp + 0x8c], ebx
mov r15, qword [rsp + 0x128]
call sub.msys_2.0.dll_mbrtowc
cmp rax, 0xfffffffffffffffe
jne 0x1004691e8
mov qword [rsp + 0x128], r15
mov r15d, dword [rsp + 0x2c]
lea rdx, [rsp + 0xf9]
test r15d, r15d
je 0x100469188
mov ecx, dword [rsp + 0x30]
mov r8d, 1
call sym.bash.exe_zread
test eax, eax
js 0x1004691e8
movzx eax, byte [rsp + 0xf9]
add rbx, 1
mov byte [rbx + rbp - 1], al
jmp 0x100468d66
mov rdx, qword [sym.bash.exe_igncr]
mov edx, dword [rdx]
test edx, edx
je 0x100468df5
cmp al, 0xd
je 0x100469170
test byte [rsp + 0x88], 1
jne 0x100469100
cmp al, 1
jne 0x100469100
movsxd rax, dword [rsp + 0xfc]
add dword [rsp + 0x84], 1
lea edx, [rax + 1]
mov dword [rsp + 0xfc], edx
mov rdx, qword [rsp + 0x118]
mov byte [rdx + rax], 1
movzx eax, byte [rsp + 0xf8]
jmp 0x100468add
test eax, eax
je 0x100469120
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0xf8]
mov r8d, 1
call sym.bash.exe_zreadintr
mov r12d, eax
jmp 0x100468bb0
mov ecx, dword [rsp + 0x30]
test eax, eax
je 0x100469158
call sym.bash.exe_zreadcintr
mov r12d, eax
jmp 0x100468bb0
mov eax, dword [rsp + 0xfc]
sub eax, 1
mov dword [rsp + 0xfc], eax
mov rax, qword [sym.bash.exe_interactive]
mov r10d, dword [rax]
test r10d, r10d
je 0x100469168
mov r9d, dword [rsp + 0x98]
test r9d, r9d
je 0x1004692b0
cmp byte [rsp + 0x73], 0
je 0x1004692b0
mov esi, r14d
mov r14d, dword [rsp + 0x74]
jmp 0x100468b27
mov ecx, dword [rax]
call sym.bash.exe_termsig_handler
mov rax, qword [sym.bash.exe_interrupt_state]
mov eax, dword [rax]
test eax, eax
je 0x100468a9c
jmp 0x100468be9
mov rax, qword [sym.bash.exe_bash_readline_initialized]
mov r13d, dword [rax]
test r13d, r13d
je 0x100469278
mov rax, qword [sym.bash.exe_rl_attempted_completion_function]
mov rdx, qword [rax]
mov qword [rax], 0
mov qword [0x100600208], rdx
call sym.bash.exe_bashline_set_event_hook
cmp qword [rsp + 0x38], 0
je 0x100468f5f
mov rax, qword [sym.bash.exe_rl_startup_hook]
lea rbx, [0x1004680d0]
mov rdx, qword [rax]
mov qword [rax], rbx
mov rax, qword [rsp + 0x38]
mov qword [0x100600200], rdx
mov qword [0x1006001f8], rax
mov rcx, qword [rsp + 0x90]
call sym.bash.exe_readline
mov rdx, qword [0x100600208]
mov qword [0x100600208], 0
mov r13, rax
mov rax, qword [sym.bash.exe_rl_attempted_completion_function]
mov qword [rax], rdx
call sym.bash.exe_bashline_reset_event_hook
test r13, r13
je 0x1004692ce
mov rcx, r13
call sub.msys_2.0.dll_strlen
mov rcx, r13
lea edx, [rax + 2]
mov rbx, rax
movsxd rdx, edx
call sym.bash.exe_xrealloc
movzx edx, byte [0x100600220]
mov r13, rax
movsxd rax, ebx
add ebx, 1
movsxd rbx, ebx
mov byte [r13 + rax], dl
mov byte [r13 + rbx], 0
mov ebx, dword [rsp + 0x74]
test r13, r13
jne 0x100468a89
mov qword [rsp + 0x60], r13
mov r15d, r12d
mov r12d, dword [rsp + 0x28]
nop word [rax + rax]
movsxd rax, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x118]
mov byte [rdx + rax], 0
mov r14d, dword [sym.bash.exe_sigalrm_seen]
test r14d, r14d
jne 0x100469978
mov r13d, dword [rsp + 0x28]
test r13d, r13d
jne 0x1004697ac
test r15d, r15d
js 0x1004698d8
mov eax, dword [rsp + 0x58]
or eax, dword [rsp + 0x44]
je 0x10046904f
xor edx, edx
xor ecx, ecx
call sym.bash.exe_falarm
mov rdx, qword [0x100600228]
mov ecx, 0xe
call sym.bash.exe_set_signal_handler
mov ebp, dword [rsp + 0x40]
test ebp, ebp
jle 0x100469877
mov edi, dword [rsp + 0x28]
test edi, edi
je 0x1004697bb
mov esi, dword [rsp + 0x40]
test esi, esi
jle 0x10046907c
mov rax, qword [sym.bash.exe_rl_num_chars_to_read]
mov dword [rax], 0
cmp byte [0x100600220], 0xa
je 0x1004690c5
call sym.bash.exe_rl_get_keymap
mov edx, dword [0x1006001e0]
mov byte [rax + 0xd0], dl
mov rdx, qword [0x1006001d8]
mov qword [rax + 0xd8], rdx
movzx edx, byte [0x1006001d0]
shl rdx, 4
add rax, rdx
mov edx, dword [0x1006001f0]
mov byte [rax], dl
mov rdx, qword [0x1006001e8]
mov qword [rax + 8], rdx
mov r10d, dword [rsp + 0x2c]
test r10d, r10d
jne 0x1004690d8
mov ecx, dword [rsp + 0x30]
call sym.bash.exe_zsyncfd
lea rcx, str.read_builtin
call sym.bash.exe_discard_unwind_frame
jmp 0x1004685e1
mov rcx, r13
xor r13d, r13d
call sym.bash.exe_xfree
jmp 0x100468a80
cmp al, 0x7f
jne 0x100468add
test byte [rsp + 0x9c], 1
je 0x100468e0b
jmp 0x100468add
mov ecx, dword [rsp + 0x30]
mov r8d, ebp
sub r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0xf8]
movsxd r8, r8d
call sym.bash.exe_zreadn
mov r12d, eax
jmp 0x100468bb0
call sym.bash.exe_zread
mov r12d, eax
jmp 0x100468bb0
call sym.bash.exe_zreadc
mov r12d, eax
jmp 0x100468bb0
xor r14d, r14d
jmp 0x100468b27
cmp byte [0x100600220], 0xd
je 0x100468add
jmp 0x100468b27
mov ecx, dword [rsp + 0x30]
call sym.bash.exe_zreadc
jmp 0x100468dbd
mov r8d, dword [rsp + 0x88]
mov r14d, 1
test r8d, r8d
jne 0x100468b27
movsxd rax, dword [rsp + 0xfc]
add dword [rsp + 0x84], 1
lea edx, [rax + 1]
mov dword [rsp + 0xfc], edx
mov rdx, qword [rsp + 0x118]
mov byte [rdx + rax], 1
jmp 0x100468b27
movsxd rcx, dword [rsp + 0xa8]
mov r11, rbx
add rcx, qword [rsp + 0xa0]
mov eax, 1
cmp dword [rsp + 0x8c], 1
mov r15d, dword [rsp + 0xac]
mov ebp, dword [rsp + 0xb0]
mov esi, dword [rsp + 0xb8]
mov ebx, dword [rsp + 0xb4]
mov r12d, dword [rsp + 0xbc]
mov r10d, dword [rsp + 0xd0]
je 0x100469255
nop word [rax + rax]
movzx edx, byte [rsp + rax + 0x130]
mov byte [rcx + rax - 1], dl
add rax, 1
cmp rax, r11
jne 0x100469240
mov eax, dword [rsp + 0xfc]
mov ecx, dword [rsp + 0x8c]
lea eax, [rax + rcx - 1]
mov dword [rsp + 0xfc], eax
jmp 0x100468b12
call sym.bash.exe_initialize_readline
jmp 0x100468f13
lea rcx, [0x1004f5687]
lea r12, [0x1004f55e0]
call sym.bash.exe_get_string_value
test rax, rax
mov qword [rsp + 0x78], rax
cmovne r12, rax
jmp 0x100468b56
mov r14d, dword [rsp + 0x74]
jmp 0x100468b27
mov rax, qword [sym.bash.exe_list_optarg]
mov rcx, qword [rax]
call sym.bash.exe_sh_invalidnum
jmp 0x100468618
mov qword [rsp + 0x60], 0
mov r15d, r12d
mov r12d, dword [rsp + 0x28]
jmp 0x100468ff0
mov rax, qword [rsp + 0x118]
cmp qword [rsp + 0x280], 0
mov qword [rsp + 0xe0], rax
je 0x100469aca
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xe0]
mov r8, qword [sym.bash.exe_ifs_cmap]
mov r9, qword [rsp + 0xc0]
cmp byte [rax], 0
jne 0x10046933a
jmp 0x100469350
add rdx, 1
cmp byte [r9], 0
je 0x100469350
movzx eax, byte [rdx]
lea ecx, [rax - 9]
cmp cl, 1
jbe 0x100469349
cmp al, 0x20
jne 0x100469350
cmp byte [r8 + rax], 0
jne 0x100469330
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x118], rdx
cmp qword [rax], 0
je 0x100469a2b
mov dword [rsp + 0xec], r12d
mov r15, qword [rsp + 0xc0]
lea rsi, [0x1004f55e0]
lea rbp, [rsp + 0x120]
lea rdi, [rsp + 0x118]
mov r13, rax
jmp 0x100469416
mov r8, rbp
mov rdx, r15
mov rcx, rdi
call sym.bash.exe_get_word_from_string
mov r14, rax
test rax, rax
je 0x100469480
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x84]
mov rdx, r14
mov byte [rax], 0
test ecx, ecx
jne 0x100469490
mov rcx, r12
call fcn.100468150
mov rbx, rax
test r14, r14
je 0x1004693ef
mov rcx, r14
call fcn.1004d2c80
test rbx, rbx
je 0x100469a09
mov rcx, r12
call sym.bash.exe_stupidly_hack_special_variables
mov r13, qword [r13]
and dword [rbx + 0x28], 0xffffefff
cmp qword [r13], 0
je 0x100469a1b
mov rax, qword [r13 + 8]
mov r12, qword [rax]
mov rcx, r12
call sym.bash.exe_legal_identifier
test eax, eax
je 0x100469450
mov rax, qword [rsp + 0x118]
cmp byte [rax], 0
jne 0x1004693a0
mov rdx, rsi
mov rcx, r12
call fcn.100468150
mov rbx, rax
jmp 0x1004693ef
xor edx, edx
mov rcx, r12
call sym.bash.exe_valid_array_reference
test eax, eax
jne 0x100469429
mov rcx, r12
call sym.bash.exe_sh_invalidid
mov rcx, qword [rsp + 0xe0]
call sym.bash.exe_xfree
jmp 0x100468618
mov rdx, rsi
jmp 0x1004693d7
mov rcx, r14
call sym.bash.exe_dequote_string
mov rcx, r12
mov rdx, rax
mov qword [rsp + 0xc8], rax
call fcn.100468150
mov rcx, qword [rsp + 0xc8]
mov rbx, rax
call sym.bash.exe_xfree
jmp 0x1004693e2
mov rax, qword [sym.bash.exe_interactive_shell]
mov r13d, dword [rax]
test r13d, r13d
jne 0x1004694d4
call sym.bash.exe_initialize_terminating_signals
lea rdx, [0x100468040]
mov ecx, 0xe
call sym.bash.exe_set_signal_handler
xor edx, edx
lea rcx, [0x100468050]
mov qword [0x100600228], rax
call sym.bash.exe_add_unwind_protect
mov r12d, dword [rsp + 0x28]
test r12d, r12d
je 0x100469520
xor edx, edx
lea rcx, [0x1004681a0]
call sym.bash.exe_add_unwind_protect
mov rcx, qword [sym.bash.exe_bashline_reset_event_hook]
xor edx, edx
call sym.bash.exe_add_unwind_protect
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x58]
call sym.bash.exe_falarm
jmp 0x1004688d0
mov ebx, dword [rsp + 0x98]
test ebx, ebx
je 0x10046899c
mov edi, dword [rsp + 0x30]
lea rbx, [rsp + 0x150]
mov rdx, rbx
mov ecx, edi
mov dword [0x100600210], edi
call sym.bash.exe_ttgetattr
mov rax, qword [rsp + 0x170]
movdqa xmm0, xmmword [rsp + 0x150]
mov qword [0x100600218], rbx
movdqa xmm1, xmmword [rsp + 0x160]
mov r11d, dword [rsp + 0x68]
lea rdx, [rsp + 0x180]
mov qword [rsp + 0x1a0], rax
mov eax, dword [rsp + 0x178]
movaps xmmword [rsp + 0x180], xmm0
mov dword [rsp + 0x1a8], eax
movaps xmmword [rsp + 0x190], xmm1
test r11d, r11d
je 0x100469bf8
mov ecx, edi
call sym.bash.exe_ttfd_cbreak
mov dword [rsp + 0xfc], eax
mov eax, dword [rsp + 0xfc]
test eax, eax
jns 0x1004695dd
mov ecx, 1
call sym.bash.exe_sh_ttyerror
lea rdx, [0x100600210]
lea rcx, [0x100468130]
mov dword [0x100600230], 1
call sym.bash.exe_add_unwind_protect
mov rax, qword [sym.bash.exe_interactive_shell]
mov r9d, dword [rax]
test r9d, r9d
jne 0x10046899c
call sym.bash.exe_initialize_terminating_signals
jmp 0x10046899c
cmp byte [0x100600220], 0xa
jne 0x1004688dc
mov r10d, dword [rsp + 0x68]
test r10d, r10d
je 0x10046899c
mov edi, dword [rsp + 0x30]
lea rbx, [rsp + 0x150]
mov rdx, rbx
mov ecx, edi
mov dword [0x100600210], edi
call sym.bash.exe_ttgetattr
mov rax, qword [rsp + 0x170]
mov ecx, edi
movdqa xmm2, xmmword [rsp + 0x150]
movdqa xmm3, xmmword [rsp + 0x160]
lea rdx, [rsp + 0x180]
mov qword [0x100600218], rbx
mov qword [rsp + 0x1a0], rax
mov eax, dword [rsp + 0x178]
movaps xmmword [rsp + 0x180], xmm2
mov dword [rsp + 0x1a8], eax
movaps xmmword [rsp + 0x190], xmm3
call sym.bash.exe_ttfd_noecho
jmp 0x1004695c1
mov rax, qword [sym.bash.exe_list_optarg]
lea rcx, str._s:_invalid_file_descriptor_specification
mov r12, qword [rax]
call sym.bash.exe_libintl_gettext
mov rcx, rax
mov rdx, r12
call sym.bash.exe_builtin_error
jmp 0x100468618
mov rax, qword [sym.bash.exe_list_optarg]
lea rcx, str._s:_invalid_timeout_specification
mov r12, qword [rax]
call sym.bash.exe_libintl_gettext
mov rcx, rax
mov rdx, r12
call sym.bash.exe_builtin_error
jmp 0x100468618
mov r14d, dword [rsp + 0x44]
test r14d, r14d
jne 0x10046855b
jmp 0x1004688d0
mov rcx, qword [rsp + 0x50]
mov edx, 1
call sym.bash.exe_find_or_make_array_variable
mov r13, rax
test rax, rax
je 0x100469b36
mov eax, dword [rax + 0x28]
test al, 0x40
jne 0x100469b1d
test ah, 0x10
je 0x100469742
and ah, 0xef
mov dword [r13 + 0x28], eax
mov rcx, qword [r13 + 8]
call sym.bash.exe_array_flush
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x118]
xor r8d, r8d
call sym.bash.exe_list_string
mov r14, rax
test rax, rax
je 0x10046979a
mov r9d, dword [rsp + 0x84]
mov rcx, rax
test r9d, r9d
je 0x100469be3
call sym.bash.exe_dequote_list
mov rcx, r13
xor r8d, r8d
mov rdx, r14
call sym.bash.exe_assign_array_var_from_word_list
mov rcx, r14
call sym.bash.exe_dispose_words
mov rcx, qword [rsp + 0x118]
call sym.bash.exe_xfree
jmp 0x10046862b
mov rcx, qword [rsp + 0x60]
call fcn.1004d2c80
jmp 0x100469022
mov ebx, dword [rsp + 0x98]
test ebx, ebx
je 0x1004690c5
mov rdx, qword [0x100600218]
mov ecx, dword [0x100600210]
call sym.bash.exe_ttsetattr
mov dword [0x100600230], 0
jmp 0x1004690c5
mov eax, dword [rsp + 0x40]
test eax, eax
jle 0x100469800
mov dword [rsp + 0x2c], 1
jmp 0x1004689f1
cmp byte [0x100600220], 0xa
jne 0x1004697f3
mov eax, dword [rsp + 0xd4]
test eax, eax
cmove eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
jmp 0x1004689f1
mov qword [rsp + 0x60], r13
mov r15d, r12d
jne 0x100469b73
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0xe8], eax
mov rax, qword [sym.bash.exe_terminating_signal]
mov eax, dword [rax]
test eax, eax
je 0x100469854
mov ebx, dword [0x100600230]
test ebx, ebx
jne 0x100469c10
mov rax, qword [sym.bash.exe_terminating_signal]
mov r12d, 1
mov edx, dword [rax]
test edx, edx
je 0x100468ff0
mov ecx, dword [rax]
call sym.bash.exe_termsig_handler
jmp 0x100468ff0
cmp byte [0x100600220], 0xa
jne 0x10046905b
mov r11d, dword [rsp + 0x68]
test r11d, r11d
je 0x1004690c5
jmp 0x1004697ca
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x58], 0
jmp 0x100468498
mov r12, qword [rsp + 0x118]
mov rcx, r12
call sub.msys_2.0.dll_strlen
lea rcx, [rax + 1]
call sym.bash.exe_xmalloc
mov rdx, r12
mov rcx, rax
call fcn.1004d3420
mov rbx, rax
jmp 0x1004685c7
call sub.msys_2.0.dll___errno
mov esi, dword [rax]
call sub.msys_2.0.dll___errno
cmp dword [rax], 4
je 0x100469913
call sub.msys_2.0.dll___errno
mov ecx, dword [rax]
call sub.msys_2.0.dll_strerror
lea rcx, str.read_error:__d:__s
mov rbx, rax
call sym.bash.exe_libintl_gettext
mov edx, dword [rsp + 0x30]
mov r8, rbx
mov rcx, rax
call sym.bash.exe_builtin_error
lea rcx, str.read_builtin
call sym.bash.exe_run_unwind_frame
cmp esi, 4
jne 0x100468618
mov r12d, dword [rsp + 0xe8]
sub r12d, 0xffffff80
jmp 0x10046862b
mov r15d, r12d
mov qword [rsp + 0x60], r13
mov r12d, r10d
jmp 0x100468ff0
call sub.msys_2.0.dll___getreent
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rax + 0x18]
call sub.msys_2.0.dll_fputs
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x18]
call fcn.1004d2bc0
mov eax, dword [sym.bash.exe_sigalrm_seen]
test eax, eax
je 0x100468a05
cmp qword [0x1006001c0], 0
je 0x100469993
xor r8d, r8d
lea rdx, [0x1006001c8]
xor ecx, ecx
call sub.msys_2.0.dll_pthread_sigmask
mov edx, 1
lea rcx, [sym.bash.exe_alrmbuf]
call sub.msys_2.0.dll_longjmp
nop dword [rax]
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x68]
mov dword [rsp + 0xd4], eax
je 0x100469b58
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x28], 0
jmp 0x1004684fd
mov rax, qword [rsp + 0x280]
xor edx, edx
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_valid_array_reference
test eax, eax
jne 0x100469a43
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_sh_invalidid
mov rcx, qword [rsp + 0xe0]
call sym.bash.exe_xfree
jmp 0x100468618
mov qword [rsp + 0x280], r13
mov r12d, dword [rsp + 0xec]
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_legal_identifier
test eax, eax
je 0x1004699db
mov r15, qword [rsp + 0x118]
cmp byte [r15], 0
jne 0x100469c31
mov eax, dword [rsp + 0x84]
mov r14, qword [rsp + 0x50]
test eax, eax
je 0x100469a6d
mov r15, qword [rsp + 0x118]
mov rax, qword [rsp + 0x280]
mov rdx, r15
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.100468150
mov rbx, rax
test rbx, rbx
je 0x100469bed
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_stupidly_hack_special_variables
and dword [rbx + 0x28], 0xffffefff
test r14, r14
je 0x100469ab8
mov rcx, r14
call fcn.1004d2c80
mov rcx, qword [rsp + 0xe0]
call sym.bash.exe_xfree
jmp 0x10046862b
mov r8d, dword [rsp + 0x84]
test r8d, r8d
je 0x100469bc4
mov rcx, rax
call sym.bash.exe_dequote_string
lea rcx, str.REPLY
xor r8d, r8d
mov r13, rax
mov rdx, rax
call sym.bash.exe_bind_variable
mov rcx, r13
mov rbx, rax
call fcn.1004d2c80
test rbx, rbx
je 0x100469b68
mov eax, dword [rbx + 0x28]
test eax, 0x4002
jne 0x100469b68
and ah, 0xef
mov dword [rbx + 0x28], eax
jmp 0x10046979a
lea rcx, str._s:_cannot_convert_associative_to_indexed_array
call sym.bash.exe_libintl_gettext
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call sym.bash.exe_builtin_error
mov rcx, qword [rsp + 0x118]
call sym.bash.exe_xfree
jmp 0x100468618
mov r15d, r12d
mov qword [rsp + 0x60], r13
mov r12d, r14d
jmp 0x100468ff0
mov dword [rsp + 0xd4], 1
jmp 0x1004684fd
mov r12d, 1
jmp 0x10046979a
call sub.msys_2.0.dll___errno
cmp dword [rax], 4
jne 0x10046982e
mov rax, qword [sym.bash.exe_terminating_signal]
mov edx, dword [rax]
test edx, edx
jne 0x100469cf4
mov rax, qword [sym.bash.exe_interrupt_state]
mov dword [rsp + 0xe8], 2
mov eax, dword [rax]
test eax, eax
jne 0x100469bba
mov rax, qword [sym.bash.exe_trapped_signal_received]
mov eax, dword [rax]
mov dword [rsp + 0xe8], eax
call sym.bash.exe_run_pending_traps
jmp 0x100469839
mov rdx, qword [rsp + 0xe0]
xor r8d, r8d
lea rcx, str.REPLY
call sym.bash.exe_bind_variable
mov rbx, rax
jmp 0x100469b03
call sym.bash.exe_word_list_remove_quoted_nulls
jmp 0x100469784
mov r12d, 1
jmp 0x100469aab
mov ecx, dword [rsp + 0x30]
call sym.bash.exe_ttfd_onechar
jmp 0x1004695c1
call sym.bash.exe_initialize_readline
jmp 0x100468927
mov rdx, qword [0x100600218]
mov ecx, dword [0x100600210]
call sym.bash.exe_ttsetattr
mov dword [0x100600230], 0
jmp 0x100469854
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x118]
lea r8, [rsp + 0x120]
call sym.bash.exe_get_word_from_string
mov r14, rax
mov rax, qword [rsp + 0x118]
cmp byte [rax], 0
jne 0x100469cd4
mov r15, r14
mov edx, dword [rsp + 0x84]
mov qword [rsp + 0x118], r15
test edx, edx
je 0x100469c85
test r15, r15
jne 0x100469c98
lea r15, [0x1004f55e0]
jmp 0x100469a6d
test r15, r15
lea rax, [0x1004f55e0]
cmove r15, rax
jmp 0x100469a6d
cmp byte [r15], 0
je 0x100469a65
mov rcx, r15
call sym.bash.exe_dequote_string
mov r15, rax
mov rax, qword [rsp + 0x280]
mov rdx, r15
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.100468150
mov rcx, r15
mov rbx, rax
call sym.bash.exe_xfree
jmp 0x100469a87
mov r8d, dword [rsp + 0x84]
mov rdx, qword [rsp + 0xc0]
mov rcx, r15
call sym.bash.exe_strip_trailing_ifs_whitespace
mov r15, rax
jmp 0x100469c61
mov eax, dword [rax]
mov dword [rsp + 0xe8], eax
test eax, eax
jne 0x100469bba
jmp 0x100469baa
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0x88], 0
jmp 0x10046840a