Function at 0x402224
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5190]
mov eax, 0x5210
call fcn.004077b0
mov eax, dword [0x415010]
xor eax, ebp
mov dword [ebp + 0x518c], eax
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x80]
push eax
mov eax, dword [0x416abc]
push ebx
or eax, 0x20006
push eax
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBoshiamyTIP
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
je 0x4022a2
push ebx
push 0x2800
lea eax, [ebp - 0x7c]
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.DLL_FormatMessageW]
lea eax, [ebp - 0x7c]
push eax
push esi
push str.Error:_CreateUninstallInfo___d_:__s_
call fcn.00401186
add esp, 0xc
xor eax, eax
jmp 0x4024ab
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push edi
mov edi, 0x416980
push edi
call esi
lea eax, [eax + eax + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push ebx
push str.DisplayName
push dword [ebp - 0x80]
call edi
mov ebx, 0x415f34
push ebx
call esi
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x80]
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x41199c
lea eax, [ebp + 0x4f84]
push eax
call ebx
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.Publisher
push dword [ebp - 0x80]
call edi
push str.http:__boshiamy.com
lea eax, [ebp + 0x4f84]
push eax
call ebx
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0x80]
call edi
push str.http:__boshiamy.com_product.html
lea eax, [ebp + 0x4f84]
push eax
call ebx
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.URLUpdateInfo
push dword [ebp - 0x80]
call edi
push str.http:__boshiamy.com_contact_mail.html
lea eax, [ebp + 0x4f84]
push eax
call ebx
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.HelpLink
push dword [ebp - 0x80]
call edi
push str.liu_liu.com.tw
lea eax, [ebp + 0x4f84]
push eax
call ebx
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.Contact
push dword [ebp - 0x80]
call edi
push str.886_2_23415677
lea eax, [ebp + 0x4f84]
push eax
call ebx
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.HelpTelephone
push dword [ebp - 0x80]
call edi
cmp dword [0x415f2c], 0
mov eax, str.unliu64.exe
jne 0x402425
mov eax, str.unliu.exe
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
push 0x415f58
lea eax, [ebp + 0x4f84]
push str._sBoshiamyTIP_s
push eax
call ebx
add esp, 0x10
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x80]
call edi
push 0x415f58
lea eax, [ebp + 0x4f84]
push str._sBoshiamyTIPBoshiamyConfig.exe
push eax
call ebx
add esp, 0xc
lea eax, [ebp + 0x4f84]
push eax
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x4f84]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x80]
call edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp + 0x518c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040762a
add ebp, 0x5190
leave
ret