Function at 0x41f770
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495a8c
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x41f7d1
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], 0
call fcn.004217e0
push 0x49c550
call fcn.0046e358
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x248]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00422bd0
mov dword [ebp - 4], ebx
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x234], cx
mov ecx, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41f810
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x234]
call fcn.0040d690
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x23c]
call fcn.0040d960
push 0xe
push str.FsLibraryFsv
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.0040c5f0
mov ecx, dword [ebp - 0x23c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call edi
test eax, eax
jne 0x41f8a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41fe56
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00471ba0
add esp, 0xc
push 0
push 5
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, 1
test byte [0x4d0094], al
jne 0x41f902
or dword [0x4d0094], eax
mov byte [ebp - 4], 5
call fcn.00414de0
push 0x49c3e0
call fcn.0046e358
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [0x4d00cc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edx
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
push ecx
call edi
test eax, eax
jne 0x41f949
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x240], esp
push edx
call fcn.00401c30
lea eax, [ebp - 0x23c]
push eax
call fcn.0040e380
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.0040d960
lea edi, [ebp - 0x23c]
mov byte [ebp - 4], 6
call fcn.00404ed0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f989
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x11
push str.FsLibraryPoster
lea ebx, [ebp - 0x23c]
call fcn.0040c5f0
push 0
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.FunshionMediaLibrary
lea edx, [ebp - 0x218]
push edx
call esi
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x240], esp
push eax
call fcn.00401c30
mov ecx, ebx
push ecx
call fcn.0040e380
add esp, 8
lea edx, [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x2a8]
cmp ax, 9
je 0x41fa31
cmp ax, 6
je 0x41fa31
mov eax, dword [ebp - 0x234]
mov ebx, 8
cmp dword [ebp - 0x220], ebx
jae 0x41fa15
lea eax, [ebp - 0x234]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push str.FsShlExt.dll
push eax
lea eax, [ebp - 0x218]
push str._s___s_s_
push eax
call edi
jmp 0x41fa65
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x41fa46
lea eax, [ebp - 0x234]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push str.FsShlExt64.dll
push eax
lea ecx, [ebp - 0x218]
push str._s___s_s_
push ecx
call edi
mov ebx, 8
add esp, 0x10
push 0x38
lea edx, [ebp - 0x280]
push 0
push edx
call fcn.00471ba0
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add esp, 0xc
lea ecx, [ebp - 0x284]
lea eax, [ebp - 0x218]
push ecx
mov dword [ebp - 0x284], 0x3c
mov dword [ebp - 0x280], 0x500
mov dword [ebp - 0x274], str.regsvr32.exe
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x268], 0
call esi
mov ax, word [ebp - 0x2a8]
cmp ax, 9
je 0x41faf9
cmp ax, 6
je 0x41faf9
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x41fae5
lea eax, [ebp - 0x234]
push str.FsMediaBar.dll
push eax
push str._s___s_s_
lea edx, [ebp - 0x218]
push edx
jmp 0x41fb1f
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x41fb0d
lea eax, [ebp - 0x234]
push str.FsMediaBar64.dll
push eax
push str._s___s_s_
lea eax, [ebp - 0x218]
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x284]
push ecx
call esi
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
mov bl, 7
push str.FunshionFsv
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], bl
call fcn.00401c30
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000000
mov edx, 0x4a56b0
mov ecx, str..fsv
call fcn.004158c0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fbaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.FSV
lea ecx, [ebp - 0x238]
call fcn.00401c30
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000000
mov edx, 0x4a56b0
mov ecx, str.FunshionFsv
call fcn.004158c0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x41fc32
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0xa
call fcn.004217e0
push 0x49c550
call fcn.0046e358
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x240]
push ecx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00422bd0
lea edx, [ebp - 0x238]
push 0x4cfc58
push edx
mov ebx, eax
mov byte [ebp - 4], 0xb
call fcn.00407850
add esp, 8
lea edi, [ebp - 0x244]
mov byte [ebp - 4], 0xc
call fcn.00404ed0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 7
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fcb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000000
mov edx, 0x4a56b0
mov ecx, str.FunshionFsvDefaultIcon
call fcn.004158c0
add esp, 0x10
push str.open
lea ecx, [ebp - 0x238]
call fcn.00401c30
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000000
mov edx, 0x4a56b0
mov ecx, str.FunshionFsv_shell
call fcn.004158c0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x41fd67
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0xe
call fcn.004217e0
push 0x49c550
call fcn.0046e358
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x238]
push ecx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00422bd0
lea edx, [ebp - 0x240]
push 0x4cfc58
push edx
mov ebx, eax
mov byte [ebp - 4], 0xf
call fcn.00407850
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x244]
push str.__s_____1_
push ecx
call fcn.0040c9d0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fdd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x244]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0x80000000
mov edx, 0x4a56b0
mov ecx, str.FunshionFsv_shellopencommand
call fcn.004158c0
add esi, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe3c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x220], 8
jb 0x41fe7a
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0046e08a
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret