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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7d0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x820], ecx
mov dword [ebp - 0x81c], ecx
mov dword [ebp - 0x818], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403d24
mov eax, dword [ebp - 8]
call fcn.00403d24
mov ebx, 0x407744
mov esi, 0x407740
mov edi, 0x407748
xor eax, eax
push ebp
push 0x405834
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x811]
mov edx, 0x801
call fcn.004044fc
push 0
push 0x80
push 1
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x818]
mov ecx, 0x40584c
mov edx, dword [ebp - 4]
call fcn.00403b88
mov eax, dword [ebp - 0x818]
call fcn.00403d34
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebx], eax
mov eax, dword [0x407864]
call fcn.00405374
mov dword [0x407860], eax
lea edx, [ebp - 0x81c]
mov eax, dword [0x407860]
add eax, 0x11
call fcn.0040532c
mov edx, dword [ebp - 0x81c]
mov eax, 0x407868
call fcn.00403920
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [0x407868]
call fcn.00403d34
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [esi], eax
push 2
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0xc]
push eax
push 0x800
lea eax, [ebp - 0x811]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ReadFile_1
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x811]
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WriteFile_1
cmp dword [ebp - 0x10], 0
jne 0x405503
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
call fcn.00405374
mov dword [0x407860], eax
lea edx, [ebp - 0x820]
mov eax, dword [0x407860]
add eax, 0x11
call fcn.0040532c
mov edx, dword [ebp - 0x820]
mov eax, 0x407868
call fcn.00403920
mov dword [edi], 0xfeedbeef
xor eax, eax
mov dword [edi + 4], eax
mov eax, dword [ebp - 8]
call fcn.0040526c
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov byte [edi + 0x10], 0
mov eax, dword [0x407860]
push esi
push edi
lea esi, [eax + 0x11]
add edi, 0x11
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0
lea eax, [ebp - 0x10]
push eax
push 0x118
push edi
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [0x407868]
call fcn.00403d34
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [esi], eax
push 2
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0xc]
push eax
push 0x800
lea eax, [ebp - 0x811]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ReadFile_1
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x811]
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WriteFile_1
cmp dword [ebp - 0x10], 0
jne 0x4055ee
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
call fcn.00405374
mov dword [0x407860], eax
lea edx, [ebp - 0x824]
mov eax, dword [0x407860]
add eax, 0x11
call fcn.0040532c
mov edx, dword [ebp - 0x824]
mov eax, 0x407868
call fcn.00403920
mov dword [edi], 0xfeedbeef
xor eax, eax
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
call fcn.0040526c
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov byte [edi + 0x10], 0
mov eax, dword [0x407860]
push esi
push edi
lea esi, [eax + 0x11]
add edi, 0x11
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0
lea eax, [ebp - 0x10]
push eax
push 0x118
push edi
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [0x407868]
call fcn.00403d34
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [esi], eax
push 2
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0xc]
push eax
push 0x800
lea eax, [ebp - 0x811]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ReadFile_1
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x811]
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WriteFile_1
cmp dword [ebp - 0x10], 0
jne 0x4056d9
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x407864]
call fcn.00405374
mov dword [0x407860], eax
lea edx, [ebp - 0x828]
mov eax, dword [0x407860]
add eax, 0x11
call fcn.0040532c
mov edx, dword [ebp - 0x828]
mov eax, 0x407868
call fcn.00403920
mov eax, dword [0x407864]
call fcn.0040526c
mov dword [0x40786c], eax
mov dword [0x407870], edx
mov dword [edi], 0xfeedbeef
xor eax, eax
mov dword [edi + 4], eax
mov eax, dword [0x40786c]
mov dword [edi + 8], eax
mov eax, dword [0x407870]
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], 1
lea eax, [edi + 0x11]
xor ecx, ecx
mov edx, 0x105
call fcn.00402b8c
push 0
lea eax, [ebp - 0x10]
push eax
push 0x118
push edi
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
call fcn.00403d34
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
push 0
push ebx
lea eax, [ebp - 0x82c]
mov ecx, 0x40584c
mov edx, dword [ebp - 4]
call fcn.00403b88
mov eax, dword [ebp - 0x82c]
call fcn.00403d34
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x830]
mov ecx, 0x40584c
mov edx, dword [ebp - 4]
call fcn.00403b88
mov eax, dword [ebp - 0x830]
call fcn.00403d34
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40583b
lea eax, [ebp - 0x830]
mov edx, 7
call fcn.004038f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004038f0
ret