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

Disassembly:
sub esp, 0x938
mov eax, dword [0x48807c]
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.004496a0
test al, al
je 0x44bfc0
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 0x44bfa1
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.00453432
add esp, 0x938
ret 0x10
push esi
push str.____File_does_not_exist___s__try_compress_version_n
call fcn.004454c0
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 0x44bfe0
lea eax, [esp + 0x124]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c000
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.004496a0
test al, al
je 0x44c2be
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x336]
push ecx
mov word [esp + 0x338], ax
call fcn.00453450
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.004454c0
add esp, 8
cmp edi, 1
jne 0x44c09a
cmp esi, 0xffffffff
je 0x44c095
cmp esi, 0xfffffffb
je 0x44c095
push esi
call sub.LZ32.dll_LZClose
or esi, 0xffffffff
jmp 0x44c0a3
cmp esi, 0xffffffff
jne 0x44c188
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x746]
push edx
mov word [esp + 0x748], cx
call fcn.00453450
add esp, 0xc
lea eax, [esp + 0x73c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x44c188
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x53e]
push edx
mov word [esp + 0x540], cx
call fcn.00453450
add esp, 0xc
lea eax, [esp + 0x534]
push eax
push 0
lea ecx, [esp + 0x12c]
push ecx
mov ecx, ebx
call fcn.0044a990
lea edx, [esp + 0x534]
push edx
lea eax, [esp + 0x740]
push eax
lea ecx, [esp + 0x334]
push 0x474b44
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.0044bf30
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 0x44c1ed
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.004454c0
add esp, 0xc
push esi
call sub.LZ32.dll_LZClose
push edi
call sub.LZ32.dll_LZClose
cmp word [esp + 0x32c], 0
je 0x44c1de
lea eax, [esp + 0x32c]
push eax
mov ecx, ebx
call fcn.0044a070
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44bfa5
push edi
push esi
call sub.LZ32.dll_LZCopy
test eax, eax
jge 0x44c287
add eax, 6
cmp eax, 5
ja case.0x44c208.4
jmp dword [eax*4 + 0x44c2d8]
push ebp
lea ecx, [esp + 0x128]
push ecx
push str.LZCopy_LZERROR_BADINHANDLE_error_n_____s_____s__n
call fcn.004454c0
add esp, 0xc
jmp case.0x44c208.4
push ebp
lea edx, [esp + 0x128]
push edx
push str.LZCopy_LZERROR_BADOUTHANDLE_error_n_____s_____s__n
call fcn.004454c0
add esp, 0xc
jmp case.0x44c208.4
push ebp
lea eax, [esp + 0x128]
push eax
push str.LZCopy_LZERROR_GLOBALLOC_error_n_____s_____s__n
call fcn.004454c0
add esp, 0xc
jmp case.0x44c208.4
push ebp
lea ecx, [esp + 0x128]
push ecx
push str.LZCopy_LZERROR_GLOBLOCK_error_n_____s_____s__n
call fcn.004454c0
add esp, 0xc
jmp case.0x44c208.4
push ebp
lea edx, [esp + 0x128]
push edx
push str.LZCopy_LZERROR_READ_error_n_____s_____s__n
call fcn.004454c0
add esp, 0xc
jmp case.0x44c208.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 0x44bf8e
lea eax, [esp + 0x32c]
push eax
mov ecx, ebx
call fcn.0044a070
jmp 0x44bf8e
lea ecx, [esp + 0x124]
push ecx
push str.____File_does_not_exist___s__n
call fcn.004454c0
add esp, 8
jmp 0x44bfa1