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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450810
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x469738]
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 [0x46bf6c], dl
jne 0x4332e3
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 0x432ebd
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 0x432ebd
mov dword [ebp - 0x74], 1
jmp 0x432efa
push str.IsWow64Process
push str.kernel32
call edi
push eax
call ebx
mov esi, eax
test esi, esi
je 0x432eea
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 0x432ef3
mov dword [ebp - 0x74], 0
jmp 0x432efa
mov dword [ebp - 0x74], 2
push 0x104
push 0x46bf70
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x432f18
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.0042d360
xor edi, edi
cmp eax, edi
jne 0x432ffb
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 0x432ffb
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 0x432f88
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], edi
jne 0x433009
call fcn.00431430
test al, al
mov eax, 0x46bf70
lea edx, [eax + 2]
je 0x432fd0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432fa2
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46bf70
lea esi, [ebp - 0x48]
call fcn.004065b0
mov ecx, eax
push 0x25
mov eax, str.Microsoft.NETFramework64_v2.0.50727
jmp 0x432ff6
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432fd0
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46bf70
lea esi, [ebp - 0x48]
call fcn.004065b0
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 0x433009
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.0042d360
xor esi, esi
cmp eax, esi
jne 0x433087
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 0x433087
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 0x43306d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], esi
jne 0x433095
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d620
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x433095
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.0042d360
test eax, eax
jne 0x433175
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 0x433175
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.0042d620
cmp dword [ebp - 0x70], 1
jne 0x433135
mov eax, dword [ebp - 0x1c]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x433135
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d620
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.Version
lea ecx, [ebp - 0x6c]
call fcn.0042d620
cmp dword [ebp - 0x70], 1
jne 0x433175
mov edi, 3
push 0x46084c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x433175
lea edx, [ebp - 0x48]
push edx
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d620
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x433183
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.0042d360
xor esi, esi
cmp eax, esi
jne 0x433271
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 0x433271
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.0042d620
cmp dword [ebp - 0x70], 1
jne 0x433220
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 0x433220
lea eax, [ebp - 0x48]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d620
lea ecx, [ebp - 0x2c]
push ecx
mov eax, str.Version
lea ecx, [ebp - 0x6c]
call fcn.0042d620
cmp dword [ebp - 0x70], 1
jne 0x433260
mov edi, 3
push 0x46084c
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
test eax, eax
jne 0x433260
lea edx, [ebp - 0x48]
push edx
mov eax, str.InstallPath
lea ecx, [ebp - 0x6c]
call fcn.0042d620
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x43326e
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 0x43327f
mov ecx, eax
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x43328f
lea eax, [ebp - 0x48]
add ecx, ecx
push ecx
push eax
push 0x46bf70
call fcn.0043e000
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x4332b1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004396db
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 0x4332cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x34], edi
jb 0x4332e3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004396db
add esp, 4
mov eax, 0x46bf70
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.00438351
mov esp, ebp
pop ebp
ret