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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4223ff
lea ecx, [ebp - 0x24]
push ecx
call fcn.00421560
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4223f7
lea ecx, [ebp - 0x24]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4223f7
lea ecx, [ebp - 0x3c]
call fcn.0042e050
mov dword [ebp - 0x40], 1
push 1
push ecx
mov ecx, esp
push 0x54d748
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x3c]
call fcn.0042e1a0
push 1
push ecx
mov ecx, esp
push str.OpenUrlWithSaayaa
call fcn.0041c8a0
lea ecx, [ebp - 0x3c]
call fcn.0042ef30
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4223ef
mov dword [ebp - 0x44], 0
push ecx
mov esi, esp
lea eax, [ebp + 8]
push eax
push 0x54d7a0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xbc]
push edx
call fcn.0041ca60
add esp, 0xc
push eax
push esi
call fcn.0041ca00
add esp, 0xc
call fcn.00422100
add esp, 4
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0xbc]
call fcn.0040f740
cmp dword [ebp - 0x44], 0
je 0x4223ef
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x3c]
call fcn.0042e110
lea ecx, [ebp - 0x24]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0xc0]
jmp 0x422702
lea ecx, [ebp - 0x3c]
call fcn.0042e110
lea ecx, [ebp - 0x24]
call fcn.0040f740
call fcn.0042e9f0
cmp eax, 0x13
jge 0x42247f
mov dword [ebp - 0x80], 0
push 0x38
push 0
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00512af0
add esp, 0xc
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 0x400
lea ecx, [ebp + 8]
call fcn.0041cb20
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0x54d7a4
mov dword [ebp - 0x64], 5
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x42247f
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0xc4]
jmp 0x422702
lea ecx, [ebp - 0x20]
push ecx
call fcn.00420ef0
add esp, 4
push 0
push 0x54d7b0
lea ecx, [ebp - 0x20]
call fcn.0047e090
test eax, eax
jl 0x4224fe
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
push 0x54d7b8
lea ecx, [ebp - 0x20]
call fcn.0047dd80
push ecx
mov ecx, esp
lea edx, [ebp - 0x20]
push edx
call fcn.0041c880
call fcn.00422100
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x4224fe
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0xcc]
jmp 0x422702
lea ecx, [ebp - 0x1c]
call fcn.0042e670
push ecx
mov ecx, esp
push 0x54d7c0
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x1c]
call fcn.0042efe0
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042e910
call fcn.0042e9f0
cmp eax, 0x1b
jl 0x422640
lea ecx, [ebp - 0xa0]
call fcn.0042e050
push 0
push ecx
mov ecx, esp
push str.SoftwareClassesActivatableClassesPackageDefaultBrowser_NOPUBLISHERIDServerDefaultBrowserServer
call fcn.0041c8a0
lea ecx, [ebp - 0xa0]
call fcn.0042e260
test eax, eax
je 0x422635
push ecx
mov ecx, esp
lea edx, [ebp - 4]
push edx
call fcn.0041c880
push ecx
mov ecx, esp
push str.ExePath
call fcn.0041c8a0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0042e400
push ecx
mov esi, esp
lea ecx, [ebp + 8]
push ecx
push 0x54d8dc
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.0041ca60
add esp, 0xc
push eax
push esi
call fcn.0041ca00
add esp, 0xc
call fcn.00422100
add esp, 4
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0xe8]
call fcn.0040f740
cmp dword [ebp - 0xa4], 0
je 0x42262a
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xec], ecx
lea ecx, [ebp - 0xa8]
call fcn.0040f740
lea ecx, [ebp - 0xa0]
call fcn.0042e110
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.0042e690
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0xec]
jmp 0x422702
lea ecx, [ebp - 0xa8]
call fcn.0040f740
lea ecx, [ebp - 0xa0]
call fcn.0042e110
lea ecx, [ebp - 4]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4226d2
push ecx
mov esi, esp
lea edx, [ebp + 8]
push edx
push 0x54d8e0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xf4]
push ecx
call fcn.0041ca60
add esp, 0xc
push eax
push esi
call fcn.0041ca00
add esp, 0xc
call fcn.00422100
add esp, 4
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xf4]
call fcn.0040f740
cmp dword [ebp - 0xac], 0
je 0x4226d2
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xf8], edx
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.0042e690
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0xf8]
jmp 0x422702
mov dword [ebp - 0xfc], 0
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.0042e690
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0xfc]
pop esi
mov esp, ebp
pop ebp
ret