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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554d45
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5d8024]
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 - 0x64], 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 - 0x60], esp
mov eax, dword [edi]
push edx
mov dword [ebp - 0x78], edx
mov esi, dword [eax + 8]
call fcn.00406c70
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor eax, eax
push 0x1f
push str.MsiSelectionTreeSelectedFeature
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 1
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004df710
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f50
mov esi, dword [ebp - 0x64]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [esi]
push dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [ebp - 0x70]
cmp edx, 0xffffffff
mov edi, dword [esi + 4]
cmove edx, dword [ebp - 0x7c]
sub esp, 0x18
mov dword [ebp - 0x70], edx
mov ecx, esp
mov dword [ebp - 0x60], esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00489790
mov dword [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor eax, eax
push 0x1e
push str.MsiSelectionTreeSelectedAction
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 6
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004df710
mov dword [ebp - 4], 7
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f50
mov edi, dword [ebp - 0x64]
push ebx
add edi, 0xffffffa4
mov dword [ebp - 0x68], 0
push 4
push 0x110a
mov dword [ebp - 0x6c], 0
push dword [edi]
mov dword [ebp - 0x60], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x46bf26
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
nop dword [eax + eax]
push esi
mov ecx, edi
call fcn.00452ab0
mov edi, eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x18]
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
cmp eax, 3
je 0x46bef9
cmp eax, 1
je 0x46bef9
cmp eax, 4
jne 0x46bf0c
mov eax, dword [ebp - 0x64]
inc dword [ebp - 0x68]
push 0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
add dword [ebp - 0x6c], eax
mov edi, dword [ebp - 0x60]
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 0x46bec0
mov eax, dword [ebp - 0x64]
sub esp, 0x18
mov edx, ebx
mov dword [ebp - 0x60], esp
mov ecx, esp
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00489790
mov dword [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor eax, eax
push 0x1c
push str.MsiSelectonTreeChildrenCount
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0xb
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004df710
mov dword [ebp - 4], 0xc
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f50
mov ebx, dword [ebp - 0x64]
sub esp, 0x18
mov edx, dword [ebp - 0x68]
mov ecx, esp
mov dword [ebp - 0x60], esp
mov edi, dword [ebx + 4]
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00489790
mov dword [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor eax, eax
push 0x27
push str.MsiSelectionTreeInstallingChildrenCount
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x10
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004df710
mov dword [ebp - 4], 0x11
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x3c]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f50
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebx + 4]
lea edx, [eax + eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00489790
mov dword [ebp - 4], 0x14
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor eax, eax
push 0x1c
push str.MsiSelectionTreeChildrenCost
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x15
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004df710
mov dword [ebp - 4], 0x16
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x3c]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f50
mov ecx, dword [ebx]
push 0
push dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, dword [ebx + 4]
sub esp, 0x18
xor edx, edx
mov dword [ebp - 0x60], esp
mov ecx, esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00489790
mov dword [ebp - 4], 0x19
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor eax, eax
push 0x1c
push str.MsiSelectionTreeSelectedCost
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x1a
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004df710
mov dword [ebp - 4], 0x1b
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f50
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.00521781
mov esp, ebp
pop ebp
ret 8