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

Disassembly:
push 0xffffffffffffffff
push 0x495eba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
mov eax, dword [0x4bdc98]
xor eax, esp
push ebp
push edi
mov edi, dword [esp + 0x300]
push 0x4a4428
mov dword [esp + 0x2f0], eax
lea eax, [esp + 0x84]
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x14], ebp
call fcn.00402280
add esp, 0xc
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2f8], ebp
jae 0x4268fd
lea eax, [esp + 0x84]
lea ecx, [esp + 0x9c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x426b28
push esi
mov esi, dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push ebx
push 0x4a4420
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
or dword [esp + 0x10], 1
lea edx, [esp + 0xd0]
push edx
push eax
mov byte [esp + 0x308], 1
call esi
add esp, 8
test al, al
jne 0x42698a
push 0x4a441c
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ebx, dword [esp + 0x10]
mov ecx, 2
or ebx, ecx
mov dword [esp + 0x300], ecx
lea ecx, [esp + 0xd0]
push ecx
push eax
mov dword [esp + 0x18], ebx
call esi
add esp, 8
test al, al
jne 0x42698a
xor bl, bl
jmp 0x42698c
mov bl, 1
test byte [esp + 0x10], 2
mov dword [esp + 0x300], 1
je 0x4269b3
mov eax, dword [esp + 0x10]
and eax, 0xfffffffd
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test byte [esp + 0x10], 1
mov dword [esp + 0x300], ebp
je 0x4269d6
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
jne 0x426a9d
push 0x4a1130
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00402280
lea ecx, [esp + 0xdc]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x318], 3
call fcn.00402280
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x300], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x84]
mov ebx, 8
cmp eax, ebx
mov eax, dword [esp + 0x70]
jae 0x426a39
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x426a53
lea eax, [esp + 0x6c]
push eax
call fcn.00426890
add esp, 4
jmp 0x426a8b
test al, 1
je 0x426a73
cmp dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x70]
jae 0x426a68
lea ecx, [esp + 0x70]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x84], ebx
mov eax, dword [esp + 0x70]
jae 0x426a84
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x300], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x426921
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [edi + 0x18]
mov ebx, 8
cmp eax, ebx
lea esi, [edi + 4]
jb 0x426ad6
mov eax, dword [esi]
jmp 0x426ad8
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x426af9
cmp dword [edi + 0x18], ebx
jb 0x426aec
mov ecx, dword [esi]
jmp 0x426aee
mov ecx, esi
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], ebx
pop ebx
jb 0x426b01
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x84]
mov dword [esp + 0x2fc], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
pop esi
jmp 0x426b42
lea ecx, [esp + 0x80]
mov dword [esp + 0x2f8], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x2f0]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2e8]
pop ebp
xor ecx, esp
call fcn.00491e29
add esp, 0x2f4
ret