Function at 0x408bb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e73d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x53f1e4]
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
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], esi
push 0x34
xor eax, eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00404960
push esi
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00403e00
movzx eax, byte [ebp + 8]
mov ecx, dword [ebp - 0x2c]
neg eax
sbb eax, eax
and eax, 0x100
mov edi, 8
add eax, 0xf003f
cmp dword [ebp - 0x18], edi
jae 0x408c36
mov ecx, esi
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x68]
push edx
push 0
push eax
push 0
push 0
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x408c9e
push str.RegWriteUninstInfo
call fcn.00408b10
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x408c75
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1676
add esp, 4
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
test eax, eax
je 0x408c97
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x408ecc
mov ecx, dword [ebx + 0x2c]
cmp dword [ebx + 0x30], edi
lea eax, [ebx + 0x1c]
jb 0x408cab
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0x68]
push 1
push 0
push str.DisplayIcon
push eax
call esi
mov ecx, dword [ebx + 0x48]
cmp dword [ebx + 0x4c], edi
lea eax, [ebx + 0x38]
jb 0x408cd2
mov eax, dword [eax]
mov edx, dword [ebp - 0x68]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.DisplayName
push edx
call esi
mov ecx, dword [ebx + 0x64]
cmp dword [ebx + 0x68], edi
lea eax, [ebx + 0x54]
jb 0x408cf2
mov eax, dword [eax]
mov edx, dword [ebp - 0x68]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.DisplayVersion
push edx
call esi
mov ecx, dword [ebx + 0x80]
cmp dword [ebx + 0x84], edi
lea eax, [ebx + 0x70]
jb 0x408d18
mov eax, dword [eax]
mov edx, dword [ebp - 0x68]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.Publisher
push edx
call esi
lea eax, [ebx + 0x8c]
push str.__unsetup
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00403a10
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x408d52
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0x68]
push 1
push 0
push str.UninstallString
push eax
call esi
mov ecx, dword [ebx + 0xb8]
cmp dword [ebx + 0xbc], edi
lea eax, [ebx + 0xa8]
jb 0x408d7f
mov eax, dword [eax]
mov edx, dword [ebp - 0x68]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.URLInfoAbout
push edx
call esi
mov ecx, dword [ebx + 0xf0]
cmp dword [ebx + 0xf4], edi
lea eax, [ebx + 0xe0]
jb 0x408da8
mov eax, dword [eax]
mov edx, dword [ebp - 0x68]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.ChannelName
push edx
call esi
mov edx, dword [ebp - 0x68]
xor eax, eax
cmp dword [ebx + 0xfc], eax
push 4
lea ecx, [ebp - 0x70]
push ecx
push 4
sete al
push 0
push str.DisableAutorun
push edx
mov dword [ebp - 0x70], eax
call esi
lea eax, [ebx + 0x8c]
push eax
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x5c
call fcn.00406990
cmp eax, 0xffffffff
je 0x408e45
push eax
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebx + 0x8c]
call fcn.00403cb0
mov eax, dword [ebp - 0x64]
mov edi, 8
cmp dword [ebp - 0x50], edi
jae 0x408e1b
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0x68]
push 1
push 0
push str.InstallLocation
push eax
call esi
cmp dword [ebp - 0x50], edi
jb 0x408e4a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1676
add esp, 4
jmp 0x408e4a
mov edi, 8
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x408e75
add ebx, 0xc4
cmp dword [ebx + 0x14], edi
jb 0x408e61
mov ebx, dword [ebx]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x68]
push edx
push ebx
push 1
push 0
push str.UpdateExeVersion
push eax
call esi
cmp dword [ebp - 0x34], edi
jb 0x408e86
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x408eac
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1676
add esp, 4
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
test eax, eax
je 0x408eca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
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.004b1681
mov esp, ebp
pop ebp
ret