Function at 0x14000471f
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rax, 0x12
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14000472e
sub rsp, 0x28
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140014640
add rsp, 0x10
mov qword [rsp + 0x30], 1
push qword [0x14001cbfc]
pop rcx
call fcn.14001074c
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
movabs rax, 0x14001b025
push rax
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
pop rcx
sub rsp, 0x20
call fcn.1400106ec
add rsp, 0x28
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400064b0
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400144b0
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
movabs rax, 0x14001b021
push rax
push qword [rsp + 0x50]
push qword [rsp + 0x50]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140006160
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400144b0
mov rcx, qword [rsp + 0x40]
xor rdx, rdx
call fcn.140014570
or rax, rax
jne 0x140004c1c
mov r15, qword [rsp + 0x30]
mov rax, r15
mov rcx, 2
cqo
idiv rcx
mov r15, rdx
and r15, r15
jne 0x14000487c
push qword [rsp + 0x40]
pop rcx
call fcn.140006580
mov rax, rax
push rax
mov r15, qword [rsp + 0x50]
mov rbp, qword [0x14001cd54]
imul r15, r15, 0xc
add rbp, r15
pop rax
mov dword [rbp + 8], eax
mov r15, qword [rsp + 0x48]
inc r15
mov qword [rsp + 0x48], r15
jmp 0x140004c1a
mov rcx, qword [rsp + 0x40]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov r15, qword [rsp + 0x50]
mov rbp, qword [0x14001cd54]
imul r15, r15, 0xc
add rbp, r15
lea rcx, [rbp]
pop rdx
call fcn.1400144b0
movabs rax, 0x14001b025
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.140006770
and rax, rax
je 0x140004c1a
movabs rdx, 0x14001b01e
lea rcx, [rsp + 0x50]
call fcn.1400143c0
movabs rdx, 0x14001b01e
lea rcx, [rsp + 0x58]
call fcn.1400143c0
movabs rax, 0x14001b025
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.1400067d0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
mov r15, qword [rsp + 0x60]
dec r15
cmp r15, qword [rsp + 0x68]
jl 0x140004c1a
push qword [rsp + 0x50]
movabs rcx, 0x14001b01e
pop rdx
call fcn.140014570
or rax, rax
jne 0x14000496b
mov rcx, qword [rsp + 0x50]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400144b0
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
movabs rax, 0x14001b025
push rax
mov r15, qword [rsp + 0x88]
inc r15
mov rax, r15
push rax
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140006160
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.1400144b0
push qword [0x14001d6f0]
sub rsp, 8
mov rcx, qword [rsp + 0x48]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
movabs rcx, 0x14001b025
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x88]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400108d8
add rsp, 0x28
pop qword [0x14001d6f0]
mov rcx, qword [rsp + 0x50]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
movabs rcx, 0x14001b025
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.1400144b0
mov rcx, qword [rsp + 0x38]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
movabs rcx, 0x14001b025
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp]
mov qword [0x14001d6f0], rcx
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rdx
mov rcx, qword [0x14001cd84]
call fcn.140011ee4
mov rbp, rax
mov r15, qword [rbp]
cmp r15, 1
jge 0x140004c0f
mov rcx, qword [rsp + 0x38]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
movabs rcx, 0x14001b025
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp]
mov qword [0x14001d6f0], rcx
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rdx
mov rcx, qword [0x14001cd84]
call fcn.140011ee4
mov rbp, rax
mov qword [rbp], 1
push qword [0x14001cd74]
pop rcx
call fcn.14000bfdc
mov rcx, qword [rsp + 0x38]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
movabs rcx, 0x14001b025
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rbp, qword [0x14001cd7c]
lea rcx, [rbp + 0x14]
pop rdx
call fcn.1400144b0
push qword [rsp + 0x78]
pop rax
mov dword [rbp + 0x10], eax
mov r15, qword [rsp + 0x78]
inc r15
mov qword [rsp + 0x78], r15
inc qword [rsp + 0x68]
jno 0x14000491c
jmp 0x140004c1e
jmp 0x140004c54
mov r15, qword [rsp + 0x30]
inc r15
mov qword [rsp + 0x30], r15
mov r15, qword [rsp + 0x30]
add r15, 0x400
mov rax, r15
inc rax
movabs rdx, 0x14001cd54
mov rcx, rax
call fcn.140014114
jmp 0x1400047d2
push qword [rsp + 0x48]
pop rax
mov qword [0x14001cacc], rax
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x80]
jl 0x140004fd6
mov r15, qword [rsp + 0x80]
mov rbp, qword [0x14001cd54]
imul r15, r15, 0xc
add rbp, r15
mov rcx, qword [rbp]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
lea rcx, [rsp + 0x90]
pop rdx
call fcn.1400144b0
mov r15, qword [0x14001ca94]
cmp r15, 1
je 0x140004da3
push qword [rsp + 0x88]
push 1
pop rcx
pop rdx
call fcn.1400110c0
and rax, rax
je 0x140004da3
push 1
pop rcx
call fcn.140010ab0
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
push 1
push qword [rsp + 0xa8]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140006850
add rsp, 0x28
inc qword [0x14001d6f0]
movabs rcx, 0x14001b023
pop rdx
mov qword [0x14001d6f0], rdx
add rdx, qword [0x14001d700]
call fcn.140014570
or rax, rax
jne 0x140004d9e
mov rcx, qword [rsp + 0x90]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x90]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
movabs rcx, 0x14001b041
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
lea rcx, [rsp + 0x98]
pop rdx
call fcn.1400144b0
jmp 0x140004fc8
push qword [rsp + 0x88]
push 1
pop rcx
pop rdx
call fcn.140010eb0
and rax, rax
je 0x140004f1c
push qword [0x14001d6f0]
sub rsp, 8
push qword [rsp + 0x98]
mov rcx, qword [0x14001cd44]
push qword [0x14001d6f0]
sub rsp, 0x20
call fcn.1400145d0
add rsp, 0x20
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
mov r15, qword [rsp + 0xd0]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006450
add rsp, 0x28
pop rax
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140009fa8
add rsp, 0x28
pop qword [0x14001d6f0]
mov r15, qword [rsp + 0x98]
inc r15
mov qword [rsp + 0x98], r15
push qword [rsp + 0x98]
pop rax
mov qword [0x14001cacc], rax
mov r15, qword [rsp + 0x80]
mov rbp, qword [0x14001cd54]
imul r15, r15, 0xc
add rbp, r15
movsxd rax, dword [rbp + 8]
push rax
pop rax
mov qword [rsp + 0xa0], rax
push qword [rsp + 0xa0]
mov r15, qword [0x14001cd14]
add r15, qword [rsp + 0xb0]
mov rax, r15
push rax
push 1
pop rcx
pop rdx
pop r8
call fcn.140011260
push 1
pop rcx
call fcn.140010ab0
mov r15, qword [rsp + 0xa8]
add r15, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], r15
push qword [0x14001cd64]
pop rcx
call fcn.14000bfdc
mov rcx, qword [rsp + 0x88]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rbp, qword [0x14001cd6c]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.1400144b0
push qword [rsp + 0x88]
pop rcx
call fcn.140012930
mov rax, rax
push rax
pop rax
mov dword [rbp + 0x18], eax
jmp 0x140004fc8
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
push 1
push qword [rsp + 0xa8]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140006850
add rsp, 0x28
inc qword [0x14001d6f0]
movabs rcx, 0x14001b023
pop rdx
mov qword [0x14001d6f0], rdx
add rdx, qword [0x14001d700]
call fcn.140014570
or rax, rax
jne 0x140004fc8
mov rcx, qword [rsp + 0x90]
push qword [0x14001d6f0]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
mov rcx, qword [rsp + 0x90]
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
movabs rcx, 0x14001b041
sub rsp, 0x28
call fcn.1400145d0
add rsp, 0x28
lea rcx, [rsp + 0x98]
pop rdx
call fcn.1400144b0
inc qword [rsp + 0x80]
jno 0x140004c6c
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
push qword [0x14001d6f0]
push qword [0x14001d6f0]
movabs rax, 0x14001b041
push rax
push qword [rsp + 0xd0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140006b70
add rsp, 0x20
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006150
add rsp, 0x28
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400062c0
add rsp, 0x28
pop qword [0x14001d6f0]
mov r15, rax
and r15, r15
jle 0x14000516e
push qword [0x14001d6f0]
sub rsp, 8
push 0x24
mov rcx, qword [0x14001cb24]
push qword [0x14001d6f0]
sub rsp, 0x20
call fcn.1400145d0
add rsp, 0x20
movabs rcx, str._r_n_r_n
sub rsp, 0x20
call fcn.1400145d0
add rsp, 0x20
mov rcx, qword [rsp + 0xb0]
sub rsp, 0x20
call fcn.1400145d0
add rsp, 0x20
movabs rcx, 0x14001b041
sub rsp, 0x20
call fcn.1400145d0
add rsp, 0x20
mov rcx, qword [0x14001cab4]
sub rsp, 0x20
call fcn.1400145d0
add rsp, 0x20
inc qword [0x14001d6f0]
push qword [0x14001cd04]
mov rdx, qword [0x14001d700]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140009814
add rsp, 0x28
pop qword [0x14001d6f0]
mov qword [rsp + 0xb0], rax
mov r15, qword [rsp + 0xb0]
cmp r15, 7
jne 0x14000516e
call fcn.14000590c
push qword [0x14001cc0c]
pop rcx
call fcn.1400108d0
push qword [0x14001ccfc]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
push qword [0x14001cbec]
pop rcx
call fcn.1400108d0
push qword [0x14001ccf4]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
xor rax, rax
mov qword [0x14001ca8c], rax
jmp 0x140003204
mov rax, 1
jmp 0x14000517a
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x98]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x90]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
pop rax
add rsp, 0xb8
pop r15
pop rbp
ret