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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0043aa20
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x264], ecx
test al, 8
je 0x43aeaf
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
pop esi
sbb eax, eax
inc eax
add dword [0x4a8868], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, eax
and ebx, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x260], ebx
je 0x43aed4
test ecx, ecx
je 0x43b083
test al, 2
je 0x43b07f
push 0x2004
push esi
push 0x473208
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
test ebx, ebx
je 0x43aefd
push str..
push 0x473208
call edi
jmp 0x43af03
push esi
call fcn.0043b510
cmp word [esi], 0
jne 0x43af13
cmp word [0x473208], 0x5c
jne 0x43af1b
push 0x463f74
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [esi + eax*2]
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], ebx
push eax
push 0x473208
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x43b060
nop dword [eax]
mov ax, word [ebp - 0x228]
lea edi, [ebp - 0x228]
mov ebx, edi
test ax, ax
je 0x43af97
movzx eax, ax
movzx edx, ax
cmp ax, 0x3f
je 0x43af85
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx ecx, word [ebx]
mov eax, ecx
mov edx, ecx
test cx, cx
jne 0x43af67
test dx, dx
je 0x43af97
cmp word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
cmove eax, edi
mov edi, eax
cmp word [edi], 0x2e
jne 0x43afb6
movzx eax, word [edi + 2]
test ax, ax
je 0x43b033
cmp eax, 0x2e
jne 0x43afb6
cmp word [edi + 4], 0
je 0x43b033
push 0x2004
push edi
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
test byte [ebp - 0x254], 0x10
je 0x43afe6
mov ecx, dword [ebp + 0xc]
mov eax, ecx
and eax, 3
cmp al, 3
jne 0x43b033
push ecx
push esi
call fcn.0043ae60
jmp 0x43b033
push esi
push str.Delete:_DeleteFile___s__
call fcn.0043abb0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b00b
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
test eax, eax
jne 0x43b02c
push str.Delete:_DeleteFile_failed___s__
call fcn.0043abb0
add esp, 8
inc dword [0x4a8868]
jmp 0x43b033
push 0xfffffffffffffff2
call fcn.0043bb30
mov ebx, dword [ebp - 0x25c]
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43af50
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call edi
mov ebx, dword [ebp - 0x258]
jmp 0x43b066
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x260], 0
je 0x43b122
mov ecx, dword [ebp - 0x264]
xor eax, eax
mov word [ebx - 2], ax
test ecx, ecx
jne 0x43b0aa
push esi
push str.RMDir:_RemoveDirectory_invalid_input___s__
call fcn.0043abb0
add esp, 8
inc dword [0x4a8868]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8
push 0x47b218
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x43b122
push eax
call edi
push esi
call fcn.0043a970
push esi
push str.RMDir:_RemoveDirectory___s__
call fcn.0043abb0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b0e9
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
test eax, eax
jne 0x43b11b
push str.RMDir:_RemoveDirectory_failed___s__
call fcn.0043abb0
add esp, 8
inc dword [0x4a8868]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffe5
call fcn.0043bb30
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8