Function at 0x41c2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456cf6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x477070]
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 esi, ecx
xor eax, eax
mov dword [ebp - 0x5c], 7
xor bl, bl
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
push 0x30
push eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00439c60
add esp, 0xc
mov dword [ebp - 0xa8], 4
xor bh, bh
push str.Checking_.NET_version...
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
push esi
push str.Expected_version:__ls
push 0x4656cc
push 0x477a14
call fcn.00433950
push 3
push 0x46b120
push esi
call fcn.0044077c
add esp, 0x1c
test eax, eax
jne 0x41c3f2
push 1
lea eax, [esi + 6]
push 0x46b128
push eax
call fcn.0044077c
add esp, 0xc
test eax, eax
js 0x41c3f2
push 2
push 0x46b12c
lea ecx, [ebp - 0x70]
mov bh, 1
call fcn.00404c00
cmp word [esi + 8], 0
lea edx, [esi + 8]
jne 0x41c3d2
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00413d10
jmp 0x41c41a
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c3d7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00413d10
jmp 0x41c41a
cmp word [esi], 0
jne 0x41c3fc
xor ecx, ecx
jmp 0x41c410
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c401
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x70]
call fcn.00404c00
push 0x2b
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_
lea ecx, [ebp - 0x58]
call fcn.00404c00
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x70]
cmp word [edx], 0
jne 0x41c43e
xor ecx, ecx
jmp 0x41c452
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c443
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00413d10
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0xa4]
push ecx
push 0x20019
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c4d1
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 4
push eax
lea eax, [ebp - 0xac]
push eax
push 0
push 0
push str.Install
push dword [ebp - 0xa4]
call edi
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xac], 1
push str.Found_registry_key_for_the_expected_.NET_version.
sete bl
jmp 0x41c4d6
push str.Couldnt_open_or_find_registry_key_for_the_expected_.NET_version
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
test bh, bh
je 0x41c620
test bl, bl
je 0x41c620
push str.Looking_for_.NET_version_4.5_or_above
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
lea ecx, [ebp - 0xa4]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c56a
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x30
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0xa4]
call edi
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [ebp - 0x88]
call fcn.00405870
push 3
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.004185e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x41c5ab
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00405180
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x40]
push eax
push str.Found_version:__ls
push 0x4656cc
push 0x477a14
mov dword [ebp - 0x78], 0
call fcn.00433950
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push 3
cmovae eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044077c
add esp, 0x1c
test eax, eax
mov eax, dword [ebp - 0x8c]
setns bl
cmp eax, 8
jb 0x41c620
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00405180
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41c635
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00405180
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x41c65e
inc ecx
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call fcn.00405180
mov al, bl
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.00436666
mov esp, ebp
pop ebp
ret