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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3f7f
mov eax, dword fs:[0]
push eax
sub esp, 0xc94
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 - 0xc9c], edi
mov dword [ebp - 4], 0
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::DeleteDirectoriesEx
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 - 0xc7c]
push 0
push eax
call fcn.0058dad0
mov eax, 0x5c
mov dword [ebp - 0x820], 0
add esp, 0xc
mov word [ebp - 0x824], ax
mov dword [ebp - 0x81c], 0
mov byte [ebp - 4], 2
call fcn.00405c3d
mov ecx, eax
test ecx, ecx
je 0x41b4b3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 3
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
or ebx, 0xffffffff
mov dword [ebp - 0xc98], eax
test eax, eax
je 0x41b16e
push ecx
push dword [edi]
lea ecx, [ebp - 0x814]
call fcn.00429220
jmp 0x41b1d3
mov edx, dword [edi]
lea edi, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x41b1d9
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41b1c4
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x41b1c4
call fcn.00405dc6
mov dword [ebp - 0xc84], eax
mov byte [ebp - 4], 4
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41b1b5
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xc84]
lea esi, [eax + 0x10]
mov byte [ebp - 4], 3
mov dword [ebp - 0x814], esi
jmp 0x41b1d9
push dword [edx - 0xc]
lea ecx, [ebp - 0x814]
push edx
call fcn.00409b39
mov esi, dword [ebp - 0x814]
push esi
lea ecx, [ebp - 0xc7c]
call fcn.0042fc50
test eax, eax
jne 0x41b200
add esi, 0xfffffff0
mov byte [ebp - 4], 5
jmp 0x41b43c
cmp dword [ebp - 0x81c], 0
je 0x41b2fb
mov ecx, dword [ebp - 0xc7c]
mov eax, ecx
shr eax, 4
and eax, 1
je 0x41b24b
cmp word [ebp - 0xc50], 0x2e
jne 0x41b24b
mov dx, word [ebp - 0xc4e]
test dx, dx
je 0x41b3b2
cmp dx, 0x2e
jne 0x41b24b
cmp word [ebp - 0xc4c], 0
je 0x41b3b2
test eax, eax
je 0x41b2b2
lea eax, [ebp - 0xc88]
push eax
lea ecx, [ebp - 0xc7c]
call fcn.0042f830
mov dword [ebp - 0xc84], eax
sub esp, 0x28
mov edi, esp
mov dword [ebp - 0xca0], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x41b292
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0xc84]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041b060
mov edx, dword [ebp - 0xc88]
add esp, 0x28
add edx, 0xfffffff0
mov byte [ebp - 4], 9
jmp 0x41b39a
and ecx, 1
je 0x41b2fb
lea eax, [ebp - 0xc8c]
push eax
lea ecx, [ebp - 0xc7c]
call fcn.0042f830
push 0x80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 0xc8c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b2f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
lea eax, [ebp - 0xc90]
push eax
lea ecx, [ebp - 0xc7c]
call fcn.0042f830
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0xc90]
mov edi, eax
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41b338
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test edi, edi
jne 0x41b3b2
cmp dword [ebp + 0x2c], edi
je 0x41b3b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x818], eax
lea ecx, [ebp - 0xc7c]
lea eax, [ebp - 0xc94]
push eax
call fcn.0042f830
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0xc80], eax
test ecx, ecx
je 0x41b4bd
mov eax, dword [ecx]
lea edx, [ebp - 0x818]
push edx
lea edx, [ebp - 0xc80]
push edx
call dword [eax + 8]
mov edx, dword [ebp - 0xc94]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b3ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x820]
test eax, eax
je 0x41b40d
cmp dword [ebp - 0x81c], 0
je 0x41b3e7
lea ecx, [ebp - 0xc7c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x41b200
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x81c], 0
test eax, eax
je 0x41b417
cmp eax, 0xffffffff
je 0x41b417
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x820], 0
jmp 0x41b417
mov dword [ebp - 0x81c], 0
cmp dword [ebp - 0xc98], 0
je 0x41b435
mov edi, dword [ebp - 0xc9c]
mov ecx, dword [edi]
call fcn.0041ab40
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xe
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41b44e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x81c], 0
test eax, eax
je 0x41b478
cmp eax, 0xffffffff
je 0x41b478
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x820], 0
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x41b497
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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
call fcn.0046b3f6
int3