Function at 0x14006d3f0
Capabilities:
Delete directory

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
movzx ebx, dl
mov rdi, rcx
lea rdx, [rbp + 0x38]
call fcn.14006ef50
nop
test bl, bl
je 0x14006d5c0
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.140025270
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140025a60
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rax]
mov qword [rbp + 0x38], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
lock dec dword [rcx]
jne 0x14006d45e
mov rcx, qword [rbp - 0x38]
call fcn.14000ade0
nop
mov rax, qword [rbp - 0x30]
lock dec dword [rax]
jne 0x14006d470
mov rcx, qword [rbp - 0x30]
call fcn.14000ade0
xor esi, esi
mov rax, qword [rbp + 0x38]
mov edi, dword [rax + 8]
test edi, edi
jle 0x14006d5aa
mov r8d, edi
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x38]
call fcn.14000c770
nop
mov rax, qword [rbp - 0x40]
cmp dword [rax + 8], 2
jne 0x14006d4c7
mov rcx, qword [rax + 0x10]
movzx eax, word [rcx]
mov word [rbp + 0x28], ax
lea rcx, [rbp + 0x28]
call fcn.1400077e0
test al, al
je 0x14006d4c7
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax + 0x10]
cmp word [rcx + 2], 0x3a
je 0x14006d550
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14006b230
test al, al
je 0x14006d57e
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.1400701b0
nop
mov rcx, rax
call fcn.14000b320
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rax, qword [rbp - 0x28]
lock dec dword [rax]
jne 0x14006d511
mov rcx, qword [rbp - 0x28]
call fcn.14000ade0
test dil, dil
je 0x14006d560
lea rcx, [rbp + 0x30]
call fcn.140024da0
lea r8d, [rsi - 1]
mov r9d, 1
movzx edx, word [rax]
lea rcx, [rbp + 0x38]
call fcn.140009d80
mov edi, eax
mov rax, qword [rbp - 0x40]
lock dec dword [rax]
jne 0x14006d549
mov rcx, qword [rbp - 0x40]
call fcn.14000ade0
mov esi, edi
jmp 0x14006d479
lock dec dword [rax]
jne 0x14006d5aa
mov rcx, qword [rbp - 0x40]
call fcn.14000ade0
jmp 0x14006d5aa
test esi, esi
setne dil
mov rax, qword [rbp - 0x40]
lock dec dword [rax]
jne 0x14006d579
mov rcx, qword [rbp - 0x40]
call fcn.14000ade0
nop
jmp 0x14006d617
mov rax, qword [rbp - 0x40]
lock dec dword [rax]
jne 0x14006d591
mov rcx, qword [rbp - 0x40]
call fcn.14000ade0
nop
mov rax, qword [rbp + 0x38]
lock dec dword [rax]
jne 0x14006d5a3
mov rcx, qword [rbp + 0x38]
call fcn.14000ade0
xor al, al
jmp 0x14006d62d
mov rax, qword [rbp + 0x38]
lock dec dword [rax]
jne 0x14006d5bc
mov rcx, qword [rbp + 0x38]
call fcn.14000ade0
mov al, 1
jmp 0x14006d62d
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.14006ef50
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400701b0
nop
mov rcx, rax
call fcn.14000b320
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rcx, qword [rbp - 0x20]
lock dec dword [rcx]
jne 0x14006d604
mov rcx, qword [rbp - 0x20]
call fcn.14000ade0
nop
mov rax, qword [rbp - 0x18]
lock dec dword [rax]
jne 0x14006d617
mov rcx, qword [rbp - 0x18]
call fcn.14000ade0
nop
mov rcx, qword [rbp + 0x38]
lock dec dword [rcx]
jne 0x14006d629
mov rcx, qword [rbp + 0x38]
call fcn.14000ade0
movzx eax, dil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret