Function at 0x141db3e00
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.141daaaa0
nop
mov r14d, 0xffffffff
cmp qword [rbp - 0x40], r15
jne 0x141db3e41
lea rdx, [0x140079e28]
jmp 0x141db3e64
mov r9d, 1
xor r8d, r8d
movzx edx, r15w
lea rcx, [rbp - 0x50]
call fcn.141d3f010
cmp rax, 0xffffffffffffffff
je 0x141db3e9a
lea rdx, [0x140079e50]
xorps xmm0, xmm0
lea rax, [0x1400f0a68]
mov qword [rbp - 0x20], 2
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x20]
call fcn.141d4a260
call fcn.141ed0e2c
mov dword [rax], 0x16
xor bl, bl
jmp 0x141db40af
test dil, dil
je 0x141db4041
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x20]
call fcn.141d514f0
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.141d54f30
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 0x141db3f0a
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3f0a
mov rcx, qword [rbp - 0x38]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x141db3f28
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3f28
mov rcx, qword [rbp - 0x20]
call fcn.141ec82c8
mov rbx, qword [rbp - 0x40]
mov edi, ebx
test ebx, ebx
jle 0x141db403d
mov r12d, 0x5c
nop dword [rax]
mov rsi, qword [rbp - 0x48]
movsxd rax, edi
cmp rax, rbx
cmovb rbx, rax
cmp rbx, 2
jne 0x141db3f80
movzx ecx, word [rsi]
lea eax, [rcx - 0x41]
cmp eax, 0x39
ja 0x141db3f67
lea eax, [rcx - 0x5b]
cmp eax, 5
ja 0x141db3f75
cmp ecx, 0x7f
jbe 0x141db3f80
call fcn.141d3f3c0
test al, al
je 0x141db3f80
cmp word [rsi + 2], 0x3a
je 0x141db403d
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.141d37ba0
nop
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.141db25e0
test al, al
je 0x141db4039
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.141db9d70
nop
mov rcx, rax
call fcn.141d45210
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x141db3fe2
mov ecx, r14d
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x141db3fe2
mov rcx, qword [rbp - 0x20]
call fcn.141ec82c8
test ebx, ebx
je 0x141db4031
lea eax, [r15 - 1]
movsxd r8, eax
mov r9d, 1
movzx edx, r12w
lea rcx, [rbp - 0x50]
call fcn.141d3f6f0
mov rdi, rax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x141db4021
mov ecx, r14d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x141db4021
mov rcx, qword [rbp - 0x38]
call fcn.141ec82c8
mov r15d, edi
test edi, edi
jle 0x141db403d
mov rbx, qword [rbp - 0x40]
jmp 0x141db3f40
test r15d, r15d
setne bl
jmp 0x141db403b
xor bl, bl
jmp 0x141db4090
mov bl, 1
jmp 0x141db40af
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.141daaaa0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.141db9d70
nop
mov rcx, rax
call fcn.141d45210
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x141db4090
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db4090
mov rcx, qword [rbp - 0x20]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x141db40af
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db40af
mov rcx, qword [rbp - 0x38]
call fcn.141ec82c8
nop
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x141db40cc
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x141db40cc
mov rcx, qword [rbp - 0x50]
call fcn.141ec82c8
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