Function at 0x403c20
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Print debug messages
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42811c
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov edi, dword [esp + 0x484]
lea eax, [esp + 0x264]
push 0x104
push eax
mov dword [esp + 0x18], edi
mov esi, 1
call dword [sym.imp.MSVCR90.dll__wgetcwd]
add esp, 8
test eax, eax
je 0x403e19
push edi
call dword [sym.imp.MSVCR90.dll__wchdir]
add esp, 4
test eax, eax
jne 0x403e19
lea ecx, [esp + 0x14]
push ecx
push 0x42c4c4
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x403d90
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x42bb48
lea eax, [esp + 0x40]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403cf6
test dx, dx
je 0x403cf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403cf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x403cd0
xor eax, eax
jmp 0x403cfb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403d7d
mov ecx, 0x42c4cc
lea eax, [esp + 0x40]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403d2e
test dx, dx
je 0x403d2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403d2e
add eax, 4
add ecx, 4
test dx, dx
jne 0x403d08
xor eax, eax
jmp 0x403d33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403d7d
test byte [esp + 0x14], 0x10
je 0x403d56
lea edx, [esp + 0x40]
push edx
call fcn.00403c20
add esp, 4
test eax, eax
jne 0x403d7d
xor eax, eax
jmp 0x403e1b
push 0x80
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x403e42
lea ecx, [esp + 0x40]
push ecx
call ebp
test eax, eax
je 0x403e42
lea edx, [esp + 0x14]
push edx
push edi
call esi
test eax, eax
jne 0x403cc1
lea esi, [eax + 1]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.MSVCR90.dll__wchdir]
add esp, 4
test esi, esi
je 0x403e19
mov edi, dword [esp + 0x10]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x403d4f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x403e19
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x47c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x42c4d4
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x10]
xor esi, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.00427762
add esp, 0x470
ret
xor esi, esi
jmp 0x403d90