Function at 0x416f20
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ba84
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x416f77
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [ebp - 4], 0
call fcn.004122e0
push 0x4a19c0
call fcn.00473c75
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
mov ecx, sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.004132b0
mov edi, 1
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00401ba0
mov byte [ebp - 4], 2
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x416fc6
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], edi
mov byte [ebp - 4], 3
call fcn.0040e8d0
push 0x4a1340
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], 0
je 0x41708f
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
push str.__s__startbywindows_tray
push ecx
call fcn.0040c2b0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi - 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x10]
add eax, eax
push eax
push esi
push edi
push 0x80000001
call fcn.00411900
mov edx, dword [0x4d92f0]
mov ecx, dword [ebp - 0x10]
push 0x80000002
call fcn.00411fc0
xor eax, eax
add esp, 0x20
cmp eax, 0x4d96d4
je 0x41706d
mov ecx, dword [0x4d96d4]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push 0x4aa1c4
push str.IDC_ADVANCED_CHECK1
push str.FunShion_Player
call edi
mov edx, dword [0x4d96d4]
push edx
push 0x4aa1c4
push str.IDC_CHECK_NORMAL_START_WITH_WINDOWS
push str.OPTION_SETTING_NORMAL
call edi
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4170e3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
push 0x80000001
call fcn.00411fc0
xor edx, edx
add esp, 4
cmp edx, 0x4d96d4
je 0x4170e3
mov eax, dword [0x4d96d4]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x4aaf68
push str.IDC_ADVANCED_CHECK1
push str.FunShion_Player
call esi
mov ecx, dword [0x4d96d4]
push ecx
push 0x4aaf68
push str.IDC_CHECK_NORMAL_START_WITH_WINDOWS
push str.OPTION_SETTING_NORMAL
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417106
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41712c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8