Function at 0x4315b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fd08
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x468738]
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 0x43167a
lea ecx, [ebp - 0x48]
push ecx
mov eax, str.3705
lea ecx, [ebp - 0x54]
call fcn.0042ccf0
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43164c
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 0x43167a
mov eax, 1
cmp dword [ebp + 8], eax
jg 0x43167a
cmp dword [ebp + 0xc], eax
jl 0x43167a
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x43168a
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 0x4316f4
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 0x4316d4
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x4316fe
cmp byte [ebp - 0x49], bl
jne 0x4316fe
mov eax, 2
cmp dword [ebp + 8], eax
jg 0x4316fe
cmp dword [ebp + 0xc], eax
jl 0x4316fe
mov byte [ebp - 0x49], 1
jmp 0x4316fe
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4316fe
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 0x431768
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 0x431748
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x43176f
cmp byte [ebp - 0x49], bl
jne 0x43176f
mov eax, 3
cmp dword [ebp + 8], eax
jg 0x43176f
cmp dword [ebp + 0xc], eax
jl 0x43176f
mov byte [ebp - 0x49], 1
jmp 0x43176f
cmp eax, ebx
je 0x43176f
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 0x4317d9
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 0x4317b9
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x4317e3
cmp byte [ebp - 0x49], bl
jne 0x4317e3
mov eax, 4
cmp dword [ebp + 8], eax
jg 0x4317e3
cmp dword [ebp + 0xc], eax
jl 0x4317e3
mov byte [ebp - 0x49], 1
jmp 0x4317e3
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4317e3
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 0x43184d
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 0x43182d
push eax
call edi
cmp dword [ebp - 0x58], 1
jne 0x431857
cmp byte [ebp - 0x49], bl
jne 0x431857
mov eax, 5
cmp dword [ebp + 8], eax
jg 0x431857
cmp dword [ebp + 0xc], eax
jl 0x431857
mov byte [ebp - 0x49], 1
jmp 0x431857
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x431857
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 0x431936
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.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x4318e6
mov eax, dword [ebp - 0x1c]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x4318e0
cmp byte [ebp - 0x49], bl
jne 0x4318e0
cmp dword [ebp + 8], 7
jg 0x4318e0
cmp dword [ebp + 0xc], 7
jl 0x4318e0
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.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x431933
mov edi, 3
push 0x45f364
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x43192d
cmp byte [ebp - 0x49], bl
jne 0x43192d
mov eax, 0xa
cmp dword [ebp + 8], eax
jg 0x43192d
cmp dword [ebp + 0xc], eax
jl 0x43192d
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x43193d
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 0x431a27
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.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x4319cd
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 0x4319c7
cmp byte [ebp - 0x49], bl
jne 0x4319c7
cmp dword [ebp + 8], esi
jg 0x4319c7
cmp dword [ebp + 0xc], esi
jl 0x4319c7
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.0042ccf0
cmp dword [ebp - 0x58], 1
jne 0x431a1a
mov edi, 3
push 0x45f364
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x431a14
cmp byte [ebp - 0x49], bl
jne 0x431a14
mov eax, 0xb
cmp dword [ebp + 8], eax
jg 0x431a14
cmp dword [ebp + 0xc], eax
jl 0x431a14
mov byte [ebp - 0x49], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x431a24
push eax
call edi
mov dword [ebp - 0x54], ebx
xor eax, eax
cmp byte [ebp - 0x49], bl
je 0x431a35
push str.Check_Pass.
jmp 0x431a3a
push str.Check_Fail.
push 0x4699dc
call fcn.0042c820
add esp, 8
cmp dword [ebp - 0x18], esi
jb 0x431a58
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438b5b
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 0x431a79
mov edx, dword [ebp - 0x48]
push edx
call fcn.00438b5b
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 0x431a93
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.004377d1
mov esp, ebp
pop ebp
ret