Function at 0x416e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447946
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x45f4c8]
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 0x2e
push eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push eax
call fcn.00433da0
add esp, 0xc
mov dword [ebp - 0xa8], 4
xor bh, bh
push str.Checking_.NET_version...
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
push esi
push str.Expected_version:__ls
push 0x450cfc
push 0x46064c
call fcn.00417ac0
push 3
push 0x454974
push esi
call fcn.00430f2b
add esp, 0x1c
test eax, eax
jne 0x416fab
push 1
lea eax, [esi + 6]
push 0x45497c
push eax
call fcn.00430f2b
add esp, 0xc
test eax, eax
js 0x416fab
push 2
push 0x454980
lea ecx, [ebp - 0x70]
mov bh, 1
call fcn.00404410
cmp word [esi + 8], 0
lea edx, [esi + 8]
jne 0x416f86
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004031f0
jmp 0x416fd9
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x416f90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416f90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004031f0
jmp 0x416fd9
cmp word [esi], 0
jne 0x416fb5
xor ecx, ecx
jmp 0x416fcf
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416fc0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x70]
call fcn.00404410
push 0x2b
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_
lea ecx, [ebp - 0x58]
call fcn.00404410
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x70]
cmp word [edx], 0
jne 0x416ffd
xor ecx, ecx
jmp 0x417011
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417002
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004031f0
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 0x417090
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 0x417095
push str.Couldnt_open_or_find_registry_key_for_the_expected_.NET_version
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
test bh, bh
je 0x4171d1
test bl, bl
je 0x4171d1
push str.Looking_for_.NET_version_4.5_or_above
push 0x450cfc
push 0x46064c
call fcn.00417ac0
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 0x417129
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.00404510
push 3
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.004029e0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x74], 8
jb 0x417163
push dword [ebp - 0x88]
call fcn.00420070
add esp, 4
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 0x450cfc
push 0x46064c
mov dword [ebp - 0x78], 0
call fcn.00417ac0
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.00430f2b
add esp, 0x1c
test eax, eax
setns bl
cmp dword [ebp - 0x8c], 8
jb 0x4171d1
push dword [ebp - 0xa0]
call fcn.00420070
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x4171e2
push dword [ebp - 0x58]
call fcn.00420070
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x417207
push dword [ebp - 0x70]
call fcn.00420070
add esp, 4
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.0042f51f
mov esp, ebp
pop ebp
ret