Function at 0x1400ee430
Capabilities:
Copy file
Set file attributes

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, r8
mov rbx, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::CopyFileWithDecompress
lea rcx, [rbp - 0x10]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, str.szMdliaFile___s__szDestinationFile___s
mov edx, 1
lea rcx, [rbp - 0x10]
call fcn.140007780
xor esi, esi
mov qword [rbp - 0x28], rsi
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x2c]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupGetFileCompressionInfoW]
test eax, eax
jne 0x1400ee698
mov eax, dword [rbp + 0x28]
test eax, eax
jne 0x1400ee59b
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400ee588
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rbp - 0x20], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, ebx
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400ee53c
mov rcx, qword [rbp - 0x20]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
lea r9, str._t_t_tCopyFile
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
lea edx, [rsi + 6]
lea rcx, [rbp - 0x10]
call fcn.140007780
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400ee54b
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, 0x70
jne 0x1400ee560
mov rcx, qword [0x1403b9770]
mov rax, qword [rcx]
lea edx, [rdi + 0x34]
call qword [rax + 0x18]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rbp - 0x10]
call fcn.140007780
nop
lea rcx, [rbp - 0x10]
call fcn.140007730
xor eax, eax
jmp 0x1400ee6c1
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400ee67a
cmp eax, 1
jne 0x1400ee60e
lea r8, [rbp + 0x28]
mov rdx, rdi
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
je 0x1400ee67a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._t_t_tSetupDecompressOrCopyFile_FILE_COMPRESSION_WINLZA_
lea rcx, [rbp - 0x10]
call fcn.140029dc0
cmp ebx, 0x70
jne 0x1400ee5e6
mov rcx, qword [0x1403b9770]
mov rax, qword [rcx]
lea edx, [rbx + 0x34]
call qword [rax + 0x18]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rbp - 0x10]
call fcn.140007780
nop
lea rcx, [rbp - 0x10]
call fcn.140007730
xor eax, eax
jmp 0x1400ee6c1
cmp eax, 2
jne 0x1400ee67a
lea r8, [rbp + 0x28]
mov rdx, rdi
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
je 0x1400ee67a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._t_t_tSetupDecompressOrCopyFile_FILE_COMPRESSION_MSZIP_
lea rcx, [rbp - 0x10]
call fcn.140029dc0
cmp ebx, 0x70
jne 0x1400ee655
mov rcx, qword [0x1403b9770]
mov rax, qword [rcx]
lea edx, [rbx + 0x34]
call qword [rax + 0x18]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rbp - 0x10]
call fcn.140007780
nop
lea rcx, [rbp - 0x10]
call fcn.140007730
xor eax, eax
jmp 0x1400ee6c1
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x28]
lea r8, str._t_t_tCopyFile:_MdliaFile__s_______DestinationFile__s____SUCCESS__
mov edx, 7
lea rcx, [rbp - 0x10]
call fcn.140007780
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rbp - 0x10]
call fcn.140007780
nop
lea rcx, [rbp - 0x10]
call fcn.140007730
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret