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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rdx, qword [rsp + 0x340]
lea rcx, [rsp + 0x30]
call fcn.1800aac40
nop
mov rax, qword [0x180323d38]
mov qword [rsp + 0x58], rax
lea rcx, [0x1803dbbb8]
call fcn.180003ba0
mov qword [rsp + 0x68], rax
lea rcx, [0x1803dbbb8]
call fcn.180079500
mov rcx, qword [rsp + 0x68]
mov r9, rcx
mov r8, qword [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800ee240
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
call fcn.180003ba0
dec rax
cmp qword [rsp + 0x50], rax
jne 0x1801e140c
lea rcx, [rsp + 0x30]
call fcn.180003ba0
dec rax
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x30]
call fcn.1800aacc0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.180073df0
lea rcx, [rsp + 0xb8]
call fcn.180073fc0
jmp 0x1801e1365
lea r8, str..
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x98]
call fcn.1800f2520
nop
lea rcx, [rsp + 0x98]
call fcn.180074060
lea rdx, [rsp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1801e159c
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1801e159c
xor eax, eax
cmp eax, 1
je 0x1801e1591
lea rcx, [rsp + 0x30]
call fcn.180074060
lea r9, [rsp + 0x10c]
mov r8, rax
lea rdx, [0x180326588]
lea rcx, [rsp + 0x70]
call fcn.1801e9260
nop
mov eax, dword [rsp + 0xe0]
and eax, 0x10
test eax, eax
je 0x1801e1506
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x10c]
cmp eax, 0x2e
je 0x1801e1504
mov rax, qword [rsp + 0x350]
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1801e14ec
lea rcx, [rsp + 0x70]
call fcn.180074060
mov r8, qword [rsp + 0x350]
mov rdx, qword [rsp + 0x348]
mov rcx, rax
call fcn.1801e1330
jmp 0x1801e1504
mov rax, qword [rsp + 0x350]
mov eax, dword [rax]
btr eax, 7
mov rcx, qword [rsp + 0x350]
mov dword [rcx], eax
jmp 0x1801e155f
cmp qword [rsp + 0x348], 0
je 0x1801e1533
mov r8d, 0x100
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0x10c]
call fcn.1801e1650
movzx eax, al
test eax, eax
je 0x1801e1547
lea rcx, [rsp + 0x70]
call fcn.180074060
mov rcx, rax
call fcn.1801ea270
jmp 0x1801e155f
mov rax, qword [rsp + 0x350]
mov eax, dword [rax]
btr eax, 7
mov rcx, qword [rsp + 0x350]
mov dword [rcx], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1801e1582
lea rcx, [rsp + 0x70]
call fcn.180073fc0
jmp 0x1801e1591
lea rcx, [rsp + 0x70]
call fcn.180073fc0
jmp 0x1801e1461
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x350]
mov eax, dword [rax]
and eax, 0x80
test eax, eax
je 0x1801e1612
mov rax, qword [rsp + 0x350]
mov eax, dword [rax]
and eax, 2
test eax, eax
je 0x1801e1612
lea rcx, [rsp + 0x30]
call fcn.180074060
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1801e15e3
mov byte [rsp + 0x21], 1
jmp 0x1801e15e8
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1801e1612
mov rax, qword [rsp + 0x350]
mov eax, dword [rax]
btr eax, 7
mov rcx, qword [rsp + 0x350]
mov dword [rcx], eax
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x98]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x30]
call fcn.180073fc0
movzx eax, byte [rsp + 0x22]
add rsp, 0x338
ret