Function at 0x447d30
Capabilities:
Copy file
Get common file path
Set file attributes

Disassembly:
sub esp, 0x938
mov eax, dword [0x47f038]
xor eax, esp
mov dword [esp + 0x934], eax
push ebx
push ebp
mov ebp, dword [esp + 0x948]
push esi
mov esi, dword [esp + 0x948]
push edi
push 0x80
push ebp
mov ebx, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push esi
mov ecx, ebx
call fcn.004454a0
test al, al
je 0x447dc0
mov eax, dword [esp + 0x954]
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x447da1
push 0x80
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x944]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e1a0
add esp, 0x938
ret 0x10
push esi
push str.____File_does_not_exist___s__try_compress_version_n
call fcn.004412c0
lea edx, [esp + 0x12c]
add esp, 8
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x447de0
lea eax, [esp + 0x124]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447e00
sub eax, edx
sar eax, 1
mov ecx, 0x5f
push 0
lea edx, [esp + 0x128]
mov word [esp + eax*2 + 0x126], cx
push edx
mov ecx, ebx
call fcn.004454a0
test al, al
je 0x4480be
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x336]
push ecx
mov word [esp + 0x338], ax
call fcn.0044e1b0
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x12c]
push eax
call sub.LZ32.dll_LZOpenFileW
mov edi, dword [esp + 0x958]
push edi
push str.____bCopyCompressSrcToTemp___d__n
mov esi, eax
call fcn.004412c0
add esp, 8
cmp edi, 1
jne 0x447e9a
cmp esi, 0xffffffff
je 0x447e95
cmp esi, 0xfffffffb
je 0x447e95
push esi
call sub.LZ32.dll_LZClose
or esi, 0xffffffff
jmp 0x447ea3
cmp esi, 0xffffffff
jne 0x447f88
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x746]
push edx
mov word [esp + 0x748], cx
call fcn.0044e1b0
add esp, 0xc
lea eax, [esp + 0x73c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x447f88
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x53e]
push edx
mov word [esp + 0x540], cx
call fcn.0044e1b0
add esp, 0xc
lea eax, [esp + 0x534]
push eax
push 0
lea ecx, [esp + 0x12c]
push ecx
mov ecx, ebx
call fcn.00446790
lea edx, [esp + 0x534]
push edx
lea eax, [esp + 0x740]
push eax
lea ecx, [esp + 0x334]
push 0x46d744
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 1
lea edx, [esp + 0x334]
push edx
lea eax, [esp + 0x130]
push eax
mov ecx, ebx
call fcn.00447d30
push 0x80
lea ecx, [esp + 0x330]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xffffffffffffffff
call sub.LZ32.dll_LZClose
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x334]
push eax
call sub.LZ32.dll_LZOpenFileW
mov esi, eax
push 0x1001
lea ecx, [esp + 0xa0]
push ecx
push ebp
call sub.LZ32.dll_LZOpenFileW
mov edi, eax
cmp edi, 0xffffffff
jne 0x447fed
push ebp
lea edx, [esp + 0x128]
push edx
push str.LZCopy_LZERROR_BADINHANDLE_error___can_not_create_target_file._n_____s_____s__n
call fcn.004412c0
add esp, 0xc
push esi
call sub.LZ32.dll_LZClose
push edi
call sub.LZ32.dll_LZClose
cmp word [esp + 0x32c], 0
je 0x447fde
lea eax, [esp + 0x32c]
push eax
mov ecx, ebx
call fcn.00445e70
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x447da5
push edi
push esi
call sub.LZ32.dll_LZCopy
test eax, eax
jge 0x448087
add eax, 6
cmp eax, 5
ja case.0x448008.4
jmp dword [eax*4 + 0x4480d8]
push ebp
lea ecx, [esp + 0x128]
push ecx
push str.LZCopy_LZERROR_BADINHANDLE_error_n_____s_____s__n
call fcn.004412c0
add esp, 0xc
jmp case.0x448008.4
push ebp
lea edx, [esp + 0x128]
push edx
push str.LZCopy_LZERROR_BADOUTHANDLE_error_n_____s_____s__n
call fcn.004412c0
add esp, 0xc
jmp case.0x448008.4
push ebp
lea eax, [esp + 0x128]
push eax
push str.LZCopy_LZERROR_GLOBALLOC_error_n_____s_____s__n
call fcn.004412c0
add esp, 0xc
jmp case.0x448008.4
push ebp
lea ecx, [esp + 0x128]
push ecx
push str.LZCopy_LZERROR_GLOBLOCK_error_n_____s_____s__n
call fcn.004412c0
add esp, 0xc
jmp case.0x448008.4
push ebp
lea edx, [esp + 0x128]
push edx
push str.LZCopy_LZERROR_READ_error_n_____s_____s__n
call fcn.004412c0
add esp, 0xc
jmp case.0x448008.4
mov dword [esp + 0x10], 1
push esi
call sub.LZ32.dll_LZClose
push edi
call sub.LZ32.dll_LZClose
cmp word [esp + 0x32c], 0
je 0x447d8e
lea eax, [esp + 0x32c]
push eax
mov ecx, ebx
call fcn.00445e70
jmp 0x447d8e
lea ecx, [esp + 0x124]
push ecx
push str.____File_does_not_exist___s__n
call fcn.004412c0
add esp, 8
jmp 0x447da1