Function at 0x4233f5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
push 0x48240c
lea ecx, [ebp - 0x20]
call fcn.0041f009
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
dec eax
push eax
call fcn.0041f1a9
cmp al, 0x5c
je 0x423426
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.0041f1be
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push str.Microsoft.NETFramework_
lea ecx, [ebp - 0x20]
call fcn.0041f20d
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 0x4234d5
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 0x4234ca
mov byte [ebp - 0x14], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4234db
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 0x423529
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 0x423520
cmp dword [ebp - 4], ebx
je 0x423520
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 0x423577
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 0x42356e
cmp dword [ebp - 4], ebx
je 0x42356e
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 0x4235c5
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 0x4235bc
cmp dword [ebp - 4], ebx
je 0x4235bc
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 0x423635
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 0x42362c
cmp dword [ebp - 4], ebx
je 0x42362c
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 0x42362c
cmp dword [ebp - 4], 1
jne 0x42362c
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 0x4236a1
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 0x42367a
cmp dword [ebp - 0xc], ebx
je 0x42367a
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 0x42370d
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 0x4236e6
cmp dword [ebp - 0xc], ebx
je 0x4236e6
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.0041ef35
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], bl
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
je 0x42374c
push str.v1.0.3705
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0041f082
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
cmp esi, ebx
je 0x42374c
cmp edi, ebx
je 0x42374c
cmp dword [esi], ebx
jne 0x42374c
mov byte [edi], 1
cmp byte [ebp - 0x13], bl
je 0x42377e
push str.v1.1.4322
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0041f082
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
cmp esi, ebx
je 0x42377e
cmp edi, ebx
je 0x42377e
cmp dword [esi], 1
jne 0x42377e
mov byte [edi], 1
cmp byte [ebp - 0xe], bl
je 0x4237b0
push str.v2.0.50727
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.0041f082
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
cmp esi, ebx
je 0x4237b0
cmp edi, ebx
je 0x4237b0
cmp dword [esi], 2
jne 0x4237b0
mov byte [edi], 1
cmp byte [ebp - 0x10], bl
je 0x4237e2
push str.v3.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 3
call fcn.0041f082
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
cmp esi, ebx
je 0x4237e2
cmp edi, ebx
je 0x4237e2
cmp dword [esi], 3
jne 0x4237e2
mov byte [edi], 1
cmp byte [ebp - 0xf], bl
je 0x423822
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.0041f082
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
cmp esi, ebx
je 0x423822
cmp edi, ebx
je 0x423822
mov eax, dword [esi]
cmp eax, dword [ebp - 4]
je 0x42381f
cmp eax, 4
jne 0x423822
mov byte [edi], 1
cmp byte [ebp - 0x11], bl
je 0x42386d
cmp byte [ebp - 0x130], bl
mov dword [ebp - 4], 6
je 0x423847
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f0d8
jmp 0x42385d
push str.v4.0.30319
lea ecx, [ebp - 0x20]
call fcn.0041f082
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
cmp esi, ebx
je 0x42386d
cmp edi, ebx
je 0x42386d
cmp dword [esi], 6
jne 0x42386d
mov byte [edi], 1
cmp byte [ebp - 0xd], bl
je 0x4238b8
cmp byte [ebp - 0x130], bl
mov dword [ebp - 4], 7
je 0x423892
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f0d8
jmp 0x4238a8
push str.v4.0.30319
lea ecx, [ebp - 0x20]
call fcn.0041f082
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
cmp esi, ebx
je 0x4238b8
cmp edi, ebx
je 0x4238b8
cmp dword [esi], 7
jne 0x4238b8
mov byte [edi], 1
mov ecx, dword [ebp + 8]
pop edi
pop esi
cmp ecx, ebx
pop ebx
je 0x4238cb
lea eax, [ebp - 0x2c]
push eax
call fcn.0041f146
lea ecx, [ebp - 0x2c]
call fcn.0041f06b
lea ecx, [ebp - 0x20]
call fcn.0041f06b
mov eax, dword [ebp - 4]
leave
ret