Function at 0x4dbb70
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ecb6b
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x870], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x874], eax
lea eax, [ebp - 0x868]
push eax
mov dword [ebp - 0x86c], 0
call fcn.004d8ab0
push dword [ebp - 0x868]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dbbf5
mov esi, dword [ebp - 0x868]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x4dbc16
push edi
lea ecx, [ebp - 0x86c]
call fcn.004bc730
mov ecx, 1
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4dbc1c
xor bl, bl
jmp 0x4dbc1e
mov ecx, dword [ebp - 0x86c]
mov bl, 1
or esi, 0xffffffff
test cl, 1
je 0x4dbc43
mov edx, dword [ebp - 0x86c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dbc43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4dbcb5
push dword [ebp - 0x868]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.005824b0
mov ecx, eax
call fcn.00582690
add eax, 0x19
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x874]
test eax, eax
je 0x4dbd86
mov ecx, dword [ebp - 0x870]
push 1
push eax
push str.10000000_0000_0000_0000_000000000001
call fcn.004d9870
mov edx, dword [ebp - 0x868]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4dbcae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x4dbdd3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dbdaf
call fcn.005824b0
mov ecx, eax
call fcn.00582690
push 0
push dword [ebp - 0x868]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4dbdaf
push 0
push 0
push 3
push 0
push 1
push 0x100
push dword [ebp - 0x868]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4dbd3f
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x87c]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x19]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [ebp - 0x864]
call fcn.004d6300
mov ecx, dword [ebp - 0x870]
lea eax, [ebp - 0x864]
push 1
push eax
push dword [ebp - 0x868]
call fcn.004d9720
mov eax, dword [ebp - 0x874]
test eax, eax
je 0x4dbd86
lea ecx, [ebp - 0x864]
push ecx
mov ecx, eax
call fcn.004d65d0
mov edx, dword [ebp - 0x868]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4dbda8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x4dbdd3
mov edx, dword [ebp - 0x868]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4dbdd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret 8