Function at 0x1400acf20
Capabilities:
Delete directory

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
movzx ebx, dl
mov rdi, rcx
lea rdx, [rbp + 0x30]
call fcn.1400a5890
nop
test bl, bl
je 0x1400ad244
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.14004c680
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14004ea30
mov rdx, qword [rbp + 0x30]
mov qword [rbp - 0x18], rdx
mov rcx, qword [rax]
mov qword [rbp + 0x30], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x40]
mov ecx, dword [rax]
mov ebx, 0xffffffff
test ecx, ecx
je 0x1400acfa1
cmp ecx, ebx
je 0x1400acfb4
mov ecx, ebx
mov rax, qword [rbp - 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400acfb4
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x40]
call fcn.140049bf0
nop
mov rax, qword [rbp - 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400acfd2
cmp ecx, 0xffffffff
je 0x1400acfe4
mov ecx, ebx
mov rax, qword [rbp - 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400acfe4
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x38]
call fcn.140049bf0
xor esi, esi
mov rax, qword [rbp + 0x30]
mov edi, dword [rax + 4]
test edi, edi
jle 0x1400ad204
mov r8d, edi
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call fcn.1400413c0
cmp dword [rbp - 4], 2
jne 0x1400ad065
mov r8, qword [rbp - 0x10]
mov rdx, qword [r8]
movsxd r9, dword [rbp - 8]
mov rax, qword [rdx + 0x10]
lea rcx, [rax + r9*2]
movzx ecx, word [rcx + rdx]
lea eax, [rcx - 0x41]
cmp eax, 0x39
ja 0x1400ad032
lea eax, [rcx - 0x5b]
cmp eax, 5
ja 0x1400ad048
cmp ecx, 0x7f
jbe 0x1400ad065
call fcn.140040c40
test al, al
je 0x1400ad065
mov r9d, dword [rbp - 8]
mov r8, qword [rbp - 0x10]
lea eax, [r9 + 1]
mov rdx, qword [r8]
movsxd rcx, eax
mov rax, qword [rdx + 0x10]
lea rcx, [rax + rcx*2]
cmp word [rcx + rdx], 0x3a
je 0x1400ad204
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400458f0
nop
xor edx, edx
lea rcx, [rbp + 0x38]
call fcn.1400abe50
test al, al
je 0x1400ad193
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400b4120
nop
mov rcx, rax
call fcn.140046630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad0c9
cmp ecx, 0xffffffff
je 0x1400ad0db
mov ecx, ebx
mov rax, qword [rbp - 0x30]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ad0db
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x30]
call fcn.140049bf0
test dil, dil
je 0x1400ad138
lea rcx, [rbp + 0x28]
call fcn.14004e310
lea r8d, [rsi - 1]
mov r9d, 1
movzx edx, word [rax]
lea rcx, [rbp + 0x30]
call fcn.140040d00
mov edi, eax
mov rax, qword [rbp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad11f
cmp ecx, 0xffffffff
je 0x1400ad131
mov ecx, ebx
mov rax, qword [rbp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ad131
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x38]
call fcn.140049bf0
mov esi, edi
jmp 0x1400acfed
test esi, esi
setne dil
mov rax, qword [rbp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad15c
cmp ecx, 0xffffffff
je 0x1400ad16f
mov ecx, ebx
mov rax, qword [rbp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ad16f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x38]
call fcn.140049bf0
nop
mov rax, qword [rbp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad2ad
cmp ecx, 0xffffffff
je 0x1400ad2c0
mov rcx, qword [rbp + 0x30]
lock xadd dword [rcx], ebx
jmp 0x1400ad2a8
mov rax, qword [rbp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad1b1
cmp ecx, 0xffffffff
je 0x1400ad1c4
mov ecx, ebx
mov rax, qword [rbp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ad1c4
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x38]
call fcn.140049bf0
nop
mov rax, qword [rbp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad1e0
cmp ecx, 0xffffffff
je 0x1400ad1f2
mov rax, qword [rbp + 0x30]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1400ad1f2
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x30]
call fcn.140049bf0
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad220
cmp ecx, 0xffffffff
je 0x1400ad232
mov rax, qword [rbp + 0x30]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1400ad232
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x30]
call fcn.140049bf0
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400a5890
nop
mov rcx, rax
call fcn.1400ad590
movzx edi, al
mov rcx, qword [rbp - 0x28]
mov edx, dword [rcx]
mov ebx, 0xffffffff
test edx, edx
je 0x1400ad27e
cmp edx, ebx
je 0x1400ad291
mov edx, ebx
mov rcx, qword [rbp - 0x28]
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x1400ad291
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x28]
call fcn.140049bf0
nop
mov rax, qword [rbp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ad2ad
cmp ecx, 0xffffffff
je 0x1400ad2c0
mov rax, qword [rbp + 0x30]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1400ad2c0
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rbp + 0x30]
call fcn.140049bf0
movzx eax, dil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret