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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4df5c8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4df81e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4df7b4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 0x6b8]
call fcn.004128e0
push 7
mov eax, dword [esi + 0x6b8]
call fcn.00406900
push eax
call sub.kernel32.dll_SetFileAttributesW
lea edx, [ebp - 0xc]
mov ebx, dword [esi + 0x410]
mov eax, ebx
call fcn.004a27d4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0041122c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a280c
mov eax, dword [esi + 0x418]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4df666
push 0
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov dl, 1
mov eax, esi
call fcn.004db0b4
mov ebx, eax
jmp 0x4df679
push 0
mov eax, dword [ebp - 4]
push eax
mov cl, 1
mov dl, 1
mov eax, esi
call fcn.004db0b4
mov ebx, eax
test bl, bl
je 0x4df7aa
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x410]
call fcn.004a27d4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.0042145c
lea eax, [ebp - 0x1c]
push eax
push 2
mov eax, dword [0x4ee59c]
mov eax, dword [eax]
mov ecx, 0x4df83c
mov edx, 0x4df85c
call fcn.004d6694
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x414]
call fcn.004a27d4
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.0042145c
lea eax, [ebp - 0x30]
push eax
push 2
mov eax, dword [0x4ee59c]
mov eax, dword [eax]
mov ecx, 0x4df87c
mov edx, 0x4df85c
call fcn.004d6694
mov eax, dword [esi + 0x418]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4df72a
lea eax, [ebp - 0x44]
mov edx, 1
mov cl, 1
call fcn.00421198
lea eax, [ebp - 0x44]
push eax
push 0
mov eax, dword [0x4ee59c]
mov eax, dword [eax]
mov ecx, 0x4df89c
mov edx, 0x4df85c
call fcn.004d6694
jmp 0x4df755
lea eax, [ebp - 0x54]
mov edx, 2
mov cl, 1
call fcn.00421198
lea eax, [ebp - 0x54]
push eax
push 0
mov eax, dword [0x4ee59c]
mov eax, dword [eax]
mov ecx, 0x4df89c
mov edx, 0x4df85c
call fcn.004d6694
push 0
mov edx, dword [esi + 0x6b8]
lea eax, [ebp - 0x58]
mov ecx, 0x4df8b4
call fcn.00406d58
mov eax, dword [ebp - 0x58]
call fcn.00406900
push eax
mov eax, dword [0x4ee59c]
mov eax, dword [eax]
call fcn.00406900
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov esi, dword [0x4ee59c]
mov esi, dword [esi]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x5c]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4df7c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df825
lea eax, [ebp - 0x58]
call fcn.00406864
lea eax, [ebp - 0x54]
mov edx, dword [0x401278]
mov ecx, 2
call fcn.0040763c
lea eax, [ebp - 0x34]
call fcn.00406864
lea eax, [ebp - 0x30]
call fcn.0041c1d8
lea eax, [ebp - 0x20]
call fcn.00406864
lea eax, [ebp - 0x1c]
call fcn.0041c1d8
lea eax, [ebp - 0xc]
call fcn.00406864
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret