Function at 0x140026700
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x9f0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xa08], rbx
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x9e0], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
cmp edx, 1
jne 0x140026764
cmp qword [rcx + 0x20], 0
jne 0x140026764
mov rcx, qword [rcx + 0x510]
test rcx, rcx
je 0x14002675a
lea rdx, str._t_Unable_to_Back_Up_Vista_CP_Profiles___m_pCPGuidInterfacePointer_is_NULL_
call fcn.140025be0
mov eax, 0x43297
jmp 0x1400269d4
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
nop
mov rcx, qword [rdi + 0x510]
test rcx, rcx
je 0x1400267b4
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CProfileConverter::BackUpVistaProfiles___started_
mov rcx, qword [rdi + 0x510]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rdi + 0x510]
call fcn.140025ed0
lea rcx, [rsp + 0x30]
call fcn.14004bedc
mov edx, 0x4000
lea rcx, [rsp + 0x30]
call fcn.14004bf98
test eax, eax
je 0x140026980
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rsp + 0xd0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0xd0]
mov edx, ebx
mov rcx, rdi
call fcn.14002b920
test al, al
je 0x140026961
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.14002ba70
lea rcx, [rsp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140026942
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call fcn.14002df70
cmp eax, 0x43297
jne 0x1400268f2
lea rdx, [rsp + 0xd0]
mov rcx, rdi
call fcn.140026680
mov ebx, eax
mov rcx, qword [rdi + 0x510]
test eax, eax
js 0x1400268a5
test rcx, rcx
je 0x14002689e
mov edx, 1
call fcn.140025ed0
lea r9, str._tProfile_save_complete.
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rsp + 0x1e0]
call fcn.140008c50
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rdi + 0x510]
call fcn.140025be0
mov ebx, 0x43297
jmp 0x1400268e5
test rcx, rcx
je 0x1400268e5
mov edx, 1
call fcn.140025ed0
lea r9, str._tProfile_save_failed.
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rsp + 0x1e0]
call fcn.140008c50
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rdi + 0x510]
call fcn.140025be0
mov rcx, rdi
call fcn.14002bbd0
jmp 0x1400269cc
mov rcx, qword [rdi + 0x510]
test rcx, rcx
je 0x1400269c7
mov edx, 1
call fcn.140025ed0
lea r9, str._tUnable_to_open_the_profile_manager.
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rsp + 0x1e0]
call fcn.140008c50
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rdi + 0x510]
call fcn.140025be0
jmp 0x1400269c7
mov rcx, qword [rdi + 0x510]
test rcx, rcx
je 0x1400269c7
mov edx, 1
call fcn.140025ed0
lea r9, str._tUnable_to_find_the_WLANProfiles_folder.
jmp 0x140026913
mov rcx, qword [rdi + 0x510]
test rcx, rcx
je 0x1400269c7
mov edx, 1
call fcn.140025ed0
lea r9, str._tUnable_to_find_the_Program_Data_directory
jmp 0x140026913
mov rcx, qword [rdi + 0x510]
test rcx, rcx
je 0x1400269c7
mov edx, 1
call fcn.140025ed0
lea r9, str._tThis_option_is_only_valid_for_the_Vista_OS
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rsp + 0x1e0]
call fcn.140008c50
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rdi + 0x510]
call fcn.140025be0
mov ebx, 0x80043298
jmp 0x1400269d2
mov eax, ebx
mov rcx, qword [rsp + 0x9e0]
xor rcx, rsp
call fcn.140059ef0
mov rbx, qword [rsp + 0xa08]
add rsp, 0x9f0
pop rdi
ret