Function at 0x140002d10
Capabilities:
Delete directory
Delete file
Empty the recycle bin

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, r9
mov rsi, r8
mov qword [rsp + 0x50], rdx
mov r14, rcx
xor edi, edi
mov r13d, edi
mov r12d, edi
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x140002efb
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140002d6a
mov rdx, qword [rbx]
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov edx, 0x400
lea r8d, [r9 + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__sopen_dispatch]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov rax, 0xffffffffffffffff
cmovne ecx, eax
cmp ecx, eax
je 0x140002ee4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
cmp eax, 0xffffffff
je 0x140002ee4
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140002dd4
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140002ee4
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x140002def
mov r9, qword [rbx]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140002e10
lea rcx, [rsp + 0x30]
cmp rdx, 7
ja 0x140002e45
mov qword [rsp + 0x40], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rsp + rdi + 0x30], ax
xor edi, edi
jmp 0x140002e4b
call fcn.140003590
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140002e8c
mov qword [rdx], rdi
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x40], rdi
mov edx, 7
mov qword [rsp + 0x48], rdx
mov word [rsp + 0x30], di
add qword [rsi + 8], 0x20
jmp 0x140002e9e
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.140003b00
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140002ee7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ed2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ef4
call fcn.140004080
add rbx, 0x20
cmp rbx, qword [r14 + 8]
jmp 0x140002d57
inc r13
add rbx, 0x20
cmp rbx, qword [r14 + 8]
jmp 0x140002d57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [r14 + 0x30]
cmp rbx, qword [r14 + 0x38]
je 0x140003067
mov rax, qword [rbx + 0x10]
dec rax
mov rcx, rbx
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140002f20
mov rcx, qword [rbx]
lea rdx, [rax + rax]
cmp word [rdx + rcx], 0x5c
jne 0x140002f3b
mov rax, rbx
cmp r8, 8
jb 0x140002f37
mov rax, qword [rbx]
mov word [rax + rdx], di
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140002f48
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x140002f5b
inc r12
add rbx, 0x20
jmp 0x140002eff
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x140002f68
mov r9, qword [rbx]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140002f90
lea rcx, [rsp + 0x30]
cmp rdx, 7
ja 0x140002fc5
mov qword [rsp + 0x40], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rsp + rdi + 0x30], ax
xor edi, edi
jmp 0x140002fcb
call fcn.140003590
nop
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14000300c
mov qword [rdx], rdi
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x40], rdi
mov edx, 7
mov qword [rsp + 0x48], rdx
mov word [rsp + 0x30], di
add qword [r15 + 8], 0x20
jmp 0x14000301e
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.140003b00
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140003057
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003052
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003060
call fcn.140004080
add rbx, 0x20
jmp 0x140002eff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [r14 + 0x80], 0
je 0x14000307f
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 5]
call qword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 5
cmp rax, r13
jbe 0x1400030a4
mov rax, qword [r14 + 0x38]
sub rax, qword [r14 + 0x30]
sar rax, 5
cmp rax, r12
jbe 0x1400030a4
xor al, al
jmp 0x1400030a6
mov al, 1
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140004060
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret