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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4257ea
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x430050]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov eax, dword [0x430050]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x40]
mov dword [esp + 0x1c], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40861f
xor al, al
jmp 0x408830
xor ebx, ebx
push 0x3fe
lea eax, [esp + 0x82]
push ebx
push eax
mov word [esp + 0x88], bx
call fcn.00411d70
add esp, 0xc
lea esi, [esp + 0x30]
call fcn.00403f66
lea esi, [esp + 0x38]
call fcn.00403f66
lea esi, [esp + 0x3c]
call fcn.00403f66
mov dword [esp + 0x490], ebx
lea ebx, [esp + 0x14]
call fcn.00408aca
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edi + 0x30]
mov byte [esp + 0x494], 1
mov eax, dword [eax]
push ecx
call fcn.00408b4c
xor ebx, ebx
mov byte [esp + 0x490], bl
cmp dword [esp + 0x14], ebx
je 0x40869e
mov edi, dword [esp + 0x14]
call entry0
mov edi, dword [esp + 0x18]
push dword [edi + 0x40]
lea eax, [esp + 0x80]
push 0x42abec
push 0x200
push eax
call fcn.0040eaa2
push 0x38
lea eax, [esp + 0x58]
push ebx
push eax
mov dword [esp + 0x5c], 0x3c
call fcn.00411d70
lea eax, [esp + 0x98]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
add esp, 0x1c
mov dword [esp + 0x44], 0x100
mov dword [esp + 0x5c], 1
mov dword [esp + 0x54], eax
call fcn.00408467
test al, al
mov dword [esp + 0x4c], str.open
jne 0x40870c
mov dword [esp + 0x4c], str.runas
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4087a0
cmp dword [0x43159c], 0xffffffff
je 0x40879c
mov eax, dword [0x4322e4]
mov ecx, 0x4322e4
mov dword [esp + 0x1c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push str.CInstallTask_DoTask_ShellExecuteExW_Success_n
lea eax, [esp + 0x18]
mov byte [esp + 0x494], 2
call fcn.00404d5a
mov esi, dword [esp + 0x18]
pop ecx
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.00403fc0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ebx
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push dword [0x43159c]
call dword [0x42707c]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004054c6
lea eax, [esi - 0x10]
mov byte [esp + 0x490], bl
call fcn.004054c6
mov bl, 1
jmp 0x40881d
cmp dword [0x43159c], 0xffffffff
je 0x40881d
mov eax, dword [0x4322e4]
mov ecx, 0x4322e4
mov dword [esp + 0x1c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push str.CInstallTask_DoTask_ShellExecuteExW_Failed_n
lea eax, [esp + 0x1c]
mov byte [esp + 0x494], 3
call fcn.00404d5a
mov esi, dword [esp + 0x1c]
pop ecx
push esi
lea eax, [esp + 0x18]
push eax
call fcn.00403fc0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ebx
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push dword [0x43159c]
call dword [0x42707c]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004054c6
lea eax, [esi - 0x10]
mov byte [esp + 0x490], bl
call fcn.004054c6
add edi, 8
call fcn.00408857
lea esi, [esp + 0x20]
call fcn.004022ad
mov al, bl
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0040e8f3
mov esp, ebp
pop ebp
ret