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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, rcx
cmp qword [rcx + 0x18], 0
je 0x140064090
lea r14, vtable.ATL::CAccessToken.0
mov qword [rsp + 0x28], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140015140
test al, al
jne 0x140063c43
lea edx, [rbx + 0x5c]
lea rcx, str...integration_commands.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140063b59
inc rax
jmp 0x140063b60
lea rax, str...integration_commands.cpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
mov rdi, rax
shl rdi, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or rsi, rdi
movabs rax, 0x1d2100000000
or rsi, rax
lea rax, [0x140162748]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCR120.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64__int____ptr64]
nop
lea rax, vtable.SwException.0
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rbx
mov dword [rbp + 0x30], ebx
mov qword [rbp + 0x38], rbx
cmp byte [0x14020b8b9], 0
je 0x140063c1a
mov rdx, qword [0x14020b8a8]
mov rax, rdx
xor rax, rsi
movabs rcx, 0x8000000000
test rcx, rax
jne 0x140063c1a
mov rax, rdx
xor rax, rsi
movabs rcx, 0x2000000000
test rcx, rax
jne 0x140063c1a
mov rcx, rdx
shr rcx, 0x20
mov rax, rsi
shr rax, 0x20
xor cl, al
test cl, 0x1f
jne 0x140063c1a
cmp esi, edx
je 0x140063c2b
cmp byte [0x14020b8b8], 0
je 0x140063c32
cmp esi, dword [0x14020b8c0]
jne 0x140063c32
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rdx, [0x1401faf48]
lea rcx, [rbp + 8]
call sub.MSVCR120.dll__CxxThrowException
int3
lea rax, [rdi + 8]
cmp qword [rax + 0x18], 8
jb 0x140063c51
mov rax, qword [rax]
lea rdx, [0x140162794]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
cmp word [rdx], 0
jne 0x140063c82
mov r8, rbx
jmp 0x140063c9b
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140063c90
lea rcx, [rbp - 0x80]
call fcn.140007d00
nop
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140015f50
mov rdi, rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
cmp qword [rax + 0x18], 8
jae 0x140063cfa
mov r8, qword [rax + 0x10]
inc r8
je 0x140063d19
add r8, r8
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_memmove]
jmp 0x140063d19
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov qword [rdi], rbx
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x78], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp qword [rbp - 0x48], 8
jb 0x140063d4b
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
cmp qword [rbp - 0x68], 8
jb 0x140063d6c
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140064021
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140064021
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
mov r8d, MsiGetFeatureCostA
lea rdx, str.Failed_to_remove_package_link__1_._Error:__2_
lea rcx, [rbp - 0x60]
call fcn.140007d00
nop
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
movzx eax, word [0x140160140]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x140160140]
lea rcx, [rbp - 0x40]
call fcn.140007d00
nop
call fcn.140034370
lea r8, [rbp - 0x60]
lea rdx, [rbp + 8]
call fcn.14008ef90
mov rsi, rax
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rbx
mov byte [rbp - 0x20], 0
mov r8d, 0x32
lea rdx, str.AppV::Integration::UnpublishPackageLink::Unpublish
lea rcx, [rbp - 0x20]
call fcn.1400083b0
nop
mov dword [rbp], 0xf7
mov edx, MsiPreviewDialogW
lea rcx, str...integration_commands.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140063ea0
inc rax
jmp 0x140063ea7
lea rax, str...integration_commands.cpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
mov rdi, rax
shl rdi, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
or rcx, rdi
movabs rax, 0x1e2100000000
or rcx, rax
mov qword [rsp + 0x48], rcx
mov r8d, dword [rsi + 8]
lea eax, [r8 + 1]
mov dword [rsi + 8], eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14008e7d0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140063f20
mov qword [rbp - 0x80], rsi
lea rax, [rsp + 0x50]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.14003bd40
nop
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
test rcx, rcx
je 0x140063f41
nop
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x140063f30
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14008e3a0
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14008e770
nop
mov r9, rax
lea r8, [rbp - 0x40]
mov edx, 1
lea rcx, [rbp - 0x20]
call fcn.14008f070
nop
cmp qword [rbp - 0x68], 8
jb 0x140063f82
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
cmp qword [rbp - 8], 0x10
jb 0x140063fa3
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rbx
mov byte [rbp - 0x20], 0
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp + 8], rax
cmp qword [rbp + 0x30], 8
jb 0x140063fcf
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rbx
mov word [rbp + 0x18], bx
cmp qword [rbp - 0x28], 8
jb 0x140063ff0
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
cmp qword [rbp - 0x48], 8
jb 0x140064011
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
cmp qword [rsp + 0x78], 8
jb 0x140064034
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov word [rsp + 0x60], bx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov rdx, qword [rsp + 0x38]
test rdx, rdx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r14
je 0x140064070
test rcx, rcx
je 0x14006406b
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
test rcx, rcx
je 0x140064080
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], rbx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140108d90
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret