Function at 0x432900
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fbd7
mov eax, dword fs:[0]
push eax
sub esp, 0x294
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 eax, dword [ebp + 8]
xor edi, edi
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push edi
mov dword [ebp - 0x294], edi
push edx
mov dword [ebp - 0x29c], eax
mov word [ebp - 0x218], cx
call fcn.00443550
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], cx
mov dword [ebp - 4], edi
xor edx, edx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], dx
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x278], edi
mov word [ebp - 0x288], cx
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], dx
push 0x104
lea eax, [ebp - 0x218]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.00443550
mov eax, dword [ebp + 0xc]
add esp, 0x18
sub eax, edi
je 0x432a2c
dec eax
je 0x432a1d
dec eax
jne 0x432a71
mov dword [ebp - 0x294], 1
call fcn.00430aa0
test al, al
mov eax, str.Microsoft.NETFramework64_v2.0.50727_
jne 0x432a05
mov eax, str.Microsoft.NETFramework_v2.0.50727_
mov ecx, eax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x432a10
jmp 0x432a61
mov dword [ebp - 0x294], edi
push 0x24
mov eax, str.Microsoft.NETFramework_v2.0.50727_
jmp 0x432a66
call fcn.00430aa0
xor ecx, ecx
test al, al
setne cl
mov dword [ebp - 0x294], ecx
call fcn.00430aa0
test al, al
mov eax, str.Microsoft.NETFramework64_v2.0.50727_
jne 0x432a51
mov eax, str.Microsoft.NETFramework_v2.0.50727_
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x432a56
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x250]
call fcn.004065a0
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x290]
cmp eax, edi
je 0x432a94
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x294]
lea ebx, [ebp - 0x28c]
mov dword [ebp - 0x290], edi
call fcn.0042ca30
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x432bd5
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x290]
push ecx
or eax, 0x20019
push eax
push edi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, edi
jne 0x432bd5
mov ecx, dword [ebp - 0x290]
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x298]
push eax
push edi
push edi
push str.Install
push ecx
mov dword [ebp - 0x294], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x234]
push edx
mov eax, str.TargetVersion
lea ecx, [ebp - 0x290]
call fcn.0042ccf0
cmp dword [ebp - 0x298], 1
jne 0x432b65
mov eax, dword [ebp - 0x224]
push str.4.0.0
mov edi, 5
lea ecx, [ebp - 0x234]
call fcn.00404ab0
test eax, eax
jne 0x432b63
lea eax, [ebp - 0x26c]
push eax
mov eax, str.InstallPath
lea ecx, [ebp - 0x290]
call fcn.0042ccf0
xor edi, edi
lea ecx, [ebp - 0x234]
push ecx
mov eax, str.Version
lea ecx, [ebp - 0x290]
call fcn.0042ccf0
cmp dword [ebp - 0x298], 1
jne 0x432bb9
mov edi, 3
push 0x45f364
mov eax, edi
lea ecx, [ebp - 0x234]
call fcn.00404ab0
test eax, eax
jne 0x432bb7
lea edx, [ebp - 0x26c]
push edx
mov eax, str.InstallPath
lea ecx, [ebp - 0x290]
call fcn.0042ccf0
xor edi, edi
mov eax, dword [ebp - 0x290]
cmp eax, edi
je 0x432bca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x290], edi
jmp 0x432cb5
mov eax, dword [ebp - 0x290]
cmp eax, edi
je 0x432be6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x294]
lea ebx, [ebp - 0x28c]
mov dword [ebp - 0x290], edi
call fcn.0042ca30
cmp eax, edi
jne 0x432cb5
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x290]
push ecx
or eax, 0xf003f
push eax
push edi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, edi
jne 0x432cb5
mov ecx, dword [ebp - 0x290]
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x298]
push eax
push edi
push edi
push str.Install
push ecx
mov dword [ebp - 0x294], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x290]
cmp eax, edi
je 0x432c6a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x298], 1
mov dword [ebp - 0x290], edi
jne 0x432cb5
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432c82
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x26c]
call fcn.004065a0
push edi
lea edx, [ebp - 0x250]
mov esi, eax
push edx
or eax, 0xffffffff
call fcn.004040d0
push 0xf
mov eax, str.InstallUtil.exe
lea ecx, [ebp - 0x26c]
call fcn.00403690
mov eax, dword [ebp - 0x25c]
mov ecx, 0x104
cmp eax, ecx
jae 0x432cd8
mov ecx, eax
mov esi, dword [ebp - 0x258]
mov ebx, dword [ebp - 0x26c]
mov eax, ebx
cmp esi, 8
jae 0x432cf1
lea eax, [ebp - 0x26c]
add ecx, ecx
push ecx
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.0043d470
add esp, 0xc
mov eax, ebx
cmp esi, 8
jae 0x432d11
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
je 0x432dbe
mov eax, dword [ebp - 0x29c]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 7
lea edi, [ebp - 0x26c]
mov esi, eax
mov word [eax], cx
call fcn.00404060
mov ebx, 8
cmp dword [ebp - 0x220], ebx
jb 0x432d5e
mov edx, dword [ebp - 0x234]
push edx
call fcn.00438b4b
add esp, 4
xor eax, eax
xor edi, edi
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
cmp eax, edi
je 0x432d8a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x290], edi
cmp dword [ebp - 0x23c], ebx
jb 0x432da7
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00438b4b
add esp, 4
xor edx, edx
cmp dword [ebp - 0x258], ebx
mov dword [ebp - 0x23c], 7
jmp 0x432e48
mov esi, dword [ebp - 0x29c]
mov ebx, 7
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
push edi
mov eax, 0x4564a4
mov word [esi], cx
call fcn.004065a0
cmp dword [ebp - 0x220], 8
jb 0x432df5
mov edx, dword [ebp - 0x234]
push edx
call fcn.00438b4b
add esp, 4
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
cmp eax, edi
je 0x432e1b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x23c], 8
mov dword [ebp - 0x290], edi
jb 0x432e39
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00438b4b
add esp, 4
xor edx, edx
cmp dword [ebp - 0x258], 8
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x250], dx
mov dword [ebp - 0x240], edi
jb 0x432e66
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00438b4b
add esp, 4
mov eax, esi
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.004377c1
mov esp, ebp
pop ebp
ret