Function at 0x1400043c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x68], rdx
test rcx, rcx
je 0x14000460d
cmp qword [rdx + 0x18], 8
jb 0x140004411
mov rcx, qword [rdx]
jmp 0x140004414
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000460d
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
cmp byte [rsp + 0x70], 0
sete al
test al, al
je 0x140004445
lea rdx, str.LaunchPinVantageToolbarToast_2_error:_dont_show_toast_under_DC_mode_because_of_saving_battery_life
jmp 0x140004614
call fcn.140004340
test al, al
je 0x140004604
mov qword [rbp - 0x58], 7
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400059b0
nop
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400059b0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140005380
lea r8d, [r14 + 0x1a]
lea rdx, str.PinVantageToolbarToast.exe
lea rcx, [rbp - 0x70]
call fcn.140005c30
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rsi, qword [rbp - 0x70]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess_s]
test eax, eax
jne 0x1400045e2
mov rcx, rsi
call fcn.1400031f0
test al, al
je 0x1400045e2
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x14000452a
lea rdx, str.LaunchPinVantageToolbarToast_3__failed:_CreateEnvironmentBlock
lea rcx, [0x140010748]
call fcn.1400018a0
nop
lea rcx, [rbp - 0x70]
call fcn.140005600
jmp 0x140004621
mov qword [rsp + 0x70], r14
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x68
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000420
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test ebx, ebx
je 0x1400045f9
mov edx, 0x7530
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.LaunchPinVantageToolbarToast_5_runcmd__OK_________
lea rcx, [0x140010748]
call fcn.1400018a0
jmp 0x1400045f9
mov r8, rsi
lea rdx, str.LaunchPinVantageToolbarToast_6_file_not_exist_lpszToastFile_s
lea rcx, [0x140010748]
call fcn.1400018a0
nop
lea rcx, [rbp - 0x70]
call fcn.140005600
jmp 0x140004621
lea rdx, str.LaunchPinVantageToolbarToast______failed_to_launch_toast
jmp 0x140004614
lea rdx, str.LaunchPinVantageToolbarToast_1_error:_hImpersonationTokenNULL_or_strWorkPath_not_exist
lea rcx, [0x140010748]
call fcn.1400018a0
nop
mov rcx, rdi
call fcn.140005600
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140007350
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret