Function at 0x1400ee6e0
Capabilities:
Check if file exists
Copy file
Get common file path
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x6f8], rbx
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov rdi, r8
mov r12, rdx
mov rsi, rcx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::CopyFileWithDecompressXP
lea rcx, [rsp + 0x48]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rdi
mov r9, r12
lea r8, str.szMdliaFile___s__szDestinationFile___s
mov ebx, 1
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140007780
xor r13d, r13d
mov word [rsp + 0x70], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.14024b970
cmp qword [rsi + 0x10], r13
jne 0x1400ee7ff
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rbp + 0x180]
lea rdx, str._s_setupapi.dll
lea rcx, [rbp + 0x390]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x1400ee7d5
lea rdx, str.SetupGetFileCompressionInfoExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
jmp 0x1400ee7ff
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
xor eax, eax
jmp 0x1400ee9e6
mov rax, qword [rsi + 8]
test rax, rax
jne 0x1400ee840
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsi + 0x10], r13
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
xor eax, eax
jmp 0x1400ee9e6
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x5c]
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, r12
call rax
test eax, eax
je 0x1400ee999
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1400ee8eb
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x1400ee8bb
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str._t_t_tCopyFile
lea rcx, [rsp + 0x48]
call fcn.140029dc0
cmp esi, 0x70
jne 0x1400ee8d0
mov rcx, qword [0x1403b9770]
mov rax, qword [rcx]
lea edx, [rsi + 0x34]
call qword [rax + 0x18]
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebx, ebx
je 0x1400ee9c0
jmp 0x1400ee977
cmp eax, ebx
jne 0x1400ee942
lea r8, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
je 0x1400ee977
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str._t_t_tSetupDecompressOrCopyFile_FILE_COMPRESSION_WINLZA_
lea rcx, [rsp + 0x48]
call fcn.140029dc0
cmp ebx, 0x70
jne 0x1400ee9bd
mov rcx, qword [0x1403b9770]
mov rax, qword [rcx]
lea edx, [rbx + 0x34]
call qword [rax + 0x18]
jmp 0x1400ee9bd
cmp eax, 2
jne 0x1400ee977
lea r8, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
je 0x1400ee977
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str._t_t_tSetupDecompressOrCopyFile_FILE_COMPRESSION_MSZIP_
jmp 0x1400ee91d
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
lea r8, str._t_t_tMdliaFile__s_______DestinationFile__s____SUCCESS__
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
jmp 0x1400ee9c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400ee9c0
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str._t_t_tSetupGetFileCompressionInfoEx
lea rcx, [rsp + 0x48]
call fcn.140029dc0
mov ebx, r13d
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
mov eax, ebx
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140245660
mov rbx, qword [rsp + 0x6f8]
add rsp, 0x6b0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret