Function at 0x436370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456858
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x70], esi
mov eax, 7
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], si
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
mov byte [esp + 0x7c], 2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v1.0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x43644c
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, str.3705
call fcn.00431c50
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x436425
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x58]
push str.3321_3705
mov edi, 9
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], esi
call fcn.004052d0
test eax, eax
jne 0x43644c
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x14]
cmp eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43645d
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
mov eax, dword [esp + 0x14]
jne 0x4364c0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push str.Install
push eax
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4364af
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x4364c7
mov dword [esp + 0x24], 2
jmp 0x4364c7
cmp eax, esi
je 0x4364c7
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x43652a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push str.Install
push ecx
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x436519
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x436535
mov dword [esp + 0x24], 3
jmp 0x436535
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x436535
push eax
call edi
lea edx, [esp + 0x14]
push edx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x436598
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push str.InstallSuccess
push edx
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x436587
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x4365a3
mov dword [esp + 0x24], 4
jmp 0x4365a3
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4365a3
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
mov eax, dword [esp + 0x14]
jne 0x436606
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push str.Install
push eax
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4365f5
push eax
call edi
cmp dword [esp + 0x1c], 1
jne 0x43660d
mov dword [esp + 0x24], 5
jmp 0x43660d
cmp eax, esi
je 0x43660d
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x4366de
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push str.Install
push ecx
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, str.TargetVersion
call fcn.00431c50
cmp dword [esp + 0x1c], 1
jne 0x43669c
mov eax, dword [esp + 0x3c]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x2c]
call fcn.004052d0
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x43669c
mov dword [esp + 0x24], 7
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, str.Version
call fcn.00431c50
cmp dword [esp + 0x1c], 1
jne 0x4366de
mov edi, 3
push 0x4659c4
mov eax, edi
lea ecx, [esp + 0x2c]
call fcn.004052d0
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4366de
mov dword [esp + 0x24], 0xa
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4366e9
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp eax, esi
jne 0x4367c9
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push str.Install
push eax
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, str.TargetVersion
call fcn.00431c50
cmp dword [esp + 0x1c], 1
jne 0x436778
mov eax, dword [esp + 0x3c]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x2c]
call fcn.004052d0
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x436778
mov dword [esp + 0x24], 8
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov eax, str.Version
call fcn.00431c50
cmp dword [esp + 0x1c], 1
jne 0x4367ba
mov edi, 3
push 0x4659c4
mov eax, edi
lea ecx, [esp + 0x2c]
call fcn.004052d0
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4367ba
mov dword [esp + 0x24], 0xb
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4367c5
push eax
call edi
mov dword [esp + 0x14], esi
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x24]
push ebx
xor eax, eax
cmp edi, ebx
push edi
jl 0x4367df
push str.Check_Pass.__Found_ID:__d___Min_ID:__d
jmp 0x4367e4
push str.Check_Fail.__Found_ID:__d___Min_ID:__d
push 0x46fa40
call fcn.00431730
add esp, 0x10
cmp edi, ebx
mov edi, 8
setge bl
cmp dword [esp + 0x40], edi
jb 0x43680e
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], si
jb 0x436832
mov eax, dword [esp + 0x48]
push eax
call fcn.0043e965
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, esi
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
je 0x436852
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043d02a
mov esp, ebp
pop ebp
ret