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

Disassembly:
sub esp, 0x258
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push ebp
mov ebp, dword [esp + 0x264]
push esi
push edi
push ebp
push str.Delete_File__s
push 0x80
mov dword [esp + 0x1c], ecx
call fcn.004025a0
add esp, 0xc
push 0x103
lea eax, [esp + 0x15d]
push 0
push eax
mov byte [esp + 0x164], 0
call fcn.00443400
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x43d0ed
push 0x80
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
jmp 0x43d2ea
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x43d2c9
push 0x103
lea ecx, [esp + 0x15c]
push ebp
push ecx
call fcn.0043e4cf
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d120
sub eax, edx
lea edx, [esp + 0x158]
push 0x5c
push edx
mov esi, eax
call fcn.0043e121
lea ecx, [esp + esi + 0x160]
add esp, 8
cmp eax, ecx
je 0x43d162
lea edi, [esp + 0x158]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43d150
mov dx, word [0x4581b8]
mov word [edi], dx
lea edi, [esp + 0x158]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43d170
mov eax, dword [0x457f00]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x15c]
push edx
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x43d2c9
mov ebx, dword [esp + 0x274]
jmp 0x43d1b0
push 0x103
lea eax, [esp + 0x15c]
push ebp
push eax
call fcn.0043e4cf
lea eax, [esp + 0x50]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d1d0
sub eax, edx
mov edx, eax
lea eax, [esp + 0x158]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d1e5
sub eax, esi
add eax, edx
cmp eax, 0x103
ja 0x43d24c
lea edi, [esp + 0x158]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43d200
mov cx, word [0x4581b8]
lea eax, [esp + 0x44]
mov word [edi], cx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d218
lea edi, [esp + 0x158]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43d230
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
test byte [esp + 0x18], 0x10
je 0x43d27e
cmp byte [esp + 0x44], 0x2e
je 0x43d2a3
mov eax, dword [esp + 0x270]
test eax, eax
je 0x43d2a3
mov ecx, dword [esp + 0x10]
push ebx
push eax
lea edx, [esp + 0x160]
push edx
call fcn.0043d070
test eax, eax
je 0x43d2c9
jmp 0x43d2a3
push 0x80
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test ebx, ebx
jne 0x43d2a3
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43d1b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
cmp eax, 0x12
je 0x43d2cd
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43d2ea
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x43d2c9
push 0x80
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043defc
add esp, 0x258
ret 0xc