Function at 0x41fe20
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 0x48acce
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4ba1f0]
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 0x41fe83
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], 0
call fcn.004211a0
push 0x4924b0
call fcn.00465ab8
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.00422560
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 0x41fec0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41fec0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x234]
call fcn.00401bf0
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 0x41ff01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x23c]
call fcn.0040edd0
push 0xe
push str.FsLibraryFsv
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.0040dfe0
mov ecx, dword [ebp - 0x23c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
test eax, eax
jne 0x41ff54
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 0x42066f
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.004690e0
add esp, 0xc
push 0
push 5
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test byte [0x4c4c0c], 1
jne 0x41ffaf
or dword [0x4c4c0c], 1
mov byte [ebp - 4], 5
call fcn.004135c0
push 0x492310
call fcn.00465ab8
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [0x4c4c44]
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 0x41fff6
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x240], esp
push edx
call fcn.00402390
lea eax, [ebp - 0x23c]
push eax
call fcn.0040f800
add esp, 8
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x420020
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 6
call fcn.004211a0
push 0x4924b0
call fcn.00465ab8
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.00422560
lea edx, [ebp - 0x238]
push 0x4c4760
push edx
mov ebx, eax
mov byte [ebp - 4], 7
call fcn.00408550
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
call fcn.00420800
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 0x420083
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 0x4200aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x49edd4
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 0x4200d7
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x238]
call fcn.0040edd0
lea edi, [ebp - 0x23c]
mov byte [ebp - 4], 9
call fcn.00405560
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 0x420116
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.0040dfe0
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.00402390
mov ecx, ebx
push ecx
call fcn.0040f800
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 0x4201be
cmp ax, 6
je 0x4201be
mov eax, dword [ebp - 0x234]
mov ebx, 8
cmp dword [ebp - 0x220], ebx
jae 0x4201a2
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 0x4201f2
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x4201d3
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.004690e0
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], 0x49ee84
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x268], 0
call edi
mov ax, word [ebp - 0x2a8]
cmp ax, 9
je 0x420286
cmp ax, 6
je 0x420286
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x420272
lea eax, [ebp - 0x234]
push str.FsMediaBar.dll
push eax
push str._s___s_s_
lea edx, [ebp - 0x218]
push edx
jmp 0x4202ac
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x42029a
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.00402390
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, 0x49bc04
mov ecx, str..fsv
call fcn.004140e0
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 0x420337
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.00402390
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, 0x49bc04
mov ecx, str.FunshionFsv
call fcn.004140e0
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 0x420396
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 0x4203bf
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0xd
call fcn.004211a0
push 0x4924b0
call fcn.00465ab8
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.00422560
lea edx, [ebp - 0x238]
push 0x4c4760
push edx
mov ebx, eax
mov byte [ebp - 4], 0xe
call fcn.00408550
add esp, 8
lea edi, [ebp - 0x244]
mov byte [ebp - 4], 0xf
call fcn.00405560
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 0x42041f
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 0x420446
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, 0x49bc04
mov ecx, str.FunshionFsvDefaultIcon
call fcn.004140e0
add esp, 0x10
push str.open
lea ecx, [ebp - 0x238]
call fcn.00402390
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, 0x49bc04
mov ecx, str.FunshionFsv_shell
call fcn.004140e0
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 0x4204cb
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 0x4204f4
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0x11
call fcn.004211a0
push 0x4924b0
call fcn.00465ab8
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.00422560
lea edx, [ebp - 0x240]
push 0x4c4760
push edx
mov ebx, eax
mov byte [ebp - 4], 0x12
call fcn.00408550
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x244]
push str.__s_____1_
push ecx
call fcn.0040e410
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 0x42055d
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 0x420584
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, 0x49bc04
mov ecx, str.FunshionFsv_shellopencommand
call fcn.004140e0
add esp, 0x10
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x4205d3
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 0x14
call fcn.004211a0
push 0x4924b0
call fcn.00465ab8
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.00422560
mov eax, dword [eax]
push 0x4999c8
push eax
lea edx, [ebp - 0x218]
push str._s_s
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 0x42061f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x218]
call fcn.0040c930
lea ecx, [ebp - 0x218]
call fcn.0040c9b0
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 0x420655
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 0x42067b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x220], 8
jb 0x420693
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.004657ea
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.004657f5
mov esp, ebp
pop ebp
ret