Function at 0x140003338
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rax, 0xe
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140003347
sub rsp, 0x28
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140013400
add rsp, 0x10
mov qword [rsp + 0x30], 1
push qword [0x14001ba54]
pop rcx
call fcn.14000f7a8
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
push qword [0x14001bad4]
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
pop rcx
sub rsp, 0x20
call fcn.14000f748
add rsp, 0x28
mov rdx, qword [0x14001c4f0]
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400055b0
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400131e0
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 [0x14001b9bc], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x48]
jl 0x14000372c
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14001bb4c]
imul r15, r15, 0xc
add rbp, r15
mov rcx, qword [rbp]
push qword [0x14001c4e0]
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.1400131e0
mov r15, qword [0x14001b97c]
cmp r15, 1
je 0x14000352e
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.140010080
and rax, rax
je 0x14000352e
push 1
pop rcx
call fcn.14000fa70
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
push 1
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140005680
add rsp, 0x28
inc qword [0x14001c4e0]
movabs rcx, 0x14001a023
pop rdx
mov qword [0x14001c4e0], rdx
add rdx, qword [0x14001c4f0]
call fcn.140013470
or rax, rax
jne 0x140003529
mov rcx, qword [rsp + 0x58]
push qword [0x14001c4e0]
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
movabs rcx, 0x14001a035
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400131e0
jmp 0x140003721
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.14000fe70
and rax, rax
je 0x140003681
push qword [0x14001c4e0]
sub rsp, 8
push qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
push qword [0x14001c4e0]
sub rsp, 0x20
call fcn.140013390
add rsp, 0x20
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
mov r15, qword [rsp + 0xa0]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140005830
add rsp, 0x28
pop rax
mov rdx, qword [0x14001c4f0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140008f98
add rsp, 0x28
pop qword [0x14001c4e0]
mov r15, qword [rsp + 0x68]
inc r15
mov qword [rsp + 0x68], r15
push qword [rsp + 0x68]
pop rax
mov qword [0x14001b9bc], rax
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14001bb4c]
imul r15, r15, 0xc
add rbp, r15
movsxd rax, dword [rbp + 8]
push rax
pop rax
mov qword [0x14001b9b4], rax
push qword [0x14001b9b4]
mov r15, qword [0x14001bb2c]
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
push 1
pop rcx
pop rdx
pop r8
call fcn.140010170
push 1
pop rcx
call fcn.14000fa70
mov r15, qword [rsp + 0x70]
add r15, qword [0x14001b9b4]
mov qword [rsp + 0x70], r15
push qword [0x14001bb5c]
pop rcx
call fcn.14000afcc
mov rcx, qword [rsp + 0x50]
push qword [0x14001c4e0]
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
mov rbp, qword [0x14001bb64]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.1400131e0
push qword [rsp + 0x50]
pop rcx
call fcn.140011750
mov rax, rax
push rax
pop rax
mov dword [rbp + 0x18], eax
jmp 0x140003721
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
push 1
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140005680
add rsp, 0x28
inc qword [0x14001c4e0]
movabs rcx, 0x14001a023
pop rdx
mov qword [0x14001c4e0], rdx
add rdx, qword [0x14001c4f0]
call fcn.140013470
or rax, rax
jne 0x140003721
mov rcx, qword [rsp + 0x58]
push qword [0x14001c4e0]
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
movabs rcx, 0x14001a035
sub rsp, 0x28
call fcn.140013390
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400131e0
inc qword [rsp + 0x48]
jno 0x14000340f
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
push qword [0x14001c4e0]
push qword [0x14001c4e0]
movabs rax, 0x14001a035
push rax
push qword [rsp + 0x98]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140005b10
add rsp, 0x20
mov rdx, qword [0x14001c4f0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140005140
add rsp, 0x28
mov rdx, qword [0x14001c4f0]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400052b0
add rsp, 0x28
pop qword [0x14001c4e0]
mov r15, rax
and r15, r15
jle 0x1400038bd
push qword [0x14001c4e0]
sub rsp, 8
push 0x24
mov rcx, qword [0x14001b9ec]
push qword [0x14001c4e0]
sub rsp, 0x20
call fcn.140013390
add rsp, 0x20
movabs rcx, str._r_n_r_n
sub rsp, 0x20
call fcn.140013390
add rsp, 0x20
mov rcx, qword [rsp + 0x78]
sub rsp, 0x20
call fcn.140013390
add rsp, 0x20
movabs rcx, 0x14001a035
sub rsp, 0x20
call fcn.140013390
add rsp, 0x20
mov rcx, qword [0x14001b9ac]
sub rsp, 0x20
call fcn.140013390
add rsp, 0x20
inc qword [0x14001c4e0]
push qword [0x14001bb1c]
mov rdx, qword [0x14001c4f0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140008804
add rsp, 0x28
pop qword [0x14001c4e0]
mov qword [rsp + 0x78], rax
mov r15, qword [rsp + 0x78]
cmp r15, 7
jne 0x1400038bd
call fcn.1400042f0
push qword [0x14001ba64]
pop rcx
call fcn.14000f894
push qword [0x14001bafc]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
push qword [rsp + 0x80]
pop rcx
call fcn.14000f894
push qword [rsp + 0x88]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
xor rax, rax
mov qword [0x14001b974], rax
jmp fcn.140001b05
mov rax, 1
jmp 0x1400038c9
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
mov rcx, qword [rsp + 0x88]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
mov rcx, qword [rsp + 0x90]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
mov rcx, qword [rsp + 0x68]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
pop rax
add rsp, 0x98
pop r15
pop rbp
ret