Function at 0x428e30
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4b3074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str._.
push dword [ebp + 0xc]
mov ebx, dword [esi + 4]
push esi
call fcn.00429750
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
jne 0x428eb3
mov eax, dword [esi]
lea edi, [ebx + 1]
cmp eax, edi
jae 0x428e93
push edi
push eax
push dword [esi + 8]
call fcn.00421c10
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi], edi
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
cmp eax, 2
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cb29
mov esp, ebp
pop ebp
ret
mov edi, eax
nop word [eax + eax]
test byte [ebp - 0x254], 0x10
je 0x428fe4
cmp word [ebp - 0x228], 0x2e
jne 0x428efb
mov ax, word [ebp - 0x226]
test ax, ax
je 0x4290b4
cmp ax, 0x2e
jne 0x428efb
cmp word [ebp - 0x224], 0
je 0x4290b4
mov eax, dword [esi]
lea edi, [ebx + 1]
cmp eax, edi
jae 0x428f16
push edi
push eax
push dword [esi + 8]
call fcn.00421c10
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi], edi
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x228]
movzx eax, ax
lea ecx, [edi + 2]
mov dword [esi + 4], ebx
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x258], 0
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x428f40
sub edi, ecx
lea eax, [ebp - 0x260]
push 2
push eax
mov ecx, esi
sar edi, 1
call fcn.0041b000
lea ecx, [edi + edi]
push ecx
lea ecx, [ebp - 0x228]
push ecx
mov ecx, eax
call fcn.0041b000
push 2
lea ecx, [ebp - 0x258]
push ecx
mov ecx, eax
call fcn.0041b000
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, 2
mov dword [ebp - 0x258], eax
lea edi, [eax + 1]
cmp ecx, edi
jae 0x428fae
push edi
push ecx
push dword [esi + 8]
call fcn.00421c10
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [ebp - 0x258]
mov dword [esi], edi
push dword [ebp + 0xc]
mov dword [esi + 4], eax
push esi
call fcn.00428e30
add esp, 8
test al, al
jne 0x4290ae
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cb29
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edi, [ebx + 1]
cmp eax, edi
jae 0x428fff
push edi
push eax
push dword [esi + 8]
call fcn.00421c10
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi], edi
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x228]
movzx eax, ax
lea ecx, [edi + 2]
mov dword [esi + 4], ebx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x260], 0
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x429021
sub edi, ecx
lea eax, [ebp - 0x258]
push 2
push eax
mov ecx, esi
sar edi, 1
call fcn.0041b000
lea ecx, [edi + edi]
push ecx
lea ecx, [ebp - 0x228]
push ecx
mov ecx, eax
call fcn.0041b000
push 2
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.0041b000
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, 2
mov dword [ebp - 0x258], eax
lea edi, [eax + 1]
cmp ecx, edi
jae 0x42908f
push edi
push ecx
push dword [esi + 8]
call fcn.00421c10
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [ebp - 0x258]
mov dword [esi], edi
push dword [esi + 8]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4290ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x428fc5
mov edi, dword [ebp - 0x25c]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x428ec0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi]
lea edi, [ebx + 1]
cmp eax, edi
jae 0x4290ec
push edi
push eax
push dword [esi + 8]
call fcn.00421c10
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi], edi
mov eax, dword [esi + 8]
xor ecx, ecx
mov dword [esi + 4], ebx
mov word [ebx + eax], cx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0042cb29
mov esp, ebp
pop ebp
ret