Function at 0x417d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442796
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 7
xor ecx, ecx
mov byte [ebp - 0xb1], bl
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 - 0xb8], ebx
mov dword [ebp - 0xc0], ebx
mov word [ebp - 0x40], ax
call fcn.004367d0
add esp, 0xc
push str.Checking_.NET_version...
push 0x4579e4
mov ecx, 0x44842c
mov dword [ebp - 0xbc], 4
mov byte [ebp - 0xb2], bl
call fcn.00404b90
push edi
push str.Expected_version:__ls
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 0x14
push 3
push 0x44ca6c
push edi
call fcn.0042ea94
add esp, 0xc
test eax, eax
jne 0x417e6a
push 1
lea edx, [edi + 6]
push 0x44ca74
push edx
call fcn.0042ea94
add esp, 0xc
test eax, eax
js 0x417e6a
push 2
mov eax, 0x44ca78
lea esi, [ebp - 0x78]
mov byte [ebp - 0xb2], 1
call fcn.004047c0
lea eax, [edi + 8]
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417e50
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x78]
call fcn.00403c20
jmp 0x417e8a
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417e70
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x78]
call fcn.004047c0
push 0x2b
mov eax, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_
lea esi, [ebp - 0x5c]
call fcn.004047c0
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x78]
jae 0x417ea5
lea eax, [ebp - 0x78]
mov ecx, eax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417eb0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00403c20
cmp dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x5c]
jae 0x417ed4
lea eax, [ebp - 0x5c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0xb8]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x417f41
mov ecx, dword [ebp - 0xb8]
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xc0]
push eax
push ebx
push ebx
push str.Install
push ecx
mov dword [ebp - 0xbc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc0], 1
push str.Found_registry_key_for_the_expected_.NET_version.
sete byte [ebp - 0xb1]
jmp 0x417f46
push str.Couldnt_open_or_find_registry_key_for_the_expected_.NET_version
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 8
cmp byte [ebp - 0xb2], bl
je 0x4180ca
cmp byte [ebp - 0xb1], bl
je 0x4180ca
push str.Looking_for_.NET_version_4.5_or_above
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
mov eax, dword [ebp - 0x5c]
add esp, 8
cmp dword [ebp - 0x48], 8
jae 0x417f93
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0xb8]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x417fe2
mov ecx, dword [ebp - 0xb8]
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push str.Version
push ecx
mov dword [ebp - 0xbc], 0x30
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [ebp - 0x94], ax
mov eax, edi
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418000
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x94]
call fcn.004047c0
push 3
mov ecx, 1
lea esi, [ebp - 0xb0]
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.004030a0
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x80], esi
jb 0x418056
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0042d224
add esp, 4
lea eax, [ebp - 0x40]
push eax
xor edx, edx
push str.Found_version:__ls
push 0x4579e4
mov ecx, 0x44842c
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], ebx
mov word [ebp - 0x94], dx
call fcn.00404b90
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cmp dword [ebp - 0x9c], esi
jae 0x41809b
lea eax, [ebp - 0xb0]
push 3
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0042ea94
add esp, 0xc
test eax, eax
setns byte [ebp - 0xb1]
cmp dword [ebp - 0x9c], esi
jb 0x4180ca
mov edx, dword [ebp - 0xb0]
push edx
call fcn.0042d224
add esp, 4
mov esi, 8
cmp dword [ebp - 0x48], esi
jb 0x4180e0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0042d224
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], cx
cmp dword [ebp - 0x64], esi
jb 0x418101
mov edx, dword [ebp - 0x78]
push edx
call fcn.0042d224
add esp, 4
mov al, byte [ebp - 0xb1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d215
mov esp, ebp
pop ebp
ret