Function at 0x14007bf14
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140055fcc
lea rcx, [rsp + 0x98]
xor esi, esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rsi
call fcn.14004ea3c
lea edx, [rsi + 5]
lea rcx, [rsp + 0x20]
call fcn.140056040
lea edx, [rsi + 0x14]
lea rcx, [rsp + 0xa8]
call fcn.140056040
lea r8d, [rsi + 2]
lea rdx, [rsp + 0x98]
lea rcx, [0x1400f3e00]
mov r13d, esi
mov dword [rsp + 0x90], esi
call fcn.140058710
lea ebx, [rsi + 0x2c]
lea ebp, [rsi + 1]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov r9b, bpl
movzx r14d, al
call fcn.14006cfc8
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
call fcn.140059810
mov rax, qword [rsp + 0x98]
cmp bx, word [rax]
jne 0x14007c053
add rax, 2
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov r9b, bpl
mov qword [rsp + 0x98], rax
call fcn.14006cfc8
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rcx, rax
call fcn.140059810
mov rax, qword [rsp + 0x98]
cmp bx, word [rax]
jne 0x14007c053
add rax, 2
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov r9b, bpl
mov qword [rsp + 0x98], rax
call fcn.14006cfc8
lea rdx, [rsp + 0x90]
movzx r8d, bx
mov rcx, rax
call fcn.140059ba8
mov r13d, dword [rsp + 0x90]
mov rbx, qword [rsp + 0x20]
cmp word [rbx], si
jne 0x14007c08a
lea rcx, [rsp + 0xa8]
call fcn.14004ea6c
lea rcx, [rsp + 0x20]
call fcn.14004ea6c
lea rcx, [rsp + 0x30]
call fcn.14004ea6c
mov rax, 0xffffffff80070057
jmp 0x14007c213
mov rcx, qword [rsp + 0xa8]
cmp r13d, esi
jne 0x14007c0a1
cmp r14d, esi
jne 0x14007c0a1
cmp word [rcx], si
je 0x14007c05d
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0xa8]
mov edi, eax
add eax, 0x214
movsxd rdx, eax
call fcn.1400560cc
mov rcx, qword [rsp + 0xa8]
lea eax, [rdi + 4]
cdqe
mov qword [rsp + 0x28], rsi
lea r12, [rcx + rax*2]
call fcn.1400188a8
mov rcx, rbx
mov rdi, rax
call fcn.1400188a8
mov rbx, rax
cmp r14d, esi
jne 0x14007c102
cmp r13d, esi
jne 0x14007c102
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
jmp 0x14007c157
cmp r13d, 2
je 0x14007c190
cmp r14d, esi
jne 0x14007c190
mov rcx, rdi
call fcn.1400cbe14
mov r12d, esi
lea r8, [0x1401074a8]
cmp eax, esi
lea rdx, str.KERNEL32.DLL
lea rcx, str.CreateSymbolicLinkW
setne r12b
xor r9d, r9d
call fcn.14004fe68
mov r11, qword [0x1401074a8]
cmp r11, rsi
je 0x14007c167
mov r8d, r12d
mov rdx, rdi
mov rcx, rbx
call r11
cmp eax, esi
je 0x14007c15f
mov ebp, esi
jmp 0x14007c167
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rcx, [rsp + 0xa8]
call fcn.14004ea6c
lea rcx, [rsp + 0x20]
call fcn.14004ea6c
lea rcx, [rsp + 0x30]
call fcn.14004ea6c
movsxd rax, ebp
jmp 0x14007c213
cmp word [rdi], si
jne 0x14007c1a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14007c1e3
lea r8, [r12 + 8]
lea r9, [rsp + 0x28]
mov edx, 0x208
mov rcx, rdi
call fcn.140056dfc
mov r11d, 0x5c
mov rdx, r12
lea eax, [r11 - 0x1d]
mov rcx, rbx
mov word [r12], r11w
mov word [r12 + 2], ax
mov word [r12 + 4], ax
mov word [r12 + 6], r11w
call fcn.140053688
cmp eax, esi
jne 0x14007c1ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rsp + 0xa8]
call fcn.14004ea6c
lea rcx, [rsp + 0x20]
call fcn.14004ea6c
lea rcx, [rsp + 0x30]
call fcn.14004ea6c
movsxd rax, esi
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret