Function at 0x4013d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path
Move file
Set file attributes

Disassembly:
sub esp, 0x350
push ebx
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x118]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Temp_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x18]
lea eax, [esp + ecx + 0x11c]
mov ecx, 0x41
mov dword [esp + 0x10], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.MSVCRT.dll_strrchr]
lea edx, [esp + 0x14]
push 0x5c
push edx
call esi
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40148f
lea eax, [esp + 0x14]
push 0x5c
push eax
call esi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4014b4
mov edi, 0x40417c
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4014de
mov edi, 0x40417c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x40164f
push ebp
test byte [esp + 0x220], 0x10
jne 0x401633
lea edi, [esp + 0x24c]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
je 0x401633
mov edi, str.tmp11.hlp
or ecx, 0xffffffff
xor eax, eax
push 0x80
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x120]
push ecx
call ebp
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edx, dword [0x405410]
cmp eax, 1
je 0x4015d5
mov eax, edx
mov ecx, 0x41
shl eax, 6
add eax, edx
lea ebp, [eax*4 + 0x4043d0]
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea edi, [esp + 0x18]
jmp 0x4015f5
mov ecx, edx
shl ecx, 6
add ecx, edx
xor eax, eax
lea ebp, [ecx*4 + 0x4043d0]
mov ecx, 0x41
mov edi, ebp
rep stosd dword es:[edi], eax
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [0x404070]
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x40406f]
mov dword [0x405410], edx
inc cl
inc al
mov byte [0x40406f], cl
mov byte [0x404070], al
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x220]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4014ff
pop ebp
lea eax, [esp + 0x14]
mov byte [ebx], 0
push eax
mov byte [ebx - 1], 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp eax, 1
je 0x4016a0
mov ecx, 0x41
xor eax, eax
mov edi, 0x4042cc
mov dword [0x405414], 1
rep stosd dword es:[edi], eax
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x4042cc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x350
ret