Function at 0x40677a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5210
call fcn.00407710
mov eax, dword [0x41f014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x5210]
push edi
push eax
mov eax, dword [0x4203d0]
push edi
or eax, 0x20006
push eax
push edi
push edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBoshiamyTIP
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
je 0x4067f9
push edi
push 0x2800
lea eax, [ebp - 0x520c]
push eax
push edi
push esi
push edi
push 0x1000
call dword [sym.imp.KERNEL32.DLL_FormatMessageW]
lea eax, [ebp - 0x520c]
push eax
push esi
push str.Error:_CreateUninstallInfo___d_:__s_
call fcn.0040580b
add esp, 0xc
xor eax, eax
jmp 0x406a42
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, 0x41f940
push esi
call ebx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.DisplayName
push dword [ebp - 0x5210]
call edi
mov esi, 0x4203a8
push esi
call ebx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x5210]
call edi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea eax, [ebp - 0x20c]
push 0x417cb4
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.Publisher
push dword [ebp - 0x5210]
call edi
push str.http:__boshiamy.com
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0x5210]
call edi
push str.http:__boshiamy.com_product.html
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.URLUpdateInfo
push dword [ebp - 0x5210]
call edi
push str.http:__boshiamy.com_contact_mail.html
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.HelpLink
push dword [ebp - 0x5210]
call edi
push str.liu_liu.com.tw
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.Contact
push dword [ebp - 0x5210]
call edi
push str.886_2_23415677
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.HelpTelephone
push dword [ebp - 0x5210]
call edi
cmp dword [0x4203c8], 0
mov ecx, str.unliu.exe
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov eax, str.unliu64.exe
cmove eax, ecx
push eax
push 0x4201a0
lea eax, [ebp - 0x20c]
push str._sBoshiamyTIP_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x5210]
call edi
push 0x4201a0
lea eax, [ebp - 0x20c]
push str._sBoshiamyTIPBoshiamyConfig.exe
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call ebx
lea ecx, [ebp - 0x20c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x5210]
call edi
push dword [ebp - 0x5210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004076f3
leave
ret