Function at 0x14002ecf0
Capabilities:
Enumerate files on windows
Get common file path
Move file

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, reloc.mfc140.dll_Ordinal_1504
sub rsp, 0x6e0
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x4c0]
mov r8d, Ordinal_266
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x3b0]
mov r8d, Ordinal_266
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x2a0]
mov r8d, Ordinal_266
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, Ordinal_266
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, Ordinal_266
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], Ordinal_266
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
test eax, eax
je 0x14002eff8
mov r9d, Ordinal_265
mov qword [rsp + 0x700], rsi
lea r8, [rbp + 0x3b0]
lea rcx, [rbp + 0x2a0]
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rdx, [0x140065290]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002ee55
mov rcx, qword [rdi + 0x510]
test rcx, rcx
je 0x14002eff0
lea edx, [rax + 2]
call fcn.140025ed0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str._tInvalid_File_Handle_from_FindFirstFile__s_._GetLastError___reports__d
lea rax, [rbp + 0x2a0]
mov edx, Ordinal_265
or r8, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x4c0]
call fcn.140008c50
mov rcx, qword [rdi + 0x510]
lea rdx, [rbp + 0x4c0]
call fcn.140025be0
jmp 0x14002eff0
mov qword [rsp + 0x6f8], rbx
nop dword [rax]
lea rdx, [0x140065298]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x14002efd2
lea rdx, [0x140065c90]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x14002efd2
test byte [rsp + 0x40], 0x10
je 0x14002efd2
mov r9d, Ordinal_265
lea r8, [rbp + 0x3b0]
lea rcx, [rbp + 0x80]
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rdi + 0x55a]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea rdx, str.IntelWirelessWLANProfiles
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov r9d, Ordinal_265
lea r8, [rbp + 0x3b0]
lea rcx, [rbp + 0x190]
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rdi + 0x55a]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea rdx, str.IntelWirelessWLANProfiles.sav
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x14002efd2
mov rcx, qword [rdi + 0x510]
test rcx, rcx
je 0x14002efd2
mov edx, 1
call fcn.140025ed0
lea rax, [rbp + 0x80]
or r8, 0xffffffffffffffff
lea r9, str._tFailed_to_rename_.org_folder__s_to_.sav_folder
mov qword [rsp + 0x20], rax
mov edx, Ordinal_265
lea rcx, [rbp + 0x4c0]
call fcn.140008c50
mov rcx, qword [rdi + 0x510]
lea rdx, [rbp + 0x4c0]
call fcn.140025be0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14002ee60
mov rbx, qword [rsp + 0x6f8]
mov rsi, qword [rsp + 0x700]
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140059ef0
mov rdi, qword [rsp + 0x708]
add rsp, 0x6e0
pop rbp
ret