Function at 0x431a90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x450b98
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663e0]
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 0x80000002
mov byte [esp + 0x2f], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x431b76
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, str.3705
call fcn.0042cf10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x431b40
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.004052b0
test eax, eax
jne 0x431b76
cmp dword [esp + 0x78], 1
mov edi, dword [esp + 0x7c]
jg 0x431b7a
cmp edi, 1
jl 0x431b7a
mov byte [esp + 0x1b], 1
jmp 0x431b7a
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x431b89
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 0x80000002
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 0x431c01
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 0x431be1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x431c0c
cmp byte [esp + 0x1b], bl
jne 0x431c0c
cmp dword [esp + 0x78], 2
jg 0x431c0c
cmp edi, 2
jl 0x431c0c
mov byte [esp + 0x1b], 1
jmp 0x431c0c
cmp eax, ebx
je 0x431c0c
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 0x80000002
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x431c7e
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 0x431c5e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x431c8d
cmp byte [esp + 0x1b], bl
jne 0x431c8d
cmp dword [esp + 0x78], 3
jg 0x431c8d
cmp edi, 3
jl 0x431c8d
mov byte [esp + 0x1b], 1
jmp 0x431c8d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x431c8d
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 0x80000002
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x431cff
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 0x431cdf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x431d0e
cmp byte [esp + 0x1b], bl
jne 0x431d0e
cmp dword [esp + 0x78], 4
jg 0x431d0e
cmp edi, 4
jl 0x431d0e
mov byte [esp + 0x1b], 1
jmp 0x431d0e
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x431d0e
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 0x80000002
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jne 0x431d80
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 0x431d60
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x431d8b
cmp byte [esp + 0x1b], bl
jne 0x431d8b
cmp dword [esp + 0x78], 5
jg 0x431d8b
cmp edi, 5
jl 0x431d8b
mov byte [esp + 0x1b], 1
jmp 0x431d8b
cmp eax, ebx
je 0x431d8b
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 0x80000002
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x431e70
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.0042cf10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x431df5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
mov dword [esp + 0x1c], ebx
jne 0x431e7f
mov eax, dword [esp + 0x40]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x30]
call fcn.004052b0
test eax, eax
jne 0x431e37
cmp byte [esp + 0x1b], bl
jne 0x431e37
mov eax, 7
cmp dword [esp + 0x78], eax
jg 0x431e37
cmp dword [esp + 0x7c], eax
jl 0x431e37
mov byte [esp + 0x1b], 1
cmp dword [esp + 0x24], 1
jne 0x431e70
mov eax, dword [esp + 0x40]
push str.4.5.0
lea ecx, [esp + 0x30]
call fcn.004052b0
test eax, eax
jne 0x431e70
cmp byte [esp + 0x1b], bl
jne 0x431e70
mov eax, 0xa
cmp dword [esp + 0x78], eax
jg 0x431e70
cmp dword [esp + 0x7c], eax
jl 0x431e70
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x431e7f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push 0x80000002
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
mov esi, 8
jne 0x431f6b
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.0042cf10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x431eee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
mov dword [esp + 0x1c], ebx
jne 0x431f6b
mov eax, dword [esp + 0x40]
push str.4.0.0
mov edi, 5
lea ecx, [esp + 0x30]
call fcn.004052b0
test eax, eax
jne 0x431f2b
cmp byte [esp + 0x1b], bl
jne 0x431f2b
cmp dword [esp + 0x78], esi
jg 0x431f2b
cmp dword [esp + 0x7c], esi
jl 0x431f2b
mov byte [esp + 0x1b], 1
cmp dword [esp + 0x24], 1
jne 0x431f6b
mov eax, dword [esp + 0x40]
push str.4.5.0
lea ecx, [esp + 0x30]
call fcn.004052b0
test eax, eax
jne 0x431f6b
cmp byte [esp + 0x1b], bl
jne 0x431f71
mov eax, 0xb
cmp dword [esp + 0x78], eax
jg 0x431f78
cmp dword [esp + 0x7c], eax
jl 0x431f78
mov byte [esp + 0x1b], 1
push str.Check_Pass.
jmp 0x431f7d
cmp byte [esp + 0x1b], bl
je 0x431f78
push str.Check_Pass.
jmp 0x431f7d
push str.Check_Fail.
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 8
cmp dword [esp + 0x44], esi
jb 0x431f9f
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00439059
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 0x431fc4
mov edx, dword [esp + 0x4c]
push edx
call fcn.00439059
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 0x431fe0
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.0043782a
add esp, 0x60
ret