Function at 0x431120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fd48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x468738]
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 0x4311df
lea ecx, [ebp - 0x4c]
push ecx
mov eax, str.3705
lea ecx, [ebp - 0x54]
call fcn.0042ccf0
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x4311bc
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.00404ab0
test eax, eax
jne 0x4311df
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x4311ef
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 0x431248
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 0x431239
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431252
mov dword [ebp - 0x60], 2
jmp 0x431252
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431252
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 0x4312ab
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 0x43129c
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x4312b2
mov dword [ebp - 0x60], 3
jmp 0x4312b2
cmp eax, esi
je 0x4312b2
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 0x43130b
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 0x4312fc
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431315
mov dword [ebp - 0x60], 4
jmp 0x431315
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431315
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 0x43136e
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 0x43135f
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431378
mov dword [ebp - 0x60], 5
jmp 0x431378
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431378
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 0x431438
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.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x4313f9
mov eax, dword [ebp - 0x20]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4313f9
mov dword [ebp - 0x60], 7
lea edx, [ebp - 0x30]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x431435
mov edi, 3
push 0x45f364
mov eax, edi
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x431435
mov dword [ebp - 0x60], 0xa
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x43143f
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 0x431509
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.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x4314c0
mov eax, dword [ebp - 0x20]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4314c0
mov dword [ebp - 0x60], 8
lea edx, [ebp - 0x30]
push edx
mov eax, str.Version
lea ecx, [ebp - 0x54]
call fcn.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x4314fc
mov edi, 3
push 0x45f364
mov eax, edi
lea ecx, [ebp - 0x30]
call fcn.00404ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4314fc
mov dword [ebp - 0x60], 0xb
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x431506
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 0x43151e
push str.Check_Pass.__Found_ID:__d___Min_ID:__d
jmp 0x431523
push str.Check_Fail.__Found_ID:__d___Min_ID:__d
push 0x4699dc
call fcn.0042c820
add esp, 0x10
cmp edi, ebx
mov edi, 8
setge bl
cmp dword [ebp - 0x1c], edi
jb 0x43154b
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b5b
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 0x43156c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b5b
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 0x43158a
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.004377d1
mov esp, ebp
pop ebp
ret