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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x9b0]
sub rsp, 0xab0
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rbp + 0x9a0], rax
mov rdi, rdx
mov rsi, qword [0x14017ae30]
xor r14d, r14d
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call fcn.1400055e0
nop
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x38]
call fcn.1400055e0
nop
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x48]
call fcn.1400055e0
nop
lea rdx, [rsp + 0x30]
call fcn.1400a64e0
lea ebx, [r14 - 1]
test rdi, rdi
je 0x1400aeed0
cmp word [rdi], r14w
je 0x1400aeed0
mov r9, rdi
mov r8, qword [rsp + 0x30]
lea rdx, [0x140146d78]
lea rcx, [rsp + 0x30]
call fcn.140005d70
mov r8, qword [rsp + 0x30]
lea rdx, str._s.pl_lock
lea rcx, [rsp + 0x38]
call fcn.140005d70
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, qword [rsp + 0x30]
lea rdx, str._sprolasso.ini
lea rcx, [rsp + 0x38]
call fcn.140005d70
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400aeebc
mov rax, qword [rsp + 0x30]
cmp dword [rax - 0x10], 7
jle 0x1400aeebc
mov word [rbp + 0x1a0], r14w
mov r9d, 0x3ff
lea r8, [rbp + 0x1a0]
lea edx, [r9 + 0x67]
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400aedca
cmp byte [0x1401776f0], al
je 0x1400aed97
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x1401776f0], r14b
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x3ff
lea r8, [rbp + 0x1a0]
lea edx, [r9 + 0x67]
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400aedca
mov word [rbp + 0x1a0], r14w
mov r8, qword [rsp + 0x30]
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x48]
call fcn.140005d70
mov r9d, 0x40023
lea r8, str.Process_Lasso
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp ax, 6
jne 0x1400aeebc
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14003f4f0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x40]
call fcn.1400055e0
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
nop dword [rax]
lea r9, [rsp + 0x7c]
mov r8, qword [rdi]
lea rdx, [0x140146d78]
lea rcx, [rsp + 0x40]
call fcn.140005d70
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400aee40
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400aee95
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400aeeb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete dil
jmp 0x1400aeed3
xor dil, dil
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400aeef2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400aef11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400aef2e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x9a0]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0xab0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret