Function at 0x1400f5780
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x30
mov rbp, rdx
mov qword [rsp + 0x60], rbx
mov rsi, rcx
mov rdi, rdx
nop
movsx eax, byte [rdi]
lea r12, [0x140249d08]
mov qword [rsp + 0x70], rdi
lea r14, [0x14020a460]
test al, al
je 0x1400f57ee
mov ecx, eax
call fcn.1401bb860
mov ecx, 0x48
mov ebx, eax
call fcn.1401bb860
cmp eax, ebx
jne 0x1400f57ee
lea rdx, [rdi + 1]
lea r8, [rsp + 0x70]
lea rcx, [0x140249ce9]
call fcn.1400fa7d0
test eax, eax
jne 0x1400f5938
movzx eax, byte [rdi]
inc rdi
test al, al
jne 0x1400f57a0
mov rdi, rbp
nop dword [rax + rax]
cmp byte [rdi], 0
mov qword [rsp + 0x70], rdi
je 0x1400f583f
mov ecx, 0x48
call fcn.1401bb860
movsx ecx, byte [rdi]
mov ebx, eax
call fcn.1401bb860
cmp ebx, eax
jne 0x1400f583f
lea rdx, [rdi + 1]
lea r8, [rsp + 0x70]
lea rcx, [0x140249cd1]
call fcn.1400fa7d0
test eax, eax
jne 0x1400f5938
movzx eax, byte [rdi]
inc rdi
test al, al
jne 0x1400f5800
mov rdi, rbp
nop dword [rax]
cmp byte [rdi], 0
mov qword [rsp + 0x70], rdi
je 0x1400f588f
mov ecx, 0x48
call fcn.1401bb860
movsx ecx, byte [rdi]
mov ebx, eax
call fcn.1401bb860
cmp ebx, eax
jne 0x1400f588f
lea rdx, [rdi + 1]
lea r8, [rsp + 0x70]
lea rcx, [0x140249dc1]
call fcn.1400fa7d0
test eax, eax
jne 0x1400f5938
movzx eax, byte [rdi]
inc rdi
test al, al
jne 0x1400f5850
mov rdi, rbp
nop dword [rax]
movsx eax, byte [rdi]
mov qword [rsp + 0x70], rdi
test al, al
je 0x1400f58dc
mov ecx, eax
call fcn.1401bb860
mov ecx, 0x50
mov ebx, eax
call fcn.1401bb860
cmp eax, ebx
jne 0x1400f58dc
lea rdx, [rdi + 1]
lea r8, [rsp + 0x70]
lea rcx, [0x140249da9]
call fcn.1400fa7d0
test eax, eax
jne 0x1400f5946
movzx eax, byte [rdi]
inc rdi
test al, al
jne 0x1400f58a0
lea rdi, [rbp + 2]
cmp byte [rsi], al
je 0x1400f5b02
xor ebx, ebx
lea r8, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x70], rbx
lea rcx, [0x140249e29]
call fcn.1400fa7d0
test eax, eax
cmovne rbx, rdi
test rbx, rbx
je 0x1400f5a98
mov ecx, 8
call fcn.1401b57f8
mov qword [rsi + 0x40], rax
test rax, rax
je 0x1400f5c1d
jmp 0x1400f5b7e
mov rbx, qword [rsi + 0x30]
mov rdi, qword [rsp + 0x70]
jmp 0x1400f5a01
mov rdi, qword [rsp + 0x70]
lea rdx, [0x140249d14]
mov rbx, rdi
mov r8d, 4
sub rbx, rbp
mov rcx, rbp
dec rbx
call fcn.1401ba970
test eax, eax
mov qword [rsp + 0x28], rbp
mov r9, r14
mov qword [rsp + 0x20], rbx
cmovne r9, r12
lea r8, str._ls_.hs
xor edx, edx
xor ecx, ecx
call fcn.1400f7e10
mov rcx, rax
mov rbx, rax
call fcn.1400f7f90
test al, al
jne 0x1400f59d1
mov rcx, qword [rbx]
call fcn.1401b3750
mov rcx, rbx
call fcn.1401b3750
lea r8, str.Error:_No_NTFS_found_on_physical_drive._n
mov rdx, rsi
lea rcx, [fcn.1400f5c50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400f5f60
mov qword [rsp + 0x68], r15
mov r15, qword [rsi + 0x30]
test r15, r15
je 0x1400f59ef
mov rcx, qword [r15]
call fcn.1401b3750
mov rcx, r15
call fcn.1401b3750
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0x68]
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x30], rbx
mov byte [rsi], 0
test rbx, rbx
jne 0x1400f5a4e
mov rbx, rdi
lea rdx, [0x140249d14]
sub rbx, rbp
mov r8d, 4
mov rcx, rbp
dec rbx
call fcn.1401ba970
test eax, eax
mov qword [rsp + 0x28], rbp
lea r8, str._ls_.hs
mov qword [rsp + 0x20], rbx
cmovne r14, r12
xor edx, edx
mov r9, r14
xor ecx, ecx
call fcn.1400f7e10
mov qword [rsi + 0x30], rax
xor ebx, ebx
lea r8, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x70], rbx
lea rcx, [0x140249e29]
call fcn.1400fa7d0
test eax, eax
cmovne rbx, rdi
test rbx, rbx
je 0x1400f5a90
mov ecx, 8
call fcn.1401b57f8
mov qword [rsi + 0x40], rax
test rax, rax
je 0x1400f5c2a
jmp 0x1400f5b7e
mov r9, rdi
jmp 0x1400f5bf5
cmp byte [rsi], 0
je 0x1400f5b02
cmp byte [rbp + 1], 0x3a
je 0x1400f5ad2
cmp byte [rbp], 0x5c
je 0x1400f5ad2
mov r9, rbp
lea r8, str.Incorrectly_formatted_file_name_path:__s_n
mov rdx, rsi
lea rcx, [fcn.1400f5c50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400f5f60
cmp byte [rbp], 0x5c
lea rax, [0x140249d1c]
lea r9, [0x14020a460]
mov qword [rsp + 0x20], rbp
cmove r9, rax
lea r8, str._ls_hs
xor edx, edx
xor ecx, ecx
call fcn.1400f7e10
jmp 0x1400f5c05
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400f5bb0
cmp byte [rbp + 1], 0x3a
jne 0x1400f5aa9
mov rcx, rdi
call fcn.1400f6040
test al, al
je 0x1400f5b97
mov r8d, 4
lea rdx, [0x140249d14]
mov rcx, rbp
call fcn.1401ba970
test eax, eax
mov qword [rsp + 0x20], rbp
lea r12, [0x140249d08]
lea r9, [0x14020a460]
cmovne r9, r12
lea r8, str._ls_.2hs
xor edx, edx
xor ecx, ecx
call fcn.1400f7e10
mov ecx, 8
mov qword [rsi + 0x30], rax
call fcn.1401b57f8
mov qword [rsi + 0x40], rax
test rax, rax
je 0x1400f5c37
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1401c1520
mov ecx, eax
mov rax, qword [rsi + 0x40]
mov qword [rax], rcx
jmp 0x1400f5c09
cmp byte [rbp + 1], 0x3a
jne 0x1400f5aa9
mov rdx, rbp
lea rcx, str.Warning:_File_not_found_with_regular_file_search:__s_n
call fcn.1400f4480
mov r8d, 4
lea rdx, [0x140249d14]
mov rcx, rbp
call fcn.1401ba970
test eax, eax
mov qword [rsp + 0x20], rbp
lea r9, [0x14020a460]
lea r12, [0x140249d08]
cmovne r9, r12
lea r8, str._ls_.2hs
xor edx, edx
xor ecx, ecx
call fcn.1400f7e10
mov r9, rbp
mov qword [rsi + 0x30], rax
lea r8, [0x140249cb8]
xor edx, edx
xor ecx, ecx
call fcn.1400f7e10
mov qword [rsi + 0x28], rax
mov rbx, qword [rsp + 0x60]
mov rax, rsi
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.Memory_allocation_problem.
call fcn.1400f5f40
int3
lea rcx, str.Memory_allocation_problem.
call fcn.1400f5f40
int3
lea rcx, str.Memory_allocation_problem.
call fcn.1400f5f40
int3