Function at 0x1004170b0
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, [sym.bash.exe_jobs_builtin]
xor ebx, ebx
mov ebp, dword [rsp + 0xa8]
mov r12, qword [rsp + 0xb8]
mov qword [rsp + 0x80], rcx
mov rsi, rdx
mov rdi, r9
mov qword [rsp + 0x90], r8
cmp r8, rax
je 0x1004171c7
mov rax, qword [sym.bash.exe_interactive]
mov dword [rax], 0
mov rax, qword [sym.bash.exe_login_shell]
mov dword [rax], 0
lea rax, [sym.bash.exe_eval_builtin]
cmp qword [rsp + 0x90], rax
je 0x1004171b8
lea rax, [sym.bash.exe_source_builtin]
cmp qword [rsp + 0x90], rax
je 0x1004171a9
mov r8d, dword [rsp + 0xb0]
test r8d, r8d
je 0x100417145
or dword [sym.bash.exe_subshell_environment], 1
mov eax, dword [rsp + 0xa0]
and eax, ebp
cmp eax, 0xffffffff
je 0x10041715a
or dword [sym.bash.exe_subshell_environment], 0x10
call sym.bash.exe_maybe_make_export_env
test ebx, ebx
je 0x1004171df
call sym.bash.exe_kill_current_pipeline
call sym.bash.exe_set_sigchld_handler
call sym.bash.exe_set_sigint_handler
test r12, r12
je 0x1004171e6
cmp dword [r12], 0
jle 0x1004171e6
xor ebx, ebx
jmp 0x10041718c
add rbx, 1
cmp dword [r12], ebx
jle 0x1004171e6
mov rax, qword [r12 + 8]
cmp byte [rax + rbx], 0
je 0x100417182
mov ecx, ebx
call fcn.100513da0
mov rax, qword [r12 + 8]
mov byte [rax + rbx], 0
jmp 0x100417182
xor r9d, r9d
mov dword [sym.bash.exe_sourcenest], r9d
jmp 0x100417131
xor r10d, r10d
mov dword [sym.bash.exe_evalnest], r10d
jmp 0x100417131
mov ebx, dword [sym.bash.exe_subshell_environment]
cmp ebp, 0xffffffff
setne al
not ebx
or ebx, eax
and ebx, 1
jmp 0x1004170f1
call sym.bash.exe_without_job_control
jmp 0x100417168
mov ecx, dword [rsp + 0xa0]
mov edx, ebp
call fcn.1004159a0
mov edx, 1
mov rcx, rsi
call sym.bash.exe_do_redirections
test eax, eax
jne 0x10041731f
cmp qword [rsp + 0x90], 0
je 0x100417329
mov rbx, qword [sym.bash.exe_top_level]
xor ecx, ecx
xor edx, edx
mov qword [rbx + 0x100], rcx
lea r8, [rbx + 0x108]
xor ecx, ecx
call sub.msys_2.0.dll_pthread_sigmask
mov rcx, rbx
call sub.msys_2.0.dll_setjmp
cmp dword [sym.bash.exe_return_catch_flag], 0
mov ebx, eax
je 0x100417260
lea rax, [sym.bash.exe_return_builtin]
cmp qword [rsp + 0x90], rax
je 0x1004172f1
mov dword [rsp + 0x4c], ebx
xor eax, eax
mov edi, dword [rsp + 0x4c]
cmp edi, 3
je 0x10041728a
cmp edi, 6
je 0x10041728a
cmp dword [rsp + 0x4c], 0
jne 0x1004172e7
test eax, eax
je 0x100417295
mov ecx, dword [sym.bash.exe_return_catch_value]
call sym.bash.exe_subshell_exit
mov ecx, dword [sym.bash.exe_last_command_exit_value]
call sym.bash.exe_subshell_exit
mov rcx, qword [rsp + 0x90]
mov r8d, dword [rsp + 0xc0]
mov r9d, 1
mov rdx, qword [rsp + 0x80]
call fcn.1004146f0
mov ebx, eax
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x10]
call fcn.100513ed0
cmp ebx, 0x102
je 0x1004173d9
cmp ebx, 0x106
je 0x10041736c
mov ecx, ebx
call sym.bash.exe_subshell_exit
mov ecx, 1
call sym.bash.exe_subshell_exit
xor edx, edx
xor ecx, ecx
lea r8, [0x1006579e8]
mov qword [0x1006579e0], rdx
xor edx, edx
call sub.msys_2.0.dll_pthread_sigmask
lea rcx, [sym.bash.exe_return_catch]
mov dword [rsp + 0x4c], ebx
call sub.msys_2.0.dll_setjmp
jmp 0x100417266
mov ecx, 1
call sub.msys_2.0.dll_exit
mov eax, dword [rsp + 0xb0]
mov rcx, rdi
mov r9, r12
mov dword [rsp + 0x28], 1
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call fcn.10041b970
mov ebx, eax
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x10]
call fcn.100513ed0
jmp 0x1004172e0
mov rbx, qword [sym.bash.exe_the_printed_command_except_trap]
test rbx, rbx
je 0x1004173e3
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 dword [rsp + 0x20], 0xffffffff
or r9d, 0xffffffff
xor edx, edx
mov r8, rax
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
or eax, 0x40
mov dword [rsp + 0x38], eax
xor eax, eax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
call fcn.100416b70
mov ebx, eax
jmp 0x1004172e0
mov ebx, 2
jmp 0x1004172e0
lea rbx, [0x100523ef7]
jmp 0x100417378