Function at 0x4315a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4663e0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x70], esi
mov eax, 7
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], si
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
mov byte [esp + 0x7c], 2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v1.0
push 0x80000002
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x43167c
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, str.3705
call fcn.0042cf10
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431655
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x58]
push str.3321_3705
mov edi, 9
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], esi
call fcn.004052b0
test eax, eax
jne 0x43167c
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x43168b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
push 0x80000002
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
mov eax, dword [esp + 0x14]
jne 0x4316f4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push str.Install
push eax
mov dword [esp + 0x38], 4
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4316e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 1
jne 0x431705
mov dword [esp + 0x24], 2
jmp 0x431705
cmp eax, esi
je 0x4316ff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push 0x80000002
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x431768
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push str.Install
push ecx
mov dword [esp + 0x38], 4
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431757
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 1
jne 0x431777
mov dword [esp + 0x24], 3
jmp 0x431777
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431777
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
push 0x80000002
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x4317da
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push str.InstallSuccess
push edx
mov dword [esp + 0x38], 4
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4317c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 1
jne 0x4317e9
mov dword [esp + 0x24], 4
jmp 0x4317e9
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4317e9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push 0x80000002
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
mov eax, dword [esp + 0x14]
jne 0x43184c
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push str.Install
push eax
mov dword [esp + 0x38], 4
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x43183b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 1
jne 0x431857
mov dword [esp + 0x24], 5
jmp 0x431857
cmp eax, esi
je 0x431857
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push 0x80000002
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x43191a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push str.Install
push ecx
mov dword [esp + 0x38], 4
call edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, str.TargetVersion
call fcn.0042cf10
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4318c1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 1
mov dword [esp + 0x14], esi
jne 0x431929
mov eax, dword [esp + 0x3c]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x2c]
call fcn.004052b0
test eax, eax
jne 0x4318ef
mov dword [esp + 0x24], 7
cmp dword [esp + 0x1c], 1
jne 0x431914
mov eax, dword [esp + 0x3c]
push str.4.5.0
lea ecx, [esp + 0x2c]
call fcn.004052b0
test eax, eax
jne 0x431914
mov dword [esp + 0x24], 0xa
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431929
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push 0x80000002
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x4319e6
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push str.Install
push ecx
mov dword [esp + 0x38], 4
call edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, str.TargetVersion
call fcn.0042cf10
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431993
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 1
mov dword [esp + 0x14], esi
jne 0x4319e6
mov eax, dword [esp + 0x3c]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x2c]
call fcn.004052b0
test eax, eax
jne 0x4319c1
mov dword [esp + 0x24], 8
cmp dword [esp + 0x1c], 1
jne 0x4319e6
mov eax, dword [esp + 0x3c]
push str.4.5.0
lea ecx, [esp + 0x2c]
call fcn.004052b0
test eax, eax
jne 0x4319e6
mov dword [esp + 0x24], 0xb
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x24]
push ebx
xor eax, eax
cmp edi, ebx
push edi
jl 0x4319fc
push str.Check_Pass.__Found_ID:__d___Min_ID:__d
jmp 0x431a01
push str.Check_Fail.__Found_ID:__d___Min_ID:__d
push 0x4676a0
call fcn.0042cad0
add esp, 0x10
cmp edi, ebx
mov edi, 8
setge bl
cmp dword [esp + 0x40], edi
jb 0x431a2b
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00439059
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], si
jb 0x431a4f
mov edx, dword [esp + 0x48]
push edx
call fcn.00439059
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, esi
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
je 0x431a6f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043782a
mov esp, ebp
pop ebp
ret