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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407590
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x40d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
test edi, edi
je 0x403e0b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403e0b
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
cmp byte [ebp - 0x80], 0
sete al
test al, al
je 0x403c84
push str.LaunchPinVantageToolbarToast_2_error:_dont_show_toast_under_DC_mode_because_of_saving_battery_life
jmp 0x403e10
call fcn.00403bb0
test al, al
je 0x403e04
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp + 8]
mov dword [ebp - 0x18], 0
push eax
call fcn.00404cf0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.00404cf0
lea ecx, [ebp - 0x28]
call fcn.004047d0
add esp, 0x18
lea ecx, [ebp - 0x28]
push str.PinVantageToolbarToast.exe
call fcn.00404940
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0
cmovae esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess_s]
add esp, 8
test eax, eax
jne 0x403de7
mov ecx, esi
call fcn.00402ae0
test al, al
je 0x403de7
push 0
push edi
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x403d52
push str.LaunchPinVantageToolbarToast_3__failed:_CreateEnvironmentBlock
push 0x40d028
call fcn.004016f0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004049e0
jmp 0x403e1d
push 0x40
lea eax, [ebp - 0x6c]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x84], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x70], 0x44
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push dword [ebp - 0x74]
push 0x8000420
push 0
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x74]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
je 0x403dfa
push 0x7530
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x80]
call esi
push str.LaunchPinVantageToolbarToast_5_runcmd__OK_________
push 0x40d028
call fcn.004016f0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004049e0
jmp 0x403e1d
push esi
push str.LaunchPinVantageToolbarToast_6_file_not_exist_lpszToastFile_s
push 0x40d028
call fcn.004016f0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004049e0
jmp 0x403e1d
push str.LaunchPinVantageToolbarToast______failed_to_launch_toast
jmp 0x403e10
push str.LaunchPinVantageToolbarToast_1_error:_hImpersonationTokenNULL_or_strWorkPath_not_exist
push 0x40d028
call fcn.004016f0
add esp, 8
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x403e2f
inc eax
push eax
push dword [ebp + 8]
call fcn.00404e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406283
mov esp, ebp
pop ebp
ret