Function at 0x413d00
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b7878
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
mov dword [esp + 0x14], 0xffffffff
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4c1efc
mov dword [esp + 0x40], 0
call fcn.00401400
push 0
push esi
mov byte [esp + 0x44], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, dword [esp + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push esi
push ebx
call ebp
test eax, eax
je 0x413d84
xor ebx, ebx
jmp 0x413eb6
push ebx
lea ebx, [esp + 0x28]
call fcn.00401000
add esp, 4
test eax, eax
je 0x413dbe
mov eax, dword [esp + 0x24]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [esp + 0x30]
movzx edx, ax
push edx
shr eax, 0x10
push eax
push 0x4c1d9c
lea edi, [esp + 0x2c]
call fcn.00401250
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push str._s_del_d
lea edi, [esp + 0x2c]
call fcn.00401250
mov edi, dword [esp + 0x2c]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call fcn.00496b61
add esp, 8
test eax, eax
je 0x413e44
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x4e49ac]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
call fcn.00401270
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x44], 2
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebx, esp
call fcn.00401270
add eax, 0x10
mov dword [ebx], eax
push edi
mov byte [esp + 0x4c], 1
call fcn.00413c20
mov ebx, dword [esp + 0x24]
add esp, 0x10
jmp 0x413f08
mov eax, dword [esp + 0x44]
push 0
push esi
push eax
call ebp
test eax, eax
jne 0x413eaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x4e49b0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebx, esp
call fcn.00401270
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x44], 3
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
call fcn.00401270
add eax, 0x10
mov dword [ebx], eax
push edi
mov byte [esp + 0x4c], 1
call fcn.00413c20
push esi
push edi
call fcn.00496b61
mov ebx, dword [esp + 0x2c]
add esp, 0x18
jmp 0x413f08
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00401400
push 1
push 0x4c88a8
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x48], 4
call fcn.00407aa0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
push esi
push ecx
push ebx
push str.RenameUpdate_return:_d__src:_ws__dst:_ws
mov ecx, 0x4e49b4
call fcn.00419ab0
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413f46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x30
ret