Function at 0x431a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450b48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x469744]
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 0x431aff
lea ecx, [ebp - 0x4c]
push ecx
mov eax, str.3705
lea ecx, [ebp - 0x54]
call fcn.0042d620
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431adc
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.00404a60
test eax, eax
jne 0x431aff
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x431b0f
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 0x431b68
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 0x431b59
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431b72
mov dword [ebp - 0x60], 2
jmp 0x431b72
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431b72
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 0x431bcb
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 0x431bbc
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431bd2
mov dword [ebp - 0x60], 3
jmp 0x431bd2
cmp eax, esi
je 0x431bd2
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 0x431c2b
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 0x431c1c
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431c35
mov dword [ebp - 0x60], 4
jmp 0x431c35
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431c35
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 0x431c8e
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 0x431c7f
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431c98
mov dword [ebp - 0x60], 5
jmp 0x431c98
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431c98
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 0x431d58
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.0042d620
cmp dword [ebp - 0x58], 1
jne 0x431d19
mov eax, dword [ebp - 0x20]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x30]
call fcn.00404a60
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431d19
mov dword [ebp - 0x60], 7
lea edx, [ebp - 0x30]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042d620
cmp dword [ebp - 0x58], 1
jne 0x431d55
mov edi, 3
push 0x460b0c
mov eax, edi
lea ecx, [ebp - 0x30]
call fcn.00404a60
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431d55
mov dword [ebp - 0x60], 0xa
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431d5f
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 0x431e29
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.0042d620
cmp dword [ebp - 0x58], 1
jne 0x431de0
mov eax, dword [ebp - 0x20]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x30]
call fcn.00404a60
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431de0
mov dword [ebp - 0x60], 8
lea edx, [ebp - 0x30]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042d620
cmp dword [ebp - 0x58], 1
jne 0x431e1c
mov edi, 3
push 0x460b0c
mov eax, edi
lea ecx, [ebp - 0x30]
call fcn.00404a60
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431e1c
mov dword [ebp - 0x60], 0xb
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431e26
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 0x431e3e
push str.Check_Pass.__Found_ID:__d___Min_ID:__d
jmp 0x431e43
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 [ebp - 0x1c], edi
jb 0x431e6b
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439c00
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 0x431e8c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439c00
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 0x431eaa
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.00438876
mov esp, ebp
pop ebp
ret