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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fc30
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x468738]
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 [0x46af8c], dl
jne 0x4328d3
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 0x4324ad
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 0x4324ad
mov dword [ebp - 0x74], 1
jmp 0x4324ea
push str.IsWow64Process
push str.kernel32
call edi
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4324da
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 0x4324e3
mov dword [ebp - 0x74], 0
jmp 0x4324ea
mov dword [ebp - 0x74], 2
push 0x104
push 0x46af90
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x432508
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.0042ca30
xor edi, edi
cmp eax, edi
jne 0x4325eb
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 0x4325eb
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 0x432578
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], edi
jne 0x4325f9
call fcn.00430aa0
test al, al
mov eax, 0x46af90
lea edx, [eax + 2]
je 0x4325c0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432592
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46af90
lea esi, [ebp - 0x48]
call fcn.004065a0
mov ecx, eax
push 0x25
mov eax, str.Microsoft.NETFramework64_v2.0.50727
jmp 0x4325e6
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4325c0
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46af90
lea esi, [ebp - 0x48]
call fcn.004065a0
mov ecx, eax
push 0x23
mov eax, str.Microsoft.NETFramework_v2.0.50727
call fcn.00403690
mov eax, dword [ebp - 0x6c]
cmp eax, edi
je 0x4325f9
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.0042ca30
xor esi, esi
cmp eax, esi
jne 0x432677
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 0x432677
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 0x43265d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], esi
jne 0x432685
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042ccf0
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x432685
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.0042ca30
test eax, eax
jne 0x432765
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 0x432765
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.0042ccf0
cmp dword [ebp - 0x70], 1
jne 0x432725
mov eax, dword [ebp - 0x1c]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432725
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042ccf0
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.Version
lea ecx, [ebp - 0x6c]
call fcn.0042ccf0
cmp dword [ebp - 0x70], 1
jne 0x432765
mov edi, 3
push 0x45f364
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432765
lea edx, [ebp - 0x48]
push edx
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042ccf0
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x432773
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.0042ca30
xor esi, esi
cmp eax, esi
jne 0x432861
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 0x432861
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.0042ccf0
cmp dword [ebp - 0x70], 1
jne 0x432810
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 0x432810
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042ccf0
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.Version
lea ecx, [ebp - 0x6c]
call fcn.0042ccf0
cmp dword [ebp - 0x70], 1
jne 0x432850
mov edi, 3
push 0x45f364
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x432850
lea edx, [ebp - 0x48]
push edx
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042ccf0
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x43285e
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 0x43286f
mov ecx, eax
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x43287f
lea eax, [ebp - 0x48]
add ecx, ecx
push ecx
push eax
push 0x46af90
call fcn.0043d480
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x4328a1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00438b5b
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 0x4328bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x34], edi
jb 0x4328d3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00438b5b
add esp, 4
mov eax, 0x46af90
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.004377d1
mov esp, ebp
pop ebp
ret