Function at 0x5c3a58
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x5c3a61
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0xd], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
mov eax, dword [ebp - 8]
call fcn.00405f18
xor eax, eax
push ebp
push 0x5c3d3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xe], 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042dbbc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00405b30
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0042dbbc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405b30
lea eax, [ebp - 0x20]
mov ecx, 0x5c3d58
mov edx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x20]
mov dl, 1
call fcn.0042d560
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5c3cce
mov dword [ebp - 0x14], eax
mov esi, 1
lea ecx, [ebp - 0x24]
mov edx, esi
dec edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xc]
call fcn.0040bbcc
mov eax, dword [ebp - 4]
test eax, eax
je 0x5c3b1c
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 0xc]
mov ecx, eax
mov eax, 1
xchg edx, eax
call fcn.00405fd0
cmp dword [ebp - 0xc], 0
je 0x5c3b48
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0042dbbc
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.00405b30
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00405db0
mov eax, dword [ebp - 0x2c]
call fcn.0040b938
cmp byte [ebp - 0xd], 0
je 0x5c3c5d
push 0x80
push dword [ebp - 8]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x38]
mov edx, esi
dec edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040bcb8
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x30]
call fcn.00405f28
push eax
call sub.kernel32.dll_SetFileAttributesA
push dword [ebp - 8]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x48]
mov edx, esi
dec edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040bcb8
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x40]
call fcn.00405f28
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405c90
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x4c]
call fcn.00405f28
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
push dword [ebp - 8]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x58]
mov edx, esi
dec edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0040bcb8
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x50]
call fcn.00405f28
push eax
lea ecx, [ebp - 0x5c]
mov edx, esi
dec edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x5c]
call fcn.00405f28
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x5c3cb7
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
mov edx, esi
dec edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040bcb8
push dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x60]
call fcn.00405f28
push eax
lea ecx, [ebp - 0x6c]
mov edx, esi
dec edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x6c]
call fcn.00405f28
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5c3cc4
mov eax, ebx
call fcn.00404b38
jmp 0x5c3d05
inc esi
dec dword [ebp - 0x14]
jne 0x5c3af8
mov eax, ebx
call fcn.00404b38
cmp byte [ebp - 0xd], 0
je 0x5c3d01
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0042df70
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0042df70
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0042df70
mov eax, dword [ebp - 4]
call fcn.0040be70
mov byte [ebp - 0xe], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c3d41
lea eax, [ebp - 0x6c]
mov edx, 8
call fcn.00405abc
lea eax, [ebp - 0x48]
mov edx, 0xd
call fcn.00405abc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405abc
ret