Function at 0x140002a2e
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rdx, 0xa
sub rsp, 8
mov qword [rsp], 0
dec rdx
jne 0x140002a3d
sub rsp, 0x28
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14000a270
add rsp, 0x10
mov qword [rsp + 0x30], 1
push qword [0x14000e4f0]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.140008240
add rsp, 0x20
push qword [0x14000ea10]
add rsp, 0xfffffffffffffff8
push qword [0x14000ea10]
movabs rax, 0x14000d014
push rax
push qword [rsp + 0x50]
push qword [rsp + 0x50]
pop rcx
pop rdx
pop r8
pop r9
add rsp, 0xffffffffffffffe0
call fcn.140004380
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.14000a0b0
mov rcx, qword [rsp + 0x38]
xor rdx, rdx
sub rsp, 0x10
call fcn.14000a170
add rsp, 0x10
or rax, rax
jne 0x140002b5d
mov r15, qword [rsp + 0x30]
and r15, 1
and r15, r15
jne 0x140002b26
push qword [rsp + 0x38]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.140004450
add rsp, 0x20
mov rax, rax
push rax
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14000e610]
imul r15, r15, 0xc
add rbp, r15
pop rax
mov dword [rbp + 8], eax
inc qword [rsp + 0x40]
jmp 0x140002b5b
mov rcx, qword [rsp + 0x38]
push qword [0x14000ea10]
add rsp, 0xffffffffffffffd8
call fcn.14000a1d0
add rsp, 0x28
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14000e610]
imul r15, r15, 0xc
add rbp, r15
lea rcx, [rbp]
pop rdx
call fcn.14000a0b0
jmp 0x140002b5f
jmp 0x140002b69
inc qword [rsp + 0x30]
jmp 0x140002a89
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x48]
jl 0x140002eb7
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14000e610]
imul r15, r15, 0xc
add rbp, r15
mov rcx, qword [rbp]
push qword [0x14000ea10]
add rsp, 0xffffffffffffffd8
call fcn.14000a1d0
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.14000a0b0
push qword [0x14000ea10]
add rsp, 0xfffffffffffffff8
push qword [rsp + 0x60]
push qword [0x14000ea10]
movabs rcx, str.b2eincfile_
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
push qword [0x14000ea10]
add rsp, 0xfffffffffffffff8
push qword [0x14000ea10]
mov r15, qword [rsp + 0x80]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call fcn.140004320
add rsp, 0x28
pop rax
movabs rcx, 0x14000d012
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
inc qword [0x14000ea10]
mov rdx, qword [0x14000ea20]
add qword [rsp], rdx
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call fcn.140004e4c
add rsp, 0x28
pop qword [0x14000ea10]
mov r15, qword [0x14000e4e8]
cmp r15, 1
je 0x140002c82
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call fcn.1400087c0
add rsp, 0x20
and rax, rax
je 0x140002c82
mov rax, 1
jmp 0x140002c85
xor rax, rax
and rax, rax
je 0x140002d7d
push 1
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400083e0
add rsp, 0x20
push qword [0x14000ea10]
add rsp, 0xfffffffffffffff8
push 0x23
mov rcx, qword [0x14000e540]
push qword [0x14000ea10]
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
movabs rcx, 0x14000d010
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
mov rcx, qword [rsp + 0x70]
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
movabs rcx, 0x14000d010
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
mov rcx, qword [0x14000e548]
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
inc qword [0x14000ea10]
push qword [0x14000e538]
mov rdx, qword [0x14000ea20]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
add rsp, 0xffffffffffffffe0
call fcn.1400047f8
add rsp, 0x28
pop qword [0x14000ea10]
mov qword [rsp + 0x58], rax
mov r15, qword [rsp + 0x58]
cmp r15, 7
jne 0x140002d65
jmp 0x140002ead
mov r15, qword [rsp + 0x58]
cmp r15, 2
jne 0x140002d7d
call fcn.14000289d
xor rax, rax
jmp 0x14000305b
push qword [rsp + 0x50]
push 1
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call fcn.1400085e0
add rsp, 0x20
and rax, rax
je 0x140002e61
mov r15, qword [rsp + 0x48]
mov rbp, qword [0x14000e610]
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 [0x14000e4c0]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
push 1
pop rcx
pop rdx
pop r8
add rsp, 0xffffffffffffffe0
call fcn.140008890
add rsp, 0x20
push 1
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400083e0
add rsp, 0x20
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x60]
mov qword [rsp + 0x68], r15
push qword [0x14000e620]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400058d0
add rsp, 0x20
mov rcx, qword [rsp + 0x50]
push qword [0x14000ea10]
add rsp, 0xffffffffffffffd8
call fcn.14000a1d0
add rsp, 0x28
mov rbp, qword [0x14000e628]
lea rcx, [rbp + 0x10]
pop rdx
call fcn.14000a0b0
push qword [rsp + 0x50]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400091c0
add rsp, 0x20
mov rax, rax
push rax
pop rax
mov dword [rbp + 0x18], eax
jmp 0x140002ead
mov rcx, qword [rsp + 0x70]
push qword [0x14000ea10]
add rsp, 0xffffffffffffffd8
call fcn.14000a1d0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
add rsp, 0xffffffffffffffd8
call fcn.14000a1d0
add rsp, 0x28
movabs rcx, 0x14000d10b
add rsp, 0xffffffffffffffd8
call fcn.14000a1d0
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.14000a0b0
inc qword [rsp + 0x48]
jmp 0x140002b72
push qword [0x14000ea10]
add rsp, 0xfffffffffffffff8
push qword [0x14000ea10]
add rsp, 0xfffffffffffffff8
push qword [0x14000ea10]
push qword [0x14000ea10]
push qword [0x14000ea10]
movabs rax, 0x14000d10b
push rax
push qword [rsp + 0xb0]
pop rcx
pop rdx
pop r8
add rsp, 0xffffffffffffffe0
call fcn.140004700
add rsp, 0x20
inc qword [0x14000ea10]
mov rdx, qword [0x14000ea20]
add qword [rsp], rdx
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call fcn.140004710
add rsp, 0x28
inc qword [0x14000ea10]
mov rdx, qword [0x14000ea20]
add qword [rsp], rdx
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400041e0
add rsp, 0x28
pop qword [0x14000ea10]
mov r15, rax
and r15, r15
jle 0x14000304f
push qword [0x14000ea10]
add rsp, 0xfffffffffffffff8
push 0x24
mov rcx, qword [0x14000e520]
push qword [0x14000ea10]
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
movabs rcx, str._r_n_r_n
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
mov rcx, qword [rsp + 0x90]
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
movabs rcx, 0x14000d10b
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
mov rcx, qword [0x14000e510]
add rsp, 0xffffffffffffffe0
call fcn.14000a1d0
add rsp, 0x20
inc qword [0x14000ea10]
push qword [0x14000e518]
mov rdx, qword [0x14000ea20]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
add rsp, 0xffffffffffffffe0
call fcn.1400047f8
add rsp, 0x28
pop qword [0x14000ea10]
mov qword [rsp + 0x58], rax
mov r15, qword [rsp + 0x58]
cmp r15, 7
jne 0x14000304f
call fcn.14000289d
push qword [0x14000e588]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.140008254
add rsp, 0x20
push qword [0x14000e4f8]
pop rcx
add rsp, 0xffffffffffffffe0
call sub.KERNEL32.dll_RemoveDirectoryA
add rsp, 0x20
xor rax, rax
mov qword [0x14000e4a0], rax
jmp 0x140002182
mov rax, 1
jmp 0x14000305b
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x20
call fcn.14000a240
add rsp, 0x20
mov rcx, qword [rsp + 0x40]
sub rsp, 0x20
call fcn.14000a240
add rsp, 0x20
mov rcx, qword [rsp + 0x58]
sub rsp, 0x20
call fcn.14000a240
add rsp, 0x20
mov rcx, qword [rsp + 0x78]
sub rsp, 0x20
call fcn.14000a240
add rsp, 0x20
pop rax
add rsp, 0x78
pop r15
pop rbp
ret