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

Disassembly:
push 0x14
mov eax, 0x43453c
call fcn.0041e952
mov ebx, ecx
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 0xc]
mov ecx, dword [edi]
test ecx, ecx
je 0x417e87
push dword [ebx + 0x18]
mov eax, dword [ecx]
push esi
push 1
call dword [eax + 0xc]
mov ecx, edi
call fcn.0041c238
test al, al
je 0x417e9c
mov eax, 0xe0000008
jmp 0x4180ac
test esi, esi
je 0x417ebb
cmp esi, dword [ebp + 0x14]
jne 0x417ebb
mov ecx, dword [edi]
test ecx, ecx
je 0x417eb4
mov eax, dword [ecx]
push 0
push 1
call dword [eax + 0x10]
xor eax, eax
jmp 0x4180ac
lea ecx, [ebx + 0x1c]
xor dl, dl
push 0
call fcn.004072a3
mov esi, eax
pop ecx
test esi, esi
je 0x417ee7
mov ecx, dword [edi]
test ecx, ecx
je 0x4180aa
mov edx, dword [ecx]
push 0
push esi
push 0
call dword [edx + 0x28]
jmp 0x4180aa
mov esi, dword [ebp + 0x14]
mov ecx, ebx
push esi
call fcn.004182a3
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x417f34
mov ecx, edi
call fcn.0041c238
test al, al
je 0x417f14
mov esi, 0xe0000008
jmp 0x417f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov esi, eax
test ecx, ecx
je 0x417f2c
mov eax, dword [ecx]
push 0
push esi
push 0
call dword [eax + 0x28]
mov eax, dword [ebp - 0x20]
jmp 0x4180a3
mov ecx, dword [edi]
test esi, esi
je 0x417f41
test ecx, ecx
je 0x417f4c
push esi
jmp 0x417f47
test ecx, ecx
je 0x417f4c
push 0
mov eax, dword [ecx]
call dword [eax + 0x1c]
and dword [ebp + 0x14], 0
mov eax, 0xc800
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 0x14]
call fcn.0040a58b
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push dword [ebx + 4]
call fcn.004187c5
and dword [ebp - 0x10], 0
mov esi, eax
test esi, esi
jne 0x418034
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x417ffe
mov ecx, 0xc800
cmp eax, ecx
cmova eax, ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebx + 4]
call fcn.00418729
mov esi, eax
test esi, esi
jne 0x418034
cmp dword [ebp - 0x10], eax
je 0x417ffe
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4180b4
mov ecx, dword [edi]
test ecx, ecx
je 0x417fda
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x1c]
lea eax, [ebx + 0x38]
mov ecx, edi
push eax
call fcn.0041c24f
mov ecx, edi
call fcn.0041c238
test al, al
je 0x417f62
mov esi, 0xe0000008
jmp 0x418093
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp - 0x20]
jbe 0x4180c5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [ebp + 0x10]
jae 0x4180c5
cmp byte [ebx + 0x88], 0
je 0x4180be
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
jmp 0x418067
cmp esi, 0x2ee2
je 0x418054
cmp esi, 0x2efe
je 0x418054
cmp esi, 0x2eff
je 0x418054
cmp esi, 0x2f83
jne 0x41807b
cmp byte [ebx + 0x88], 0
je 0x41807b
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x20]
push dword [ebp + 8]
mov ecx, ebx
call fcn.00418681
mov esi, eax
test esi, esi
je 0x417f62
cmp esi, 0xe0000008
je 0x418093
mov ecx, dword [edi]
test ecx, ecx
je 0x418093
mov eax, dword [ecx]
push 0
push esi
push 0
call dword [eax + 0x28]
push dword [ebp + 0x14]
call fcn.0041df98
mov eax, dword [ebp - 0x20]
pop ecx
test eax, eax
je 0x4180aa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.0041e92c
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x418083
mov esi, 0xe000000f
jmp 0x418083
test esi, esi
je 0x4180d5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x20], esi
push dword [ebx + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x418106
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4180b4
push dword [ebx + 0x1c]
call esi
mov ecx, dword [edi]
test ecx, ecx
je 0x418115
mov eax, dword [ecx]
push 0
push 1
call dword [eax + 0x10]
xor esi, esi
jmp 0x418093