Function at 0x4254b0
Capabilities:
Copy file
Delete file
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x468f56
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x1038], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x1050]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1060]
push 0x800
mov dword [esp + 0x2c], ecx
xor ebx, ebx
lea ecx, [esp + 0x50]
push ebx
push ecx
mov dword [esp + 0x30], eax
call fcn.0044e220
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0xc
push 0x400
lea edx, [esp + 0x50]
push edx
push ebx
call ebp
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00419e60
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x105c], ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [0x484064]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x105c], 1
call fcn.00424f60
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4255c3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x42559e
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x42559e
push esi
call fcn.0044ee34
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x484060]
je 0x4255bc
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x4255bc
push esi
call fcn.0044ee34
add esp, 4
xor eax, eax
jmp 0x425762
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4255d9
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 0x20], ebx
call fcn.00403520
cmp eax, ebx
je 0x4256ed
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push str.SETUPDATA
push 0xc9
push ebx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4256ed
cmp dword [esp + 0x30], 0x18
jne 0x4256ed
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0xc]
push 0x800
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x850]
push 0
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.0044e220
mov eax, dword [0x487c58]
add esp, 0xc
push 0x400
lea edx, [esp + 0x850]
push edx
push eax
call ebp
lea ecx, [esp + 0x84c]
push 0x4785ec
push ecx
call fcn.0045015f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4256ed
push 0x4775a8
push esi
call fcn.0045015f
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4256e4
push ebx
call fcn.0044ffcf
mov edi, eax
add esp, 4
test edi, edi
je 0x4256cb
push ebp
push 1
push ebx
push edi
call fcn.0044ff63
mov edx, dword [esp + 0x24]
push edx
push 1
push ebx
push edi
call fcn.0044fc41
push edi
call fcn.0044f575
add esp, 0x24
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], 1
call fcn.0044fa63
mov edi, dword [esp + 0x1c]
add esp, 4
push ebp
call fcn.0044fa63
add esp, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
push ecx
push eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
lea edx, [esp + 0x50]
push edx
push esi
call fcn.00424ca0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, dword [0x484060]
je 0x425740
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x425740
push esi
call fcn.0044ee34
add esp, 4
lea ecx, [edi - 0xc]
cmp ecx, dword [0x484060]
je 0x42575e
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x42575e
push esi
call fcn.0044ee34
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1050]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1038]
xor ecx, esp
call fcn.0044e20c
add esp, 0x1048
ret 4