Function at 0x401523
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
jmp 0x430690
push 0xffffffffffffffff
push 0x4576f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x178], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x180]
lea ecx, [esp + 0x10]
push eax
mov ebx, 1
push str._s
push ecx
mov byte [esp + 0x184], bl
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4308a4
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test byte [esp + 0x30], 0x10
je 0x4307e2
mov esi, 0x469d34
lea eax, [esp + 0x5c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x43074a
test cl, cl
je 0x430746
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x43074a
add eax, 2
add esi, 2
test cl, cl
jne 0x430726
xor eax, eax
jmp 0x43074f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4307d7
mov esi, 0x469d30
lea eax, [esp + 0x5c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x430784
test cl, cl
je 0x430780
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x430784
add eax, 2
add esi, 2
test cl, cl
jne 0x430760
xor eax, eax
jmp 0x430789
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4307d7
lea eax, [esp + 0x180]
push 0x469cb4
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push ecx
lea ecx, [esp + 0x60]
mov edx, esp
mov dword [esp + 0x30], esp
push ecx
push eax
push edx
mov byte [esp + 0x188], 2
call sub.MFC42.DLL_operator_2
call fcn.00401523
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x178], bl
call sub.MFC42.DLL_CString::CString
test byte [esp + 0x30], 0x10
jne 0x430881
lea edx, [esp + 0x180]
push 0x469cb4
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x184], 3
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0x80
push eax
call edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x178], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x180]
push 0x469cb4
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x5c]
mov byte [esp + 0x178], 4
push edx
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x430712
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x180]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4308e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x10]
mov byte [esp + 0x178], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x180]
mov dword [esp + 0x178], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x430912
lea ecx, [esp + 0x10]
mov byte [esp + 0x178], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x180]
mov dword [esp + 0x178], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x16c
ret