Function at 0x14000337c
Capabilities:
Delete directory

Disassembly:
push r15
xor rax, rax
push rax
sub rsp, 0x28
mov rax, qword [rsp + 0x60]
mov qword [0x14001d6a0], rax
mov rcx, qword [0x14001cca8]
xor rdx, rdx
call fcn.140014680
or rax, rax
jne 0x1400033d0
mov rcx, qword [0x14001cca8]
push qword [0x14001d6a0]
sub rsp, 0x28
call fcn.1400146e0
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400145c0
jmp 0x14000362b
sub rsp, 8
push 0xc80001
push qword [0x14001cca0]
push 0x6e
push 0xc8
push 0
push 0
push 0
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14000dc2c
add rsp, 0x40
push qword [0x14001cb88]
push 0x14
push 0x9e
push 0xf
push 0x15
push 1
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14000c8a4
add rsp, 0x30
sub rsp, 8
push 0x20
movabs rax, 0x14001b01e
push rax
push 0x14
push 0x9e
push 0x28
push 0x15
push 2
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14000cb0c
add rsp, 0x40
movabs rax, 0x14001b044
push rax
push 0x14
push 0x4e
push 0x4b
push 0x3d
push 3
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14000cfc0
add rsp, 0x30
push 4
push 0xd
push 0
pop rcx
pop rdx
pop r8
call fcn.14000dc90
push 2
pop rcx
call fcn.14000cfe8
call fcn.14000defc
mov rax, rax
push rax
mov r15, 0x333c
cmp r15, qword [rsp]
jne 0x14000351d
sub rsp, 8
push qword [0x14001ccb8]
pop rcx
sub rsp, 0x20
call sub.KERNEL32.dll_RemoveDirectoryA
add rsp, 0x28
xor rax, rax
mov qword [0x14001cab0], rax
add rsp, 0xfffffffffffffff8
jmp 0x140002216
mov r15, 0x332d
cmp r15, qword [rsp]
jne 0x1400035a5
sub rsp, 8
sub rsp, 0x20
call fcn.140011cec
add rsp, 0x28
mov rax, rax
push rax
mov r15, 4
cmp r15, qword [rsp]
jne 0x14000359f
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
push 2
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000d034
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
sub rsp, 0x20
call fcn.1400145c0
add rsp, 0x20
push 0
pop rcx
sub rsp, 0x20
call fcn.14000d6e4
add rsp, 0x20
add rsp, 0x10
jmp 0x14000362b
pop rax
jmp 0x140003625
mov r15, 0x332c
cmp r15, qword [rsp]
jne 0x140003625
sub rsp, 8
sub rsp, 0x20
call fcn.140011d08
add rsp, 0x28
mov rax, rax
push rax
mov r15, 3
cmp r15, qword [rsp]
jne 0x140003624
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
push 2
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000d034
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
sub rsp, 0x20
call fcn.1400145c0
add rsp, 0x20
push 0
pop rcx
sub rsp, 0x20
call fcn.14000d6e4
add rsp, 0x20
add rsp, 0x10
jmp 0x14000362b
pop rax
pop rax
jmp 0x1400034d7
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
sub rsp, 8
push qword [rsp + 0x48]
pop rcx
sub rsp, 0x20
call fcn.140006310
add rsp, 0x28
mov rax, rax
push rax
mov rax, qword [rsp + 0x48]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400126a0
add rsp, 0x28
inc qword [0x14001d6a0]
push qword [0x14001d6a0]
push qword [0x14001d6a0]
push qword [0x14001cae8]
push qword [0x14001cac0]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400105a0
add rsp, 0x20
pop rcx
pop rdx
mov qword [0x14001d6a0], rdx
add rdx, qword [0x14001d6b0]
add rcx, qword [0x14001d6b0]
call fcn.140014680
or rax, rax
jne 0x1400036f9
push 0x10
push qword [0x14001cc68]
push qword [0x14001ccc0]
pop rcx
pop rdx
pop r8
call fcn.140009924
push qword [0x14001ccb8]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
mov rax, 1
mov qword [0x14001cab0], rax
jmp 0x140002216
mov rcx, qword [rsp + 0x28]
push qword [0x14001d6a0]
sub rsp, 0x28
call fcn.1400146e0
add rsp, 0x28
pop rax
add rax, qword [0x14001d6b0]
jmp 0x14000372c
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400147c0
add rsp, 0x28
pop rax
add rsp, 0x30
pop r15
ret