Function at 0x431d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4509b8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x468744]
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 0x431e4a
lea ecx, [ebp - 0x48]
push ecx
mov eax, str.3705
lea ecx, [ebp - 0x54]
call fcn.0042d4f0
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x431e1c
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.00404ab0
test eax, eax
jne 0x431e4a
mov eax, 1
cmp dword [ebp + 8], eax
jg 0x431e4a
cmp dword [ebp + 0xc], eax
jl 0x431e4a
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x431e5a
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 0x431ec4
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 0x431ea4
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431ece
cmp byte [ebp - 0x49], bl
jne 0x431ece
mov eax, 2
cmp dword [ebp + 8], eax
jg 0x431ece
cmp dword [ebp + 0xc], eax
jl 0x431ece
mov byte [ebp - 0x49], 1
jmp 0x431ece
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x431ece
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 0x431f38
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 0x431f18
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431f3f
cmp byte [ebp - 0x49], bl
jne 0x431f3f
mov eax, 3
cmp dword [ebp + 8], eax
jg 0x431f3f
cmp dword [ebp + 0xc], eax
jl 0x431f3f
mov byte [ebp - 0x49], 1
jmp 0x431f3f
cmp eax, ebx
je 0x431f3f
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 0x431fa9
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 0x431f89
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431fb3
cmp byte [ebp - 0x49], bl
jne 0x431fb3
mov eax, 4
cmp dword [ebp + 8], eax
jg 0x431fb3
cmp dword [ebp + 0xc], eax
jl 0x431fb3
mov byte [ebp - 0x49], 1
jmp 0x431fb3
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x431fb3
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 0x43201d
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 0x431ffd
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x432027
cmp byte [ebp - 0x49], bl
jne 0x432027
mov eax, 5
cmp dword [ebp + 8], eax
jg 0x432027
cmp dword [ebp + 0xc], eax
jl 0x432027
mov byte [ebp - 0x49], 1
jmp 0x432027
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x432027
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 0x432106
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.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x4320b6
mov eax, dword [ebp - 0x1c]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x4320b0
cmp byte [ebp - 0x49], bl
jne 0x4320b0
cmp dword [ebp + 8], 7
jg 0x4320b0
cmp dword [ebp + 0xc], 7
jl 0x4320b0
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.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x432103
mov edi, 3
push 0x45fa8c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x4320fd
cmp byte [ebp - 0x49], bl
jne 0x4320fd
mov eax, 0xa
cmp dword [ebp + 8], eax
jg 0x4320fd
cmp dword [ebp + 0xc], eax
jl 0x4320fd
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43210d
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 0x4321f7
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.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x43219d
mov eax, dword [ebp - 0x1c]
push str.4.0.0
lea edi, [esi - 3]
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432197
cmp byte [ebp - 0x49], bl
jne 0x432197
cmp dword [ebp + 8], esi
jg 0x432197
cmp dword [ebp + 0xc], esi
jl 0x432197
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.0042d4f0
cmp dword [ebp - 0x58], 1
jne 0x4321ea
mov edi, 3
push 0x45fa8c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x4321e4
cmp byte [ebp - 0x49], bl
jne 0x4321e4
mov eax, 0xb
cmp dword [ebp + 8], eax
jg 0x4321e4
cmp dword [ebp + 0xc], eax
jl 0x4321e4
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4321f4
push eax
call edi
mov dword [ebp - 0x54], ebx
xor eax, eax
cmp byte [ebp - 0x49], bl
je 0x432205
push str.Check_Pass.
jmp 0x43220a
push str.Check_Fail.
push 0x4699d4
call fcn.0042d020
add esp, 8
cmp dword [ebp - 0x18], esi
jb 0x432228
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00439b10
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 0x432249
mov edx, dword [ebp - 0x48]
push edx
call fcn.00439b10
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 0x432263
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.00438786
mov esp, ebp
pop ebp
ret