Function at 0x42a48e
Capabilities:
Get installed programs
Set registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x664e94]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x164
mov eax, 0x5bbd32
call fcn.0058f9b8
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov ecx, dword [esi + 0xd8]
mov byte [ebp - 0x11], 1
call fcn.0040cf3c
push eax
lea ecx, [ebp - 0x24]
call fcn.004039d7
mov dword [ebp - 4], ebx
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040141e
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
cmp byte [esi + 0x160], bl
jne 0x42a511
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401019
mov al, bl
jmp 0x42a6fc
push dword [esi + 0xd8]
lea ecx, [ebp - 0x170]
push ebx
call fcn.004546c5
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 2
call fcn.004a25b2
xor edi, edi
inc edi
cmp eax, edi
je 0x42a557
push str.The_product_key_has_not_been_changed_in_the_upgrade_product_dialog
call fcn.004437b6
pop ecx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 1
call fcn.00454766
mov bl, 1
jmp 0x42a4f4
push str.default
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
call fcn.004039d7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x1f4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], edi
call fcn.0041b4ca
cmp eax, ebx
je 0x42a591
mov byte [ebp - 0x12], bl
cmp dword [ebp - 0x20], ebx
jne 0x42a595
mov byte [ebp - 0x12], 1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov dword [ebp - 4], 3
call fcn.00401019
cmp byte [ebp - 0x12], bl
je 0x42a5cc
push str.Default_group_information_not_found_in_SetupInstallGroups
call fcn.004437b6
pop ecx
mov dword [ebp - 0x34], 0xd
push 0x6396a8
lea eax, [ebp - 0x34]
push eax
call fcn.005902bc
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00401518
add esp, 0xc
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x42a625
push eax
push dword [ebp - 0x1c]
push str.Failed_creating_uninstall_key__s__with_error:__d
call fcn.004437b6
add esp, 0xc
mov dword [ebp - 0x38], 0xd
push 0x6396a8
lea eax, [ebp - 0x38]
jmp 0x42a5c6
mov ecx, dword [esi + 0xd8]
call fcn.0040cf3c
mov ecx, dword [esi + 0xd8]
mov edi, eax
call fcn.0040cf3c
push edi
push eax
call fcn.0058f15d
pop ecx
inc eax
push eax
lea eax, [ebp]
push eax
call fcn.0059050e
lea eax, [ebp]
push eax
call fcn.0058f15d
add esp, 0x10
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp]
push eax
push 1
push ebx
push str.SuiteCDKey
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x42a69b
push eax
push str.Failed_adding_SuiteCDKey_registry_key__with_error:__d
call fcn.004437b6
pop ecx
pop ecx
mov dword [ebp - 0x2c], 0xd
push 0x6396a8
lea eax, [ebp - 0x2c]
jmp 0x42a5c6
mov dword [ebp - 4], 2
jmp 0x42a6bd
cmp dword [ebp - 0x18], ebx
je 0x42a6d4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 1
call fcn.00454766
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401019
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0058f976
add ebp, 0x20c
leave
ret