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

Disassembly:
test rcx, rcx
je 0x18000dff7
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x18000dfd4
mov dword [rsp + 0x40], eax
xor edx, edx
mov r8d, 0x24c
lea rcx, [rsp + 0x44]
call fcn.180043ef0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000dfd4
lea rdx, [0x1800d4b84]
lea rcx, [rsp + 0x20]
call fcn.18002bea0
nop
nop dword [rax + rax]
lea rdx, [0x1800d4b14]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18000dfaa
lea rdx, [0x1800d4b10]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18000dfaa
lea rdx, [0x1800d4b84]
lea rcx, [rsp + 0x20]
call fcn.1800296b0
mov rcx, rbx
call fcn.18000aeb0
test rax, rax
je 0x18000de44
sub rax, rbx
sar rax, 1
cmp rax, 1
jle 0x18000de44
lea r8d, [rax - 1]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18002c030
nop
lea r9, [rsp + 0x6c]
mov r8, qword [rax]
lea rdx, [0x1800d2178]
lea rcx, [rsp + 0x20]
call fcn.18002a4e0
nop
lea rcx, [rsp + 0x30]
call fcn.180029530
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax - 8]
test ecx, ecx
je 0x18000dfaa
cmp ecx, 0x104
jl 0x18000df0c
lea rdx, [0x1800d4b78]
lea rcx, [rsp + 0x20]
call fcn.180029a10
lea rcx, [rsp + 0x20]
test eax, eax
jne 0x18000de8b
lea edx, [rax + 2]
lea r8d, [rax + 0x3f]
call fcn.180029a80
jmp 0x18000df0c
lea rdx, [0x1800d4b68]
call fcn.180029a10
test eax, eax
je 0x18000df0c
lea rdx, [0x1800d4b68]
lea rcx, [rsp + 0x28]
call fcn.18002bea0
nop
lea rdx, [0x1800d4b5c]
lea rcx, [rsp + 0x20]
call fcn.180029a10
test eax, eax
jne 0x18000dee3
lea rdx, [0x1800d4b48]
lea rcx, [rsp + 0x28]
call fcn.1800296b0
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rsp + 0x20]
call fcn.180029af0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180029870
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.180029640
nop
lea rcx, [rsp + 0x28]
call fcn.180029530
mov edx, dword [rsp + 0x40]
test dl, 0x10
je 0x18000df88
bt edx, 0xa
jb 0x18000df4b
lea rdx, [0x1800d4788]
lea rcx, [rsp + 0x20]
call fcn.180029800
mov rcx, qword [rsp + 0x20]
call fcn.18000dd10
lea rdx, [0x1800d4788]
lea rcx, [rsp + 0x20]
call fcn.18002a510
mov edx, dword [rsp + 0x40]
test dl, 1
je 0x18000df62
and edx, 0xfffffffe
mov dword [rsp + 0x40], edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x18000dfaa
mov rcx, qword [rsp + 0x20]
call fcn.18000d6e0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x18000dfaa
mov rcx, qword [rsp + 0x20]
call fcn.18003a330
test eax, eax
jne 0x18000dfaa
mov rcx, qword [rsp + 0x20]
call fcn.18000d6e0
mov rcx, qword [rsp + 0x20]
call fcn.18003a330
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18000ddb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x20]
call fcn.180029530
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180043ec0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
repz ret