Function at 0x431ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450b08
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x469744]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
xor edx, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
lea eax, [ebp - 0x54]
push eax
push 0xf003f
push ebx
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v1.0
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x49], bl
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call esi
cmp eax, ebx
jne 0x431f9a
lea ecx, [ebp - 0x48]
push ecx
mov eax, str.3705
lea ecx, [ebp - 0x54]
call fcn.0042d620
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x431f6c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x38]
push str.3321_3705
mov edi, 9
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], ebx
call fcn.00404a60
test eax, eax
jne 0x431f9a
mov eax, 1
cmp dword [ebp + 8], eax
jg 0x431f9a
cmp dword [ebp + 0xc], eax
jl 0x431f9a
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x431faa
push eax
call edi
lea edx, [ebp - 0x54]
push edx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call esi
cmp eax, ebx
jne 0x432014
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
push ebx
push ebx
push str.Install
push edx
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x431ff4
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x43201e
cmp byte [ebp - 0x49], bl
jne 0x43201e
mov eax, 2
cmp dword [ebp + 8], eax
jg 0x43201e
cmp dword [ebp + 0xc], eax
jl 0x43201e
mov byte [ebp - 0x49], 1
jmp 0x43201e
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43201e
push eax
call edi
lea eax, [ebp - 0x54]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call esi
cmp eax, ebx
mov eax, dword [ebp - 0x54]
jne 0x432088
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push ebx
push ebx
push str.Install
push eax
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x432068
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x43208f
cmp byte [ebp - 0x49], bl
jne 0x43208f
mov eax, 3
cmp dword [ebp + 8], eax
jg 0x43208f
cmp dword [ebp + 0xc], eax
jl 0x43208f
mov byte [ebp - 0x49], 1
jmp 0x43208f
cmp eax, ebx
je 0x43208f
push eax
call edi
lea ecx, [ebp - 0x54]
push ecx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call esi
cmp eax, ebx
jne 0x4320f9
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push str.InstallSuccess
push ecx
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4320d9
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x432103
cmp byte [ebp - 0x49], bl
jne 0x432103
mov eax, 4
cmp dword [ebp + 8], eax
jg 0x432103
cmp dword [ebp + 0xc], eax
jl 0x432103
mov byte [ebp - 0x49], 1
jmp 0x432103
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x432103
push eax
call edi
lea edx, [ebp - 0x54]
push edx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call esi
cmp eax, ebx
jne 0x43216d
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
push ebx
push ebx
push str.Install
push edx
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43214d
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x432177
cmp byte [ebp - 0x49], bl
jne 0x432177
mov eax, 5
cmp dword [ebp + 8], eax
jg 0x432177
cmp dword [ebp + 0xc], eax
jl 0x432177
mov byte [ebp - 0x49], 1
jmp 0x432177
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x432177
push eax
call edi
lea eax, [ebp - 0x54]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call esi
cmp eax, ebx
mov eax, dword [ebp - 0x54]
jne 0x432256
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push ebx
push ebx
push str.Install
push eax
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.TargetVersion
lea ecx, [ebp - 0x54]
call fcn.0042d620
cmp dword [ebp - 0x58], 1
jne 0x432206
mov eax, dword [ebp - 0x1c]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x2c]
call fcn.00404a60
test eax, eax
jne 0x432200
cmp byte [ebp - 0x49], bl
jne 0x432200
cmp dword [ebp + 8], 7
jg 0x432200
cmp dword [ebp + 0xc], 7
jl 0x432200
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x2c]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042d620
cmp dword [ebp - 0x58], 1
jne 0x432253
mov edi, 3
push 0x460b0c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404a60
test eax, eax
jne 0x43224d
cmp byte [ebp - 0x49], bl
jne 0x43224d
mov eax, 0xa
cmp dword [ebp + 8], eax
jg 0x43224d
cmp dword [ebp + 0xc], eax
jl 0x43224d
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43225d
push eax
call edi
lea eax, [ebp - 0x54]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call esi
mov esi, 8
cmp eax, ebx
jne 0x432347
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push ebx
push ebx
push str.Install
push eax
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.TargetVersion
lea ecx, [ebp - 0x54]
call fcn.0042d620
cmp dword [ebp - 0x58], 1
jne 0x4322ed
mov eax, dword [ebp - 0x1c]
push str.4.0.0
lea edi, [esi - 3]
lea ecx, [ebp - 0x2c]
call fcn.00404a60
test eax, eax
jne 0x4322e7
cmp byte [ebp - 0x49], bl
jne 0x4322e7
cmp dword [ebp + 8], esi
jg 0x4322e7
cmp dword [ebp + 0xc], esi
jl 0x4322e7
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x2c]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042d620
cmp dword [ebp - 0x58], 1
jne 0x43233a
mov edi, 3
push 0x460b0c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404a60
test eax, eax
jne 0x432334
cmp byte [ebp - 0x49], bl
jne 0x432334
mov eax, 0xb
cmp dword [ebp + 8], eax
jg 0x432334
cmp dword [ebp + 0xc], eax
jl 0x432334
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x432344
push eax
call edi
mov dword [ebp - 0x54], ebx
xor eax, eax
cmp byte [ebp - 0x49], bl
je 0x432355
push str.Check_Pass.
jmp 0x43235a
push str.Check_Fail.
push 0x46a9d4
call fcn.0042d150
add esp, 8
cmp dword [ebp - 0x18], esi
jb 0x432378
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x432399
mov edx, dword [ebp - 0x48]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
cmp eax, ebx
je 0x4323b3
push eax
call edi
mov al, byte [ebp - 0x49]
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.00438876
mov esp, ebp
pop ebp
ret