Function at 0x41ace0
Capabilities:
Delete directory
Delete file
Print debug messages
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3f11
mov eax, dword fs:[0]
push eax
sub esp, 0xc84
mov eax, dword [0x624500]
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 edi, ecx
mov dword [ebp - 0xc8c], edi
mov eax, dword [0x5fd7e0]
mov dword [ebp - 0x810], eax
mov eax, dword [0x5fd7e4]
push 0x7f8
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.0058dad0
push dword [edi]
lea eax, [ebp - 0x80a]
push str.DTLScriptEngine::DeleteDirectories
push str._s__s
push eax
call fcn.0040988e
add esp, 0x1c
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x464
lea eax, [ebp - 0xc78]
push 0
push eax
call fcn.0058dad0
mov eax, 0x5c
mov dword [ebp - 0x81c], 0
add esp, 0xc
mov word [ebp - 0x820], ax
mov dword [ebp - 0x818], 0
mov dword [ebp - 4], 1
call fcn.00405c3d
mov ecx, eax
test ecx, ecx
je 0x41b050
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 2
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
or ebx, 0xffffffff
mov dword [ebp - 0xc88], eax
test eax, eax
je 0x41adea
push ecx
push dword [edi]
lea ecx, [ebp - 0x814]
call fcn.00429220
jmp 0x41ae49
mov edx, dword [edi]
lea edi, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x41ae4f
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41ae3a
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x41ae3a
call fcn.00405dc6
mov ebx, eax
mov byte [ebp - 4], 3
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41ae28
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea esi, [ebx + 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x814], esi
or ebx, 0xffffffff
jmp 0x41ae4f
push dword [edx - 0xc]
lea ecx, [ebp - 0x814]
push edx
call fcn.00409b39
mov esi, dword [ebp - 0x814]
push esi
lea ecx, [ebp - 0xc78]
call fcn.0042fc50
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41afff
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x41af2e
mov edx, dword [ebp - 0xc78]
mov ecx, edx
shr ecx, 4
and ecx, 1
je 0x41aeb5
cmp word [ebp - 0xc4c], 0x2e
jne 0x41aeb5
mov di, word [ebp - 0xc4a]
test di, di
je 0x41af73
cmp di, 0x2e
jne 0x41aeb5
cmp word [ebp - 0xc48], 0
je 0x41af73
test ecx, ecx
je 0x41aee5
lea eax, [ebp - 0xc7c]
push eax
lea ecx, [ebp - 0xc78]
call fcn.0042f830
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0041ace0
mov edx, dword [ebp - 0xc7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
jmp 0x41af55
and edx, 1
je 0x41af2e
lea eax, [ebp - 0xc80]
push eax
lea ecx, [ebp - 0xc78]
call fcn.0042f830
push 0x80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 0xc80]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41af2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc84]
push eax
lea ecx, [ebp - 0xc78]
call fcn.0042f830
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0xc84]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41af69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 0x81c]
test ecx, ecx
je 0x41afcb
test eax, eax
je 0x41afa3
lea eax, [ebp - 0xc78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x818], eax
test eax, eax
jne 0x41ae77
mov ecx, dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0
test ecx, ecx
je 0x41afd5
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp ecx, 0xffffffff
je 0x41afdb
push ecx
call edi
mov dword [ebp - 0x81c], 0
jmp 0x41afdb
mov dword [ebp - 0x818], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xc88], 0
je 0x41afff
mov edi, dword [ebp - 0xc8c]
mov ecx, dword [edi]
call fcn.0041ab40
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41b018
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0
test eax, eax
je 0x41b034
cmp eax, 0xffffffff
je 0x41b034
push eax
call edi
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.0053a175
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405d25
int3