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

Disassembly:
push 0x1c
mov eax, 0x519bdb
call fcn.004db273
mov ebx, ecx
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 0xc]
mov ecx, dword [edi]
test ecx, ecx
je 0x49e7da
push dword [ebx + 0x18]
mov eax, dword [ecx]
push esi
push 1
call dword [eax + 0xc]
mov ecx, edi
call fcn.004a9067
test al, al
je 0x49e7ef
mov eax, 0xe0000008
jmp 0x49ea34
test esi, esi
je 0x49e80e
cmp esi, dword [ebp + 0x14]
jne 0x49e80e
mov ecx, dword [edi]
test ecx, ecx
je 0x49e807
mov eax, dword [ecx]
push 0
push 1
call dword [eax + 0x14]
xor eax, eax
jmp 0x49ea34
lea ecx, [ebx + 0x1c]
xor dl, dl
push 0
call fcn.0047aed0
mov esi, eax
pop ecx
test esi, esi
je 0x49e83a
mov ecx, dword [edi]
test ecx, ecx
je 0x49ea32
mov edx, dword [ecx]
push 0
push esi
push 0
call dword [edx + 0x24]
jmp 0x49ea32
mov esi, dword [ebp + 0x14]
mov ecx, ebx
push esi
call fcn.0049ecc1
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x28], 0x533e78
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x49e891
mov ecx, edi
call fcn.004a9067
test al, al
je 0x49e870
mov esi, 0xe0000008
jmp 0x49ea15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov esi, eax
test ecx, ecx
je 0x49ea15
mov eax, dword [ecx]
push 0
push esi
push 0
call dword [eax + 0x24]
jmp 0x49ea15
mov ecx, dword [edi]
test esi, esi
je 0x49e89e
test ecx, ecx
je 0x49e8a9
push esi
jmp 0x49e8a4
test ecx, ecx
je 0x49e8a9
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
and dword [ebp - 0x10], 0
push 0xc800
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00495766
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push dword [ebx + 4]
call fcn.0049f248
and dword [ebp - 0x18], 0
mov esi, eax
test esi, esi
jne 0x49e9a5
cmp dword [ebp - 0x14], eax
jbe 0x49e96f
mov edx, 0xc800
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x14], edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
cmovbe eax, ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, ebx
push dword [eax]
push dword [ebp - 0x10]
push dword [ebx + 4]
call fcn.0049f1a1
mov esi, eax
test esi, esi
jne 0x49e9a5
cmp dword [ebp - 0x18], eax
je 0x49e96f
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x49ea3c
mov ecx, dword [edi]
test ecx, ecx
je 0x49e94b
mov eax, dword [ecx]
push dword [ebp - 0x20]
call dword [eax + 0x18]
lea eax, [ebx + 0x38]
mov ecx, edi
push eax
call fcn.004a907e
mov ecx, edi
call fcn.004a9067
test al, al
je 0x49e8be
mov esi, 0xe0000008
jmp 0x49ea04
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp + 0x14]
jbe 0x49ea4d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [ebp + 0x10]
jae 0x49ea4d
cmp byte [ebx + 0x88], 0
je 0x49ea46
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
jmp 0x49e9d8
cmp esi, 0x2ee2
je 0x49e9c5
cmp esi, 0x2efe
je 0x49e9c5
cmp esi, 0x2eff
je 0x49e9c5
cmp esi, 0x2f83
jne 0x49e9ec
cmp byte [ebx + 0x88], 0
je 0x49e9ec
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 8]
mov ecx, ebx
call fcn.0049f100
mov esi, eax
test esi, esi
je 0x49e8be
cmp esi, 0xe0000008
je 0x49ea04
mov ecx, dword [edi]
test ecx, ecx
je 0x49ea04
mov eax, dword [ecx]
push 0
push esi
push 0
call dword [eax + 0x24]
mov byte [ebp - 4], 0
push dword [ebp - 0x10]
call fcn.004dadb0
and dword [ebp - 0x10], 0
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], 0x533e78
test eax, eax
je 0x49ea32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x24], 0
mov eax, esi
call fcn.004db23c
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x49e9f4
mov esi, 0xe000000f
jmp 0x49e9f4
test esi, esi
je 0x49ea60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x24], 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 0x49ea91
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x49ea3c
push dword [ebx + 0x1c]
call esi
mov ecx, dword [edi]
test ecx, ecx
je 0x49eaa0
mov eax, dword [ecx]
push 0
push 1
call dword [eax + 0x14]
xor esi, esi
jmp 0x49ea04