Function at 0x100474fa0
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x248
xor ebp, ebp
xor edi, edi
lea rsi, str.ersa:d:i:n:p:t:u:N:
mov dword [0x10065e614], 0
lea rbx, [0x100538958]
mov qword [sym.bash.exe_read_timeout], 0
mov qword [rsp + 0x290], rcx
mov dword [rsp + 0xfc], 0
call sub.msys_2.0.dll___locale_mb_cur_max
mov byte [0x10065e610], 0xa
mov dword [rsp + 0x78], eax
call sym.bash.exe_reset_internal_getopt
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x290]
mov rdx, rsi
call sym.bash.exe_internal_getopt
cmp eax, 0xffffffff
je 0x100475278
cmp eax, 0xffffff9d
je 0x100475248
sub eax, 0x4e
cmp eax, 0x27
ja case.0x10047508e.79
movsxd rax, dword [rbx + rax*4]
add rax, rbx
jmp rax
mov byte [0x10065e610], 0xff
mov dword [rsp + 0x48], 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 0x1004762e0
mov rax, qword [rsp + 0x110]
test rax, rax
js 0x1004762e0
movsxd rdx, eax
cmp rax, rdx
jne 0x1004762e0
mov dword [rsp + 0x38], eax
mov edi, 1
jmp 0x10047505d
call sym.bash.exe_builtin_usage
mov r14d, 0x102
mov eax, r14d
add rsp, 0x248
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 0x10047690f
mov r12, qword [rsp + 0x110]
test r12, r12
js 0x10047690f
movsxd rax, r12d
cmp r12, rax
jne 0x10047690f
mov ecx, r12d
call sym.bash.exe_sh_validfd
test eax, eax
je 0x100476d80
mov dword [rsp + 0x40], r12d
jmp 0x10047505d
mov rax, qword [sym.bash.exe_list_optarg]
xor r9d, r9d
lea rdx, [rsp + 0x100]
lea r8, [rsp + 0x108]
mov rcx, qword [rax]
call sym.bash.exe_uconvert
test eax, eax
je 0x1004768e9
mov rax, qword [rsp + 0x100]
test rax, rax
js 0x1004768e9
mov rdx, qword [rsp + 0x108]
test rdx, rdx
js 0x1004768e9
mov dword [rsp + 0x28], eax
mov ebp, 1
mov dword [rsp + 0x24], edx
jmp 0x10047505d
mov dword [rsp + 0x68], 1
jmp 0x10047505d
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x10047505d
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x10047505d
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [0x10065e610], al
jmp 0x10047505d
mov rax, qword [sym.bash.exe_list_optarg]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x10047505d
call sym.bash.exe_builtin_help
jmp 0x1004750f5
mov dword [rsp + 0x6c], 1
jmp 0x10047505d
mov dword [rsp + 0x2c], 1
jmp 0x10047505d
mov rax, qword [sym.bash.exe_loptend]
mov rax, qword [rax]
mov qword [rsp + 0x290], rax
test ebp, ebp
je 0x10047529c
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x24]
je 0x100475b88
cmp qword [rsp + 0x290], 0
je 0x1004752e4
mov rax, qword [sym.bash.exe_assoc_expand_once]
mov ebx, dword [rax]
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 8]
test ebx, ebx
je 0x1004752d4
mov edx, dword [rax + 8]
and edx, 0x200
cmp edx, 1
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 3
mov rcx, qword [rax]
call sym.bash.exe_legal_identifier
test eax, eax
je 0x100475b2c
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1004752f3
mov byte [0x10065e610], 0xff
call sym.bash.exe_getifs
mov r15d, dword [rsp + 0x48]
mov rbx, rax
lea rax, [0x100538890]
test rbx, rbx
cmove rbx, rax
mov qword [rsp + 0x90], rbx
test r15d, r15d
jne 0x100475ade
mov qword [rsp + 0x120], rbx
movzx eax, byte [rbx]
test al, al
je 0x100476f82
lea rdx, [rbx + 1]
xor r8d, r8d
xor ecx, ecx
nop dword [rax + rax]
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 0x100475340
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0xe0], r8d
mov ecx, 0x70
call sym.bash.exe_xmalloc
mov qword [rsp + 0x118], rax
mov byte [rax], 0
cmp edi, 1
je 0x100476627
test ebp, ebp
je 0x100476878
lea rbx, [rsp + 0x128]
mov rcx, rbx
call sub.msys_2.0.dll_sigemptyset
mov r8, rbx
xor edx, edx
mov ecx, 1
call sub.msys_2.0.dll_sigprocmask
mov edx, 0x14
mov rcx, rbx
call sub.msys_2.0.dll_sigaddset
lea rcx, str.read_builtin
call sym.bash.exe_begin_unwind_frame
mov rax, qword [sym.bash.exe_interactive]
mov r12d, dword [rax]
test r12d, r12d
jne 0x1004753f5
mov rbx, qword [sym.bash.exe_default_buffered_input]
mov ebp, dword [rbx]
test ebp, ebp
jns 0x100475b6b
mov ecx, dword [rsp + 0x40]
call sub.msys_2.0.dll_isatty
mov ebx, eax
test eax, eax
jne 0x100475b06
cmp qword [rsp + 0x58], 0
je 0x100476b92
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0xe4], 1
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov esi, dword [rsp + 0x28]
mov eax, esi
or eax, dword [rsp + 0x24]
jne 0x10047629c
mov esi, dword [rsp + 0x24]
test esi, esi
je 0x100475492
call sym.bash.exe_shtimer_alloc
mov rdx, qword [sym.bash.exe_posixly_correct]
mov esi, dword [rsp + 0x2c]
mov qword [sym.bash.exe_read_timeout], rax
or esi, dword [rdx]
mov edx, 5
cmp esi, 1
mov esi, dword [rsp + 0x40]
adc edx, 0
mov dword [rax + 0x10], esi
lea rsi, [0x100474da0]
mov dword [rax + 0x14], edx
mov qword [rax + 0x20], rsi
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x24]
je 0x100476655
mov r8, qword [sym.bash.exe_read_timeout]
xor ecx, ecx
xor edx, edx
mov qword [r8 + 0x130], 0
lea rsi, [r8 + 0x30]
add r8, 0x138
call sub.msys_2.0.dll_pthread_sigmask
mov rcx, rsi
mov dword [rsp + 0x9c], ebx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x70
call sub.msys_2.0.dll_setjmp
test eax, eax
jne 0x1004769bc
mov rax, qword [sym.bash.exe_interactive_shell]
mov r11d, dword [rax]
test r11d, r11d
jne 0x100475530
call sym.bash.exe_initialize_terminating_signals
xor edx, edx
lea rcx, [0x100474e70]
call sym.bash.exe_add_unwind_protect
mov r10d, dword [rsp + 0x2c]
test r10d, r10d
je 0x100476abc
xor edx, edx
lea rcx, [0x100474ec0]
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 esi, dword [rsp + 0x28]
mov rax, qword [sym.bash.exe_read_timeout]
mov rcx, rsi
mov qword [rax], rsi
mov esi, dword [rsp + 0x24]
mov qword [rax + 8], rsi
mov rdx, rsi
call sym.bash.exe_rl_set_timeout
nop dword [rax]
mov r9d, dword [rsp + 0x38]
test r9d, r9d
jle 0x1004767a8
mov r8d, dword [rsp + 0x2c]
test r8d, r8d
je 0x100476672
mov esi, dword [rsp + 0x38]
test esi, esi
jle 0x1004755ca
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], esi
movzx ebx, byte [0x10065e610]
cmp bl, 0xa
je 0x100475660
mov rax, qword [sym.bash.exe_bash_readline_initialized]
mov eax, dword [rax]
test eax, eax
je 0x100476e55
call sym.bash.exe_rl_get_keymap
mov byte [0x10065e588], bl
movsx edx, byte [rax + 0xd0]
mov dword [0x10065e598], edx
mov rdx, qword [rax + 0xd8]
mov qword [0x10065e590], rdx
movzx edx, bl
shl rdx, 4
add rdx, rax
movsx ecx, byte [rdx]
mov dword [0x10065e5a8], ecx
mov rcx, qword [rdx + 8]
mov byte [rax + 0xd0], 0
mov qword [0x10065e5a0], rcx
mov rcx, qword [sym.bash.exe_rl_insert]
mov qword [rax + 0xd8], rcx
mov rax, qword [sym.bash.exe_rl_newline]
lea rcx, [0x100474dc0]
mov byte [rdx], 0
mov qword [rdx + 8], rax
xor edx, edx
call sym.bash.exe_add_unwind_protect
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x100476343
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x100476343
mov rax, qword [sym.bash.exe_bash_readline_initialized]
mov r15d, dword [rax]
test r15d, r15d
jne 0x10047568c
call sym.bash.exe_initialize_readline
mov rbx, qword [sym.bash.exe_rl_instream]
mov edx, 8
mov rcx, rbx
call sym.bash.exe_unwind_protect_mem
mov ecx, dword [rsp + 0x40]
lea rdx, [0x100538937]
mov rbp, qword [rbx]
call sub.msys_2.0.dll_fdopen
mov qword [rbx], rax
mov rcx, qword [sym.bash.exe_xfree]
mov rdx, qword [rsp + 0x118]
call sym.bash.exe_add_unwind_protect
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x1004756e3
call sym.bash.exe_shtimer_chktimeout
test eax, eax
jne 0x100476f67
mov r14d, dword [rsp + 0x38]
test r14d, r14d
jle 0x100476a65
mov r13d, dword [rsp + 0x9c]
test r13d, r13d
jne 0x100476a45
mov r12d, dword [rsp + 0x48]
test r12d, r12d
je 0x100476a45
mov dword [rsp + 0x44], 2
cmp qword [rsp + 0x58], 0
je 0x10047572e
mov r11d, dword [rsp + 0x2c]
test r11d, r11d
je 0x100476b54
mov rsi, qword [rsp + 0x58]
lea rax, [0x100538890]
mov r14d, dword [rsp + 0x78]
mov r15, qword [sym.bash.exe_posixly_correct]
test rsi, rsi
cmovne rax, rsi
xor esi, esi
xor r12d, r12d
xor ebx, ebx
xor r13d, r13d
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x7c]
xor eax, 1
and eax, 1
mov byte [rsp + 0xbf], al
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x100475789
call sym.bash.exe_shtimer_chktimeout
test eax, eax
jne 0x100476f67
mov r10d, dword [rsp + 0x2c]
test r10d, r10d
je 0x100475ba0
test r13, r13
je 0x1004757b6
movsxd rax, dword [rsp + 0x4c]
cmp byte [r13 + rax], 0
jne 0x1004757b6
cmp byte [0x10065e610], 0
jne 0x100476200
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x24]
je 0x1004757d7
lea rdx, [rsp + 0x128]
lea r8, [rsp + 0x130]
xor ecx, ecx
call sub.msys_2.0.dll_sigprocmask
test r13, r13
je 0x100475e50
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x24]
je 0x1004757fc
lea rdx, [rsp + 0x130]
xor r8d, r8d
xor ecx, ecx
call sub.msys_2.0.dll_sigprocmask
test r13, r13
je 0x100476f22
movsxd rax, dword [rsp + 0x4c]
lea edi, [rax + 1]
movzx eax, byte [r13 + rax]
mov byte [rsp + 0xf8], al
test ebx, ebx
jg 0x100475837
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x100475837
call sym.bash.exe_shtimer_chktimeout
test eax, eax
jne 0x100476f67
mov dword [rsp + 0x4c], edi
mov eax, 4
mov edx, dword [rsp + 0xfc]
mov edi, dword [rsp + 0x34]
cmp r14d, eax
cmovge eax, r14d
add eax, edx
cmp eax, edi
jge 0x100475cf0
mov edx, dword [rsp + 0x3c]
movzx eax, byte [rsp + 0xf8]
test edx, edx
je 0x100475cb0
mov dword [rsp + 0x3c], 0
cmp al, 0xa
je 0x100475dc0
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 rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x1004758b6
call sym.bash.exe_shtimer_chktimeout
test eax, eax
jne 0x100476f67
cmp r14d, 1
jle 0x100475920
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 0x100475920
movsxd rax, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x118]
mov ecx, dword [rsp + 0x2c]
mov byte [rdx + rax], 0
test ecx, ecx
jne 0x100476170
mov rdx, qword [sym.bash.exe_locale_utf8locale]
movzx eax, byte [rsp + 0xf8]
mov edx, dword [rdx]
test edx, edx
je 0x100476000
test al, al
js 0x100476000
nop dword [rax]
mov edi, dword [rsp + 0x38]
add dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
test edi, edi
jle 0x100475770
cmp edi, eax
jg 0x100475770
mov qword [rsp + 0xc0], r13
xor r14d, r14d
movsxd rax, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x118]
mov byte [rdx + rax], 0
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x100475975
call sym.bash.exe_shtimer_chktimeout
test eax, eax
jne 0x100476f67
mov r12d, dword [rsp + 0x2c]
test r12d, r12d
jne 0x1004769aa
test ebx, ebx
js 0x100476af3
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x24]
je 0x1004759ba
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x1004759a6
call sym.bash.exe_shtimer_clear
xor edx, edx
xor ecx, ecx
call sym.bash.exe_rl_set_timeout
mov qword [sym.bash.exe_read_timeout], 0
mov edi, dword [rsp + 0x38]
test edi, edi
jle 0x100476ad6
mov esi, dword [rsp + 0x2c]
test esi, esi
je 0x100476a8a
mov ebx, dword [rsp + 0x38]
test ebx, ebx
jle 0x1004759e7
mov rax, qword [sym.bash.exe_rl_num_chars_to_read]
mov dword [rax], 0
cmp byte [0x10065e610], 0xa
je 0x100475a30
call sym.bash.exe_rl_get_keymap
mov edx, dword [0x10065e598]
mov byte [rax + 0xd0], dl
mov rdx, qword [0x10065e590]
mov qword [rax + 0xd8], rdx
movzx edx, byte [0x10065e588]
shl rdx, 4
add rax, rdx
mov edx, dword [0x10065e5a8]
mov byte [rax], dl
mov rdx, qword [0x10065e5a0]
mov qword [rax + 8], rdx
mov r9d, dword [rsp + 0x44]
test r9d, r9d
je 0x100476b7a
test rbp, rbp
je 0x100475a4d
mov rax, qword [sym.bash.exe_rl_instream]
mov qword [rax], rbp
lea rcx, str.read_builtin
call sym.bash.exe_discard_unwind_frame
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10047634a
mov edx, 3
call sym.bash.exe_builtin_find_indexed_array
mov rcx, qword [rsp + 0x118]
mov rsi, rax
test rax, rax
je 0x100476dae
mov rdx, qword [rsp + 0x90]
xor r8d, r8d
call sym.bash.exe_list_string
mov rbx, rax
test rax, rax
je 0x100475acc
mov r8d, dword [rsp + 0x98]
mov rcx, rax
test r8d, r8d
je 0x100476b88
call sym.bash.exe_dequote_list
mov rcx, rsi
xor r8d, r8d
mov rdx, rbx
call sym.bash.exe_assign_array_var_from_word_list
mov rcx, rbx
call sym.bash.exe_dispose_words
mov rcx, qword [rsp + 0x118]
call sub.msys_2.0.dll_free
jmp 0x1004750fb
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0x7c], 0
jmp 0x100475377
mov edi, dword [rsp + 0x2c]
test edi, edi
je 0x100475b1c
mov rcx, qword [sym.bash.exe_xfree]
xor edx, edx
call sym.bash.exe_add_unwind_protect
mov dword [rsp + 0xe4], 0
jmp 0x100475441
mov rax, qword [rsp + 0x290]
mov edx, ebx
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_valid_array_reference
test eax, eax
jne 0x1004752e4
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_sh_invalidid
nop
mov r14d, 1
jmp 0x1004750fb
mov ecx, dword [rsp + 0x40]
call sym.bash.exe_fd_is_bash_input
test eax, eax
je 0x1004753f5
mov ecx, dword [rbx]
call sym.bash.exe_sync_buffered_stream
jmp 0x1004753f5
mov ecx, dword [rsp + 0x40]
xor r14d, r14d
call sym.bash.exe_input_avail
test eax, eax
sete r14b
jmp 0x1004750fb
mov rdi, rsi
test r12d, r12d
je 0x100475bd0
test rsi, rsi
je 0x100475f90
call sub.msys_2.0.dll___getreent
mov rcx, rsi
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.100513ed0
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x100475be9
call sym.bash.exe_shtimer_chktimeout
test eax, eax
jne 0x100476f67
call sub.msys_2.0.dll___errno
mov dword [rax], 0
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x24]
je 0x100475c15
lea rdx, [rsp + 0x128]
lea r8, [rsp + 0x130]
xor ecx, ecx
call sub.msys_2.0.dll_sigprocmask
cmp dword [rsp + 0x44], 2
mov eax, dword [r15]
je 0x100475d40
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0xf8]
test r8d, r8d
je 0x100475da0
mov ecx, dword [rsp + 0x40]
mov r8d, 1
test eax, eax
je 0x100475ff0
call sym.bash.exe_zreadintr
mov ebx, eax
nop word [rax + rax]
mov eax, dword [rsp + 0x28]
or eax, dword [rsp + 0x24]
je 0x100475c74
lea rdx, [rsp + 0x130]
xor r8d, r8d
xor ecx, ecx
call sub.msys_2.0.dll_sigprocmask
test ebx, ebx
jle 0x100476935
mov rax, qword [sym.bash.exe_terminating_signal]
mov edx, dword [rax]
test edx, edx
jne 0x100475e28
mov rax, qword [sym.bash.exe_interrupt_state]
mov eax, dword [rax]
test eax, eax
jne 0x100475e40
mov r12d, dword [rsp + 0x2c]
mov rsi, rdi
jmp 0x10047583b
cmp al, 0x5c
je 0x100475d70
mov r9d, dword [rsp + 0x48]
test r9d, r9d
jne 0x100475cce
cmp al, byte [0x10065e610]
je 0x10047593d
test al, al
jne 0x100475f30
cmp byte [0x10065e610], 0
je 0x100475880
jmp 0x100475770
sub dword [rsp + 0x34], 0xffffff80
mov rcx, qword [rsp + 0x118]
movsxd rdx, dword [rsp + 0x34]
call sym.bash.exe_xrealloc
cmp qword [rsp + 0x118], rax
je 0x10047585c
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 0x10047585c
test eax, eax
je 0x100475fb8
mov ecx, dword [rsp + 0x40]
lea rdx, [rsp + 0xf8]
mov r8d, 1
call sym.bash.exe_zreadintr
mov ebx, eax
jmp 0x100475c58
mov edi, dword [rsp + 0x68]
test edi, edi
je 0x100476220
mov r11d, dword [rsp + 0x48]
test r11d, r11d
jne 0x100475880
cmp byte [0x10065e610], 0x5c
jne 0x100475880
jmp 0x10047593d
mov ecx, dword [rsp + 0x40]
test eax, eax
je 0x100475fe0
call sym.bash.exe_zreadcintr
mov ebx, eax
jmp 0x100475c58
mov eax, dword [rsp + 0x7c]
test eax, eax
jne 0x100475de4
mov eax, dword [rsp + 0xfc]
test eax, eax
jle 0x100475de4
mov eax, dword [rsp + 0xfc]
sub eax, 1
mov dword [rsp + 0xfc], eax
mov rax, qword [sym.bash.exe_interactive]
mov dword [rsp + 0x3c], 0
mov eax, dword [rax]
test eax, eax
je 0x100475770
mov eax, dword [rsp + 0x9c]
test eax, eax
je 0x100476278
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x100476278
mov r12d, 1
jmp 0x100475770
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 0x100475c9e
call sym.bash.exe_throw_to_top_level
jmp 0x100475c9e
mov rax, qword [sym.bash.exe_bash_readline_initialized]
mov r9d, dword [rax]
test r9d, r9d
je 0x100476268
mov rax, qword [sym.bash.exe_rl_attempted_completion_function]
mov rdx, qword [rax]
mov qword [rax], 0
mov qword [0x10065e5c0], rdx
call sym.bash.exe_bashline_set_event_hook
cmp qword [rsp + 0x50], 0
je 0x100475eaf
mov rax, qword [sym.bash.exe_rl_startup_hook]
lea rdi, [0x100474e10]
mov rdx, qword [rax]
mov qword [rax], rdi
mov rax, qword [rsp + 0x50]
mov qword [0x10065e5b8], rdx
mov qword [0x10065e5b0], rax
mov rcx, qword [rsp + 0xa0]
call sym.bash.exe_readline
mov rdx, qword [0x10065e5c0]
mov qword [0x10065e5c0], 0
mov rdi, rax
mov rax, qword [sym.bash.exe_rl_attempted_completion_function]
mov qword [rax], rdx
call sym.bash.exe_bashline_reset_event_hook
test rdi, rdi
je 0x1004762f4
mov rcx, rdi
call sub.msys_2.0.dll_strlen
mov rcx, rdi
lea edx, [rax + 2]
mov r13, rax
movsxd rdx, edx
call sym.bash.exe_xrealloc
movsxd rdx, r13d
movzx ecx, byte [0x10065e610]
add r13d, 1
movsxd r13, r13d
mov dword [rsp + 0x4c], 0
mov byte [rax + rdx], cl
mov byte [rax + r13], 0
mov r13, rax
jmp 0x1004757e0
mov rdx, qword [sym.bash.exe_igncr]
mov r8d, dword [rdx]
test r8d, r8d
je 0x100475f47
cmp al, 0xd
je 0x1004761e8
cmp byte [rsp + 0xbf], 0
je 0x100476d62
cmp al, 1
jne 0x100476d62
movsxd rax, dword [rsp + 0xfc]
add dword [rsp + 0x98], 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 0x100475880
lea rcx, [0x100538939]
lea rsi, [0x100538890]
call sym.bash.exe_get_string_value
test rax, rax
mov rdi, rax
cmovne rsi, rax
jmp 0x100475bb1
mov eax, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0xf8]
mov ecx, dword [rsp + 0x40]
sub r8d, eax
movsxd r8, r8d
call sym.bash.exe_zreadn
mov ebx, eax
jmp 0x100475c58
call sym.bash.exe_zreadc
mov ebx, eax
jmp 0x100475c58
call sym.bash.exe_zread
mov ebx, eax
jmp 0x100475c58
mov edi, dword [rsp + 0xfc]
mov byte [rsp + 0x140], al
lea rax, [rsp + 0x140]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xfa]
mov dword [rsp + 0xb0], edi
mov rdi, qword [rsp + 0x118]
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x88], rax
mov dword [rsp + 0xb4], ebx
mov dword [rsp + 0xb8], r14d
mov qword [rsp + 0xa8], rdi
lea rdi, [rsp + 0x138]
mov qword [rsp + 0x80], rdi
mov edi, 1
mov r9, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
mov r8, rdi
mov r14d, edi
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x138]
call sub.msys_2.0.dll_mbrtowc
cmp rax, 0xfffffffffffffffe
jne 0x1004760f8
cmp dword [rsp + 0x44], 2
mov qword [rsp + 0x138], rbx
lea rdx, [rsp + 0xf9]
je 0x100476288
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x100476160
mov ecx, dword [rsp + 0x40]
mov r8d, 1
call sym.bash.exe_zread
test eax, eax
jle 0x1004760f8
movzx eax, byte [rsp + 0xf9]
mov rbx, qword [rsp + 0x70]
add rdi, 1
mov byte [rdi + rbx - 1], al
jmp 0x100476072
movsxd rcx, dword [rsp + 0xb0]
mov r8d, r14d
mov rdx, qword [rsp + 0xa8]
mov eax, 1
mov ebx, dword [rsp + 0xb4]
mov r14d, dword [rsp + 0xb8]
add rdx, rcx
mov rcx, rdx
cmp r8d, 1
je 0x100476145
nop dword [rax + rax]
movzx edx, byte [rsp + rax + 0x140]
mov byte [rcx + rax - 1], dl
add rax, 1
cmp rax, rdi
jne 0x100476130
mov eax, dword [rsp + 0xfc]
lea eax, [rax + r8 - 1]
mov dword [rsp + 0xfc], eax
jmp 0x100475920
mov ecx, dword [rsp + 0x40]
call sym.bash.exe_zreadc
jmp 0x1004760d6
movsxd r9, dword [rsp + 0x4c]
movsxd rdx, r14d
xor r8d, r8d
lea rcx, [r13 + r9 - 1]
mov qword [rsp + 0xc8], r9
call sub.msys_2.0.dll_mbrlen
mov rdi, rax
cmp eax, 1
jle 0x100475920
mov r9, qword [rsp + 0xc8]
movsxd rcx, dword [rsp + 0xfc]
lea r8, [rax - 1]
add rcx, qword [rsp + 0x118]
lea rdx, [r13 + r9]
call sub.msys_2.0.dll_memcpy
mov eax, dword [rsp + 0xfc]
lea eax, [rax + rdi - 1]
mov dword [rsp + 0xfc], eax
mov eax, dword [rsp + 0x4c]
lea eax, [rax + rdi - 1]
mov dword [rsp + 0x4c], eax
jmp 0x100475920
cmp byte [0x10065e610], 0xd
je 0x100475880
jmp 0x100475770
mov rcx, r13
call sub.msys_2.0.dll_free
mov eax, dword [rsp + 0x24]
or eax, dword [rsp + 0x28]
je 0x100475e50
xor r13d, r13d
jmp 0x1004757c0
mov r10d, dword [rsp + 0x7c]
mov dword [rsp + 0x3c], 1
test r10d, r10d
jne 0x100475770
movsxd rax, dword [rsp + 0xfc]
add dword [rsp + 0x98], 1
lea edx, [rax + 1]
mov dword [rsp + 0xfc], edx
mov rdx, qword [rsp + 0x118]
mov byte [rdx + rax], 1
jmp 0x100475770
call sym.bash.exe_initialize_readline
jmp 0x100475e63
mov dword [rsp + 0x3c], 0
jmp 0x100475770
mov ecx, dword [rsp + 0x40]
mov r8d, 1
call sym.bash.exe_zreadn
jmp 0x1004760d6
mov ecx, dword [rsp + 0x40]
lea rdx, [rsp + 0x1c0]
call sub.msys_2.0.dll_fstat
test eax, eax
js 0x1004765cc
mov eax, dword [rsp + 0x1d0]
and eax, 0xf000
cmp eax, 0x8000
je 0x1004765cc
test esi, esi
jne 0x100475459
jmp 0x100475451
mov rax, qword [sym.bash.exe_list_optarg]
mov rcx, qword [rax]
call sym.bash.exe_sh_invalidnum
jmp 0x100475b60
mov rax, qword [sym.bash.exe_rl_readline_state]
mov rax, qword [rax]
test eax, 0x4000000
je 0x100476325
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x100476325
mov dword [rcx + 0x18], 1
call sym.bash.exe_shtimer_chktimeout
test eax, eax
jne 0x100476f67
mov eax, dword [rsp + 0x24]
or eax, dword [rsp + 0x28]
je 0x100476998
mov dword [rsp + 0x4c], 0
mov r13, rdi
jmp 0x1004757ea
xor ebp, ebp
jmp 0x1004756b6
mov rax, qword [rsp + 0x118]
cmp qword [rsp + 0x290], 0
mov qword [rsp + 0xd8], rax
je 0x100476bc7
mov rax, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xd8]
test rax, rax
je 0x1004763b8
cmp byte [rax], 0
mov r8, qword [sym.bash.exe_ifs_cmap]
mov r9, qword [rsp + 0x90]
jne 0x1004763a1
jmp 0x1004763b8
add rdx, 1
test r9, r9
je 0x1004763b8
movsx rax, byte [rdx]
lea ecx, [rax - 9]
cmp cl, 1
jbe 0x1004763b1
cmp al, 0x20
jne 0x1004763b8
cmp byte [r8 + rax], 0
jne 0x100476398
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x118], rdx
cmp qword [rax], 0
je 0x100476c30
lea r12, [rsp + 0x120]
mov dword [rsp + 0xec], r14d
mov rdi, qword [sym.bash.exe_assoc_expand_once]
lea rbp, [0x100538890]
mov r13d, dword [rsp + 0x98]
mov rbx, rax
mov r14, r12
jmp 0x100476495
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x118]
mov r8, r14
call sym.bash.exe_get_word_from_string
mov r12, rax
test rax, rax
je 0x1004765c4
mov rax, qword [rsp + 0x120]
mov rdx, r12
mov byte [rax], 0
test r13d, r13d
jne 0x100476570
mov r8d, r15d
mov rcx, rsi
call sym.bash.exe_builtin_bind_variable
mov r15, rax
test rax, rax
je 0x100476558
test dword [rax + 0x28], 0x4002
jne 0x100476558
test r12, r12
je 0x100476478
mov rcx, r12
call sub.msys_2.0.dll_free
nop dword [rax]
mov rcx, rsi
call sym.bash.exe_stupidly_hack_special_variables
mov rbx, qword [rbx]
and dword [r15 + 0x28], 0xffffefff
cmp qword [rbx], 0
je 0x100476c20
mov rax, qword [rbx + 8]
mov r15d, dword [rdi]
xor r12d, r12d
mov rsi, qword [rax]
test r15d, r15d
je 0x1004764d1
mov eax, dword [rax + 8]
and eax, 0x200
cmp eax, 1
sbb r12d, r12d
and r12d, 0xfffffffe
add r12d, 3
cmp eax, 1
sbb r15d, r15d
and r15d, 0xfffff000
add r15d, 0x1080
mov rcx, rsi
call sym.bash.exe_legal_identifier
test eax, eax
je 0x100476528
mov rax, qword [rsp + 0x118]
cmp byte [rax], 0
jne 0x100476408
mov r8d, r15d
mov rdx, rbp
mov rcx, rsi
call sym.bash.exe_builtin_bind_variable
mov r15, rax
test rax, rax
je 0x100476511
test dword [rax + 0x28], 0x4002
je 0x100476478
mov rcx, qword [rsp + 0xd8]
call sub.msys_2.0.dll_free
jmp 0x100475b60
mov edx, r12d
mov rcx, rsi
call sym.bash.exe_valid_array_reference
test eax, eax
jne 0x1004764dd
mov rcx, rsi
call sym.bash.exe_sh_invalidid
mov rcx, qword [rsp + 0xd8]
call sub.msys_2.0.dll_free
jmp 0x100475b60
test r12, r12
je 0x100476511
mov rcx, r12
call sub.msys_2.0.dll_free
jmp 0x100476511
mov rcx, r12
call sym.bash.exe_dequote_string
mov r8d, r15d
mov rcx, rsi
mov rdx, rax
mov qword [rsp + 0xd0], rax
call sym.bash.exe_builtin_bind_variable
mov rdx, qword [rsp + 0xd0]
test rax, rax
mov r15, rax
je 0x100476793
test dword [rax + 0x28], 0x4002
jne 0x100476793
mov rcx, rdx
call sub.msys_2.0.dll_free
mov rcx, r12
call sub.msys_2.0.dll_free
jmp 0x100476478
mov rdx, rbp
jmp 0x100476443
mov dword [rsp + 0x9c], ebx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x70
jmp 0x100475590
mov r13d, dword [rsp + 0x38]
test r13d, r13d
jne 0x100475395
mov ecx, dword [rsp + 0x40]
lea rdx, [rsp + 0xf8]
xor r8d, r8d
call fcn.1005144e0
mov r14d, eax
shr r14d, 0x1f
jmp 0x100475a59
mov dword [rsp + 0x9c], ebx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0xc0], 0
jmp 0x1004765f7
mov eax, dword [rsp + 0x9c]
test eax, eax
je 0x100475660
mov esi, dword [rsp + 0x40]
lea rdx, [rsp + 0x160]
mov ecx, esi
mov dword [0x10065e5e0], esi
call sym.bash.exe_ttgetattr
mov rax, qword [rsp + 0x17c]
mov rbx, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x184]
mov r8, qword [rsp + 0x160]
mov r9, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
mov qword [0x10065e5fc], rbx
mov qword [rsp + 0x1a8], rbx
mov qword [0x10065e600], rax
mov qword [rsp + 0x1ac], rax
mov eax, dword [rsp + 0x6c]
mov qword [0x10065e608], rdx
mov qword [rsp + 0x1b4], rdx
lea rdx, [rsp + 0x190]
mov qword [0x10065e5e4], r8
mov qword [0x10065e5ec], r9
mov qword [0x10065e5f4], rcx
mov qword [rsp + 0x190], r8
mov qword [rsp + 0x198], r9
mov qword [rsp + 0x1a0], rcx
test eax, eax
je 0x100476e47
mov ecx, esi
call sym.bash.exe_ttfd_cbreak
mov dword [rsp + 0xfc], eax
mov eax, dword [rsp + 0xfc]
test eax, eax
jns 0x10047675b
mov ecx, 1
call sym.bash.exe_sh_ttyerror
lea rdx, [0x10065e5e0]
lea rcx, [0x100474ea0]
mov dword [0x10065e614], 1
call sym.bash.exe_add_unwind_protect
mov rax, qword [sym.bash.exe_interactive_shell]
mov eax, dword [rax]
test eax, eax
jne 0x100475660
call sym.bash.exe_initialize_terminating_signals
jmp 0x100475660
mov rcx, rdx
call sub.msys_2.0.dll_free
mov rcx, r12
call sub.msys_2.0.dll_free
jmp 0x100476511
cmp byte [0x10065e610], 0xa
jne 0x10047559e
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x100475660
mov esi, dword [rsp + 0x40]
lea rdx, [rsp + 0x160]
mov ecx, esi
mov dword [0x10065e5e0], esi
call sym.bash.exe_ttgetattr
mov rcx, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x184]
mov r8, qword [rsp + 0x160]
mov r9, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x178]
mov rax, qword [rsp + 0x17c]
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0x1b4], rdx
mov qword [0x10065e5f4], rcx
mov ecx, esi
mov qword [0x10065e608], rdx
lea rdx, [rsp + 0x190]
mov qword [0x10065e5fc], rbx
mov qword [rsp + 0x1a8], rbx
mov qword [0x10065e5e4], r8
mov qword [0x10065e5ec], r9
mov qword [rsp + 0x190], r8
mov qword [rsp + 0x198], r9
mov qword [rsp + 0x1ac], rax
mov qword [0x10065e600], rax
call sym.bash.exe_ttfd_noecho
jmp 0x10047673f
lea rcx, str.TMOUT
call sym.bash.exe_get_string_value
mov qword [rsp + 0x120], rax
test rax, rax
je 0x10047539d
xor r9d, r9d
lea rdx, [rsp + 0x100]
lea r8, [rsp + 0x108]
mov rcx, rax
call sym.bash.exe_uconvert
test eax, eax
je 0x100476d21
mov rdx, qword [rsp + 0x100]
test rdx, rdx
js 0x100476d21
mov rax, qword [rsp + 0x108]
mov ebx, edx
test rax, rax
cmovs ebx, ebp
cmovns ebp, eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x24], ebp
jmp 0x10047539d
mov rax, qword [sym.bash.exe_list_optarg]
lea rcx, str._s:_invalid_timeout_specification
mov rbx, qword [rax]
call sym.bash.exe_libintl_gettext
mov rcx, rax
mov rdx, rbx
call sym.bash.exe_builtin_error
jmp 0x100475b60
mov rax, qword [sym.bash.exe_list_optarg]
lea rcx, str._s:_invalid_file_descriptor_specification
mov rbx, qword [rax]
call sym.bash.exe_libintl_gettext
mov rcx, rax
mov rdx, rbx
call sym.bash.exe_builtin_error
jmp 0x100475b60
mov qword [rsp + 0xc0], r13
call sub.msys_2.0.dll___errno
mov esi, dword [rax]
test ebx, ebx
jne 0x100476dc3
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xe8], eax
mov rax, qword [sym.bash.exe_terminating_signal]
mov eax, dword [rax]
test eax, eax
je 0x100476972
mov ecx, dword [0x10065e614]
test ecx, ecx
jne 0x100476ef6
mov rax, qword [sym.bash.exe_terminating_signal]
mov edx, dword [rax]
test edx, edx
je 0x100476986
mov ecx, dword [rax]
call sym.bash.exe_termsig_handler
call sub.msys_2.0.dll___errno
mov r14d, 1
mov dword [rax], esi
jmp 0x100475948
mov qword [rsp + 0xc0], rdi
mov r14d, dword [rsp + 0x2c]
jmp 0x100475948
mov rcx, qword [rsp + 0xc0]
call sub.msys_2.0.dll_free
jmp 0x100475983
mov rcx, qword [sym.bash.exe_read_timeout]
test rcx, rcx
je 0x1004769cd
call sym.bash.exe_shtimer_clear
xor edx, edx
xor ecx, ecx
call sym.bash.exe_rl_set_timeout
lea rdx, [rsp + 0x130]
xor r8d, r8d
xor ecx, ecx
mov qword [sym.bash.exe_read_timeout], 0
call sub.msys_2.0.dll_sigprocmask
movsxd rax, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x118]
mov byte [rdx + rax], 0
mov eax, dword [rsp + 0xfc]
test eax, eax
jne 0x100476d36
mov ecx, 1
call sym.bash.exe_xmalloc
mov byte [rax], 0
mov rbx, rax
lea rcx, str.read_builtin
mov r14d, 0x8e
call sym.bash.exe_run_unwind_frame
mov qword [rsp + 0x118], rbx
jmp 0x100475a59
mov edi, dword [rsp + 0x38]
test edi, edi
jle 0x100476a65
mov esi, dword [rsp + 0x9c]
test esi, esi
je 0x100476a6e
mov dword [rsp + 0x44], 1
jmp 0x100475718
cmp byte [0x10065e610], 0xa
jne 0x100476a4d
mov ebx, dword [rsp + 0xe4]
mov eax, 1
test ebx, ebx
cmove eax, dword [rsp + 0x44]
mov dword [rsp + 0x44], eax
jmp 0x100475718
mov r11d, dword [rsp + 0x9c]
test r11d, r11d
je 0x100475a30
mov ecx, dword [0x10065e5e0]
lea rdx, [0x10065e5e4]
call sym.bash.exe_ttsetattr
mov dword [0x10065e614], 0
jmp 0x100475a30
mov edx, dword [rsp + 0x28]
mov r8d, dword [rsp + 0x24]
mov rcx, qword [sym.bash.exe_read_timeout]
call sym.bash.exe_shtimer_set
jmp 0x100475590
cmp byte [0x10065e610], 0xa
jne 0x1004759c6
mov r10d, dword [rsp + 0x6c]
test r10d, r10d
je 0x100475a30
jmp 0x100476a9b
call sub.msys_2.0.dll___errno
mov esi, dword [rax]
call sub.msys_2.0.dll___errno
cmp dword [rax], 4
je 0x100476b2e
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 + 0x40]
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 0x100475b60
mov r14d, dword [rsp + 0xe8]
sub r14d, 0xffffff80
jmp 0x1004750fb
call sub.msys_2.0.dll___getreent
mov rcx, qword [rsp + 0x58]
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.100513ed0
jmp 0x10047572e
mov ecx, dword [rsp + 0x40]
call sym.bash.exe_zsyncfd
jmp 0x100475a3e
call sym.bash.exe_word_list_remove_quoted_nulls
jmp 0x100475ab6
mov eax, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x6c]
or eax, esi
mov dword [rsp + 0xe4], eax
je 0x100476e18
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x2c], 0
jmp 0x100475441
mov ecx, dword [rsp + 0x98]
test ecx, ecx
je 0x100476e28
mov rcx, rax
call sym.bash.exe_dequote_string
lea rcx, str.REPLY
xor r8d, r8d
mov rsi, rax
mov rdx, rax
call sym.bash.exe_bind_variable
mov rcx, rsi
mov rbx, rax
call sub.msys_2.0.dll_free
test rbx, rbx
je 0x100476db8
mov eax, dword [rbx + 0x28]
test eax, 0x4002
jne 0x100476db8
and ah, 0xef
mov dword [rbx + 0x28], eax
jmp 0x100475acc
mov qword [rsp + 0x290], rbx
mov r14d, dword [rsp + 0xec]
mov rax, qword [sym.bash.exe_assoc_expand_once]
xor ebx, ebx
mov edi, dword [rax]
test edi, edi
je 0x100476c6f
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 0x200
cmp eax, 1
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 3
cmp eax, 1
sbb edi, edi
and edi, 0xfffff000
add edi, 0x1080
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_legal_identifier
test eax, eax
je 0x100476ebf
mov rsi, qword [rsp + 0x118]
cmp byte [rsi], 0
jne 0x100476e5f
mov eax, dword [rsp + 0x98]
mov rbx, qword [rsp + 0x60]
test eax, eax
je 0x100476cb4
mov rsi, qword [rsp + 0x118]
mov rax, qword [rsp + 0x290]
mov rdx, rsi
mov r8d, edi
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_builtin_bind_variable
mov rsi, rax
test rax, rax
je 0x100476f17
test dword [rax + 0x28], 0x4002
jne 0x100476f17
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_stupidly_hack_special_variables
and dword [rsi + 0x28], 0xffffefff
test rbx, rbx
je 0x100476d0f
mov rcx, rbx
call sub.msys_2.0.dll_free
mov rcx, qword [rsp + 0xd8]
call sub.msys_2.0.dll_free
jmp 0x1004750fb
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
jmp 0x10047539d
mov rbx, qword [rsp + 0x118]
mov rcx, rbx
call sub.msys_2.0.dll_strlen
lea rcx, [rax + 1]
call sym.bash.exe_xmalloc
mov rdx, rbx
mov rcx, rax
call fcn.100514770
mov rbx, rax
jmp 0x100476a26
cmp al, 0x7f
jne 0x100475880
test byte [rsp + 0xe0], 1
je 0x100475f5d
jmp 0x100475880
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 0x100475b60
call sub.msys_2.0.dll_free
jmp 0x100475b60
mov r14d, 1
jmp 0x100475acc
call sub.msys_2.0.dll___errno
cmp dword [rax], 4
jne 0x10047694c
call sym.bash.exe_check_signals
mov rax, qword [sym.bash.exe_terminating_signal]
mov edx, dword [rax]
test edx, edx
jne 0x100476f6c
mov rax, qword [sym.bash.exe_interrupt_state]
mov dword [rsp + 0xe8], 2
mov eax, dword [rax]
test eax, eax
jne 0x100476957
mov rax, qword [sym.bash.exe_trapped_signal_received]
mov eax, dword [rax]
mov dword [rsp + 0xe8], eax
jmp 0x100476957
mov dword [rsp + 0xe4], 1
jmp 0x100475441
mov rdx, qword [rsp + 0xd8]
xor r8d, r8d
lea rcx, str.REPLY
call sym.bash.exe_bind_variable
mov rbx, rax
jmp 0x100476bfe
mov ecx, dword [rsp + 0x40]
call sym.bash.exe_ttfd_onechar
jmp 0x10047673f
call sym.bash.exe_initialize_readline
jmp 0x1004755eb
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x118]
lea r8, [rsp + 0x120]
call sym.bash.exe_get_word_from_string
mov rbx, rax
mov rax, qword [rsp + 0x118]
cmp byte [rax], 0
jne 0x100476f47
mov rsi, rbx
mov edx, dword [rsp + 0x98]
mov qword [rsp + 0x118], rsi
test edx, edx
je 0x100476f34
test rsi, rsi
jne 0x100476f97
lea rsi, [0x100538890]
jmp 0x100476cb4
mov rax, qword [rsp + 0x290]
mov edx, ebx
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_valid_array_reference
test eax, eax
jne 0x100476c8b
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_sh_invalidid
jmp 0x100476511
mov ecx, dword [0x10065e5e0]
lea rdx, [0x10065e5e4]
call sym.bash.exe_ttsetattr
mov dword [0x10065e614], 0
jmp 0x100476972
mov r14d, 1
jmp 0x100476d02
mov qword [rsp + 0xc0], r13
mov r14d, dword [rsp + 0x2c]
jmp 0x100475948
test rsi, rsi
lea rax, [0x100538890]
cmove rsi, rax
jmp 0x100476cb4
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call sym.bash.exe_strip_trailing_ifs_whitespace
mov rsi, rax
jmp 0x100476e93
call fcn.100474ee0
mov eax, dword [rax]
mov dword [rsp + 0xe8], eax
test eax, eax
jne 0x100476957
jmp 0x100476e03
xor r14d, r14d
mov dword [rsp + 0xe0], r14d
mov dword [rsp + 0x7c], r14d
jmp 0x100475377
cmp byte [rsi], 0
je 0x100476cac
mov rcx, rsi
call sym.bash.exe_dequote_string
mov r8d, edi
mov rbp, rax
mov rax, qword [rsp + 0x290]
mov rdx, rbp
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call sym.bash.exe_builtin_bind_variable
mov rcx, rbp
mov rsi, rax
test rax, rax
je 0x100476fe3
test dword [rax + 0x28], 0x4002
jne 0x100476fe3
call sub.msys_2.0.dll_free
jmp 0x100476ce7
call sub.msys_2.0.dll_free
mov r14d, 1
jmp 0x100476d02