Function at 0x14002c5d0
Capabilities:
Check if file exists
Get common file path
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1500]
mov eax, 0x1600
call fcn.14005a020
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x14f0], rax
mov r14, r9
mov rsi, rdx
mov rbx, rcx
mov edi, 0x43297
lea rax, vtable.CEncrypter.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
call fcn.140016ad4
nop
lea rcx, [rsp + 0x30]
call fcn.140016d84
test eax, eax
je 0x14002c9b7
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x11c0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x11c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
je 0x14002c67e
mov edi, 0x80043298
jmp 0x14002c9b7
lea rdx, str.IntelWirelessWLANProfiles.sav
lea rcx, [rbp + 0x11c0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x13e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x11c0]
mov edx, 0x104
lea rcx, [rbp + 0x13e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str.Sharedtemp.enc
lea rcx, [rbp + 0x13e0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x12d0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x11c0]
mov edx, 0x104
lea rcx, [rbp + 0x12d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str.Profiles.enc
lea rcx, [rbp + 0x12d0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x14002c74e
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CProfileConverter::DowngradeSharedProfiles100to90___started_
mov rcx, qword [rbx + 0x510]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 0x510]
call fcn.140025ed0
xor eax, eax
mov qword [rbp + 0x11a0], rax
mov qword [rbp + 0x11a8], rax
mov dword [rbp + 0x11b0], eax
mov dword [rsp + 0x28], 0x13
lea rax, [rbp + 0x11a0]
mov qword [rsp + 0x20], rax
lea r9, str.NOT_EXISTS
lea r8, str.TGT_VERSION
lea rdx, [rbp + 0x11c0]
mov rcx, rbx
call fcn.14002de30
lea rdx, [rbp + 0x11a0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
jne 0x14002c7e3
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x14002c9b7
lea edx, [rax + 1]
call fcn.140025ed0
mov r8, r14
lea rdx, str._t__The_profile_database_is_already_at_this_version:
mov rcx, qword [rbx + 0x510]
call fcn.140025ad0
lea rdx, str._t_CProfileConverter::DowngradeSharedProfiles100to90___ended_
jmp 0x14002c8a4
lea r9, str.10.0.0
lea r8, str.SRC_VERSION
lea rdx, [rbp + 0x11c0]
mov rcx, rbx
call fcn.140030090
mov r9, r14
lea r8, str.TGT_VERSION
lea rdx, [rbp + 0x11c0]
mov rcx, rbx
call fcn.140030090
lea r9, [rbp + 0x12d0]
lea r8, str.ORG_SHR_DB_FILE_NAME
lea rdx, [rbp + 0x11c0]
mov rcx, rbx
call fcn.140030090
lea r9, [rbp + 0x13e0]
lea r8, str.SRC_SHR_DB_FILE_NAME
lea rdx, [rbp + 0x11c0]
mov rcx, rbx
call fcn.140030090
lea r9, [rbp + 0x12d0]
lea r8, str.TGT_SHR_DB_FILE_NAME
lea rdx, [rbp + 0x11c0]
mov rcx, rbx
call fcn.140030090
lea rcx, [rbp + 0x12d0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14002c8c6
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x14002c9b7
lea rdx, str._t__Source_file_does_not_exist__no_conversion_needed_
call fcn.140025be0
lea rdx, str._t_CProfileConverter::DowngradeSharedProfiles100to90___completed_
mov rcx, qword [rbx + 0x510]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 0x510]
call fcn.140025ed0
jmp 0x14002c9b7
lea rcx, [rbp + 0x13e0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14002c8e6
mov rdx, rsi
lea rcx, [rbp + 0x13e0]
call fcn.140042c50
xor r9d, r9d
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.140033270
nop
lea rdx, [rbp + 0x13e0]
lea rcx, [rbp + 0x160]
call fcn.1400383b0
lea rcx, [rbp + 0x160]
call fcn.140036400
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x12d0]
mov rcx, rsi
call sub.PfMgrApi.dll_Ordinal_50
cmp eax, edi
jne 0x14002c955
lea rdx, [rbp + 0x160]
mov rcx, rbx
call fcn.14002cea0
mov edi, eax
call sub.PfMgrApi.dll_Ordinal_52
mov r8d, 1
lea rdx, [rbp + 0x12d0]
lea rcx, [rbp + 0x13e0]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x14002c9aa
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CProfileConverter::DowngradeITProfiles100to90___completed_
mov rcx, qword [rbx + 0x510]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 0x510]
call fcn.140025ed0
nop
lea rcx, [rbp + 0x160]
call fcn.1400334e0
nop
lea rcx, [rsp + 0x30]
call fcn.140016ba0
nop
mov eax, edi
mov rcx, qword [rbp + 0x14f0]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x1600
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret