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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x278]
sub rsp, 0x360
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1405b7098]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov byte [rsp + 0x21], dl
mov rsi, rcx
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea eax, [rdi + 7]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
cmp qword [rcx + 0x10], rdi
je 0x140023711
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
lea r8d, [rdi + 1]
lea rdx, [0x1402200c4]
lea rcx, [rsp + 0x38]
call fcn.14000fde0
nop
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140022014
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x1400234c3
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.14000f964
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.14000f964
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x140023711
mov byte [rsp + 0x20], 1
lea rdx, [rbp]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14002369b
cmp word [rbp + 0x2c], di
jne 0x140023532
mov r8, rdi
jmp 0x140023544
lea rax, [rbp + 0x2c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14002353a
lea rdx, [rbp + 0x2c]
lea rcx, [rsp + 0x58]
call fcn.14000fde0
lea rdx, [0x140495e60]
lea rcx, [rsp + 0x58]
call fcn.14000f6d4
test eax, eax
je 0x1400236af
lea rdx, [0x140495e58]
lea rcx, [rsp + 0x58]
call fcn.14000f6d4
test eax, eax
je 0x1400236af
test byte [rbp], 0x10
je 0x1400235d0
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140022014
nop
mov dl, byte [rsp + 0x21]
mov rcx, rax
call fcn.1400233e0
test al, al
sete bl
lea rcx, [rbp - 0x68]
xor r8d, r8d
mov dl, 1
call fcn.14000f964
test bl, bl
jne 0x1400236bc
mov rbx, qword [rsp + 0x28]
jmp 0x1400236af
test byte [rbp], 1
je 0x140023611
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140022014
nop
cmp qword [rax + 0x18], 8
jb 0x1400235f5
mov rax, qword [rax]
mov edx, 0x80
mov rcx, rax
call fcn.14010f5a0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.14000f964
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140022014
nop
cmp qword [rax + 0x18], 8
jb 0x140023630
mov rax, qword [rax]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp word [rax], di
jne 0x140023657
mov r8, rdi
jmp 0x140023665
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14002365b
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000fde0
nop
lea rcx, [rsp + 0x38]
call fcn.140023958
test al, al
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.14000f964
nop
lea rcx, [rbp - 0x28]
jmp 0x1400235b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140023707
mov al, dil
mov byte [rsp + 0x20], al
jmp 0x1400236b3
mov al, byte [rsp + 0x20]
test al, al
je 0x1400236c3
jmp 0x140023512
mov rcx, qword [rsp + 0x28]
jmp 0x14002370a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rsp + 0x21], dil
je 0x140023702
mov ebx, edi
cmp qword [rsi + 0x18], 8
jb 0x1400236e1
mov rcx, qword [rsi]
jmp 0x1400236e4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140023702
cmp ebx, 2
jg 0x140023711
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1400236d5
mov dil, 1
jmp 0x140023711
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.14000f964
mov al, dil
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400fcfd0
mov rbx, qword [rsp + 0x390]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret