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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x430440
xor eax, eax
jmp 0x4306e5
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0041d0c0
lea ecx, [ebp - 0x26c]
call fcn.0041d300
movzx ecx, al
test ecx, ecx
je 0x430481
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x26c]
call fcn.0041d100
mov eax, dword [ebp - 0x274]
jmp 0x4306e5
lea ecx, [ebp - 0x26c]
call fcn.0041d2e0
sub eax, 1
push eax
lea ecx, [ebp - 0x26c]
call fcn.0043aa30
movzx edx, ax
cmp edx, 0x5c
je 0x4304b0
push 0x5c
lea ecx, [ebp - 0x26c]
call fcn.0041d1a0
lea ecx, [ebp - 0x26c]
call fcn.0041d2e0
cmp eax, 3
jg 0x4304e0
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x26c]
call fcn.0041d100
mov eax, dword [ebp - 0x278]
jmp 0x4306e5
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0041d0a0
push 0x53022c
lea ecx, [ebp - 0x25c]
call fcn.0041d180
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
jne 0x430555
mov dword [ebp - 0x27c], 0
lea ecx, [ebp - 0x25c]
call fcn.0041d100
lea ecx, [ebp - 0x26c]
call fcn.0041d100
mov eax, dword [ebp - 0x27c]
jmp 0x4306e5
mov dword [ebp - 0x264], 1
cmp dword [ebp - 0x264], 0
je 0x430663
movzx edx, word [ebp - 0x22c]
cmp edx, 0x2e
jne 0x4305b6
movzx eax, word [ebp - 0x22a]
test eax, eax
je 0x43059a
movzx ecx, word [ebp - 0x22a]
cmp ecx, 0x2e
jne 0x4305b6
movzx edx, word [ebp - 0x228]
test edx, edx
jne 0x4305b6
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x264], eax
jmp 0x43055f
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x270]
call fcn.0041d0a0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x270]
call fcn.0041d180
mov ecx, dword [ebp - 0x258]
and ecx, 0x10
je 0x4305fb
lea ecx, [ebp - 0x270]
call fcn.0041d2b0
push eax
call fcn.00430420
add esp, 4
jmp 0x430639
push 0x80
lea ecx, [ebp - 0x270]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x270]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x430639
lea ecx, [ebp - 0x270]
call fcn.0041d2b0
push eax
call fcn.004383a0
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x270]
call fcn.0041d100
jmp 0x43055f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x260], 0x12
je 0x4306ad
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x25c]
call fcn.0041d100
lea ecx, [ebp - 0x26c]
call fcn.0041d100
mov eax, dword [ebp - 0x280]
jmp 0x4306e5
lea ecx, [ebp - 0x26c]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x284], 1
lea ecx, [ebp - 0x25c]
call fcn.0041d100
lea ecx, [ebp - 0x26c]
call fcn.0041d100
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret