Function at 0x140013ec0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Get common file path
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xcd0]
sub rsp, 0xdd0
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0xcc0], rax
mov rdi, rcx
mov dword [rsp + 0x30], Ordinal_266
call fcn.140007160
test eax, eax
jne 0x1400142ac
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x190]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
test eax, eax
je 0x1400142aa
xor edx, edx
mov qword [rsp + 0xdf0], rsi
mov r8d, Ordinal_265
lea rcx, [rbp + 0x2a0]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_265
lea rdx, [rbp + 0x2a0]
mov rcx, rdi
call fcn.140006740
mov r9d, Ordinal_265
lea r8, [rbp + 0x190]
lea rcx, [rbp + 0x3b0]
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 + 0x3b0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140013fad
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400142a2
call fcn.140025dc0
jmp 0x1400142a2
mov qword [rsp + 0xde8], rbx
nop word [rax + 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 0x14001427b
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 0x14001427b
test byte [rsp + 0x40], 0x10
je 0x14001427b
mov r9d, Ordinal_265
lea r8, [rbp + 0x190]
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]
xor edx, edx
lea rcx, [rdi + 0x120]
mov r8d, Ordinal_265
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x6c]
mov edx, 0x104
lea rcx, [rdi + 0x120]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14001408e
xor edx, edx
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, str.Intel
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400140c2
xor edx, edx
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, str.Wireless
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400140f6
xor edx, edx
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, str.Settings.sav
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140014149
xor edx, edx
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 2
lea rcx, [rbp + 0x80]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea r9, str.10.0.0
mov rcx, rdi
lea r8, str.SRC_VERSION
lea rdx, [rbp + 0x80]
call fcn.140008bc0
lea r9, str.9.0.0
mov rcx, rdi
lea r8, str.TGT_VERSION
lea rdx, [rbp + 0x80]
call fcn.140008bc0
lea rdx, [0x140065318]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov rcx, qword [rdi + 8]
test eax, eax
je 0x1400141ef
test rcx, rcx
je 0x140014256
lea rax, [rbp + 0x80]
or r8, 0xffffffffffffffff
lea r9, str._tUsing_the_EXISTING_individual_setting_file__s
mov qword [rsp + 0x20], rax
mov edx, 0x800
lea rcx, [rbp + 0x4c0]
call fcn.140008c50
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0x4c0]
call fcn.140025be0
jmp 0x140014256
test rcx, rcx
je 0x14001422c
lea rax, [rbp + 0x80]
or r8, 0xffffffffffffffff
lea r9, str._tUsing_the_MASTER_TEMPLATE_individual_setting_file__s
mov qword [rsp + 0x20], rax
mov edx, 0x800
lea rcx, [rbp + 0x4c0]
call fcn.140008c50
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0x4c0]
call fcn.140025be0
lea rdx, [0x140065468]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140014256
lea rcx, [rdi + 0x1c]
xor r8d, r8d
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rdx, [0x140065468]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x14001427b
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.140016480
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140013fc0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0xde8]
mov rsi, qword [rsp + 0xdf0]
xor eax, eax
mov rcx, qword [rbp + 0xcc0]
xor rcx, rsp
call fcn.140059ef0
mov rdi, qword [rsp + 0xdf8]
add rsp, 0xdd0
pop rbp
ret