Function at 0x431ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450928
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x469738]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x469738]
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
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], esi
mov word [esp + 0x44], cx
xor edx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov word [esp + 0x28], dx
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 reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x431b8f
lea ecx, [esp + 0x44]
push ecx
mov eax, str.3705
lea ecx, [esp + 0x18]
call fcn.0042d620
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431b68
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x54]
push str.3321_3705
mov edi, 9
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], esi
call fcn.00404ab0
test eax, eax
jne 0x431b8f
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x431ba0
push eax
call edi
lea edx, [esp + 0x14]
push edx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x431c03
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push str.Install
push edx
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431bf2
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x431c0e
mov dword [esp + 0x24], 2
jmp 0x431c0e
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431c0e
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
mov eax, dword [esp + 0x14]
jne 0x431c71
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 dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431c60
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x431c78
mov dword [esp + 0x24], 3
jmp 0x431c78
cmp eax, esi
je 0x431c78
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x431cdb
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push str.InstallSuccess
push ecx
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431cca
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x431ce6
mov dword [esp + 0x24], 4
jmp 0x431ce6
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431ce6
push eax
call edi
lea edx, [esp + 0x14]
push edx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x431d49
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push str.Install
push edx
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431d38
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x431d54
mov dword [esp + 0x24], 5
jmp 0x431d54
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431d54
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
mov eax, dword [esp + 0x14]
jne 0x431e27
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 dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x28]
push ecx
mov eax, str.TargetVersion
lea ecx, [esp + 0x18]
call fcn.0042d620
cmp dword [esp + 0x1c], 1
jne 0x431de2
mov eax, dword [esp + 0x38]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x2c]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431de2
mov dword [esp + 0x24], 7
lea edx, [esp + 0x28]
push edx
mov eax, str.Version
lea ecx, [esp + 0x18]
call fcn.0042d620
cmp dword [esp + 0x1c], 1
jne 0x431e23
mov edi, 3
push 0x46084c
mov eax, edi
lea ecx, [esp + 0x2c]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431e23
mov dword [esp + 0x24], 0xa
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431e2e
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x431f0c
mov eax, dword [esp + 0x14]
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 dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x28]
push ecx
mov eax, str.TargetVersion
lea ecx, [esp + 0x18]
call fcn.0042d620
cmp dword [esp + 0x1c], 1
jne 0x431ebc
mov eax, dword [esp + 0x38]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x2c]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431ebc
mov dword [esp + 0x24], 8
lea edx, [esp + 0x28]
push edx
mov eax, str.Version
lea ecx, [esp + 0x18]
call fcn.0042d620
cmp dword [esp + 0x1c], 1
jne 0x431efd
mov edi, 3
push 0x46084c
mov eax, edi
lea ecx, [esp + 0x2c]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431efd
mov dword [esp + 0x24], 0xb
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x431f08
push eax
call edi
mov dword [esp + 0x14], esi
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x24]
push ebx
xor eax, eax
push edi
cmp edi, ebx
jl 0x431f22
push str.Check_Pass.__Found_ID:__d___Min_ID:__d
jmp 0x431f27
push str.Check_Fail.__Found_ID:__d___Min_ID:__d
push 0x46a9d4
call fcn.0042d150
add esp, 0x10
cmp edi, ebx
mov edi, 8
setge bl
cmp dword [esp + 0x3c], edi
jb 0x431f51
mov eax, dword [esp + 0x28]
push eax
call fcn.004396db
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], esi
mov word [esp + 0x28], cx
cmp dword [esp + 0x58], edi
jb 0x431f77
mov edx, dword [esp + 0x44]
push edx
call fcn.004396db
add esp, 4
xor eax, eax
mov word [esp + 0x44], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], esi
cmp eax, esi
je 0x431f99
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.00438351
mov esp, ebp
pop ebp
ret