Function at 0x432be0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4508e0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x468744]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], dx
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
mov word [ebp - 0x64], dx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 3
cmp byte [0x46b06c], dl
jne 0x4330b3
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x432c8d
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x74], 0
setne al
test al, al
je 0x432c8d
mov dword [ebp - 0x74], 1
jmp 0x432cca
push str.IsWow64Process
push str.kernel32
call edi
push eax
call ebx
mov esi, eax
test esi, esi
je 0x432cba
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x74], 0
setne al
test al, al
jne 0x432cc3
mov dword [ebp - 0x74], 0
jmp 0x432cca
mov dword [ebp - 0x74], 2
push 0x104
push 0x46b070
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x432ce8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
lea ebx, [ebp - 0x68]
mov dword [ebp - 0x6c], 0
call fcn.0042d230
xor edi, edi
cmp eax, edi
jne 0x432dcb
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x6c]
push ecx
or eax, 0xf003f
push eax
push edi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x432dcb
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push str.Install
push ecx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x6c]
cmp eax, edi
je 0x432d58
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], edi
jne 0x432dd9
call fcn.00431270
test al, al
mov eax, 0x46b070
lea edx, [eax + 2]
je 0x432da0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432d72
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46b070
lea esi, [ebp - 0x48]
call fcn.00406580
mov ecx, eax
push 0x25
mov eax, str.Microsoft.NETFramework64_v2.0.50727
jmp 0x432dc6
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432da0
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46b070
add byte [ebp - 0x3c17478b], cl
aaa
std
dec dword [ebx - 0x47dc9538]
xor byte [edx], al
inc esi
invalid
call fcn.00403640
mov eax, dword [ebp - 0x6c]
cmp eax, edi
je 0x432dd9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
lea ebx, [ebp - 0x68]
mov dword [ebp - 0x6c], edi
call fcn.0042d230
xor esi, esi
cmp eax, esi
jne 0x432e57
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x6c]
push edx
or eax, 0xf003f
push eax
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x432e57
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x70]
push ecx
push esi
push esi
push str.Install
push edx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x432e3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], esi
jne 0x432e65
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x432e65
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
lea ebx, [ebp - 0x68]
mov dword [ebp - 0x6c], esi
call fcn.0042d230
test eax, eax
jne 0x432f45
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x6c]
push ecx
or eax, 0x20019
push eax
push 0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432f45
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push str.Install
push ecx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x2c]
push edx
mov eax, str.TargetVersion
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
cmp dword [ebp - 0x70], 1
jne 0x432f05
mov eax, dword [ebp - 0x1c]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432f05
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.Version
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
cmp dword [ebp - 0x70], 1
jne 0x432f45
mov edi, 3
push 0x45fa8c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432f45
lea edx, [ebp - 0x48]
push edx
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x432f53
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
lea ebx, [ebp - 0x68]
mov dword [ebp - 0x6c], esi
call fcn.0042d230
xor esi, esi
cmp eax, esi
jne 0x433041
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x6c]
push ecx
or eax, 0x20019
push eax
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x433041
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push str.Install
push ecx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x2c]
push edx
mov eax, str.TargetVersion
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
cmp dword [ebp - 0x70], 1
jne 0x432ff0
mov eax, dword [ebp - 0x1c]
push str.4.0.0
lea edi, [esi + 5]
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432ff0
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.Version
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
cmp dword [ebp - 0x70], 1
jne 0x433030
mov edi, 3
push 0x45fa8c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x433030
lea edx, [ebp - 0x48]
push edx
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d4f0
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x43303e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x38]
mov ecx, 0x104
cmp eax, ecx
jae 0x43304f
mov ecx, eax
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x43305f
lea eax, [ebp - 0x48]
add ecx, ecx
push ecx
push eax
push 0x46b070
call fcn.0043e700
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x433081
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x43309f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x34], edi
jb 0x4330b3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00439b10
add esp, 4
mov eax, 0x46b070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438786
mov esp, ebp
pop ebp
ret