Function at 0x10041b8d0
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x40
lea rax, [sym.bash.exe_jobs_builtin]
xor ebx, ebx
mov edi, dword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rcx
mov r12, rdx
mov r13, r9
mov qword [rsp + 0x80], r8
cmp r8, rax
je 0x10041b9d8
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 + 0x80], rax
je 0x10041b9c9
lea rax, [sym.bash.exe_source_builtin]
cmp qword [rsp + 0x80], rax
je 0x10041b9bd
test edi, edi
je 0x10041b95a
or dword [sym.bash.exe_subshell_environment], 1
mov eax, dword [rsp + 0x98]
and eax, dword [rsp + 0x90]
cmp eax, 0xffffffff
je 0x10041b974
or dword [sym.bash.exe_subshell_environment], 0x10
call sym.bash.exe_maybe_make_export_env
test ebx, ebx
je 0x10041b9f5
call sym.bash.exe_kill_current_pipeline
call sym.bash.exe_set_sigchld_handler
call sym.bash.exe_set_sigint_handler
test rsi, rsi
je 0x10041b9fc
cmp dword [rsi], 0
jle 0x10041b9fc
xor ebx, ebx
jmp 0x10041b9a2
add rbx, 1
cmp dword [rsi], ebx
jle 0x10041b9fc
mov rax, qword [rsi + 8]
mov ecx, ebx
cmp byte [rax + rbx], 0
je 0x10041b99a
call fcn.1004d2aa0
mov rax, qword [rsi + 8]
mov byte [rax + rbx], 0
jmp 0x10041b99a
mov dword [sym.bash.exe_sourcenest], 0
jmp 0x10041b94f
mov dword [sym.bash.exe_evalnest], 0
jmp 0x10041b94f
mov ebx, dword [sym.bash.exe_subshell_environment]
cmp dword [rsp + 0x98], 0xffffffff
setne al
not ebx
or ebx, eax
and ebx, 1
jmp 0x10041b90f
call sym.bash.exe_without_job_control
jmp 0x10041b982
mov edx, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x90]
call fcn.100415b10
mov edx, 1
mov rcx, r12
call sym.bash.exe_do_redirections
test eax, eax
jne 0x10041bad7
cmp qword [rsp + 0x80], 0
je 0x10041bb31
mov r12, qword [sym.bash.exe_top_level]
xor ecx, ecx
xor edx, edx
mov qword [r12 + 0x100], 0
lea r8, [r12 + 0x108]
call sub.msys_2.0.dll_pthread_sigmask
mov rcx, r12
call sub.msys_2.0.dll_setjmp
cmp dword [sym.bash.exe_return_catch_flag], 0
mov dword [rsp + 0x3c], eax
je 0x10041ba81
lea rax, [sym.bash.exe_return_builtin]
cmp qword [rsp + 0x80], rax
je 0x10041bae1
mov eax, dword [rsp + 0x3c]
cmp eax, 3
je 0x10041bacc
test eax, eax
jne 0x10041bad7
mov rcx, qword [rsp + 0x80]
mov r8d, dword [rsp + 0xb0]
mov r9d, 1
mov rdx, qword [rsp + 0x70]
call fcn.100414b40
mov r12d, eax
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x10]
call fcn.1004d2bc0
cmp r12d, 0x102
je 0x10041bb29
mov ecx, r12d
call sym.bash.exe_sh_exit
mov ecx, dword [sym.bash.exe_last_command_exit_value]
call sub.msys_2.0.dll_exit
mov ecx, 1
call sub.msys_2.0.dll_exit
xor ecx, ecx
xor edx, edx
lea r8, [0x1005f99a8]
mov qword [0x1005f99a0], 0
call sub.msys_2.0.dll_pthread_sigmask
lea rcx, [sym.bash.exe_return_catch]
call sub.msys_2.0.dll_setjmp
cmp dword [rsp + 0x3c], 3
je 0x10041bacc
cmp dword [rsp + 0x3c], 0
jne 0x10041bad7
test eax, eax
je 0x10041ba8a
mov ecx, dword [sym.bash.exe_return_catch_value]
call sub.msys_2.0.dll_exit
mov r12d, 2
jmp 0x10041bac4
mov dword [rsp + 0x20], edi
mov rdx, qword [rsp + 0x70]
mov rcx, r13
mov r9, rsi
mov dword [rsp + 0x28], 1
mov r8d, dword [rsp + 0xb0]
call fcn.10041b0d0
mov r12d, eax
call sub.msys_2.0.dll___getreent
mov rcx, qword [rax + 0x10]
call fcn.1004d2bc0
jmp 0x10041bac4