Function at 0x458680
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x1a
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea edi, [ebp - 0x204]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x19c]
push eax
call fcn.0042b9d0
add esp, 0xc
mov dword [ebp - 0x91c], 0
mov dword [ebp - 0x914], 0x12c
mov dword [ebp - 0x928], 7
mov dword [ebp - 0x910], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x45871c
call sym.Install_adv.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x458708
mov ecx, dword [ebp - 0x910]
or ecx, 0x100
mov dword [ebp - 0x910], ecx
jmp 0x45871a
mov edx, dword [ebp - 0x910]
or edx, 0x200
mov dword [ebp - 0x910], edx
jmp 0x458736
call sym.Install_adv.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x458736
mov eax, dword [ebp - 0x910]
or eax, 0x200
mov dword [ebp - 0x910], eax
lea ecx, [ebp - 0x924]
push ecx
mov edx, dword [ebp - 0x910]
push edx
push 0
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x458939
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x914]
push edx
lea eax, [ebp - 0x6b4]
push eax
mov ecx, dword [ebp - 0x91c]
push ecx
mov edx, dword [ebp - 0x924]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45892c
mov eax, dword [ebp - 0x91c]
add eax, 1
mov dword [ebp - 0x91c], eax
lea ecx, [ebp - 0x6b4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x458907
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x489d10
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x6b4]
push edx
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x918]
push ecx
mov edx, dword [ebp - 0x910]
push edx
push 0
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x458907
mov dword [ebp - 0x914], 0x12c
push 0x258
push 0
lea edx, [ebp - 0x90c]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x914]
push eax
lea ecx, [ebp - 0x90c]
push ecx
lea edx, [ebp - 0x928]
push edx
push 0
push 0x489d14
mov eax, dword [ebp - 0x918]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x90c]
push ecx
lea ecx, [ebp - 0x920]
call fcn.004095e0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x920]
call fcn.0040f3c0
test eax, eax
jne 0x4588ef
mov dword [ebp - 0x914], 0x208
lea eax, [ebp - 0x914]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x928]
push edx
push 0
push 0x489d2c
mov eax, dword [ebp - 0x918]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x918]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x924]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x92c], 1
lea ecx, [ebp - 0x920]
call fcn.004095a0
mov eax, dword [ebp - 0x92c]
jmp 0x45893b
mov eax, dword [ebp - 0x918]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x920]
call fcn.004095a0
mov dword [ebp - 0x914], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x6b4]
push ecx
call fcn.0042b9d0
add esp, 0xc
jmp 0x45875f
mov edx, dword [ebp - 0x924]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret