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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
je 0x41a36a
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x41a36a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x802
push 8
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 0x1c], esi
jne 0x41a13a
push 0x18
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x41a127
push 0x428094
push 0x60d
push 8
mov ecx, eax
call fcn.00417d40
jmp 0x41a129
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x423830
push eax
call sub.MSVCRT.dll__CxxThrowException
push 0x250
push 8
call edi
push eax
call ebx
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x41a185
push 0x18
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x41a172
push 0x428094
push 0x60e
push 8
mov ecx, eax
call fcn.00417d40
jmp 0x41a174
xor eax, eax
lea ecx, [ebp - 0x28]
push 0x423830
push ecx
mov dword [ebp - 0x28], eax
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 8]
push 0x400
push edx
push esi
call dword [sym.imp.MSVCRT.dll_wcsncpy]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x10
cmp word [esi + eax*2 - 2], 0x5c
je 0x41a1ba
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
push 0x426124
push esi
call ebx
add esp, 8
jmp 0x41a1c0
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
push 0x428148
push esi
call ebx
add esp, 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x41a21b
push 0x18
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x41a205
push 0x428094
push 0x61a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00417d40
jmp 0x41a207
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push 0x423830
push eax
call sub.MSVCRT.dll__CxxThrowException
mov edi, dword [ebp - 0x18]
add edi, 0x2c
push 0x426f90
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x41a2d1
push 0x426f88
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x41a2d1
mov ecx, dword [ebp - 0x18]
push 0x5c
push esi
test byte [ecx], 0x10
je 0x41a2ab
call dword [sym.imp.MSVCRT.dll_wcsrchr]
push edi
push esi
mov word [eax + 2], 0
call ebx
add esp, 0x10
push esi
call fcn.0041a090
mov edi, eax
test edi, edi
je 0x41a2d1
push 0x18
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x41a298
push 0x428094
push 0x62c
push edi
mov ecx, eax
call fcn.00417d40
jmp 0x41a29a
xor eax, eax
lea edx, [ebp - 0x30]
push 0x423830
push edx
mov dword [ebp - 0x30], eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.MSVCRT.dll_wcsrchr]
push edi
push esi
mov word [eax + 2], 0
call ebx
add esp, 0x10
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a218
mov ebx, dword [ebp - 0x14]
cmp ebx, 0xffffffff
je 0x41a300
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0xffffffff
mov ebx, dword [ebp - 0x14]
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
mov word [eax + 2], 0
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41a3c7
push 0x18
call sub.MFC42u.DLL_operatornew
mov edi, eax
add esp, 4
test edi, edi
je 0x41a3c7
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4280e4
push 0
push 0
push 0
push edi
call fcn.00417fc0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x41a3c7
push 2
mov ecx, edi
call fcn.00418480
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
jmp 0x41a3c7
push 0x18
call sub.MFC42u.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x41a38d
push 0x428094
push 0x60a
push 0x57
mov ecx, eax
call fcn.00417d40
jmp 0x41a38f
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push 0x423830
push eax
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [ebp - 0x38]
push 2
mov ecx, esi
call fcn.00418150
test esi, esi
mov dword [ebp - 0x20], eax
je 0x41a3bb
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, 0x41a3c1
ret
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41a3de
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x41a3f2
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xffffffff
je 0x41a3fe
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4