Function at 0x472020
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562d98
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5e8024]
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, ecx
mov dword [ebp - 0x5c], eax
mov edi, dword [eax + 4]
sub esp, 0x18
mov edx, dword [ebp + 0xc]
mov ecx, esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x74], esp
mov eax, dword [edi]
push edx
mov dword [ebp - 0x6c], edx
mov esi, dword [eax + 8]
call fcn.00407250
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x1f
push str.MsiSelectionTreeSelectedFeature
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov byte [ebp - 4], 1
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e7d90
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00408570
mov esi, dword [ebp - 0x5c]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [esi]
push dword [ebp - 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [ebp - 0x78]
cmp edx, 0xffffffff
mov edi, dword [esi + 4]
cmove edx, dword [ebp - 0x7c]
sub esp, 0x18
mov dword [ebp - 0x78], edx
mov ecx, esp
mov dword [ebp - 0x68], esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00490d80
mov dword [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x1e
push str.MsiSelectionTreeSelectedAction
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov byte [ebp - 4], 6
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e7d90
mov dword [ebp - 4], 7
push eax
mov ecx, edi
call esi
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00408570
mov edi, dword [ebp - 0x5c]
push ebx
add edi, 0xffffffa4
mov dword [ebp - 0x64], 0
push 4
push 0x110a
mov dword [ebp - 0x60], 0
push dword [edi]
mov dword [ebp - 0x74], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x472226
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
nop dword [eax]
push esi
mov ecx, edi
call fcn.00456420
mov edi, eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x18]
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
cmp eax, 3
je 0x4721f9
cmp eax, 1
je 0x4721f9
cmp eax, 4
jne 0x47220c
mov eax, dword [ebp - 0x5c]
inc dword [ebp - 0x64]
push 0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
add dword [ebp - 0x60], eax
mov edi, dword [ebp - 0x74]
inc ebx
push esi
push 1
push 0x110a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x4721c0
mov eax, dword [ebp - 0x5c]
sub esp, 0x18
mov edx, ebx
mov dword [ebp - 0x74], esp
mov ecx, esp
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00490d80
mov dword [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x1c
push str.MsiSelectonTreeChildrenCount
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov byte [ebp - 4], 0xb
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e7d90
mov dword [ebp - 4], 0xc
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00408570
mov ebx, dword [ebp - 0x5c]
sub esp, 0x18
mov edx, dword [ebp - 0x64]
mov ecx, esp
mov dword [ebp - 0x68], esp
mov edi, dword [ebx + 4]
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00490d80
mov dword [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x27
push str.MsiSelectionTreeInstallingChildrenCount
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov byte [ebp - 4], 0x10
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e7d90
mov dword [ebp - 4], 0x11
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x3c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00408570
mov eax, dword [ebp - 0x60]
mov edi, dword [ebx + 4]
lea edx, [eax + eax]
mov eax, dword [edi]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
mov esi, dword [eax + 8]
call fcn.00490d80
mov dword [ebp - 4], 0x14
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x1c
push str.MsiSelectionTreeChildrenCost
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov byte [ebp - 4], 0x15
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e7d90
mov dword [ebp - 4], 0x16
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x3c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00408570
mov ecx, dword [ebx]
push 0
push dword [ebp - 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, dword [ebx + 4]
sub esp, 0x18
xor edx, edx
mov dword [ebp - 0x6c], esp
mov ecx, esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00490d80
mov dword [ebp - 4], 0x19
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x1c
push str.MsiSelectionTreeSelectedCost
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov byte [ebp - 4], 0x1a
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e7d90
mov dword [ebp - 4], 0x1b
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00408570
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.0052df57
mov esp, ebp
pop ebp
ret 8