Function at 0x4219f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov byte [ebp - 0x79], 0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], dx
push 0x2e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x88], ebx
mov word [ebp - 0x40], ax
call fcn.00433960
push 4
push str.v4.5
push edi
mov dword [ebp - 0x84], 4
mov byte [ebp - 0x7a], bl
call fcn.00430652
add esp, 0x18
test eax, eax
jne 0x421aba
push 2
mov eax, 0x44d4ac
lea esi, [ebp - 0x78]
mov byte [ebp - 0x7a], 1
call fcn.00403fb0
lea eax, [edi + 8]
mov ecx, eax
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x421aa0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x78]
call fcn.00402b70
jmp 0x421ada
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421ac0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x78]
call fcn.00403fb0
push 0x2b
mov eax, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_
lea esi, [ebp - 0x5c]
call fcn.00403fb0
mov eax, dword [ebp - 0x78]
mov edi, 8
cmp dword [ebp - 0x64], edi
jae 0x421af9
lea eax, [ebp - 0x78]
mov ecx, eax
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x421b00
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00402b70
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x48], edi
jae 0x421b23
lea eax, [ebp - 0x5c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x80]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x421b83
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 0
push 0
push str.Install
push edx
mov dword [ebp - 0x84], 4
call edi
mov eax, dword [ebp - 0x80]
push eax
call ebx
cmp dword [ebp - 0x88], 1
sete byte [ebp - 0x79]
cmp byte [ebp - 0x7a], 0
je 0x421bf5
cmp byte [ebp - 0x79], 0
je 0x421bf5
cmp dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x5c]
jae 0x421b9b
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x421bdc
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push str.Version
push ecx
mov dword [ebp - 0x84], 0x30
call edi
mov edx, dword [ebp - 0x80]
push edx
call ebx
push 3
lea eax, [ebp - 0x40]
push 0x44d510
push eax
call fcn.00430652
add esp, 0xc
test eax, eax
sete byte [ebp - 0x79]
mov esi, 8
cmp dword [ebp - 0x48], esi
jb 0x421c0b
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0042ee58
add esp, 4
xor edx, edx
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], dx
cmp dword [ebp - 0x64], esi
jb 0x421c30
mov eax, dword [ebp - 0x78]
push eax
call fcn.0042ee58
add esp, 4
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret