Function at 0x1800aa130
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rdi, rcx
xor r14d, r14d
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.180007680
nop
lea rax, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
cmovae rax, r8
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1800aa1d4
cmp rcx, rdx
jae 0x1800aa1a9
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 8
cmovae rax, r8
mov dword [rax + rcx*2], 0x5c
jmp 0x1800aa1c5
mov r9d, 0x5c
movzx r8d, byte [rbp + 0x218]
lea edx, [r9 - 0x5b]
lea rcx, [rsp + 0x40]
call fcn.1800aad20
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rcx
cmp rax, 3
jb 0x1800aa487
lea r9, [rsp + 0x40]
cmp rdx, 8
cmovae r9, r8
mov qword [rsp + 0x30], 3
lea rax, [0x18015ac20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.180009cd0
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800aa3ce
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, 0x2e
jne 0x1800aa27c
test ax, ax
je 0x1800aa349
cmp cx, cx
jne 0x1800aa27c
cmp ax, cx
jne 0x1800aa27c
cmp word [rbp - 0x30], 0
je 0x1800aa349
lea rcx, [rbp - 0x34]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800aa290
mov rcx, rsi
mov rdx, qword [rsp + 0x50]
sub rcx, rdx
cmp rcx, rax
jb 0x1800aa481
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x60]
call fcn.180009cd0
nop
lea rcx, [rsp + 0x60]
test byte [rbp - 0x60], 0x10
je 0x1800aa2f1
call fcn.1800aa130
test al, al
jmp 0x1800aa305
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800aa382
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1800aa349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aa344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800aa48d
call fcn.1800bdc0c
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800aa250
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rdi + 0x18], 8
jb 0x1800aa371
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1800aa3ce
mov bl, 1
jmp 0x1800aa3d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1800aa3ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aa3c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800aa48d
call fcn.1800bdc0c
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1800aa410
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aa40b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800aa493
call fcn.1800bdc0c
movdqa xmm0, xmmword [0x1801600c0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800aa460
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aa45b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800aa47b
call fcn.1800bdc0c
movzx eax, bl
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800c9ad0
nop
call fcn.180003190
nop
call fcn.180003190
nop
call fcn.1800c9ad0
nop
call fcn.1800c9ad0
int3