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

Disassembly:
push 0x8c
mov eax, 0x48ba9c
call fcn.0046751a
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, ecx
lea ecx, [esi + 4]
xor ebx, ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], vtable.replay::scope.0
mov dword [ebp - 0x74], ecx
cmp ecx, ebx
je 0x484d07
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
mov dword [ebp - 4], ebx
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [esi + 0x28]
jb 0x484ed6
mov dword [ebp - 0x68], 1
cmp dword [esi + 0x2c], ebx
jbe 0x484ebb
cmp dword [esi + 0x24], 0x10
jb 0x484d38
mov eax, dword [esi + 0x10]
jmp 0x484d3b
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x48]
push str._s.log.txt
push eax
call fcn.00488798
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [esi + 0x24], 0x10
jb 0x484d5c
mov eax, dword [esi + 0x10]
jmp 0x484d5f
lea eax, [esi + 0x10]
push dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x2c]
push 0x49a874
push eax
call fcn.00488798
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [esi + 0x2c], 1
jne 0x484d91
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x484d8a
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x484d9d
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x484da9
lea eax, [ebp - 0x44]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x484ea8
mov eax, dword [esi + 0x2c]
cmp dword [ebp - 0x68], eax
jb 0x484ea3
xor edi, edi
inc edi
cmp eax, edi
jbe 0x484e88
cmp dword [esi + 0x24], 0x10
jb 0x484ddd
mov eax, dword [esi + 0x10]
jmp 0x484de0
lea eax, [esi + 0x10]
push edi
push eax
lea eax, [ebp - 0x98]
push 0x49a884
push eax
call fcn.00488798
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004035d0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00402ff0
cmp dword [esi + 0x24], 0x10
jb 0x484e20
mov eax, dword [esi + 0x10]
jmp 0x484e23
lea eax, [esi + 0x10]
inc edi
push edi
push eax
lea eax, [ebp - 0x98]
push str._s._i.log.txt
push eax
call fcn.00488798
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.004035d0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00402ff0
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x484e65
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x484e71
lea eax, [ebp - 0x44]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x484e88
cmp edi, dword [esi + 0x2c]
jb 0x484dd2
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.00402ff0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00402ff0
jmp 0x484d2d
inc dword [ebp - 0x68]
jmp 0x484e8b
lea ecx, [ebp - 0x2c]
call fcn.00402ff0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00402ff0
push ebx
push ebx
push ebx
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call fcn.0048482a
push 2
push ebx
push ebx
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [edi + 0x18], 0x10
jb 0x484eee
mov ecx, dword [edi + 4]
jmp 0x484ef1
lea ecx, [edi + 4]
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x18], 0x10
jb 0x484eff
mov eax, dword [eax + 4]
jmp 0x484f02
add eax, 4
push ecx
push eax
lea eax, [ebp - 0x64]
push str._s_s_r_n
push eax
call fcn.00488798
mov eax, dword [ebp - 0x60]
add esp, 0x10
cmp dword [ebp - 0x4c], 0x10
jae 0x484f21
lea eax, [ebp - 0x60]
push ebx
lea ecx, [ebp - 0x7c]
push ecx
push dword [ebp - 0x50]
push eax
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x64]
call fcn.00402ff0
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x78]
call fcn.0041d800
call fcn.0046759d
ret 0xc