Function at 0x180016728
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1802e9850]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14, rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x48]
call fcn.18006a40c
nop
mov r8, rax
mov rdx, r14
lea rcx, [rbp - 0x58]
call fcn.180009264
nop
mov r13d, 0x1000
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800167bf
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, r13
jb 0x1800167ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b18
call fcn.18009a21c
mov qword [rsp + 0x58], rdi
mov ebx, 0xf
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x48], dil
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, qword [rbp - 0x58]
lea rdx, [rbp - 0x30]
call fcn.18005c7a4
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180016a79
lea rdx, [rsp + 0x28]
call fcn.18006c950
nop
or esi, 1
mov dword [rsp + 0x20], esi
cmp qword [rax + 0x18], 0x10
jb 0x180016813
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 4]
call fcn.18022a530
test eax, eax
je 0x18001684b
lea rdx, [rbp - 0x78]
call fcn.18006a27c
or esi, 2
cmp qword [rax + 0x18], 0x10
jb 0x180016839
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 4]
call fcn.18022a530
test eax, eax
mov bl, 1
jne 0x18001684e
mov bl, dil
test sil, 2
je 0x18001689e
and esi, 0xfffffffd
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18001688e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x180016889
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b24
call fcn.18009a21c
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], dil
test sil, 1
je 0x1800168e0
and esi, 0xfffffffe
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800168e0
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, r13
jb 0x1800168db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b2a
call fcn.18009a21c
test bl, bl
je 0x180016a43
lea rdx, [rsp + 0x28]
call fcn.18006a7e0
nop
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.180009264
mov rbx, rax
lea rcx, [rbp - 4]
call fcn.180221f40
mov r8, rax
lea rdx, [rbp - 4]
mov rcx, rbx
call fcn.1800081fc
mov rbx, rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov r8d, 0x20
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.18021bcc0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
or esi, 0x10
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180016989
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, r13
jb 0x180016984
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b30
call fcn.18009a21c
mov qword [rsp + 0x78], rdi
mov ebx, 0xf
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], dil
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800169d5
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, r13
jb 0x1800169d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b36
call fcn.18009a21c
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x28], dil
lea rcx, [rbp - 0x78]
test byte [rbp - 0x30], 0x10
je 0x1800169f5
call fcn.180016728
jmp 0x180016a0c
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
call fcn.18005c724
test eax, eax
je 0x180016ada
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180016a43
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x180016a3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b12
call fcn.18009a21c
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.18005c838
test eax, eax
jne 0x1800167f7
mov rcx, r15
call fcn.18005c8c8
cmp qword [r14 + 0x18], 0x10
jb 0x180016a69
mov r14, qword [r14]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x180016a79
mov dil, 1
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180016aac
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, r13
jb 0x180016aa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b1e
call fcn.18009a21c
mov al, dil
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.180219840
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180016a79
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x180016b08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016b12
call fcn.18009a21c
jmp 0x180016a79
call fcn.1802218a8
int3
call fcn.1802218a8
nop
call fcn.1802218a8
nop
call fcn.1802218a8
nop
call fcn.1802218a8
nop
call fcn.1802218a8
nop
call fcn.1802218a8
int3