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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49608e
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
mov edi, ecx
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x41f843
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], 0
call fcn.00421c30
push 0x49cbd0
call fcn.0046eb48
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.00422f20
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]
jmp 0x41f880
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41f880
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x234]
call fcn.0040e520
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 0x41f8c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x23c]
call fcn.0040e7f0
push 0xe
push str.FsLibraryFsv
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.0040d400
mov ecx, dword [ebp - 0x23c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
test eax, eax
jne 0x41f914
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 0x42002f
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00472390
add esp, 0xc
push 0
push 5
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test byte [0x4d0034], 1
jne 0x41f96f
or dword [0x4d0034], 1
mov byte [ebp - 4], 5
call fcn.004155e0
push 0x49ca30
call fcn.0046eb48
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [0x4d006c]
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 ebx
test eax, eax
jne 0x41f9b6
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x240], esp
push edx
call fcn.00401c40
lea eax, [ebp - 0x23c]
push eax
call fcn.0040f220
add esp, 8
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x41f9e0
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 6
call fcn.00421c30
push 0x49cbd0
call fcn.0046eb48
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
push ecx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00422f20
lea edx, [ebp - 0x238]
push 0x4cfbfc
push edx
mov ebx, eax
mov byte [ebp - 4], 7
call fcn.00407870
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
call fcn.00420200
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 0x41fa43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4a8894
lea ecx, [ebp - 0x218]
push ecx
call esi
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fa97
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x238]
call fcn.0040e7f0
lea edi, [ebp - 0x23c]
mov byte [ebp - 4], 9
call fcn.00404ef0
mov byte [ebp - 4], bl
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 0x41fad6
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.0040d400
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.00401c40
mov ecx, ebx
push ecx
call fcn.0040f220
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 0x41fb7e
cmp ax, 6
je 0x41fb7e
mov eax, dword [ebp - 0x234]
mov ebx, 8
cmp dword [ebp - 0x220], ebx
jae 0x41fb62
lea eax, [ebp - 0x234]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.FsShlExt.dll
push eax
lea eax, [ebp - 0x218]
push str._s___s_s_
push eax
call esi
jmp 0x41fbb2
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x41fb93
lea eax, [ebp - 0x234]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.FsShlExt64.dll
push eax
lea ecx, [ebp - 0x218]
push str._s___s_s_
push ecx
call esi
mov ebx, 8
add esp, 0x10
push 0x38
lea edx, [ebp - 0x280]
push 0
push edx
call fcn.00472390
mov edi, 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], 0x4a8944
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x268], 0
call edi
mov ax, word [ebp - 0x2a8]
cmp ax, 9
je 0x41fc46
cmp ax, 6
je 0x41fc46
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x41fc32
lea eax, [ebp - 0x234]
push str.FsMediaBar.dll
push eax
push str._s___s_s_
lea edx, [ebp - 0x218]
push edx
jmp 0x41fc6c
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x41fc5a
lea eax, [ebp - 0x234]
push str.FsMediaBar64.dll
push eax
push str._s___s_s_
lea eax, [ebp - 0x218]
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x284]
push ecx
call edi
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, 0xa
push str.FunshionFsv
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], bl
call fcn.00401c40
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000000
mov edx, 0x4a59e4
mov ecx, str..fsv
call fcn.004160c0
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 0x41fcf7
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.00401c40
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000000
mov edx, 0x4a59e4
mov ecx, str.FunshionFsv
call fcn.004160c0
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 0x41fd56
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 0x41fd7f
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0xd
call fcn.00421c30
push 0x49cbd0
call fcn.0046eb48
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.00422f20
lea edx, [ebp - 0x238]
push 0x4cfbfc
push edx
mov ebx, eax
mov byte [ebp - 4], 0xe
call fcn.00407870
add esp, 8
lea edi, [ebp - 0x244]
mov byte [ebp - 4], 0xf
call fcn.00404ef0
mov byte [ebp - 4], 0xe
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 0x41fddf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0xa
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 0x41fe06
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, 0x4a59e4
mov ecx, str.FunshionFsvDefaultIcon
call fcn.004160c0
add esp, 0x10
push str.open
lea ecx, [ebp - 0x238]
call fcn.00401c40
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000000
mov edx, 0x4a59e4
mov ecx, str.FunshionFsv_shell
call fcn.004160c0
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 0x41fe8b
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 0x41feb4
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0x11
call fcn.00421c30
push 0x49cbd0
call fcn.0046eb48
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.00422f20
lea edx, [ebp - 0x240]
push 0x4cfbfc
push edx
mov ebx, eax
mov byte [ebp - 4], 0x12
call fcn.00407870
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x244]
push str.__s_____1_
push ecx
call fcn.0040d860
mov byte [ebp - 4], 0x12
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 0x41ff1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0xa
mov byte [ebp - 4], bl
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 0x41ff44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x244]
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push 0x80000000
mov edx, 0x4a59e4
mov ecx, str.FunshionFsv_shellopencommand
call fcn.004160c0
add esp, 0x10
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x41ff93
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0x14
call fcn.00421c30
push 0x49cbd0
call fcn.0046eb48
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.00422f20
mov eax, dword [eax]
push 0x4a3960
push eax
lea edx, [ebp - 0x218]
push 0x4a7d08
push edx
call esi
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ffdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x218]
call fcn.0040be00
lea ecx, [ebp - 0x218]
call fcn.0040be80
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420015
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x42003b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x220], 8
jb 0x420053
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0046e87a
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.0046e885
mov esp, ebp
pop ebp
ret