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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rsp + 0x78], 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 + 0x18], rax
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x140062efc
cmp qword [rcx + 0x18], 8
jb 0x140062c1a
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140062efc
lea rax, vtable.AppV::Client::Personation.0
mov qword [rsp + 0x50], rax
lea rax, vtable.AppV::Client::Deimpersonator.0
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x60], bl
lea rcx, [rsp + 0x50]
call fcn.1400a4bb0
mov rcx, rax
call fcn.140040ef0
cmp qword [rdi + 0x18], 8
jb 0x140062c69
mov rcx, qword [rdi]
jmp 0x140062c6c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140062eeb
cmp qword [rdi + 0x18], 8
jb 0x140062c84
mov rdi, qword [rdi]
mov qword [rsp + 0x68], rdi
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 - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
movzx eax, word [0x140160140]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x140160140]
lea rcx, [rbp - 0x80]
call fcn.140007d00
nop
call fcn.140034370
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x18]
call fcn.14008ef90
mov rsi, rax
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], rbx
mov byte [rbp - 0x40], 0
mov r8d, MsiGetFeatureCostA
lea rdx, str.AppV::Integration::PublishPackageLink::Remove
lea rcx, [rbp - 0x40]
call fcn.1400083b0
nop
mov dword [rbp - 0x20], 0x77
mov edx, MsiPreviewDialogW
lea rcx, str...integration_commands.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140062d59
inc rax
jmp 0x140062d60
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, 0xe2100000000
or rcx, rax
mov qword [rsp + 0x70], 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 0x140062dde
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.14003bd40
nop
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
test rcx, rcx
je 0x140062e01
nop dword [rax]
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x140062df0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14008e3a0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14008e770
nop
mov r9, rax
lea r8, [rbp - 0x80]
mov edx, 1
lea rcx, [rbp - 0x40]
call fcn.14008f070
nop
cmp qword [rsp + 0x48], 8
jb 0x140062e45
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp qword [rbp - 0x28], 0x10
jb 0x140062e69
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], rbx
mov byte [rbp - 0x40], 0
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x18], rax
cmp qword [rbp + 0x10], 8
jb 0x140062e95
mov rcx, qword [rbp - 8]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
cmp qword [rbp - 0x68], 8
jb 0x140062eb6
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 - 0x48], 8
jb 0x140062ed7
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
xor bl, bl
jmp 0x140062eed
mov bl, 1
lea rcx, [rsp + 0x50]
call fcn.1400a49e0
movzx eax, bl
jmp 0x140062efe
xor al, al
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140108d90
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret