Function at 0x140063230
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 0x1400637f0
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.140015110
test al, al
jne 0x1400633a3
lea edx, [rbx + 0x5c]
lea rcx, str...integration_commands.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400632b9
inc rax
jmp 0x1400632c0
lea rax, str...integration_commands.cpp
mov rdx, rax
lea rcx, [0x140209428]
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, [0x140160748]
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 [0x1402088b9], 0
je 0x14006337a
mov rdx, qword [0x1402088a8]
mov rax, rdx
xor rax, rsi
movabs rcx, 0x8000000000
test rcx, rax
jne 0x14006337a
mov rax, rdx
xor rax, rsi
movabs rcx, 0x2000000000
test rcx, rax
jne 0x14006337a
mov rcx, rdx
shr rcx, 0x20
mov rax, rsi
shr rax, 0x20
xor cl, al
test cl, 0x1f
jne 0x14006337a
cmp esi, edx
je 0x14006338b
cmp byte [0x1402088b8], 0
je 0x140063392
cmp esi, dword [0x1402088c0]
jne 0x140063392
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rdx, [0x1401f8420]
lea rcx, [rbp + 8]
call sub.MSVCR120.dll__CxxThrowException
int3
lea rax, [rdi + 8]
cmp qword [rax + 0x18], 8
jb 0x1400633b1
mov rax, qword [rax]
lea rdx, [0x140160794]
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 0x1400633e2
mov r8, rbx
jmp 0x1400633fb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400633f0
lea rcx, [rbp - 0x80]
call fcn.140007d00
nop
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140015f20
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 0x14006345a
mov r8, qword [rax + 0x10]
inc r8
je 0x140063479
add r8, r8
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_memmove]
jmp 0x140063479
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 0x1400634ab
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 0x1400634cc
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 0x140063781
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 0x140063781
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 [0x14015e140]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x14015e140]
lea rcx, [rbp - 0x40]
call fcn.140007d00
nop
call fcn.140033ad0
lea r8, [rbp - 0x60]
lea rdx, [rbp + 8]
call fcn.14008e6f0
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 0x140063600
inc rax
jmp 0x140063607
lea rax, str...integration_commands.cpp
mov rdx, rax
lea rcx, [0x140209428]
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.14008df30
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140063680
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.14003b4a0
nop
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
test rcx, rcx
je 0x1400636a1
nop
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x140063690
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14008db00
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14008ded0
nop
mov r9, rax
lea r8, [rbp - 0x40]
mov edx, 1
lea rcx, [rbp - 0x20]
call fcn.14008e7d0
nop
cmp qword [rbp - 0x68], 8
jb 0x1400636e2
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 0x140063703
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 0x14006372f
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 0x140063750
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 0x140063771
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 0x140063794
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 0x1400637d0
test rcx, rcx
je 0x1400637cb
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
test rcx, rcx
je 0x1400637e0
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.140107280
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret