Function at 0x4233d7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
push 0x48240c
lea ecx, [ebp - 0x20]
call fcn.0041f001
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
dec eax
push eax
call fcn.0041f1a1
cmp al, 0x5c
je 0x423408
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.0041f1b6
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push str.Microsoft.NETFramework_
lea ecx, [ebp - 0x20]
call fcn.0041f205
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12f]
mov byte [ebp - 0x130], bl
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov byte [ebp - 0x11], bl
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoft.NETFrameworkPolicy_v1.0
push 0x80000002
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x12], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x14], bl
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x4234b7
push 0x31
lea edi, [ebp - 0x1f7]
pop ecx
mov byte [ebp - 0x1f8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push ebx
push str.3705
push dword [ebp - 8]
mov dword [ebp - 0xc], 0xc8
call edi
test eax, eax
jne 0x4234ac
mov byte [ebp - 0x14], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4234bd
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
push 0x80000002
call esi
test eax, eax
jne 0x42350b
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.Install
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call edi
test eax, eax
jne 0x423502
cmp dword [ebp - 4], ebx
je 0x423502
mov byte [ebp - 0x13], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push 0x80000002
call esi
test eax, eax
jne 0x423559
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.Install
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call edi
test eax, eax
jne 0x423550
cmp dword [ebp - 4], ebx
je 0x423550
mov byte [ebp - 0xe], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
push 0x80000002
call esi
test eax, eax
jne 0x4235a7
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.InstallSuccess
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call edi
test eax, eax
jne 0x42359e
cmp dword [ebp - 4], ebx
je 0x42359e
mov byte [ebp - 0x10], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push 0x80000002
call esi
test eax, eax
jne 0x423617
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.Install
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call edi
test eax, eax
jne 0x42360e
cmp dword [ebp - 4], ebx
je 0x42360e
lea eax, [ebp - 0xc]
mov byte [ebp - 0xf], 1
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x431bc4
push dword [ebp - 8]
call edi
test eax, eax
jne 0x42360e
cmp dword [ebp - 4], 1
jne 0x42360e
mov byte [ebp - 0x12], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push 0x80000002
call esi
test eax, eax
jne 0x423683
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push str.Install
push dword [ebp - 8]
mov dword [ebp - 4], 4
call edi
test eax, eax
jne 0x42365c
cmp dword [ebp - 0xc], ebx
je 0x42365c
mov byte [ebp - 0x11], 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x130]
push eax
push ebx
push ebx
push str.InstallPath
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push 0x80000002
call esi
test eax, eax
jne 0x4236ef
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push str.Install
push dword [ebp - 8]
mov dword [ebp - 4], 4
call edi
test eax, eax
jne 0x4236c8
cmp dword [ebp - 0xc], ebx
je 0x4236c8
mov byte [ebp - 0xd], 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x130]
push eax
push ebx
push ebx
push str.InstallPath
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.0041ef2d
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], bl
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
je 0x42372e
push str.v1.0.3705
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0041f07a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f13e
cmp esi, ebx
je 0x42372e
cmp edi, ebx
je 0x42372e
cmp dword [esi], ebx
jne 0x42372e
mov byte [edi], 1
cmp byte [ebp - 0x13], bl
je 0x423760
push str.v1.1.4322
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0041f07a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f13e
cmp esi, ebx
je 0x423760
cmp edi, ebx
je 0x423760
cmp dword [esi], 1
jne 0x423760
mov byte [edi], 1
cmp byte [ebp - 0xe], bl
je 0x423792
push str.v2.0.50727
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.0041f07a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f13e
cmp esi, ebx
je 0x423792
cmp edi, ebx
je 0x423792
cmp dword [esi], 2
jne 0x423792
mov byte [edi], 1
cmp byte [ebp - 0x10], bl
je 0x4237c4
push str.v3.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 3
call fcn.0041f07a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f13e
cmp esi, ebx
je 0x4237c4
cmp edi, ebx
je 0x4237c4
cmp dword [esi], 3
jne 0x4237c4
mov byte [edi], 1
cmp byte [ebp - 0xf], bl
je 0x423804
xor eax, eax
cmp byte [ebp - 0x12], bl
push str.v3.5
lea ecx, [ebp - 0x20]
setne al
add eax, 4
mov dword [ebp - 4], eax
call fcn.0041f07a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f13e
cmp esi, ebx
je 0x423804
cmp edi, ebx
je 0x423804
mov eax, dword [esi]
cmp eax, dword [ebp - 4]
je 0x423801
cmp eax, 4
jne 0x423804
mov byte [edi], 1
cmp byte [ebp - 0x11], bl
je 0x42384f
cmp byte [ebp - 0x130], bl
mov dword [ebp - 4], 6
je 0x423829
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f0d0
jmp 0x42383f
push str.v4.0.30319
lea ecx, [ebp - 0x20]
call fcn.0041f07a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f13e
cmp esi, ebx
je 0x42384f
cmp edi, ebx
je 0x42384f
cmp dword [esi], 6
jne 0x42384f
mov byte [edi], 1
cmp byte [ebp - 0xd], bl
je 0x42389a
cmp byte [ebp - 0x130], bl
mov dword [ebp - 4], 7
je 0x423874
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f0d0
jmp 0x42388a
push str.v4.0.30319
lea ecx, [ebp - 0x20]
call fcn.0041f07a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f13e
cmp esi, ebx
je 0x42389a
cmp edi, ebx
je 0x42389a
cmp dword [esi], 7
jne 0x42389a
mov byte [edi], 1
mov ecx, dword [ebp + 8]
pop edi
pop esi
cmp ecx, ebx
pop ebx
je 0x4238ad
lea eax, [ebp - 0x2c]
push eax
call fcn.0041f13e
lea ecx, [ebp - 0x2c]
call fcn.0041f063
lea ecx, [ebp - 0x20]
call fcn.0041f063
mov eax, dword [ebp - 4]
leave
ret