Function at 0x40aba0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder
Persist via run registry key
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab95
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4ce4e0]
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 eax, dword [0x4cff68]
cmp eax, 0xffffffff
jne 0x40af50
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x40ac11
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov dword [ebp - 4], 0
call fcn.0040e8d0
push 0x4a1340
call fcn.00473c75
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4cff68]
add esp, 4
xor ecx, ecx
cmp ecx, 0x4d96d4
je 0x40af50
push str.IDC_CHECK_NORMAL_START_WITH_WINDOWS
lea ecx, [ebp - 0x224]
call fcn.00401ba0
push str.OPTION_SETTING_NORMAL
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.00401ba0
mov edx, dword [0x4d96d4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
xor edi, edi
call esi
test eax, eax
je 0x40ac78
mov eax, dword [0x4d96d4]
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x220]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov eax, dword [ebp - 0x220]
cmp edi, 1
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aca0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40ae50
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x228]
push ecx
mov ebx, 0x4a824c
mov edi, str.SoftwareMicroSoftwindowsCurrentVersionRun
mov ecx, 0x80000001
mov dword [ebp - 4], 2
call fcn.00412220
mov esi, dword [ebp - 0x228]
xor edi, edi
add esp, 4
cmp dword [esi - 0xc], edi
jne 0x40ae1e
push 0x208
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
mov word [ebp - 0x21c], dx
call fcn.00478ba0
add esp, 0xc
push edi
push 7
lea ecx, [ebp - 0x21c]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x220]
call fcn.00401ba0
lea eax, [ebp - 0x21c]
mov bl, 3
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call fcn.00401ba0
mov edx, 0x4a9fac
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.0040b370
mov edx, str.Funshion.lnk
lea eax, [ebp - 0x224]
call fcn.0040b370
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40adb2
test al, 0x10
je 0x40adcb
mov eax, dword [ebp - 0x224]
call fcn.0040d400
mov dword [0x4cff68], 1
test eax, eax
je 0x40add1
mov dword [0x4cff68], edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40adf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40ae24
mov dword [0x4cff68], edi
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40af05
push 0x4a9fd8
lea ecx, [ebp - 0x22c]
call fcn.00401ba0
push str.Fun_Install
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 5
call fcn.00401ba0
mov ecx, dword [0x4d96d4]
push ecx
xor edi, edi
call esi
test eax, eax
je 0x40aea4
mov edx, dword [0x4d96d4]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x228]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov eax, dword [ebp - 0x228]
cmp edi, 1
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aecc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aef5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
test bl, bl
setne cl
add ecx, 2
mov dword [0x4cff68], ecx
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallAppMgr___serialization_boost__CAAAVCFpInstallAppMgr__XZ_51], 1
jne 0x40af2e
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallAppMgr___serialization_boost__CAAAVCFpInstallAppMgr__XZ_51], 1
xor eax, eax
push 0x4a12a0
mov dword [sym.Install.exe__t__1__get_instance___singleton_VCFpInstallAppMgr___serialization_boost__CAAAVCFpInstallAppMgr__XZ_4V__singleton_w], eax
mov dword [0x4d96c4], eax
call fcn.00473c75
add esp, 4
mov edx, dword [0x4d96c4]
mov eax, dword [edx + 0x14]
cmp eax, 1
je 0x40af41
cmp eax, 4
jne 0x40af4b
mov dword [0x4cff68], 4
mov eax, dword [0x4cff68]
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.004739b2
mov esp, ebp
pop ebp
ret