Function at 0x422290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f980
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push 0
push 0x400
mov byte [ebp - 0x59], 1
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 0x800
call fcn.00410b20
mov eax, dword [ebp - 0x60]
mov ecx, eax
mov dword [ebp - 4], 0
mov esi, dword [eax]
push dword [esi + 4]
push eax
call fcn.004241d0
mov eax, dword [ebp - 0x60]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [eax + 4], 0
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x42231a
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 0x10], 0
mov word [eax], cx
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push ecx
cmova eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push str.ProductsInstalled
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub eax, 0
je 0x4223b1
sub eax, 2
je 0x4224d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x58]
push 0x4b7878
push eax
call fcn.00420510
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x4223a0
mov ecx, edi
call fcn.004037b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x58]
call fcn.004037b0
mov byte [ebp - 0x59], 0
jmp 0x4224d9
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x40]
push 0
shr eax, 1
push eax
call fcn.0040a450
sub esp, 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x124]
push eax
call fcn.00423630
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x118], 0
jne 0x4224ce
nop
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call fcn.00424330
mov esi, dword [ebp - 0x18]
add esp, 4
mov edi, dword [ebp - 0x14]
test esi, esi
je 0x42247c
cmp edi, 7
lea edx, [ebp - 0x28]
cmova edx, dword [ebp - 0x28]
seta cl
test cl, cl
lea edx, [edx + esi*2]
lea esi, [ebp - 0x28]
cmovne esi, dword [ebp - 0x28]
cmp esi, edx
je 0x42247c
mov edi, edx
nop word [eax + eax]
movzx eax, word [esi]
push eax
call fcn.0047f26d
add esp, 4
test eax, eax
jne 0x422469
add esi, 2
cmp esi, edi
jne 0x422450
jmp 0x422479
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00423f00
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edi, 7
jbe 0x4224b7
mov ecx, dword [ebp - 0x28]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x4224ad
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42252d
push edi
push ecx
call fcn.0047292b
add esp, 8
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x118], 0
je 0x4223f0
lea ecx, [ebp - 0x124]
call fcn.00422540
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x42250f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x422505
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42252d
push ecx
push edx
call fcn.0047292b
add esp, 8
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call fcn.004780c4
int3