Function at 0x441ad4
Capabilities:
Copy file
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441ce9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jne 0x441cce
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 1
xor eax, eax
push ebp
push 0x441cc7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
jne 0x441b37
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x441cb1
xor eax, eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, 0x441cfc
call fcn.0040b1c8
push 0
push 0x8000000
push 4
push 0
push 1
push 0xc0000000
mov eax, dword [ebp - 0x10]
call fcn.00405290
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.0041b57c
test al, al
je 0x441c2b
xor eax, eax
push ebp
push 0x441c24
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x441bc3
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
push 2
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x441c0d
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
call fcn.004052f0
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441c2b
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp dword [ebp - 0x28], 0x200000
jbe 0x441cb1
lea ecx, [ebp - 0x14]
mov edx, 0x441d10
mov eax, dword [ebp - 0x10]
call fcn.0040b1c8
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405290
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405290
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x441c7e
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0xc]
call fcn.0040e8bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x441cb1
mov eax, dword [ebp - 0x10]
call fcn.00405290
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x441cb1
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0xc]
call fcn.0040e8bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441cce
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441cf0
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404e08
ret