Function at 0x140003567
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 0x140003576
sub rsp, 0x28
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14000efe0
add rsp, 0x10
mov qword [rsp + 0x30], 1
push qword [0x140014aa8]
pop rcx
call fcn.14000b24c
push qword [0x140015120]
sub rsp, 8
push qword [0x140015120]
movabs rax, 0x140013023
push rax
push qword [rsp + 0x50]
push qword [rsp + 0x50]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140005340
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.14000ee50
mov rcx, qword [rsp + 0x38]
xor rdx, rdx
call fcn.14000ef10
or rax, rax
jne 0x140003698
mov r15, qword [rsp + 0x30]
mov rax, r15
mov rcx, 2
cqo
idiv rcx
mov r15, rdx
and r15, r15
jne 0x140003661
push qword [rsp + 0x38]
pop rcx
call fcn.1400054a0
mov rax, rax
push rax
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x140014ba0]
imul r15, r15, 0xc
add rbp, r15
pop rax
mov dword [rbp + 8], eax
mov r15, qword [rsp + 0x40]
inc r15
mov qword [rsp + 0x40], r15
jmp 0x140003696
mov rcx, qword [rsp + 0x38]
push qword [0x140015120]
sub rsp, 0x28
call fcn.14000ef70
add rsp, 0x28
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x140014ba0]
imul r15, r15, 0xc
add rbp, r15
lea rcx, [rbp]
pop rdx
call fcn.14000ee50
jmp 0x14000369a
jmp 0x1400036ac
mov r15, qword [rsp + 0x30]
inc r15
mov qword [rsp + 0x30], r15
jmp 0x1400035ba
push qword [rsp + 0x40]
pop rax
mov qword [0x140014a08], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x48]
jl 0x1400039b1
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x140014ba0]
imul r15, r15, 0xc
add rbp, r15
mov rcx, qword [rbp]
push qword [0x140015120]
sub rsp, 0x28
call fcn.14000ef70
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.14000ee50
push qword [0x140015120]
sub rsp, 8
push qword [rsp + 0x60]
push qword [0x140015120]
movabs rcx, str.b2eincfile
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
push qword [0x140015120]
sub rsp, 8
push qword [0x140015120]
mov r15, qword [rsp + 0x80]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400052e0
add rsp, 0x28
pop rax
mov rdx, qword [0x140015130]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006004
add rsp, 0x28
pop qword [0x140015120]
mov r15, qword [0x1400149d0]
cmp r15, 1
je 0x1400037ab
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.14000bbc0
and rax, rax
je 0x1400037ab
mov rax, 1
jmp 0x1400037ae
xor rax, rax
and rax, rax
je 0x14000389e
push 1
pop rcx
call fcn.14000b5b0
push qword [0x140015120]
sub rsp, 8
push 0x23
mov rcx, qword [0x1400149f8]
push qword [0x140015120]
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
movabs rcx, 0x140013021
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
mov rcx, qword [rsp + 0x70]
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
movabs rcx, 0x140013021
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
mov rcx, qword [0x140014a20]
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
inc qword [0x140015120]
push qword [0x140014ad8]
mov rdx, qword [0x140015130]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140005870
add rsp, 0x28
pop qword [0x140015120]
mov qword [rsp + 0x58], rax
mov r15, qword [rsp + 0x58]
cmp r15, 7
jne 0x140003886
jmp 0x1400039a6
mov r15, qword [rsp + 0x58]
cmp r15, 2
jne 0x14000389e
call fcn.14000406f
xor rax, rax
jmp 0x140003b37
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
call fcn.14000b9b0
and rax, rax
je 0x14000395a
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x140014ba0]
imul r15, r15, 0xc
add rbp, r15
movsxd rax, dword [rbp + 8]
push rax
pop rax
mov qword [rsp + 0x60], rax
push qword [rsp + 0x60]
mov r15, qword [0x140014b80]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
push 1
pop rcx
pop rdx
pop r8
call fcn.14000bd60
push 1
pop rcx
call fcn.14000b5b0
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x60]
mov qword [rsp + 0x68], r15
push qword [0x140014bb0]
pop rcx
call fcn.140006ca4
mov rcx, qword [rsp + 0x50]
push qword [0x140015120]
sub rsp, 0x28
call fcn.14000ef70
add rsp, 0x28
mov rbp, qword [0x140014bb8]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.14000ee50
push qword [rsp + 0x50]
pop rcx
call fcn.14000d3f0
mov rax, rax
push rax
pop rax
mov dword [rbp + 0x18], eax
jmp 0x1400039a6
mov rcx, qword [rsp + 0x70]
push qword [0x140015120]
sub rsp, 0x28
call fcn.14000ef70
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.14000ef70
add rsp, 0x28
movabs rcx, 0x14001314c
sub rsp, 0x28
call fcn.14000ef70
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.14000ee50
inc qword [rsp + 0x48]
jno 0x1400036c1
push qword [0x140015120]
sub rsp, 8
push qword [0x140015120]
sub rsp, 8
push qword [0x140015120]
push qword [0x140015120]
push qword [0x140015120]
movabs rax, 0x14001314c
push rax
push qword [rsp + 0xb0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140005810
add rsp, 0x20
mov rdx, qword [0x140015130]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400051c0
add rsp, 0x28
mov rdx, qword [0x140015130]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.140005050
add rsp, 0x28
pop qword [0x140015120]
mov r15, rax
and r15, r15
jle 0x140003b2b
push qword [0x140015120]
sub rsp, 8
push 0x24
mov rcx, qword [0x140014a48]
push qword [0x140015120]
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
movabs rcx, str._r_n_r_n
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
mov rcx, qword [rsp + 0x90]
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
movabs rcx, 0x14001314c
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
mov rcx, qword [0x1400149f0]
sub rsp, 0x20
call fcn.14000ef70
add rsp, 0x20
inc qword [0x140015120]
push qword [0x140014b78]
mov rdx, qword [0x140015130]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140005870
add rsp, 0x28
pop qword [0x140015120]
mov qword [rsp + 0x58], rax
mov r15, qword [rsp + 0x58]
cmp r15, 7
jne 0x140003b2b
call fcn.14000406f
push qword [0x140014ac0]
pop rcx
call fcn.14000b3d0
push qword [0x140014b70]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
xor rax, rax
mov qword [0x1400149c8], rax
jmp 0x1400027f6
mov rax, 1
jmp 0x140003b37
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14000f050
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.14000f050
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.14000f050
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.14000f050
add rsp, 0x28
pop rax
add rsp, 0x78
pop r15
pop rbp
ret