Function at 0x14007dbe0
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movzx edi, dl
mov rbx, rcx
xor r15d, r15d
lea rdx, [rbp - 0x50]
call fcn.140074810
nop
mov r14d, 0xffffffff
cmp qword [rbp - 0x40], r15
jne 0x14007dc21
lea rdx, [0x140214b58]
jmp 0x14007dc44
mov r9d, 1
xor r8d, r8d
movzx edx, r15w
lea rcx, [rbp - 0x50]
call fcn.140017e00
cmp rax, 0xffffffffffffffff
je 0x14007dc7a
lea rdx, [0x140214b80]
xorps xmm0, xmm0
lea rax, [0x140285bf8]
mov qword [rbp - 0x20], 2
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x20]
call fcn.140022730
call fcn.140179abc
mov dword [rax], 0x16
xor bl, bl
jmp 0x14007dea4
test dil, dil
je 0x14007de62
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x20]
call fcn.140029550
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14002c2a0
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rax]
mov qword [rbp - 0x50], rcx
mov qword [rax], rdx
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x48], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x40], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14007dcf5
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007dcf5
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x38]
call fcn.140030bb0
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14007dd1e
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007dd1e
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.140030bb0
mov rbx, qword [rbp - 0x40]
mov edi, ebx
test ebx, ebx
jle 0x14007de5e
mov r12d, 0x5c
mov rsi, qword [rbp - 0x48]
movsxd rax, edi
cmp rax, rbx
cmovb rbx, rax
cmp rbx, 2
jne 0x14007dd72
movzx ecx, word [rsi]
lea eax, [rcx - 0x41]
cmp eax, 0x39
ja 0x14007dd59
lea eax, [rcx - 0x5b]
cmp eax, 5
ja 0x14007dd67
cmp ecx, 0x7f
jbe 0x14007dd72
call fcn.140018620
test al, al
je 0x14007dd72
cmp word [rsi + 2], 0x3a
je 0x14007de5e
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140012540
nop
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.14007c690
test al, al
je 0x14007de41
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.140083520
nop
mov rcx, rax
call fcn.14001d9a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14007dddf
mov ecx, r14d
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14007dddf
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.140030bb0
test ebx, ebx
je 0x14007de39
lea eax, [r15 - 1]
movsxd r8, eax
mov r9d, 1
movzx edx, r12w
lea rcx, [rbp - 0x50]
call fcn.140018780
mov rdi, rax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14007de29
mov ecx, r14d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14007de29
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x38]
call fcn.140030bb0
mov r15d, edi
test edi, edi
jle 0x14007de5e
mov rbx, qword [rbp - 0x40]
jmp 0x14007dd32
test r15d, r15d
setne bl
jmp 0x14007de43
xor bl, bl
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14007dea4
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007dea4
mov rcx, qword [rbp - 0x38]
jmp 0x14007de93
mov bl, 1
jmp 0x14007dea4
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140074810
nop
mov rcx, rax
call fcn.14007e5a0
movzx ebx, al
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x14007dea4
mov ecx, r14d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14007dea4
mov rcx, qword [rbp - 0x20]
mov r8d, 8
mov edx, 2
call fcn.140030bb0
nop
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x14007decc
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x14007decc
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x50]
call fcn.140030bb0
movzx eax, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret