Function at 0x4135ac
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb4
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x38]
push eax
push str.Softwareduowanyy
push 0x80000001
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
inc ebx
xor edi, edi
test eax, eax
jne 0x413619
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x20], 8
mov ecx, dword [eax + 0x1c]
jb 0x4135fb
mov eax, dword [eax + 0xc]
jmp 0x4135fe
add eax, 0xc
add ecx, ecx
push ecx
push eax
push ebx
push edi
push str.InstallDir
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413624
push str.YYSetupCore::_writeRegedit__RegCreateKey_STR_YY_REG_LOCATION_fail.
call fcn.0044c2ed
pop ecx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp + 0x58]
call fcn.00406c07
push 0x473a64
lea ecx, [ebp + 0x58]
call fcn.0040698e
push str.YYdev
lea ecx, [ebp + 0x58]
call fcn.0040698e
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x413657
lea eax, [ebp + 0x5c]
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41378a
mov eax, dword [ebp - 0x3c]
add eax, 8
push str.Uninstall.exe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406c29
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp dword [ebp], 8
jae 0x413693
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
add ecx, ecx
push ecx
push eax
push ebx
push edi
push str.UninstallString
push dword [ebp - 0x38]
call esi
push str.YYdev
lea ecx, [ebp - 0x34]
call fcn.00406c07
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4136bf
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add ecx, ecx
push ecx
push eax
push ebx
push edi
push str.DisplayName
push dword [ebp - 0x38]
call esi
push 0x4757b8
lea ecx, [ebp + 4]
call fcn.00406c07
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4136eb
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
add ecx, ecx
push ecx
push eax
push ebx
push edi
push str.Publisher
push dword [ebp - 0x38]
call esi
push str.http:__www.yy.com_
lea ecx, [ebp + 0x20]
call fcn.00406c07
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x413717
lea eax, [ebp + 0x24]
mov ecx, dword [ebp + 0x34]
add ecx, ecx
push ecx
push eax
push ebx
push edi
push str.URLInfoAbout
push dword [ebp - 0x38]
call esi
push 0x474c84
lea ecx, [ebp + 0x3c]
call fcn.00406c07
cmp dword [ebp + 0x54], 8
mov eax, dword [ebp + 0x40]
jae 0x413743
lea eax, [ebp + 0x40]
mov ecx, dword [ebp + 0x50]
add ecx, ecx
push ecx
push eax
push ebx
push edi
push str.DisplayVersion
push dword [ebp - 0x38]
call esi
push edi
push ebx
lea ecx, [ebp + 0x3c]
call fcn.004064bb
push edi
push ebx
lea ecx, [ebp + 0x20]
call fcn.004064bb
push edi
push ebx
lea ecx, [ebp + 4]
call fcn.004064bb
push edi
push ebx
lea ecx, [ebp - 0x34]
call fcn.004064bb
push edi
push ebx
lea ecx, [ebp - 0x18]
call fcn.004064bb
jmp 0x413795
push str.YYSetupCore::_writeRegedit__RegCreateKey_strUninstallKey_fail.
call fcn.0044c2ed
pop ecx
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
lea ecx, [ebp + 0x58]
call fcn.004064bb
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x78
leave
ret