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

Disassembly:
push 0x85c
mov eax, 0x55484d
call fcn.00513ea1
push 0x4b
pop ecx
mov esi, str.fKQdXengLn2KZJ53W8tUFEP5PHygNBSWaSx79dWdIXdPPvqf0RcaZsYJOL0vXib8hZXYlfA4B5xWrzc87bQOiIMKtLWrFpzAJZsmCOSRp7bbOCxSYF9ekvTllSmG4BASbnijo675dp3NhNLBNZQYa7nCqIZ5K26GGhpTfX3gNAOWpyShubnnJABS6HgY7SKqEHD40bS4Cf3umWIRmRpGWpskAEHd0wa58JZRFngZdtMt5B6niJbvk6ivciolJofvvmy4SX5b7GmuXOQBzsPM7F0Ngrz0CGRG0odPy17R4Bircp
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x840]
mov ebx, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
push 0x39
pop ecx
mov dword [ebp - 0x85c], eax
xor eax, eax
movsw word es:[edi], word [esi]
mov dword [ebp - 0x868], eax
mov dword [ebp - 0x864], eax
mov dword [ebp - 0x860], eax
movsb byte es:[edi], byte [esi]
mov esi, str.4bqeJmcb46dNm56xZ45wxqYH57TIGZ9RtKppZYJiQuAd5YJbstes200ZZVzytlOXiJe2VKJKtQp43E9h3D5bUZMYQzjJEiQIo5X6nZVTFFdMOZuq47OHPbdfEj74sBEYq5oDTnQvv6GOnYJFhr3sZBQIyVTSZ6dLmk5F24mzwteED0q9BO0PFRTUbXejHnveWdvASDGfJ1EDR7djI4h6x1Og26akyGbDSg8SL8
lea edi, [ebp - 0x300]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x858]
lea eax, [ebp - 0x840]
push eax
call fcn.004057d0
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x868]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0
call fcn.004096c0
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x858]
call fcn.004057d0
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x868]
call fcn.00408170
xor esi, esi
lea ecx, [ebp - 0x858]
push esi
push 1
call fcn.004096c0
mov edi, 0x208
lea eax, [ebp - 0x710]
push edi
push esi
push eax
call fcn.004f0ae0
push edi
lea eax, [ebp - 0x508]
push esi
push eax
call fcn.004f0ae0
mov esi, dword [ebp - 0x85c]
lea eax, [ebp - 0x710]
push esi
push eax
call fcn.00500d07
lea eax, [ebp - 0x508]
push ebx
push eax
call fcn.00500d07
lea eax, [ebp - 0x710]
push eax
call fcn.004fb6f3
lea eax, [ebp - 0x508]
push eax
call fcn.004fb6f3
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x710]
push eax
call fcn.00500cc7
add esp, 0x38
test eax, eax
je 0x4dbb64
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dbb64
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x218]
test esi, esi
jne 0x4dbaed
push ebx
push str._s.bak
push eax
call fcn.004081f0
add esp, 0xc
jmp 0x4dbafd
push esi
push ebx
push str._s.bak_d
push eax
call fcn.004081f0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dbb1b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.004f8c34
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
push dword [ebp - 0x85c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x218]
push 0
push eax
jne 0x4dbb62
call edi
cmp esi, 0xa
jge 0x4dbb64
inc esi
jmp 0x4dbabc
call edi
lea ecx, [ebp - 0x868]
call fcn.0047920e
call fcn.00513e4b
ret