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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc4c
push ebx
xor eax, eax
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x398], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x432788
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00432270
cmp dword [ebp - 4], 0
je 0x432752
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x432659
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x432752
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x398]
mov ecx, 0x4327a0
mov edx, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x398]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x432646
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call sub.rtl160.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
mov ecx, dword [ebp - 0x3a0]
lea eax, [ebp - 0x39c]
mov edx, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x39c]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4325f4
push ebx
call sub.kernel32.dll_FindClose
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_RemoveDirectoryW
jmp 0x432752
lea eax, [ebp - 0x3a4]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x3a4]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x432752
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x3a8]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
lea eax, [ebp - 0x3a8]
mov edx, 0x4327b4
call sub.rtl160.bpl__System__LStrCat_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0x3a8]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43272e
lea eax, [ebp - 0x3ac]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x3b0]
lea edx, [ebp - 0x368]
mov ecx, 0x104
push 0
call sub.rtl160.bpl__System__LStrFromArray_qqrr27System__AnsiStringT_us_i0__pcius
mov edx, dword [ebp - 0x3b0]
pop eax
call sub.rtl160.bpl__System__LStrCat_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0x3ac]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x394]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4326c8
push ebx
call sub.kernel32.dll_FindClose
lea eax, [ebp - 0x3b4]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x3b4]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43278f
lea eax, [ebp - 0x3b4]
mov edx, 5
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x3a0]
mov edx, 3
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 4]
call sub.rtl160.bpl__System__UStrClr_qqrpv
ret