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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x374
mov eax, dword [0x4a57cc]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x42674e
xor eax, eax
jmp 0x4269ad
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x42675f
xor eax, eax
jmp 0x4269ad
push 0x103
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.004031d0
add esp, 0xc
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x368], ecx
mov edx, dword [ebp - 0x368]
inc edx
mov dword [ebp - 0x36c], edx
mov eax, dword [ebp - 0x368]
mov cl, byte [eax]
mov byte [ebp - 0x36d], cl
inc dword [ebp - 0x368]
cmp byte [ebp - 0x36d], 0
jne 0x426790
mov edx, dword [ebp - 0x368]
sub edx, dword [ebp - 0x36c]
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
movsx edx, byte [ebp + ecx - 0x111]
cmp edx, 0x5c
jne 0x4267fb
lea eax, [ebp - 0x110]
push eax
push 0x48c4d8
lea ecx, [ebp - 0x360]
push ecx
call fcn.00463edd
add esp, 0xc
jmp 0x426816
lea edx, [ebp - 0x110]
push edx
push str._s.
lea eax, [ebp - 0x360]
push eax
call fcn.00463edd
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0xffffffff
je 0x42697c
mov eax, 1
test eax, eax
je 0x42697c
mov ecx, dword [ebp - 0x254]
movsx edx, byte [ebp + ecx - 0x111]
cmp edx, 0x5c
jne 0x426881
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x48c4e8
lea edx, [ebp - 0x360]
push edx
call fcn.00463edd
add esp, 0x10
jmp 0x4268a3
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x110]
push ecx
push str._s_s
lea edx, [ebp - 0x360]
push edx
call fcn.00463edd
add esp, 0x10
mov eax, dword [ebp - 0x250]
and eax, 0x10
je 0x426928
push 0x48c4f8
lea ecx, [ebp - 0x224]
push ecx
call fcn.00403210
add esp, 8
test eax, eax
jne 0x4268c8
jmp 0x426926
push 0x48c4fc
lea edx, [ebp - 0x224]
push edx
call fcn.00403210
add esp, 8
test eax, eax
jne 0x4268e2
jmp 0x426926
lea eax, [ebp - 0x360]
push eax
call fcn.00426730
add esp, 4
mov ecx, dword [ebp - 0x250]
and ecx, 1
jne 0x426907
mov edx, dword [ebp - 0x250]
and edx, 4
je 0x426919
push 0x80
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x42695d
mov edx, dword [ebp - 0x250]
and edx, 1
jne 0x42693e
mov eax, dword [ebp - 0x250]
and eax, 4
je 0x426950
push 0x80
lea ecx, [ebp - 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x426977
jmp 0x42697c
jmp 0x42683d
mov edx, dword [ebp - 0x364]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, 1
mov ecx, dword [ebp - 4]
call fcn.004635af
mov esp, ebp
pop ebp
ret