Function at 0x434b4f
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push 0x2ac
mov eax, 0x44c4cf
call fcn.004386f7
mov edi, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
inc ebx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x40], ax
mov dword [ebp - 4], ecx
mov esi, ecx
mov dword [ebp - 0x2b0], ecx
cmp word [edi], cx
jne 0x434b8a
mov eax, ecx
jmp 0x434b91
push edi
call fcn.0043860f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00401db2
push 1
push 0
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2ac], 0x2a
call fcn.0040baaf
cmp eax, 0xffffffff
jne 0x434bfa
push 1
push 0
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2ac], 0x3f
call fcn.0040baaf
cmp eax, 0xffffffff
jne 0x434bfa
push 0x458770
call fcn.0043860f
pop ecx
push eax
push 0x458770
lea ecx, [ebp - 0x40]
call fcn.004053dd
jmp 0x434c24
push 1
push 0
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2ac], 0x3f
call fcn.0040baaf
cmp eax, 0xffffffff
cmovne esi, dword [ebp - 0x30]
mov dword [ebp - 0x2b0], esi
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
cmp eax, 0xffffffff
jne 0x434c65
push str._____Not_found._n
push str.DeleteDirectoryFilesW
push 5
call fcn.00405a24
add esp, 0xc
xor eax, eax
mov ebx, eax
jmp 0x434e99
mov dword [ebp - 0x2b8], 0x5c
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040bbab
cmp eax, 0xffffffff
je 0x434ce0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2b4], 0x5c
call fcn.0040bbab
push eax
xor eax, eax
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.004058e2
push eax
lea ecx, [ebp - 0x28]
call fcn.00406613
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x58]
call fcn.00401ba5
jmp 0x434cf8
xor eax, eax
cmp word [edi], ax
je 0x434cee
push edi
call fcn.0043860f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401db2
push 0x44d8a8
call fcn.0043860f
pop ecx
push eax
push 0x44d8a8
lea ecx, [ebp - 0x28]
call fcn.004053dd
cmp word [ebp - 0x27c], 0
jne 0x434d1f
xor eax, eax
jmp 0x434d2c
lea eax, [ebp - 0x27c]
push eax
call fcn.0043860f
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004053dd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.DeleteFileW__1_ls__._n
push str.DeleteDirectoryFilesW
push 5
call fcn.00405a24
add esp, 0x10
test esi, esi
je 0x434d69
cmp esi, dword [ebp - 0x18]
jne 0x434e31
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x434e31
test cl, 0x10
je 0x434dd6
lea eax, [ebp - 0x27c]
push 0x450d0c
push eax
call fcn.0043933f
pop ecx
pop ecx
test eax, eax
je 0x434e31
lea eax, [ebp - 0x27c]
push 0x453a60
push eax
call fcn.0043933f
pop ecx
pop ecx
test eax, eax
je 0x434e31
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 1
push eax
call fcn.00434b4f
pop ecx
pop ecx
and ebx, eax
jmp 0x434e31
and ecx, 0xfffffffe
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x434e31
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.DeleteFileW__1_ls___failed.__0x_2_lx___n
push str.DeleteDirectoryFilesW
push 2
call fcn.00405a24
mov esi, dword [ebp - 0x2b0]
add esp, 0x14
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], al
call fcn.00401ba5
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x434c6f
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x434e97
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x434e97
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.pRemoveDirectoryW__1_ls___failed.__0x_2_lx___n
push str.DeleteDirectoryFilesW
push 2
call fcn.00405a24
add esp, 0x14
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x40]
call fcn.00401ba5
mov eax, ebx
call fcn.004386a6
ret