Function at 0x1004e15c0
Capabilities:
Get file attributes

Disassembly:
push r15
mov eax, 0x1118
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.100672980
sub rsp, rax
mov qword [rsp + 0x1160], rcx
mov ebp, r8d
mov dword [rsp + 0x1168], edx
mov qword [rsp + 0x1178], r9
mov qword [rsp + 0x30], 0
test rcx, rcx
je 0x1004e1622
lea rbx, [rsp + 0x110]
mov rdx, rbx
call fcn.1004df5b0
cmp eax, 1
cmovne rbx, qword [rsp + 0x1160]
mov qword [rsp + 0x30], rbx
mov r8d, dword [rsp + 0x1168]
test r8d, r8d
jne 0x1004e1c00
mov rbx, qword [sym.vim.exe_p_dir]
xor r14d, r14d
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 [rsp + 0x58], rax
test r12, r12
je 0x1004e1801
cmp byte [rax], 0
je 0x1004e1801
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
lea r9, [0x1006c74bb]
mov r8d, 0x7918
mov rdx, r12
call sym.vim.exe_copy_option_part
cmp byte [r12], 0x2e
je 0x1004e18d8
cmp qword [rsp + 0x1160], 0
je 0x1004e19e8
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 0x1004e16d6
test eax, eax
je 0x1004e16d6
movzx eax, byte [rsi - 2]
cmp byte [rsi - 1], al
je 0x1004e1beb
mov rcx, qword [rsp + 0x30]
call sym.vim.exe_gettail
mov r8d, 1
mov rcx, r12
mov rdx, rax
call sym.vim.exe_concat_fnames
mov rsi, rax
test rsi, rsi
je 0x1004e1751
lea r15, [rsp + 0x60]
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.1004df030
mov rcx, rsi
mov ebx, eax
call sym.vim.exe_vim_free
test ebx, ebx
jle 0x1004e1820
xor eax, eax
jmp 0x1004e1734
add rax, 1
cmp ebx, eax
jle 0x1004e1826
cmp qword [r15 + rax*8], 0
jne 0x1004e1728
xor esi, esi
nop dword [rax]
mov rcx, qword [r15 + rsi*8]
add rsi, 1
call sym.vim.exe_vim_free
cmp ebx, esi
jg 0x1004e1740
mov dword [rsp + 0x4c], 0
xor ebx, ebx
mov rax, qword [rsp + 0x58]
cmp byte [rax], 0
jne 0x1004e1780
mov eax, r14d
add eax, dword [rsp + 0x4c]
jne 0x1004e1780
cmp qword [rsp + 0x1160], 0
jne 0x1004e1a90
nop dword [rax]
mov rax, qword [sym.vim.exe_curbuf]
mov rax, qword [rax]
mov rax, qword [rax + 8]
test rax, rax
je 0x1004e179f
mov rdi, qword [rax]
test rdi, rdi
jne 0x1004e1918
test ebp, ebp
jle 0x1004e1860
mov esi, dword [rsp + 0x4c]
add esi, r14d
cmp ebp, esi
jle 0x1004e1a58
mov r14d, esi
test ebx, ebx
jle 0x1004e17e1
lea eax, [rbx - 1]
lea rsi, [rsp + 0x60]
lea rbx, [rsp + rax*8 + 0x68]
nop word [rax + rax]
mov rcx, qword [rsi]
add rsi, 8
call sym.vim.exe_vim_free
cmp rbx, rsi
jne 0x1004e17d0
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
jle 0x1004e17f3
mov rdx, qword [rsp + 0x50]
call sym.vim.exe_FreeWild
mov rax, qword [rsp + 0x58]
cmp byte [rax], 0
jne 0x1004e1670
mov rcx, r12
call sym.vim.exe_vim_free
mov eax, r14d
add rsp, 0x1118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
je 0x1004e1751
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x4c]
mov rdx, r15
mov ecx, ebx
mov dword [rsp + 0x20], 0x10032
call sym.vim.exe_expand_wildcards
test eax, eax
jne 0x1004e175b
mov dword [rsp + 0x4c], 0
jmp 0x1004e175b
mov edx, dword [rsp + 0x1168]
test edx, edx
je 0x1004e1a48
cmp byte [r12], 0x2e
jne 0x1004e1882
cmp byte [r12 + 1], 0
je 0x1004e1b4e
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, [0x1006c7514]
call sym.vim.exe_msg_puts
mov eax, dword [rsp + 0x4c]
test eax, eax
jne 0x1004e1ad9
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 0x1004e17b9
cmp byte [r12 + 1], 0
jne 0x1004e1695
cmp qword [rsp + 0x1160], 0
je 0x1004e1ba9
mov rdx, qword [rsp + 0x30]
lea r15, [rsp + 0x60]
mov r8d, 1
mov rcx, r15
call fcn.1004df030
mov ebx, eax
jmp 0x1004e1716
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
jle 0x1004e179f
mov dword [rsp + 0x3c], ebx
xor r15d, r15d
jmp 0x1004e1939
add r15d, 1
cmp r15d, esi
jge 0x1004e19a0
mov rax, qword [rsp + 0x50]
movsxd rbx, r15d
xor r9d, r9d
mov rcx, rdi
mov r8d, 1
lea r13, [rbx*8]
mov rdx, qword [rax + rbx*8]
call sym.vim.exe_fullpathcmp
mov esi, dword [rsp + 0x4c]
test al, 1
je 0x1004e1930
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + rbx*8]
call sym.vim.exe_vim_free
mov eax, dword [rsp + 0x4c]
lea esi, [rax - 1]
mov dword [rsp + 0x4c], esi
test esi, esi
jne 0x1004e19b0
mov rcx, qword [rsp + 0x50]
add r15d, 1
call sym.vim.exe_vim_free
mov esi, dword [rsp + 0x4c]
cmp r15d, esi
jl 0x1004e1939
nop word [rax + rax]
mov ebx, dword [rsp + 0x3c]
jmp 0x1004e179f
cmp esi, r15d
jle 0x1004e1930
mov rcx, qword [rsp + 0x50]
sub eax, 2
sub eax, r15d
mov r15d, esi
lea rdx, [rcx + r13 + 8]
lea r8, [rax*8 + 8]
add rcx, r13
call sub.msys_2.0.dll_memmove
jmp 0x1004e1930
mov r8d, 1
lea rdx, str..sw_
mov rcx, r12
mov ebx, 3
call sym.vim.exe_concat_fnames
mov r8d, 1
mov rcx, r12
lea rdx, str...sw_
mov qword [rsp + 0x60], rax
lea r15, [rsp + 0x60]
call sym.vim.exe_concat_fnames
mov r8d, 1
lea rdx, [0x1006c7260]
mov rcx, r12
mov qword [rsp + 0x68], rax
call sym.vim.exe_concat_fnames
mov qword [rsp + 0x70], rax
jmp 0x1004e171e
add r14d, dword [rsp + 0x4c]
jmp 0x1004e17b9
lea eax, [rbp - 1]
mov rdx, qword [rsp + 0x50]
sub eax, r14d
mov r14d, esi
cdqe
mov rcx, qword [rdx + rax*8]
call sym.vim.exe_vim_strsave
mov rdi, qword [rsp + 0x1178]
mov qword [rdi], rax
lea rax, [0x1006c74a8]
mov qword [rsp + 0x58], rax
jmp 0x1004e17b9
mov rcx, qword [rsp + 0x30]
mov r8d, 1
lea rdx, str..swp
call sym.vim.exe_modname
mov r15, rax
test rax, rax
je 0x1004e1780
lea rdx, [rsp + 0x90]
mov rcx, rax
call sub.msys_2.0.dll_stat
cmp eax, 0xffffffff
jne 0x1004e1b76
mov rcx, r15
call sym.vim.exe_vim_free
jmp 0x1004e1780
jle 0x1004e18ca
movsxd rsi, r14d
lea r15d, [r14 + 1]
lea r14, str..
xor edi, edi
lea r13, [rsi + 1]
nop dword [rax + rax]
lea rcx, [r13 + rdi]
lea esi, [r15 + rdi]
call sym.vim.exe_msg_outnum
mov rcx, r14
call sym.vim.exe_msg_puts
mov rax, qword [rsp + 0x50]
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 [rsp + 0x50]
mov rcx, qword [rax + rdi*8]
add rdi, 1
call fcn.1004dfb30
cmp dword [rsp + 0x4c], edi
jg 0x1004e1af8
mov r14d, esi
jmp 0x1004e18ca
cmp qword [rsp + 0x1160], 0
je 0x1004e1c23
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 0x1004e18aa
mov ecx, 8
call sym.vim.exe_alloc
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1004e1acc
mov qword [rax], r15
xor r15d, r15d
mov rcx, r15
mov dword [rsp + 0x4c], 1
call sym.vim.exe_vim_free
jmp 0x1004e1780
lea rcx, str..sw_
mov ebx, 3
lea r15, [rsp + 0x60]
call sym.vim.exe_vim_strsave
lea rcx, str...sw_
mov qword [rsp + 0x60], rax
call sym.vim.exe_vim_strsave
lea rcx, [0x1006c7260]
mov qword [rsp + 0x68], rax
call sym.vim.exe_vim_strsave
mov qword [rsp + 0x70], rax
jmp 0x1004e171e
mov rdx, qword [rsp + 0x30]
mov rcx, r12
call sym.vim.exe_make_percent_swname
mov rsi, rax
jmp 0x1004e16f4
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 0x1004e1633
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 0x1004e18aa