Function at 0x417e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4400b0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4533e4]
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.00430500
push 4
push str.v4.5
push edi
mov dword [ebp - 0x84], 4
mov byte [ebp - 0x7a], bl
call fcn.0042d09d
add esp, 0x18
test eax, eax
jne 0x417f3a
push 2
mov eax, 0x449ef8
lea esi, [ebp - 0x78]
mov byte [ebp - 0x7a], 1
call fcn.00402c70
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 0x417f20
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x78]
call fcn.00405a00
jmp 0x417f5a
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417f40
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x78]
call fcn.00402c70
push 0x2b
mov eax, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_
lea esi, [ebp - 0x5c]
call fcn.00402c70
mov eax, dword [ebp - 0x78]
mov edi, 8
cmp dword [ebp - 0x64], edi
jae 0x417f79
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 0x417f80
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00405a00
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x48], edi
jae 0x417fa3
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 0x418003
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 0x418075
cmp byte [ebp - 0x79], 0
je 0x418075
cmp dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x5c]
jae 0x41801b
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 0x41805c
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 0x449f68
push eax
call fcn.0042d09d
add esp, 0xc
test eax, eax
sete byte [ebp - 0x79]
mov esi, 8
cmp dword [ebp - 0x48], esi
jb 0x41808b
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0042b948
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 0x4180b0
mov eax, dword [ebp - 0x78]
push eax
call fcn.0042b948
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.0042b939
mov esp, ebp
pop ebp
ret