Function at 0x4dc3da
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 0x89c
mov eax, 0x5552cb
call fcn.00514880
push 0x3c
pop ecx
mov esi, str.yGVTHbpUruFIPqWLaaLdo6He8QtsoDjgtgMGqayz7qE7YZBIxgs0lbv5sRRdW8BaDO55iIeUh8k9KWAPemZOeFqxdHua18b9vGWZIeitAVgVGEbXmxfZ3C3zh5mCJ6kj9udm41wcLbgoZX87hdWsghSGOzaZedxrJF98b1810h89vMprZKoQTHH3vKIa1LrGDlWdIJ9j646IG20ocRxVcOPqok2VKyXUueim12pXjkCAc6Wj
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x30c]
mov ebx, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
push 0x58
pop ecx
mov dword [ebp - 0x89c], eax
xor eax, eax
movsb byte es:[edi], byte [esi]
mov esi, str.p5EcLY5n3BjLokOAjMo8dttOsCWXC19Knp8HV7ddmtu1XCD1wIZ34ucXppaehyWdALQy19pwRosM6nCJ3oWiuyZWO9B7MMFLClD9G1PYLili0M4gX4ziGA7hzwcsTqZI89njSV8Xt379ePGLTLujS3AwF1IGJI6YL675wJDojaQ3eGsgDTMbEapa4cGVtYIRKcoHj94NjBF5mhMZOKjMibH7ERzf8VDLmpWftHs27aR6D4HHn6qTnsYllIRexFkxfzwO72cdTFAfZ87SAyIYaMcUE4oQpEAxpl9Yq0RMtybmYpcw2gtJx1SRAJg76qnX1mmTVywKYmJexBCxTtMmFbi609nQSPKMp
mov dword [ebp - 0x8a8], eax
lea edi, [ebp - 0x880]
mov dword [ebp - 0x8a4], eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x8a0], eax
movsw word es:[edi], word [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x898]
lea eax, [ebp - 0x30c]
push eax
call fcn.004057d0
lea eax, [ebp - 0x898]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x898]
mov byte [ebp - 4], 0
call fcn.00479e2e
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x898]
call fcn.004057d0
lea eax, [ebp - 0x898]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00407f90
xor esi, esi
lea ecx, [ebp - 0x898]
push esi
push 1
call fcn.00479e2e
mov edi, 0x208
lea eax, [ebp - 0x71c]
push edi
push esi
push eax
call fcn.004f14e0
push edi
lea eax, [ebp - 0x514]
push esi
push eax
call fcn.004f14e0
mov esi, dword [ebp - 0x89c]
lea eax, [ebp - 0x71c]
push esi
push eax
call fcn.00501787
lea eax, [ebp - 0x514]
push ebx
push eax
call fcn.00501787
lea eax, [ebp - 0x71c]
push eax
call fcn.004fc0ec
lea eax, [ebp - 0x514]
push eax
call fcn.004fc0ec
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x71c]
push eax
call fcn.00501747
add esp, 0x38
test eax, eax
je 0x4dc5d8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dc5d8
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x218]
test esi, esi
jne 0x4dc561
push ebx
push str._s.bak
push eax
call fcn.00408010
add esp, 0xc
jmp 0x4dc571
push esi
push ebx
push str._s.bak_d
push eax
call fcn.00408010
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dc58f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.004f964f
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
push dword [ebp - 0x89c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x218]
push 0
push eax
jne 0x4dc5d6
call edi
cmp esi, 0xa
jge 0x4dc5d8
inc esi
jmp 0x4dc530
call edi
lea ecx, [ebp - 0x8a8]
call fcn.00479e80
call fcn.0051483b
ret