Function at 0x40e3cd
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0x2c
mov eax, 0x43be95
call fcn.00423060
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [0x45ea58], 0
mov eax, dword [0x45f4ac]
je 0x40e408
test eax, eax
jne 0x40e617
cmp dword [0x45f4b0], eax
jne 0x40e408
cmp dword [0x45f4b4], eax
je 0x40e617
cmp dword [0x45f4a8], 0
jne 0x40e617
test eax, eax
jne 0x40e617
cmp dword [esi + 0x14ac], eax
je 0x40e617
call fcn.0040a7d7
lea eax, [ebp - 0x10]
push eax
call fcn.00413ce2
and dword [ebp - 4], 0
mov edi, SysReAllocString
push dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp - 0x20]
push eax
call fcn.0040a7d7
mov ecx, eax
call fcn.004139bf
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x449738
push dword [ebp - 0x10]
push edi
call ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a7d7
mov ecx, eax
call fcn.00413c88
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.FolderName
push dword [ebp - 0x10]
push edi
call ebx
mov ecx, dword [esi + 0x3c]
sub ecx, 0x10
call fcn.004080e8
lea esi, [eax + 0x10]
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 3
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.DisplayIcon
push dword [ebp - 0x10]
push edi
call ebx
lea eax, [ebp - 0x34]
push eax
call fcn.0040a7d7
mov ecx, eax
call fcn.00413a46
mov edi, eax
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x30]
push 0x448d58
add edx, 0x44
mov byte [ebp - 4], 4
call fcn.004133f8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov edx, eax
mov dword [esp], 0x449784
call fcn.004133f8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [esp], 0x449780
call fcn.004133f8
push edi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.004133a3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov eax, dword [ebp - 0x18]
xor edi, edi
inc edi
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push edi
push str.UninstallString
push dword [ebp - 0x10]
push SysReAllocString
call ebx
push 0x14
push 0x448fc0
push edi
push str.DisplayVersion
push dword [ebp - 0x10]
push SysReAllocString
call ebx
push 0xe
push 0x4497dc
push edi
push str.Publisher
push dword [ebp - 0x10]
push SysReAllocString
call ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0040a7d7
mov ecx, eax
call fcn.00413cb5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push edi
push str.HelpLink
push dword [ebp - 0x10]
push SysReAllocString
call ebx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040233b
lea ecx, [esi - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040233b
call fcn.0042302e
ret