Function at 0x140084b68
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5c8]
sub rsp, 0x6a0
xor ebx, ebx
mov r12d, r8d
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x140084e5c
cmp word [rcx], bx
je 0x140084e5c
mov rdx, rcx
mov esi, 0x104
mov r8d, esi
lea rcx, [rsp + 0x30]
call fcn.14009a244
mov rcx, rdi
mov word [rbp + 0x138], bx
call fcn.14009904c
test eax, eax
je 0x140084bf2
cmp eax, esi
jge 0x140084bf2
cdqe
cmp word [rdi + rax*2 - 2], 0x5c
je 0x140084bf2
lea rdx, [0x1401a12a4]
lea rcx, [rsp + 0x30]
call fcn.1400b6344
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x390]
call fcn.14009a244
mov word [rbp + 0x598], bx
test r14, r14
je 0x140084d1c
cmp word [r14], bx
je 0x140084d1c
lea rdx, [0x1401a7be0]
mov rcx, r14
call fcn.1400b60d8
test eax, eax
je 0x140084d1c
mov r15d, r12d
and r15d, 1
je 0x140084d14
lea r9, [rbp + 0x390]
mov rdx, rsi
lea r8, [0x1401a7bd0]
lea rcx, [rsp + 0x30]
call fcn.140084b10
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140084d0d
lea rax, [rbp + 0x16c]
mov rdx, rsi
lea r9, [rbp + 0x390]
mov qword [rsp + 0x20], rax
lea r8, [0x1401a50b0]
lea rcx, [rsp + 0x30]
call fcn.140084b10
test byte [rbp + 0x140], 0x10
je 0x140084cec
lea rdx, [0x1401a12f0]
lea rcx, [rbp + 0x16c]
call fcn.1400b60d8
test eax, eax
je 0x140084cec
lea rdx, [0x1401a12f8]
lea rcx, [rbp + 0x16c]
call fcn.1400b60d8
test eax, eax
je 0x140084cec
mov r8d, r12d
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.140084b68
lea rdx, [rbp + 0x140]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140084c7e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 1
jmp 0x140084d2c
mov edi, dword [rbp + 0x5d0]
jmp 0x140084d2c
mov r15d, r12d
lea r14, [0x1401a7be0]
and r15d, 1
mov edi, ebx
lea r9, [rbp + 0x390]
mov qword [rsp + 0x20], r14
lea r8, [0x1401a50b0]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140084b10
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140084e5c
mov esi, r12d
and esi, 2
lea rax, [rbp + 0x16c]
mov edx, 0x104
lea r9, [rbp + 0x390]
mov qword [rsp + 0x20], rax
lea r8, [0x1401a50b0]
lea rcx, [rsp + 0x30]
call fcn.140084b10
test byte [rbp + 0x140], 0x10
je 0x140084dec
test edi, edi
jne 0x140084e0b
test r15d, r15d
je 0x140084e0b
lea rdx, [0x1401a12f0]
lea rcx, [rbp + 0x16c]
call fcn.1400b60d8
test eax, eax
je 0x140084e0b
lea rdx, [0x1401a12f8]
lea rcx, [rbp + 0x16c]
call fcn.1400b60d8
test eax, eax
je 0x140084e0b
mov r8d, r12d
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.140084b68
jmp 0x140084e0b
test esi, esi
je 0x140084e00
mov edx, 0x80
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x140]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140084d71
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x140084e42
mov edx, 0x80
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x140084e4d
mov ebx, 1
jmp 0x140084e5c
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
lea r11, [rsp + 0x6a0]
movsxd rax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret