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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550570
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5d0074]
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 - 0x64], esp
mov eax, dword [edi]
push edx
mov dword [ebp - 0x78], edx
mov esi, dword [eax + 8]
call fcn.00406d00
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
xor eax, eax
push 0x1f
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.MsiSelectionTreeSelectedFeature
mov word [ecx], ax
call fcn.004079c0
mov byte [ebp - 4], 1
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0fe0
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407c80
mov edi, dword [ebp - 0x5c]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [edi]
push dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [ebp - 0x74]
cmp edx, 0xffffffff
mov edi, dword [edi + 4]
cmove edx, dword [ebp - 0x7c]
sub esp, 0x18
mov dword [ebp - 0x74], edx
mov ecx, esp
mov dword [ebp - 0x64], esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00486950
mov dword [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
xor eax, eax
push 0x1e
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.MsiSelectionTreeSelectedAction
mov word [ecx], ax
call fcn.004079c0
mov byte [ebp - 4], 6
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0fe0
mov dword [ebp - 4], 7
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407c80
mov eax, dword [ebp - 0x5c]
mov ecx, 0x130
test eax, eax
mov dword [ebp - 0x68], 0
push ebx
push 4
lea edi, [eax - 0x5c]
mov dword [ebp - 0x6c], 0
cmove edi, ecx
mov dword [ebp - 0x70], 0
push 0x110a
mov dword [ebp - 0x64], edi
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x5c]
mov esi, eax
test esi, esi
je 0x46b662
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
nop dword [eax]
push esi
mov ecx, edi
call fcn.00452ad0
mov ecx, dword [ebx]
mov edi, eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x18]
mov eax, dword [ebp - 0x5c]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
cmp eax, 3
je 0x46b636
cmp eax, 1
je 0x46b636
cmp eax, 4
jne 0x46b646
mov ecx, dword [ebx]
inc dword [ebp - 0x6c]
push 0
push edi
mov eax, dword [ecx]
call dword [eax + 0x30]
add dword [ebp - 0x70], eax
mov edi, dword [ebp - 0x64]
inc dword [ebp - 0x68]
push esi
push 1
push 0x110a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x46b600
mov edi, dword [ebx + 4]
sub esp, 0x18
mov edx, dword [ebp - 0x68]
mov ecx, esp
mov dword [ebp - 0x64], esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00486950
mov dword [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
xor eax, eax
push 0x1c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.MsiSelectonTreeChildrenCount
mov word [ecx], ax
call fcn.004079c0
mov byte [ebp - 4], 0xb
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0fe0
mov dword [ebp - 4], 0xc
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407c80
mov edi, dword [ebx + 4]
sub esp, 0x18
mov edx, dword [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x64], esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00486950
mov dword [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
xor eax, eax
push 0x27
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.MsiSelectionTreeInstallingChildrenCount
mov word [ecx], ax
call fcn.004079c0
mov byte [ebp - 4], 0x10
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0fe0
mov dword [ebp - 4], 0x11
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x3c]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407c80
mov eax, dword [ebp - 0x70]
mov edi, dword [ebx + 4]
lea edx, [eax + eax]
mov eax, dword [edi]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
mov esi, dword [eax + 8]
call fcn.00486950
mov dword [ebp - 4], 0x14
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
xor eax, eax
push 0x1c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.MsiSelectionTreeChildrenCost
mov word [ecx], ax
call fcn.004079c0
mov byte [ebp - 4], 0x15
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0fe0
mov dword [ebp - 4], 0x16
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x3c]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407c80
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 - 0x64], esp
mov ecx, esp
mov eax, dword [edi]
mov esi, dword [eax + 8]
call fcn.00486950
mov dword [ebp - 4], 0x19
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
xor eax, eax
push 0x1c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.MsiSelectionTreeSelectedCost
mov word [ecx], ax
call fcn.004079c0
mov byte [ebp - 4], 0x1a
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0fe0
mov dword [ebp - 4], 0x1b
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407c80
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.00520c02
mov esp, ebp
pop ebp
ret 8