Function at 0x425459
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b0
call fcn.00504570
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1498], eax
mov eax, dword [ebp + 0xc]
push edi
mov esi, ecx
mov dword [ebp - 0x14a8], eax
xor edi, edi
xor eax, eax
cmp esi, edi
je 0x425a05
push 0x40e
mov word [ebp - 0xa3c], ax
lea eax, [ebp - 0xa3a]
push edi
push eax
call fcn.004e7380
add esp, 0xc
push esi
push 0x53cbc8
lea eax, [ebp - 0xa3c]
push 0x410
push eax
call fcn.004250b8
mov esi, dword [ebp + 0x10]
add esp, 0x10
neg esi
sbb esi, esi
lea eax, [ebp - 0x148c]
push eax
and esi, 0x100
add esi, 0x20019
push esi
push edi
lea eax, [ebp - 0xa3c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1488], esi
mov dword [ebp - 0x148c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42550e
xor eax, eax
jmp 0x425a05
xor eax, eax
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
mov dword [ebp - 0x1494], edi
call fcn.004e7380
add esp, 0xc
push 8
lea eax, [ebp - 0x14b0]
push edi
mov ebx, 0x208
push eax
mov dword [ebp - 0x1490], ebx
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x14b0]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x1490]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
jmp 0x4259e2
push dword [ebp - 0x1498]
call fcn.0042521c
test eax, eax
jne 0x4259f6
inc dword [ebp - 0x1494]
lea eax, [ebp - 0x424]
push eax
push ebx
lea eax, [ebp - 0x62c]
push eax
mov dword [ebp - 0x1490], ebx
mov dword [ebp - 0x1480], edi
call fcn.00421170
push str.InstallProperties
lea eax, [ebp - 0x62c]
push eax
mov eax, ebx
call fcn.004211a3
lea eax, [ebp - 0x1480]
push eax
push esi
push edi
lea eax, [ebp - 0x62c]
push eax
push dword [ebp - 0x148c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4259c4
push ebx
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.SystemComponent
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], 4
mov dword [ebp - 0x14a0], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425642
cmp dword [ebp - 0x1484], edi
jbe 0x425642
inc eax
cmp word [ebp - 0x21c], ax
jne 0x425642
mov dword [ebp - 0x14a0], eax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.ParentKeyName
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4256a3
cmp dword [ebp - 0x1484], edi
jbe 0x4256a3
lea eax, [ebp - 0x21c]
push str.OperatingSystem
push eax
call fcn.004ead89
pop ecx
pop ecx
test eax, eax
jne 0x4256a3
push dword [ebp - 0x1480]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1480], edi
jmp 0x4259c4
lea esi, [ebp - 0x147c]
call fcn.0042519d
push 0xa3c
mov eax, esi
push edi
push eax
call fcn.004e7380
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
and eax, 0x100
mov dword [ebp - 0x146c], eax
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.WindowsInstaller
push dword [ebp - 0x1480]
mov dword [ebp - 0x1470], 1
mov dword [ebp - 0x1484], 4
mov dword [ebp - 0x14a4], edi
call esi
test eax, eax
jne 0x425734
cmp dword [ebp - 0x1484], edi
jbe 0x425734
cmp word [ebp - 0x21c], 1
sete al
mov dword [ebp - 0x14a4], eax
mov eax, dword [ebp - 0x1498]
test byte [eax + 4], 4
je 0x425787
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0xa3c]
push eax
push 0x53c8fc
lea eax, [ebp - 0x1058]
push ebx
push eax
call fcn.004250b8
lea eax, [ebp - 0x424]
add esp, 0x14
push eax
call fcn.004e73fa
pop ecx
cmp eax, 0x20
jb 0x425787
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x1260]
call fcn.004267cb
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.DisplayName
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call esi
test eax, eax
jne 0x425862
cmp dword [ebp - 0x1484], edi
jbe 0x425862
cmp word [ebp - 0x21c], di
jne 0x4257e7
push dword [ebp - 0x1480]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1480], edi
jmp 0x4259be
cmp dword [ebp - 0x14a0], edi
je 0x42581d
lea eax, [ebp - 0x21c]
push eax
push str.Windows_Live_Messenger
call fcn.004ead89
pop ecx
pop ecx
test eax, eax
je 0x42581d
lea eax, [ebp - 0x21c]
push eax
push str.Windows_Live_Mail
call fcn.004ead89
pop ecx
pop ecx
test eax, eax
jne 0x4257d0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x149c]
push eax
call fcn.00405747
push dword [ebp - 0x149c]
lea eax, [ebp - 0x1468]
push ebx
push eax
call fcn.00421170
lea esi, [ebp - 0x1468]
call fcn.004260d5
mov eax, dword [ebp - 0x149c]
add eax, 0xfffffff0
call fcn.0040557a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14a4], edi
jne 0x4258e3
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.UninstallString
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call esi
test eax, eax
jne 0x425920
cmp dword [ebp - 0x1484], edi
jbe 0x425920
cmp word [ebp - 0x21c], di
jne 0x42590c
push 0x53a1e8
lea eax, [ebp - 0x1260]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4257d0
push 0x53cd78
lea eax, [ebp - 0x1260]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4257d0
push str.MsiExec.exe__X
push ebx
lea eax, [ebp - 0xe50]
push eax
call fcn.00421170
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0xe50]
push eax
mov eax, ebx
call fcn.004211a3
jmp 0x425920
lea eax, [ebp - 0x21c]
push eax
push ebx
lea eax, [ebp - 0xe50]
push eax
call fcn.00421170
lea eax, [ebp - 0xe50]
push eax
lea eax, [ebp - 0x1468]
push eax
call fcn.00425fbc
mov dword [ebp - 0x1478], eax
mov eax, dword [ebp - 0x1498]
test byte [eax + 4], 2
je 0x425991
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.DisplayIcon
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call esi
test eax, eax
jne 0x425991
cmp dword [ebp - 0x1484], edi
jbe 0x425991
lea eax, [ebp - 0x21c]
push eax
push ebx
lea eax, [ebp - 0xc48]
push eax
call fcn.00421170
push dword [ebp - 0x1480]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1480], edi
cmp word [ebp - 0x1468], di
je 0x4259be
lea eax, [ebp - 0x147c]
push eax
push dword [ebp - 0x14a8]
call fcn.0042612b
mov esi, dword [ebp - 0x1488]
lea eax, [ebp - 0x14b0]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x1490]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x1494]
push dword [ebp - 0x148c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42556d
push dword [ebp - 0x148c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret 0xc