Function at 0x100401b50
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
mov rsi, qword [0x10044c2e0]
mov rbx, rdx
test ecx, ecx
jg 0x100401dcb
mov rdx, qword [rsi + 0x70]
test rdx, rdx
je 0x100401e7d
cmp byte [rdx], 0x2d
jne 0x100401c98
cmp byte [rdx + 1], 0
jne 0x100401c98
cmp byte [rsi + 0x78], 0
jne 0x100401f33
lea rcx, str._standard_input_
call sub.msys_intl_8.dll_libintl_gettext
xor ecx, ecx
mov rdx, rax
call fcn.100407d90
mov r13, rax
call sub.msys_2.0.dll___getreent
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.10040fe60
mov rbx, rax
test rbx, rbx
je 0x100401f08
mov rbp, qword [0x10044c4a0]
mov r12d, 1
lea rdi, [rsp + 0xc0]
lea r14, str.invalid_zero_length_file_name
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.10040fea0
mov r15, rax
test rax, rax
je 0x100401d8a
cmp byte [r15], 0
mov rax, qword [rsi + 0x70]
je 0x100401d00
test rax, rax
je 0x100401d48
mov rcx, r15
call sub.msys_2.0.dll_strlen
mov rcx, r15
mov dword [rbp + 0x1c], eax
call fcn.100401930
test al, al
jne 0x100401c00
xor r12d, r12d
mov rcx, rbx
call fcn.10040ff60
test r12b, r12b
je 0x100401e75
cmp qword [rsi + 0x70], 0
je 0x100401c81
mov rax, qword [rsp + 0x38]
test byte [rax + 0x10], 0x40
jne 0x100401f5e
mov rcx, qword [rsp + 0x38]
call sub.msys_2.0.dll_fclose
test eax, eax
jne 0x100401f5e
mov eax, r12d
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.100407d90
mov rcx, qword [rsi + 0x70]
lea rdx, [0x100434455]
mov r13, rax
call fcn.10042ed20
mov qword [rsp + 0x38], rax
mov rcx, rax
test rax, rax
je 0x100401f0d
call sub.msys_2.0.dll_fileno
mov ebx, eax
test eax, eax
js 0x100401f3f
cmp byte [rsi + 0x78], 0
je 0x100401cec
lea rdx, [rsp + 0x40]
mov ecx, eax
call sub.msys_2.0.dll_fstat
test eax, eax
je 0x100401eaf
mov edx, 1
mov ecx, ebx
call fcn.100410110
jmp 0x100401bc6
test rax, rax
je 0x100401d68
mov rcx, rbx
call fcn.10040ff40
mov rcx, r14
mov r12, rax
call sub.msys_intl_8.dll_libintl_gettext
mov qword [rsp + 0x20], r12
mov r9, r13
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, str._s:_lu:__s
xor ecx, ecx
call sub.msys_2.0.dll_error
mov dword [rbp + 0x24], 1
xor r12d, r12d
jmp 0x100401c00
mov edx, 1
mov rcx, r15
call fcn.1004076e0
test al, al
je 0x100401c2e
jmp 0x100401c48
mov rdx, r15
xor ecx, ecx
call fcn.100407d90
lea r8, [0x100434520]
mov edx, 2
xor ecx, ecx
mov r9, rax
call sub.msys_2.0.dll_error
jmp 0x100401d35
mov eax, dword [rsp + 0xc0]
cmp eax, 3
je 0x100401f08
cmp eax, 4
je 0x100401e3c
cmp eax, 2
je 0x100401c48
lea r9, str.__unexpected_error_code_from_argv_iter_
lea r8, str.process_all_startpoints
mov edx, 0x2a4
lea rcx, str.ftsfind.c
call sub.msys_2.0.dll___assert_func
mov rcx, qword [rbx]
mov edx, 1
call fcn.1004076e0
mov rsi, qword [0x10044c2e0]
test al, al
jne 0x100401b75
mov rax, qword [rsi + 0x70]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x100401e9c
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.100407d90
lea rcx, str.extra_operand__s
mov rbx, rax
call sub.msys_intl_8.dll_libintl_gettext
xor ecx, ecx
mov r9, rbx
xor edx, edx
mov r8, rax
call sub.msys_2.0.dll_error
lea rcx, str.file_operands_cannot_be_combined_with__files0_from
call sub.msys_intl_8.dll_libintl_gettext
xor edx, edx
mov ecx, 1
mov r8, rax
call sub.msys_2.0.dll_error
lea rcx, str._s:_read_error
call sub.msys_intl_8.dll_libintl_gettext
mov rsi, rax
call sub.msys_2.0.dll___errno
xor ecx, ecx
mov r9, r13
mov r8, rsi
mov edx, dword [rax]
call sub.msys_2.0.dll_error
mov rax, qword [0x10044c4a0]
mov rcx, rbx
mov dword [rax + 0x24], 1
call fcn.10040ff60
xor r12d, r12d
jmp 0x100401c81
lea rcx, [rsp + 0xc0]
mov word [rsp + 0xc0], 0x2e
call fcn.100401930
mov r12d, eax
jmp 0x100401c81
mov rcx, rbx
xor r13d, r13d
call fcn.10040fe20
mov rbx, rax
jmp 0x100401bd3
lea rdi, [rsp + 0xc0]
xor ecx, ecx
mov rdx, rdi
call sub.msys_2.0.dll_fstat
test eax, eax
jne 0x100401cec
mov eax, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, str.option__files0_from:_standard_input_must_not_refer_to_the_same_file_when_combined_with__ok___okdir:__s
xor eax, dword [rsp + 0xc0]
xor rdx, qword [rsp + 0xc8]
or rax, rdx
jne 0x100401cec
call sub.msys_intl_8.dll_libintl_gettext
mov r9, r13
xor edx, edx
mov ecx, 1
mov r8, rax
call sub.msys_2.0.dll_error
call fcn.10042b570
lea rcx, str.cannot_open__s_for_reading
call sub.msys_intl_8.dll_libintl_gettext
mov rbx, rax
call sub.msys_2.0.dll___errno
mov r9, r13
mov r8, rbx
mov ecx, 1
mov edx, dword [rax]
call sub.msys_2.0.dll_error
lea rcx, str.option__files0_from_reading_from_standard_input_cannot_be_combined_with__ok___okdir
jmp 0x100401e28
lea r9, str.fd___0
lea r8, str.process_all_startpoints
mov edx, 0x262
lea rcx, str.ftsfind.c
call sub.msys_2.0.dll___assert_func
lea rcx, str.error_reading__s
jmp 0x100401ef1