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

Disassembly:
push 0xffffffffffffffff
push 0x468d76
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.0044ef90
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.0044e060
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.00419e10
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.00425690
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 0x425cf3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x425cce
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x425cce
push esi
call fcn.0044ec74
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x484060]
je 0x425cec
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x425cec
push esi
call fcn.0044ec74
add esp, 4
xor eax, eax
jmp 0x425e92
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x425d09
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 0x20], ebx
call fcn.004035d0
cmp eax, ebx
je 0x425e1d
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 0x425e1d
cmp dword [esp + 0x30], 0x18
jne 0x425e1d
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.0044e060
mov eax, dword [0x487c58]
add esp, 0xc
push 0x400
lea edx, [esp + 0x850]
push edx
push eax
call ebp
lea ecx, [esp + 0x84c]
push 0x47856c
push ecx
call fcn.0044ff9f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x425e1d
push 0x477558
push esi
call fcn.0044ff9f
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x425e14
push ebx
call fcn.0044fe0f
mov edi, eax
add esp, 4
test edi, edi
je 0x425dfb
push ebp
push 1
push ebx
push edi
call fcn.0044fda3
mov edx, dword [esp + 0x24]
push edx
push 1
push ebx
push edi
call fcn.0044fa81
push edi
call fcn.0044f3b5
add esp, 0x24
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], 1
call fcn.0044f8a3
mov edi, dword [esp + 0x1c]
add esp, 4
push ebp
call fcn.0044f8a3
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.004253d0
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 0x425e70
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x425e70
push esi
call fcn.0044ec74
add esp, 4
lea ecx, [edi - 0xc]
cmp ecx, dword [0x484060]
je 0x425e8e
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x425e8e
push esi
call fcn.0044ec74
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.0044e04c
add esp, 0x1048
ret 4