Function at 0x42c9d0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x44eca0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.InvokeToastMessage...
lea ecx, [ebp - 0x278]
call fcn.00402690
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x278]
push eax
push 2
call fcn.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00407ae0
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00414820
add esp, 0xc
cmp dword [0x452cc0], 0
je 0x42cc96
mov eax, dword [0x452cc0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42cc96
mov ecx, dword [0x452cc0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42caf1
mov edx, dword [0x452cc0]
push edx
lea ecx, [ebp - 0x27c]
call fcn.00402690
mov dword [ebp - 4], 1
push str.file_missing:
lea ecx, [ebp - 0x280]
call fcn.00402690
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x280]
push ecx
push 1
call fcn.00437ae0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00407ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.00407ae0
push str.Openwith__
push 0x104
lea edx, [ebp - 0x21c]
push edx
call fcn.004152de
add esp, 0xc
test eax, eax
jne 0x42cc58
mov eax, dword [0x452cc0]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0041590d
add esp, 0xc
test eax, eax
jne 0x42cc58
push 0x441b14
push 0x104
lea edx, [ebp - 0x21c]
push edx
call fcn.0041590d
add esp, 0xc
test eax, eax
jne 0x42cc58
mov byte [0x452cc4], 1
mov dword [ebp - 0x274], 0
push 0x40
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.00414820
add esp, 0xc
mov dword [ebp - 0x22c], 0
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x274], 0x44
push 0x10
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.00414820
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x274]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42cc2a
push 0x441b18
lea ecx, [ebp - 0x284]
call fcn.00402690
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x284]
push eax
push 2
call fcn.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00407ae0
cmp dword [ebp - 0x22c], 0
je 0x42cc40
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], 0
je 0x42cc56
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42cc94
push str.failed_to_create_cmd
lea ecx, [ebp - 0x288]
call fcn.00402690
mov dword [ebp - 4], 4
push 0
lea eax, [ebp - 0x288]
push eax
push 2
call fcn.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.00407ae0
jmp 0x42ccd2
push str.empty_gDummyFilePath
lea ecx, [ebp - 0x28c]
call fcn.00402690
mov dword [ebp - 4], 5
push 0
lea ecx, [ebp - 0x28c]
push ecx
push 2
call fcn.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.00407ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041480e
mov esp, ebp
pop ebp
ret