Function at 0x4248c0
Capabilities:
Copy file
Delete file
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x468f76
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x1038], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
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.0044e2b0
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.00419ca0
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.00424370
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 0x4249d3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x4249ae
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x4249ae
push esi
call fcn.0044eec4
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x484060]
je 0x4249cc
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x4249cc
push esi
call fcn.0044eec4
add esp, 4
xor eax, eax
jmp 0x424b5c
mov dword [esp + 0x20], ebx
call fcn.00403550
cmp eax, ebx
je 0x424ae7
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 0x424ae7
cmp dword [esp + 0x30], 0x18
jne 0x424ae7
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.0044e2b0
mov eax, dword [0x487ab8]
add esp, 0xc
push 0x400
lea edx, [esp + 0x850]
push edx
push eax
call ebp
lea ecx, [esp + 0x84c]
push 0x478378
push ecx
call fcn.004501ef
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x424ae7
push 0x4773a0
push esi
call fcn.004501ef
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x424ade
push ebx
call fcn.0045005f
mov edi, eax
add esp, 4
test edi, edi
je 0x424ac5
push ebp
push 1
push ebx
push edi
call fcn.0044fff3
mov edx, dword [esp + 0x24]
push edx
push 1
push ebx
push edi
call fcn.0044fcd1
push edi
call fcn.0044f605
add esp, 0x24
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], 1
call fcn.0044faf3
mov edi, dword [esp + 0x1c]
add esp, 4
push ebp
call fcn.0044faf3
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.004240b0
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 0x424b3a
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x424b3a
push esi
call fcn.0044eec4
add esp, 4
lea ecx, [edi - 0xc]
cmp ecx, dword [0x484060]
je 0x424b58
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x424b58
push esi
call fcn.0044eec4
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.0044e29c
add esp, 0x1048
ret 4