Function at 0x14002bfc0
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, rdx
mov r14, rcx
test rcx, rcx
je 0x14002c234
xor r13d, r13d
cmp r13w, word [rcx]
je 0x14002c234
test rdx, rdx
je 0x14002c234
cmp r13w, word [rdx]
je 0x14002c234
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rcx + r8*2], r13w
jne 0x14002c030
call fcn.14027b960
test eax, eax
jne 0x14002c234
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [r15 + rax*2], r13w
jne 0x14002c050
lea edi, [rax + 1]
mov eax, 2
mul rdi
mov rbx, rax
cmovo rbx, rsi
mov rcx, rbx
call fcn.140269b2c
mov r12, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14026c200
mov qword [rsp + 0x78], r12
mov r8, r15
mov edx, edi
mov rcx, r12
call fcn.140278ba4
nop word [rax + rax]
lea rsi, [rsi + 1]
cmp word [r14 + rsi*2], 0
jne 0x14002c0a0
lea rbx, [r12 + rsi*2]
movzx edi, word [rbx]
mov r15d, 0x5c
cmp r13w, di
je 0x14002c0c5
cmp r15w, di
jne 0x14002c0fd
mov word [rbx], r13w
mov r14d, 1
nop
mov esi, r14d
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14002c110
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, r14d
jbe 0x14002c1ff
mov r14d, r13d
mov rcx, r12
call fcn.140269844
mov eax, r14d
jmp 0x14002c236
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_cce6a058779e501753b1dfa30858d551___void___.0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x48], r13
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
mov rax, qword [vtable.std::_Func_impl_no_alloc_class__lambda_cce6a058779e501753b1dfa30858d551___void___.0]
call qword [case.0x1400ac8a1.0]
mov rcx, rax
mov qword [rbp - 0x48], rax
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x14002c18d
mov rax, qword [r8]
lea rcx, [rsp + 0x28]
cmp r8, rcx
setne dl
mov rcx, r8
mov rax, qword [rax + 0x20]
call qword [case.0x1400ac8a1.0]
mov rcx, qword [rbp - 0x48]
test dword [rbp - 0x40], 0x400
je 0x14002c1b6
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa0000003
je 0x14002c1a7
cmp eax, 0xa000000c
jne 0x14002c1b6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
sete dl
test rcx, rcx
je 0x14002c1f7
test dl, dl
jne 0x14002c260
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ac8a1.0]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002c1f7
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400ac8a1.0]
nop
test esi, esi
je 0x14002c0fd
cmp r13w, di
je 0x14002c100
mov word [rbx], di
mov edx, r15d
lea rcx, [rbx + 2]
call fcn.14026b94c
mov rbx, rax
test rax, rax
je 0x14002c22c
movzx edi, word [rax]
mov word [rax], r13w
jmp 0x14002c0d0
mov edi, r13d
jmp 0x14002c0d0
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x370]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140245dd0
nop
int3