Function at 0x431fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4508e8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x469738]
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 0x43208a
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 0x43205c
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 0x43208a
mov eax, 1
cmp dword [ebp + 8], eax
jg 0x43208a
cmp dword [ebp + 0xc], eax
jl 0x43208a
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x43209a
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 0x432104
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 0x4320e4
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x43210e
cmp byte [ebp - 0x49], bl
jne 0x43210e
mov eax, 2
cmp dword [ebp + 8], eax
jg 0x43210e
cmp dword [ebp + 0xc], eax
jl 0x43210e
mov byte [ebp - 0x49], 1
jmp 0x43210e
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43210e
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 0x432178
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 0x432158
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x43217f
cmp byte [ebp - 0x49], bl
jne 0x43217f
mov eax, 3
cmp dword [ebp + 8], eax
jg 0x43217f
cmp dword [ebp + 0xc], eax
jl 0x43217f
mov byte [ebp - 0x49], 1
jmp 0x43217f
cmp eax, ebx
je 0x43217f
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 0x4321e9
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 0x4321c9
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x4321f3
cmp byte [ebp - 0x49], bl
jne 0x4321f3
mov eax, 4
cmp dword [ebp + 8], eax
jg 0x4321f3
cmp dword [ebp + 0xc], eax
jl 0x4321f3
mov byte [ebp - 0x49], 1
jmp 0x4321f3
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4321f3
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 0x43225d
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 0x43223d
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x432267
cmp byte [ebp - 0x49], bl
jne 0x432267
mov eax, 5
cmp dword [ebp + 8], eax
jg 0x432267
cmp dword [ebp + 0xc], eax
jl 0x432267
mov byte [ebp - 0x49], 1
jmp 0x432267
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x432267
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 0x432346
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 0x4322f6
mov eax, dword [ebp - 0x1c]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x4322f0
cmp byte [ebp - 0x49], bl
jne 0x4322f0
cmp dword [ebp + 8], 7
jg 0x4322f0
cmp dword [ebp + 0xc], 7
jl 0x4322f0
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 0x432343
mov edi, 3
push 0x46084c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x43233d
cmp byte [ebp - 0x49], bl
jne 0x43233d
mov eax, 0xa
cmp dword [ebp + 8], eax
jg 0x43233d
cmp dword [ebp + 0xc], eax
jl 0x43233d
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43234d
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 0x432437
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 0x4323dd
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 0x4323d7
cmp byte [ebp - 0x49], bl
jne 0x4323d7
cmp dword [ebp + 8], esi
jg 0x4323d7
cmp dword [ebp + 0xc], esi
jl 0x4323d7
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 0x43242a
mov edi, 3
push 0x46084c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432424
cmp byte [ebp - 0x49], bl
jne 0x432424
mov eax, 0xb
cmp dword [ebp + 8], eax
jg 0x432424
cmp dword [ebp + 0xc], eax
jl 0x432424
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x432434
push eax
call edi
mov dword [ebp - 0x54], ebx
xor eax, eax
cmp byte [ebp - 0x49], bl
je 0x432445
push str.Check_Pass.
jmp 0x43244a
push str.Check_Fail.
push 0x46a9d4
call fcn.0042d150
add esp, 8
cmp dword [ebp - 0x18], esi
jb 0x432468
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004396db
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 0x432489
mov edx, dword [ebp - 0x48]
push edx
call fcn.004396db
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 0x4324a3
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.00438351
mov esp, ebp
pop ebp
ret