Function at 0x14005c8d0
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, rcx
cmp qword [rcx + 0x10], 0
je 0x14005cbbd
cmp qword [rcx + 0x18], 8
jb 0x14005c919
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005cbbd
lea rax, vtable.AppV::Client::Personation.0
mov qword [rbp - 0x51], rax
lea rax, vtable.AppV::Client::Deimpersonator.0
mov qword [rbp - 0x51], rax
xor ebx, ebx
mov qword [rbp - 0x49], rbx
mov byte [rbp - 0x41], bl
lea rcx, [rbp - 0x51]
call fcn.14009b170
mov rcx, rax
call fcn.14003e6c0
cmp qword [rsi + 0x18], 8
jb 0x14005c963
mov rcx, qword [rsi]
jmp 0x14005c966
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14005cbad
lea edx, [rax + 0x5c]
lea rcx, str...integration_commands.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14005c98e
inc rax
jmp 0x14005c995
lea rax, str...integration_commands.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
mov rdi, rax
shl rdi, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
or rcx, rdi
movabs rax, 0xf2100000000
or rcx, rax
mov qword [rbp - 0x39], rcx
cmp qword [rsi + 0x18], 8
jb 0x14005c9d1
mov rsi, qword [rsi]
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rbx
mov word [rbp - 0x29], bx
mov r8d, 0x4e
lea rdx, str.PublishPackageLink::Remove_____Failed_to_remove_package_link__1_._Error:__2_
lea rcx, [rbp - 0x29]
call fcn.140007c60
nop
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rbx
mov word [rbp - 9], bx
movzx eax, word [0x140143ed0]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x140143ed0]
lea rcx, [rbp - 9]
call fcn.140007c60
nop
call fcn.1400391f0
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x17]
call fcn.140085960
mov rsi, rax
mov r8d, dword [rax + 8]
lea ecx, [r8 + 1]
mov dword [rax + 8], ecx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400854b0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14005ca98
mov qword [rbp - 0x79], rsi
lea rax, [rbp - 0x59]
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov rdx, rbx
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
test rcx, rcx
je 0x14005cab8
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005caa7
mov r8d, dword [rsi + 8]
lea eax, [r8 + 1]
mov dword [rsi + 8], eax
lea rdx, [rbp - 0x79]
mov rcx, rsi
call fcn.1400854b0
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14005cafb
mov qword [rbp - 0x69], rsi
lea rax, [rbp - 0x39]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov rdx, rbx
call fcn.140039570
nop
mov rcx, qword [rbp - 0x79]
mov qword [rbp - 0x79], rbx
test rcx, rcx
je 0x14005cb21
nop dword [rax + rax]
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005cb10
call fcn.1400391f0
mov rcx, rax
mov r9, rsi
lea r8, [rbp - 9]
mov edx, 1
call fcn.1400858b0
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp + 0x17], rax
cmp qword [rbp + 0x3f], 8
jb 0x14005cb57
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x37], rbx
mov word [rbp + 0x27], bx
cmp qword [rbp + 0xf], 8
jb 0x14005cb78
mov rcx, qword [rbp - 9]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rbx
mov word [rbp - 9], bx
cmp qword [rbp - 0x11], 8
jb 0x14005cb99
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rbx
mov word [rbp - 0x29], bx
xor bl, bl
jmp 0x14005cbaf
mov bl, 1
lea rcx, [rbp - 0x51]
call fcn.14009afa0
movzx eax, bl
jmp 0x14005cbbf
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400f5ff0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret