Function at 0x140003793
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 0x1400037a2
sub rsp, 0x28
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140014020
add rsp, 0x10
mov qword [rsp + 0x30], 1
push qword [0x14001cb24]
pop rcx
call fcn.140010374
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push qword [0x14001cbbc]
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
pop rcx
sub rsp, 0x20
call fcn.140010314
add rsp, 0x28
mov rdx, qword [0x14001d5e0]
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.140013f60
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 [0x14001ca64], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x48]
jl 0x140003b89
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14001cc3c]
imul r15, r15, 0xc
add rbp, r15
mov rcx, qword [rbp]
push qword [0x14001d5d0]
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.140013f60
mov r15, qword [0x14001ca2c]
cmp r15, 1
je 0x140003989
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.140010b70
and rax, rax
je 0x140003989
push 1
pop rcx
call fcn.140010560
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push 1
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400067a0
add rsp, 0x28
inc qword [0x14001d5d0]
movabs rcx, 0x14001b023
pop rdx
mov qword [0x14001d5d0], rdx
add rdx, qword [0x14001d5e0]
call fcn.140014090
or rax, rax
jne 0x140003984
mov rcx, qword [rsp + 0x58]
push qword [0x14001d5d0]
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
movabs rcx, 0x14001b046
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.140013f60
jmp 0x140003b7e
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.140010960
and rax, rax
je 0x140003ade
push qword [0x14001d5d0]
sub rsp, 8
push qword [rsp + 0x60]
mov rcx, qword [0x14001cc34]
push qword [0x14001d5d0]
sub rsp, 0x20
call fcn.140014120
add rsp, 0x20
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
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 [0x14001d5e0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a0b8
add rsp, 0x28
pop qword [0x14001d5d0]
mov r15, qword [rsp + 0x60]
inc r15
mov qword [rsp + 0x60], r15
push qword [rsp + 0x60]
pop rax
mov qword [0x14001ca64], rax
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14001cc3c]
imul r15, r15, 0xc
add rbp, r15
movsxd rax, dword [rbp + 8]
push rax
pop rax
mov qword [0x14001ca5c], rax
push qword [0x14001ca5c]
mov r15, qword [0x14001cc14]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
push 1
pop rcx
pop rdx
pop r8
call fcn.140010c60
push 1
pop rcx
call fcn.140010560
mov r15, qword [rsp + 0x68]
add r15, qword [0x14001ca5c]
mov qword [rsp + 0x68], r15
push qword [0x14001cc4c]
pop rcx
call fcn.14000ba5c
mov rcx, qword [rsp + 0x50]
push qword [0x14001d5d0]
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
mov rbp, qword [0x14001cc54]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.140013f60
push qword [rsp + 0x50]
pop rcx
call fcn.1400123e0
mov rax, rax
push rax
pop rax
mov dword [rbp + 0x18], eax
jmp 0x140003b7e
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push 1
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400067a0
add rsp, 0x28
inc qword [0x14001d5d0]
movabs rcx, 0x14001b023
pop rdx
mov qword [0x14001d5d0], rdx
add rdx, qword [0x14001d5e0]
call fcn.140014090
or rax, rax
jne 0x140003b7e
mov rcx, qword [rsp + 0x58]
push qword [0x14001d5d0]
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
movabs rcx, 0x14001b046
sub rsp, 0x28
call fcn.140014120
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.140013f60
inc qword [rsp + 0x48]
jno 0x14000386a
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
sub rsp, 8
push qword [0x14001d5d0]
push qword [0x14001d5d0]
push qword [0x14001d5d0]
movabs rax, 0x14001b046
push rax
push qword [rsp + 0x98]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140006c30
add rsp, 0x20
mov rdx, qword [0x14001d5e0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006150
add rsp, 0x28
mov rdx, qword [0x14001d5e0]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400062c0
add rsp, 0x28
pop qword [0x14001d5d0]
mov r15, rax
and r15, r15
jle 0x140003d18
push qword [0x14001d5d0]
sub rsp, 8
push 0x24
mov rcx, qword [0x14001ca94]
push qword [0x14001d5d0]
sub rsp, 0x20
call fcn.140014120
add rsp, 0x20
movabs rcx, 0x14001b04c
sub rsp, 0x20
call fcn.140014120
add rsp, 0x20
mov rcx, qword [rsp + 0x78]
sub rsp, 0x20
call fcn.140014120
add rsp, 0x20
movabs rcx, 0x14001b046
sub rsp, 0x20
call fcn.140014120
add rsp, 0x20
mov rcx, qword [0x14001ca4c]
sub rsp, 0x20
call fcn.140014120
add rsp, 0x20
inc qword [0x14001d5d0]
push qword [0x14001cc04]
mov rdx, qword [0x14001d5e0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140009924
add rsp, 0x28
pop qword [0x14001d5d0]
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0x70]
cmp r15, 7
jne 0x140003d18
call fcn.140004817
push qword [0x14001cb3c]
pop rcx
call fcn.14001030c
push qword [0x14001cbfc]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
push qword [0x14001cb14]
pop rcx
call fcn.14001030c
push qword [0x14001cbf4]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
xor rax, rax
mov qword [0x14001ca24], rax
jmp 0x140001b86
mov rax, 1
jmp 0x140003d24
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400140f0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400140f0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400140f0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400140f0
add rsp, 0x28
pop rax
add rsp, 0x78
pop r15
pop rbp
ret