Function at 0x14000378d
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rax, 0xa
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14000379c
sub rsp, 0x28
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140014680
add rsp, 0x10
mov qword [rsp + 0x30], 1
push qword [0x14001cbb0]
pop rcx
call fcn.1400109d4
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [0x14001cc48]
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
pop rcx
sub rsp, 0x20
call fcn.140010974
add rsp, 0x28
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400066d0
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x38]
push qword [rsp + 0x30]
pop rcx
pop rdx
call fcn.140002747
mov qword [rsp + 0x40], rax
push qword [rsp + 0x40]
pop rax
mov qword [0x14001caf0], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x48]
jl 0x140003b83
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14001ccc8]
imul r15, r15, 0xc
add rbp, r15
mov rcx, qword [rbp]
push qword [0x14001d660]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.1400145c0
mov r15, qword [0x14001cab8]
cmp r15, 1
je 0x140003983
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.1400111d0
and rax, rax
je 0x140003983
push 1
pop rcx
call fcn.140010bc0
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push 1
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400067a0
add rsp, 0x28
inc qword [0x14001d660]
movabs rcx, 0x14001b023
pop rdx
mov qword [0x14001d660], rdx
add rdx, qword [0x14001d670]
call fcn.1400146f0
or rax, rax
jne 0x14000397e
mov rcx, qword [rsp + 0x58]
push qword [0x14001d660]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
movabs rcx, 0x14001b041
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400145c0
jmp 0x140003b78
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.140010fc0
and rax, rax
je 0x140003ad8
push qword [0x14001d660]
sub rsp, 8
push qword [rsp + 0x60]
mov rcx, qword [0x14001ccc0]
push qword [0x14001d660]
sub rsp, 0x20
call fcn.140014780
add rsp, 0x20
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
mov r15, qword [rsp + 0x98]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006950
add rsp, 0x28
pop rax
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d660]
mov r15, qword [rsp + 0x60]
inc r15
mov qword [rsp + 0x60], r15
push qword [rsp + 0x60]
pop rax
mov qword [0x14001caf0], rax
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14001ccc8]
imul r15, r15, 0xc
add rbp, r15
movsxd rax, dword [rbp + 8]
push rax
pop rax
mov qword [0x14001cae8], rax
push qword [0x14001cae8]
mov r15, qword [0x14001cca0]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
push 1
pop rcx
pop rdx
pop r8
call fcn.1400112c0
push 1
pop rcx
call fcn.140010bc0
mov r15, qword [rsp + 0x68]
add r15, qword [0x14001cae8]
mov qword [rsp + 0x68], r15
push qword [0x14001ccd8]
pop rcx
call fcn.14000c0ec
mov rcx, qword [rsp + 0x50]
push qword [0x14001d660]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
mov rbp, qword [0x14001cce0]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x50]
pop rcx
call fcn.140012a40
mov rax, rax
push rax
pop rax
mov dword [rbp + 0x18], eax
jmp 0x140003b78
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push 1
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400067a0
add rsp, 0x28
inc qword [0x14001d660]
movabs rcx, 0x14001b023
pop rdx
mov qword [0x14001d660], rdx
add rdx, qword [0x14001d670]
call fcn.1400146f0
or rax, rax
jne 0x140003b78
mov rcx, qword [rsp + 0x58]
push qword [0x14001d660]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
movabs rcx, 0x14001b041
sub rsp, 0x28
call fcn.140014780
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400145c0
inc qword [rsp + 0x48]
jno 0x140003864
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [0x14001d660]
push qword [0x14001d660]
movabs rax, 0x14001b041
push rax
push qword [rsp + 0x98]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140006c30
add rsp, 0x20
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006150
add rsp, 0x28
mov rdx, qword [0x14001d670]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400062c0
add rsp, 0x28
pop qword [0x14001d660]
mov r15, rax
and r15, r15
jle 0x140003d12
push qword [0x14001d660]
sub rsp, 8
push 0x24
mov rcx, qword [0x14001cb20]
push qword [0x14001d660]
sub rsp, 0x20
call fcn.140014780
add rsp, 0x20
movabs rcx, str._r_n_r_n
sub rsp, 0x20
call fcn.140014780
add rsp, 0x20
mov rcx, qword [rsp + 0x78]
sub rsp, 0x20
call fcn.140014780
add rsp, 0x20
movabs rcx, 0x14001b041
sub rsp, 0x20
call fcn.140014780
add rsp, 0x20
mov rcx, qword [0x14001cad8]
sub rsp, 0x20
call fcn.140014780
add rsp, 0x20
inc qword [0x14001d660]
push qword [0x14001cc90]
mov rdx, qword [0x14001d670]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140009924
add rsp, 0x28
pop qword [0x14001d660]
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0x70]
cmp r15, 7
jne 0x140003d12
call fcn.140004811
push qword [0x14001cbc8]
pop rcx
call fcn.14001096c
push qword [0x14001cc88]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
push qword [0x14001cba0]
pop rcx
call fcn.14001096c
push qword [0x14001cc80]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
xor rax, rax
mov qword [0x14001cab0], rax
jmp 0x140001b9b
mov rax, 1
jmp 0x140003d1e
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140014750
add rsp, 0x28
pop rax
add rsp, 0x78
pop r15
pop rbp
ret