Function at 0x1004daf80
Capabilities:
Get file attributes

Disassembly:
push rbp
mov eax, 0x1118
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
call fcn.10065e270
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10e0], rcx
mov dword [rbp + 0x10e8], edx
mov dword [rbp + 0x10f0], r8d
mov qword [rbp + 0x10f8], r9
mov qword [rbp - 0x48], 0
test rcx, rcx
je 0x1004dafe7
lea rbx, [rbp + 0x90]
mov rdx, rbx
call fcn.1004d90e0
cmp eax, 1
cmovne rbx, qword [rbp + 0x10e0]
mov qword [rbp - 0x48], rbx
mov r9d, dword [rbp + 0x10e8]
test r9d, r9d
jne 0x1004db59d
mov rbx, qword [sym.vim.exe_p_dir]
xor r13d, r13d
mov rcx, qword [rbx]
call sub.msys_2.0.dll_strlen
lea rcx, [rax + 1]
call sym.vim.exe_alloc
mov r12, rax
mov rax, qword [rbx]
mov qword [rbp - 0x28], rax
test r12, r12
je 0x1004db1be
cmp byte [rax], 0
je 0x1004db1be
nop
lea rcx, [rbp - 0x28]
lea r9, [0x1006aafc9]
mov r8d, 0x7918
mov rdx, r12
call sym.vim.exe_copy_option_part
cmp byte [r12], 0x2e
je 0x1004db290
cmp qword [rbp + 0x10e0], 0
je 0x1004db390
mov rcx, r12
call sub.msys_2.0.dll_strlen
mov rcx, r12
movsxd rsi, eax
mov rbx, rax
add rsi, r12
mov rdx, rsi
call sym.vim.exe_after_pathsep
cmp ebx, 1
jle 0x1004db094
test eax, eax
je 0x1004db094
movzx eax, byte [rsi - 2]
cmp byte [rsi - 1], al
je 0x1004db589
mov rcx, qword [rbp - 0x48]
call sym.vim.exe_gettail
mov r8d, 1
mov rcx, r12
mov rdx, rax
call sym.vim.exe_concat_fnames
mov rdi, rax
test rdi, rdi
je 0x1004db109
lea r15, [rbp - 0x20]
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call fcn.1004d8b60
mov rcx, rdi
mov ebx, eax
call sym.vim.exe_vim_free
test ebx, ebx
jle 0x1004db1dd
xor eax, eax
jmp 0x1004db0ec
add rax, 1
cmp ebx, eax
jle 0x1004db1e3
cmp qword [r15 + rax*8], 0
jne 0x1004db0e0
xor edi, edi
nop dword [rax]
mov rcx, qword [r15 + rdi*8]
add rdi, 1
call sym.vim.exe_vim_free
cmp ebx, edi
jg 0x1004db0f8
mov dword [rbp - 0x34], 0
xor ebx, ebx
mov rax, qword [rbp - 0x28]
cmp byte [rax], 0
jne 0x1004db138
mov eax, r13d
add eax, dword [rbp - 0x34]
jne 0x1004db138
cmp qword [rbp + 0x10e0], 0
jne 0x1004db440
nop dword [rax]
mov rax, qword [sym.vim.exe_curbuf]
mov rax, qword [rax]
mov rax, qword [rax + 8]
test rax, rax
je 0x1004db157
mov rsi, qword [rax]
test rsi, rsi
jne 0x1004db2d0
mov r8d, dword [rbp + 0x10f0]
test r8d, r8d
jle 0x1004db218
mov esi, dword [rbp - 0x34]
add esi, r13d
cmp dword [rbp + 0x10f0], esi
jle 0x1004db400
mov r13d, esi
test ebx, ebx
jle 0x1004db1a1
lea eax, [rbx - 1]
lea rsi, [rbp - 0x20]
lea rbx, [rbp + rax*8 - 0x18]
nop dword [rax]
mov rcx, qword [rsi]
add rsi, 8
call sym.vim.exe_vim_free
cmp rbx, rsi
jne 0x1004db190
mov ecx, dword [rbp - 0x34]
test ecx, ecx
jle 0x1004db1b1
mov rdx, qword [rbp - 0x30]
call sym.vim.exe_FreeWild
mov rax, qword [rbp - 0x28]
cmp byte [rax], 0
jne 0x1004db030
mov rcx, r12
call sym.vim.exe_vim_free
mov eax, r13d
add rsp, 0x1118
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
je 0x1004db109
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x34]
mov rdx, r15
mov ecx, ebx
mov dword [rsp + 0x20], 0x10032
call sym.vim.exe_expand_wildcards
test eax, eax
jne 0x1004db112
mov dword [rbp - 0x34], 0
jmp 0x1004db112
mov edx, dword [rbp + 0x10e8]
test edx, edx
je 0x1004db3f0
cmp byte [r12], 0x2e
jne 0x1004db239
cmp byte [r12 + 1], 0
je 0x1004db4f3
lea rcx, str.___In_directory
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_msg_puts
mov rcx, r12
call sym.vim.exe_msg_home_replace
lea rcx, [0x1006ab022]
call sym.vim.exe_msg_puts
mov eax, dword [rbp - 0x34]
test eax, eax
jne 0x1004db484
lea rcx, str._________none____n
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_msg_puts
call sym.vim.exe_out_flush
jmp 0x1004db17c
cmp byte [r12 + 1], 0
jne 0x1004db054
cmp qword [rbp + 0x10e0], 0
je 0x1004db54b
mov rdx, qword [rbp - 0x48]
lea r15, [rbp - 0x20]
mov r8d, 1
mov rcx, r15
call fcn.1004d8b60
mov ebx, eax
jmp 0x1004db0d2
mov ecx, dword [rbp - 0x34]
test ecx, ecx
jle 0x1004db157
mov dword [rbp - 0x4c], ebx
xor r15d, r15d
jmp 0x1004db2f1
add r15d, 1
cmp r15d, edi
jge 0x1004db350
mov rax, qword [rbp - 0x30]
movsxd rbx, r15d
xor r9d, r9d
mov r8d, 1
mov rcx, rsi
lea r14, [rbx*8]
mov rdx, qword [rax + rbx*8]
call sym.vim.exe_fullpathcmp
mov edi, dword [rbp - 0x34]
test al, 1
je 0x1004db2e8
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax + rbx*8]
call sym.vim.exe_vim_free
mov eax, dword [rbp - 0x34]
lea edi, [rax - 1]
mov dword [rbp - 0x34], edi
test edi, edi
jne 0x1004db360
mov rcx, qword [rbp - 0x30]
add r15d, 1
call sym.vim.exe_vim_free
mov edi, dword [rbp - 0x34]
cmp r15d, edi
jl 0x1004db2f1
nop dword [rax + rax]
mov ebx, dword [rbp - 0x4c]
jmp 0x1004db157
cmp edi, r15d
jle 0x1004db2e8
mov rcx, qword [rbp - 0x30]
sub eax, 2
sub eax, r15d
mov r15d, edi
lea rdx, [rcx + r14 + 8]
lea r8, [rax*8 + 8]
add rcx, r14
call sub.msys_2.0.dll_memmove
jmp 0x1004db2e8
mov r8d, 1
lea rdx, str..sw_
lea r15, [rbp - 0x20]
mov rcx, r12
call sym.vim.exe_concat_fnames
mov r8d, 1
mov rcx, r12
lea rdx, str...sw_
mov qword [rbp - 0x20], rax
mov ebx, 3
call sym.vim.exe_concat_fnames
mov r8d, 1
lea rdx, [0x1006aac7c]
mov rcx, r12
mov qword [rbp - 0x18], rax
call sym.vim.exe_concat_fnames
mov qword [rbp - 0x10], rax
jmp 0x1004db0da
add r13d, dword [rbp - 0x34]
jmp 0x1004db17c
mov eax, dword [rbp + 0x10f0]
mov rdx, qword [rbp - 0x30]
sub eax, 1
sub eax, r13d
mov r13d, esi
cdqe
mov rcx, qword [rdx + rax*8]
call sym.vim.exe_vim_strsave
mov rdx, qword [rbp + 0x10f8]
mov qword [rdx], rax
lea rax, [0x1006aafb6]
mov qword [rbp - 0x28], rax
jmp 0x1004db17c
mov rcx, qword [rbp - 0x48]
mov r8d, 1
lea rdx, str..swp
call sym.vim.exe_modname
mov r15, rax
test rax, rax
je 0x1004db138
lea rdx, [rbp + 0x10]
mov rcx, rax
call sub.msys_2.0.dll_stat
cmp eax, 0xffffffff
jne 0x1004db51a
mov rcx, r15
call sym.vim.exe_vim_free
jmp 0x1004db138
jle 0x1004db280
movsxd rsi, r13d
xor edi, edi
lea r14d, [r13 + 1]
add rsi, 1
nop word [rax + rax]
lea rcx, [rsi + rdi]
lea r13d, [r14 + rdi]
call sym.vim.exe_msg_outnum
lea rcx, str..
call sym.vim.exe_msg_puts
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax + rdi*8]
call sym.vim.exe_gettail
mov rcx, rax
call sym.vim.exe_msg_puts
mov ecx, 0xa
call sym.vim.exe_msg_putchar
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax + rdi*8]
add rdi, 1
call fcn.1004d9670
cmp dword [rbp - 0x34], edi
jg 0x1004db4a0
jmp 0x1004db280
cmp qword [rbp + 0x10e0], 0
je 0x1004db5c0
lea rcx, str.___Using_specified_name:_n
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_msg_puts
jmp 0x1004db261
mov ecx, 8
call sym.vim.exe_alloc
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1004db477
mov qword [rax], r15
xor r15d, r15d
mov rcx, r15
mov dword [rbp - 0x34], 1
call sym.vim.exe_vim_free
jmp 0x1004db138
lea rcx, str..sw_
mov ebx, 3
lea r15, [rbp - 0x20]
call sym.vim.exe_vim_strsave
lea rcx, str...sw_
mov qword [rbp - 0x20], rax
call sym.vim.exe_vim_strsave
lea rcx, [0x1006aac7c]
mov qword [rbp - 0x18], rax
call sym.vim.exe_vim_strsave
mov qword [rbp - 0x10], rax
jmp 0x1004db0da
mov rdx, qword [rbp - 0x48]
mov rcx, r12
call sym.vim.exe_make_percent_swname
mov rdi, rax
jmp 0x1004db0b1
lea rcx, str.Swap_files_found:
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_msg
mov ecx, 0xa
call sym.vim.exe_msg_putchar
jmp 0x1004daff7
lea rcx, str.___In_current_directory:_n
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_msg_puts
jmp 0x1004db261