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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x658576
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x6d5ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
lea eax, [ebp - 0x238]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422b84
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea esi, [eax + 1]
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x100
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x238]
call edi
test eax, eax
jne 0x422b78
nop dword [eax]
nop dword [eax + eax]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 0
push str.DisplayName
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], 0
movups xmmword [ebp - 0x26c], xmm0
call fcn.00423ce0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
xorps xmm0, xmm0
mov dword [ebp - 0x244], 0
movups xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x240], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4229c0
sub eax, edx
lea ecx, [ebp - 0x254]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00423ce0
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00422640
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x240]
cmp ecx, 7
jbe 0x422a4c
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x422a42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422ba2
push ecx
push edx
call fcn.0061ef9d
add esp, 8
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x258]
cmp ecx, 7
jbe 0x422aad
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x422aa3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422ba2
push ecx
push edx
call fcn.0061ef9d
add esp, 8
mov ecx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
test ecx, ecx
je 0x422b01
cmp dword [ebp - 0x220], 7
lea eax, [ebp - 0x234]
push ecx
cmova eax, dword [ebp - 0x234]
push eax
push dword [ebp - 0x23c]
call fcn.0046edc0
add esp, 0xc
push eax
call fcn.00458cf0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x422b44
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x422b3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422ba2
push ecx
push edx
call fcn.0061ef9d
add esp, 8
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x100
push ecx
lea ecx, [ebp - 0x218]
mov eax, esi
push ecx
push eax
push dword [ebp - 0x238]
inc esi
call edi
test eax, eax
je 0x422960
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061eb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0063629b
int3