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

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4048a9
push eax
mov dword fs:[0], esp
mov eax, dword [ebp + 8]
sub esp, 0x168
lea ecx, [ebp - 0x14]
push ebx
push esi
push eax
mov ebx, 1
call sub.MFC40.DLL_CString::CString_2
push 0x4190a4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call sub.MFC40.DLL_CString::CString
mov esi, eax
push ebx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], bl
call sub.MFC40.DLL_CString::Right
mov byte [ebp - 4], 2
mov ecx, dword [esi]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT40.dll__mbscmp]
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
sbb dword [ebp - 0x10], ecx
neg dword [ebp - 0x10]
call fcn.00404899
mov byte [ebp - 4], 0
call fcn.004048a1
cmp dword [ebp - 0x10], 0
je 0x404556
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC40.DLL_CString::operator_1
mov byte [ebp - 4], 0
call fcn.004046f1
push str..
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
push ecx
call sub.MFC40.DLL_operator
mov byte [ebp - 4], 6
call fcn.00404889
lea ecx, [ebp - 0x18]
mov esi, 1
call sub.MFC40.DLL_CString::CString_1
mov byte [ebp - 4], 7
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x40466a
test esi, esi
je 0x40466a
test byte [ebp - 0x174], 0x10
jne 0x40464d
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x24]
push eax
push 0x4190a4
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
push eax
push ecx
call sub.MFC40.DLL_operator
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
push ecx
call sub.MFC40.DLL_operator_2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call sub.MFC40.DLL_CString::operator_1
mov byte [ebp - 4], 9
call fcn.00404709
mov byte [ebp - 4], 8
call fcn.00404701
mov byte [ebp - 4], 7
call fcn.004046f9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT40.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x40464d
push pe_nt_image_headers32
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp dword [ebp - 0x10], 0xffffffff
mov esi, eax
jne 0x4045ac
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4191bc
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push eax
push ecx
call sub.MFC40.DLL_operator
mov byte [ebp - 4], 0xd
call fcn.00404871
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x404809
test byte [ebp - 0x174], 0x10
je 0x4047e6
lea eax, [ebp - 0x148]
mov ecx, 0x4191b8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404711
or dl, dl
je 0x4046ed
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404711
add eax, 2
add ecx, 2
or dl, dl
jne 0x4046d1
xor eax, eax
jmp 0x404716
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4047e6
lea eax, [ebp - 0x148]
mov ecx, 0x4191b4
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404749
or dl, dl
je 0x404745
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404749
add eax, 2
add ecx, 2
or dl, dl
jne 0x404729
xor eax, eax
jmp 0x40474e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4047e6
push 0x419048
lea ecx, [ebp - 0x1c]
mov ebx, 0x11
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x148]
push eax
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push 0x4190a4
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call sub.MFC40.DLL_operator
push eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], bl
call sub.MFC40.DLL_operator
mov byte [ebp - 4], 0x12
push eax
call fcn.004044a0
add esp, 8
mov byte [ebp - 4], bl
call fcn.00404861
mov byte [ebp - 4], 0x10
call fcn.00404851
mov byte [ebp - 4], 0xf
call fcn.00404849
mov byte [ebp - 4], 0xe
call fcn.00404859
mov byte [ebp - 4], 0xd
call fcn.00404869
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4046b9
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [ebp - 4], 7
call fcn.00404879
mov byte [ebp - 4], 6
call fcn.00404881
mov byte [ebp - 4], 0
call fcn.00404891
mov dword [ebp - 4], 0xffffffff
call fcn.004048b3
mov eax, dword [ebp - 0xc]
pop esi
mov dword fs:[0], eax
pop ebx
mov esp, ebp
pop ebp
ret