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

Disassembly:
push 0x8c
mov eax, 0x4290a1
call fcn.0041375c
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 0x4262f7
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 0x4264d8
mov dword [ebp - 0x68], 1
cmp dword [esi + 0x2c], ebx
jbe 0x4264bd
cmp dword [esi + 0x24], 0x10
jb 0x426328
mov eax, dword [esi + 0x10]
jmp 0x42632b
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x48]
push str._s.log.txt
push eax
call fcn.004283d9
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [esi + 0x24], 0x10
jb 0x42634c
mov eax, dword [esi + 0x10]
jmp 0x42634f
lea eax, [esi + 0x10]
push dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x2c]
push 0x42eccc
push eax
call fcn.004283d9
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [esi + 0x2c], 1
jne 0x426381
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42637a
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x42638d
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x426399
lea eax, [ebp - 0x44]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4264a4
mov eax, dword [esi + 0x2c]
cmp dword [ebp - 0x68], eax
jb 0x42649f
xor edi, edi
inc edi
cmp eax, edi
jbe 0x42647e
cmp dword [esi + 0x24], 0x10
jb 0x4263cd
mov eax, dword [esi + 0x10]
jmp 0x4263d0
lea eax, [esi + 0x10]
push edi
push eax
lea eax, [ebp - 0x98]
push 0x42ecdc
push eax
call fcn.004283d9
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004040e9
push ebx
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0040458b
cmp dword [esi + 0x24], 0x10
jb 0x426413
mov eax, dword [esi + 0x10]
jmp 0x426416
lea eax, [esi + 0x10]
inc edi
push edi
push eax
lea eax, [ebp - 0x98]
push str._s._i.log.txt
push eax
call fcn.004283d9
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.004040e9
push ebx
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0040458b
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x42645b
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x426467
lea eax, [ebp - 0x44]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x42647e
cmp edi, dword [esi + 0x2c]
jb 0x4263c2
mov edi, dword [ebp - 0x6c]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040458b
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040458b
jmp 0x42631d
inc dword [ebp - 0x68]
jmp 0x426481
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040458b
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040458b
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.00425e70
push 2
push ebx
push ebx
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [edi + 0x18], 0x10
jb 0x4264f0
mov ecx, dword [edi + 4]
jmp 0x4264f3
lea ecx, [edi + 4]
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x18], 0x10
jb 0x426501
mov eax, dword [eax + 4]
jmp 0x426504
add eax, 4
push ecx
push eax
lea eax, [ebp - 0x64]
push str._s_s_r_n
push eax
call fcn.004283d9
mov eax, dword [ebp - 0x60]
add esp, 0x10
cmp dword [ebp - 0x4c], 0x10
jae 0x426523
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]
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040458b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
cmp ecx, ebx
je 0x426550
mov eax, dword [ecx]
call dword [eax + 0xc]
call fcn.004137df
ret 0xc