Function at 0x140078e78
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 [0x14017a140]
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 0x1400791a1
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 rcx, [0x140130b88]
call fcn.1400c2d80
mov r8, rax
lea rdx, [0x140130b88]
lea rcx, [rsp + 0x38]
call fcn.140003a2c
nop
lea r8, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140013b2c
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x140078f63
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.140003bb4
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14000c4dc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.140003bb4
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140003bb4
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 0x1400791a1
mov byte [rsp + 0x20], 1
lea rdx, [rbp]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14007912b
cmp word [rbp + 0x2c], di
jne 0x140078fd2
mov rax, rdi
jmp 0x140078fdb
lea rcx, [rbp + 0x2c]
call fcn.1400c2d80
mov r8, rax
lea rdx, [rbp + 0x2c]
lea rcx, [rsp + 0x58]
call fcn.140003a2c
lea rdx, [0x140117378]
lea rcx, [rsp + 0x58]
call fcn.14000d6c0
test eax, eax
je 0x14007913f
lea rdx, [0x140130b8c]
lea rcx, [rsp + 0x58]
call fcn.14000d6c0
test eax, eax
je 0x14007913f
test byte [rbp], 0x10
je 0x140079067
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140013b2c
nop
mov dl, byte [rsp + 0x21]
mov rcx, rax
call fcn.140078e78
test al, al
sete bl
lea rcx, [rbp - 0x68]
xor r8d, r8d
mov dl, 1
call fcn.140003bb4
test bl, bl
jne 0x14007914c
mov rbx, qword [rsp + 0x28]
jmp 0x14007913f
test byte [rbp], 1
je 0x1400790a5
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140013b2c
nop
cmp qword [rax + 0x18], 8
jb 0x140079089
mov rax, qword [rax]
mov edx, 0x80
mov rcx, rax
call fcn.1400ed3b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.140003bb4
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140013b2c
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400790c3
mov rbx, 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 [rbx], di
jne 0x1400790ea
mov rax, rdi
jmp 0x1400790f2
mov rcx, rbx
call fcn.1400c2d80
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140003a2c
nop
lea rcx, [rsp + 0x38]
call fcn.140079400
test al, al
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140003bb4
nop
lea rcx, [rbp - 0x28]
jmp 0x14007904b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140079197
mov al, dil
mov byte [rsp + 0x20], al
jmp 0x140079143
mov al, byte [rsp + 0x20]
test al, al
je 0x140079153
jmp 0x140078fb2
mov rcx, qword [rsp + 0x28]
jmp 0x14007919a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rsp + 0x21], dil
je 0x140079192
mov ebx, edi
cmp qword [rsi + 0x18], 8
jb 0x140079171
mov rcx, qword [rsi]
jmp 0x140079174
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140079192
cmp ebx, 2
jg 0x1400791a1
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x140079165
mov dil, 1
jmp 0x1400791a1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.140003bb4
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.140003bb4
mov al, dil
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400b9f80
mov rbx, qword [rsp + 0x390]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret