Function at 0x4318f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4509f8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x468744]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x4c], cx
xor edx, edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x54]
push eax
push 0xf003f
push esi
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v1.0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call ebx
cmp eax, esi
jne 0x4319af
lea ecx, [ebp - 0x4c]
push ecx
mov eax, str.3705
lea ecx, [ebp - 0x54]
call fcn.0042d4f0
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x43198c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3c]
push str.3321_3705
mov edi, 9
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], esi
call fcn.00404ab0
test eax, eax
jne 0x4319af
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x4319bf
push eax
call edi
lea edx, [ebp - 0x54]
push edx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call ebx
cmp eax, esi
jne 0x431a18
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
push esi
push esi
push str.Install
push edx
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431a09
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431a22
mov dword [ebp - 0x60], 2
jmp 0x431a22
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431a22
push eax
call edi
lea eax, [ebp - 0x54]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call ebx
cmp eax, esi
mov eax, dword [ebp - 0x54]
jne 0x431a7b
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push esi
push esi
push str.Install
push eax
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431a6c
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431a82
mov dword [ebp - 0x60], 3
jmp 0x431a82
cmp eax, esi
je 0x431a82
push eax
call edi
lea ecx, [ebp - 0x54]
push ecx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call ebx
cmp eax, esi
jne 0x431adb
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push str.InstallSuccess
push ecx
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431acc
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431ae5
mov dword [ebp - 0x60], 4
jmp 0x431ae5
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431ae5
push eax
call edi
lea edx, [ebp - 0x54]
push edx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call ebx
cmp eax, esi
jne 0x431b3e
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
push esi
push esi
push str.Install
push edx
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431b2f
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431b48
mov dword [ebp - 0x60], 5
jmp 0x431b48
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431b48
push eax
call edi
lea eax, [ebp - 0x54]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call ebx
cmp eax, esi
mov eax, dword [ebp - 0x54]
jne 0x431c08
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push esi
push esi
push str.Install
push eax
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x30]
push ecx
mov eax, str.TargetVersion
lea ecx, [ebp - 0x54]
call fcn.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x431bc9
mov eax, dword [ebp - 0x20]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431bc9
mov dword [ebp - 0x60], 7
lea edx, [ebp - 0x30]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x431c05
mov edi, 3
push 0x45fa8c
mov eax, edi
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431c05
mov dword [ebp - 0x60], 0xa
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431c0f
push eax
call edi
lea eax, [ebp - 0x54]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call ebx
cmp eax, esi
jne 0x431cd9
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push esi
push esi
push str.Install
push eax
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x30]
push ecx
mov eax, str.TargetVersion
lea ecx, [ebp - 0x54]
call fcn.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x431c90
mov eax, dword [ebp - 0x20]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431c90
mov dword [ebp - 0x60], 8
lea edx, [ebp - 0x30]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x431ccc
mov edi, 3
push 0x45fa8c
mov eax, edi
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431ccc
mov dword [ebp - 0x60], 0xb
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431cd6
push eax
call edi
mov dword [ebp - 0x54], esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x60]
push ebx
xor eax, eax
push edi
cmp edi, ebx
jl 0x431cee
push str.Check_Pass.__Found_ID:__d___Min_ID:__d
jmp 0x431cf3
push str.Check_Fail.__Found_ID:__d___Min_ID:__d
push 0x4699d4
call fcn.0042d020
add esp, 0x10
cmp edi, ebx
mov edi, 8
setge bl
cmp dword [ebp - 0x1c], edi
jb 0x431d1b
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439b10
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x38], edi
jb 0x431d3c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], esi
cmp eax, esi
je 0x431d5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 - 0x14]
xor ecx, ebp
call fcn.00438786
mov esp, ebp
pop ebp
ret