Function at 0x436880
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x456818
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x70], ebx
mov eax, 7
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push ebx
mov byte [esp + 0x7c], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v1.0
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x2f], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x436966
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, str.3705
call fcn.00431c50
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436930
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x5c]
push str.3321_3705
mov edi, 9
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], ebx
call fcn.004052d0
test eax, eax
jne 0x436966
cmp dword [esp + 0x78], 1
mov edi, dword [esp + 0x7c]
jg 0x43696a
cmp edi, 1
jl 0x43696a
mov byte [esp + 0x1b], 1
jmp 0x43696a
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436979
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jne 0x4369f1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push str.Install
push eax
mov dword [esp + 0x40], 4
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4369d1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x4369fc
cmp byte [esp + 0x1b], bl
jne 0x4369fc
cmp dword [esp + 0x78], 2
jg 0x4369fc
cmp edi, 2
jl 0x4369fc
mov byte [esp + 0x1b], 1
jmp 0x4369fc
cmp eax, ebx
je 0x4369fc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
push ecx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x436a6e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push str.Install
push ecx
mov dword [esp + 0x40], 4
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436a4e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x436a7d
cmp byte [esp + 0x1b], bl
jne 0x436a7d
cmp dword [esp + 0x78], 3
jg 0x436a7d
cmp edi, 3
jl 0x436a7d
mov byte [esp + 0x1b], 1
jmp 0x436a7d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436a7d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x1c]
push edx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x436aef
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push str.InstallSuccess
push edx
mov dword [esp + 0x40], 4
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436acf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x436afe
cmp byte [esp + 0x1b], bl
jne 0x436afe
cmp dword [esp + 0x78], 4
jg 0x436afe
cmp edi, 4
jl 0x436afe
mov byte [esp + 0x1b], 1
jmp 0x436afe
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436afe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jne 0x436b70
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push str.Install
push eax
mov dword [esp + 0x40], 4
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436b50
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x436b7b
cmp byte [esp + 0x1b], bl
jne 0x436b7b
cmp dword [esp + 0x78], 5
jg 0x436b7b
cmp edi, 5
jl 0x436b7b
mov byte [esp + 0x1b], 1
jmp 0x436b7b
cmp eax, ebx
je 0x436b7b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x436c64
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push str.Install
push ecx
mov dword [esp + 0x40], 4
call ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, str.TargetVersion
call fcn.00431c50
cmp dword [esp + 0x24], 1
jne 0x436c14
mov eax, dword [esp + 0x40]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x30]
call fcn.004052d0
test eax, eax
jne 0x436c14
cmp byte [esp + 0x1b], bl
jne 0x436c14
mov eax, 7
cmp dword [esp + 0x78], eax
jg 0x436c14
cmp dword [esp + 0x7c], eax
jl 0x436c14
mov byte [esp + 0x1b], 1
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, str.Version
call fcn.00431c50
cmp dword [esp + 0x24], 1
jne 0x436c64
mov edi, 3
push 0x4659c4
mov eax, edi
lea ecx, [esp + 0x30]
call fcn.004052d0
test eax, eax
jne 0x436c64
cmp byte [esp + 0x1b], bl
jne 0x436c64
mov eax, 0xa
cmp dword [esp + 0x78], eax
jg 0x436c64
cmp dword [esp + 0x7c], eax
jl 0x436c64
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436c73
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
mov esi, 8
jne 0x436d6d
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push str.Install
push eax
mov dword [esp + 0x40], 4
call ebp
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, str.TargetVersion
call fcn.00431c50
cmp dword [esp + 0x24], 1
jne 0x436d0a
mov eax, dword [esp + 0x40]
push str.4.0.0
lea edi, [esi - 3]
lea ecx, [esp + 0x30]
call fcn.004052d0
test eax, eax
jne 0x436d0a
cmp byte [esp + 0x1b], bl
jne 0x436d0a
cmp dword [esp + 0x78], esi
jg 0x436d0a
cmp dword [esp + 0x7c], esi
jl 0x436d0a
mov byte [esp + 0x1b], 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, str.Version
call fcn.00431c50
cmp dword [esp + 0x24], 1
jne 0x436d5a
mov edi, 3
push 0x4659c4
mov eax, edi
lea ecx, [esp + 0x30]
call fcn.004052d0
test eax, eax
jne 0x436d5a
cmp byte [esp + 0x1b], bl
jne 0x436d5a
mov eax, 0xb
cmp dword [esp + 0x78], eax
jg 0x436d5a
cmp dword [esp + 0x7c], eax
jl 0x436d5a
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x436d69
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
xor eax, eax
cmp byte [esp + 0x1b], bl
je 0x436d7c
push str.Check_Pass.
jmp 0x436d81
push str.Check_Fail.
push 0x46fa40
call fcn.00431730
add esp, 8
cmp dword [esp + 0x44], esi
jb 0x436da1
mov edx, dword [esp + 0x30]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x60], esi
mov edi, 7
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x436dc6
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043e965
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
je 0x436de2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043d02a
add esp, 0x60
ret