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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559708
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5dd024]
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.00406c50
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], 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.00407c60
mov byte [ebp - 4], 1
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0590
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
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.00489ed0
mov dword [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], 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.00407c60
mov byte [ebp - 4], 6
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0590
mov dword [ebp - 4], 7
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
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 0x46c8a6
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
nop dword [eax + eax]
push esi
mov ecx, edi
call fcn.004530d0
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 0x46c879
cmp eax, 1
je 0x46c879
cmp eax, 4
jne 0x46c88c
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 0x46c840
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.00489ed0
mov dword [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], 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.00407c60
mov byte [ebp - 4], 0xb
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0590
mov dword [ebp - 4], 0xc
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
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.00489ed0
mov dword [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], 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.00407c60
mov byte [ebp - 4], 0x10
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0590
mov dword [ebp - 4], 0x11
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
mov eax, dword [ebp - 0x60]
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.00489ed0
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.00407c60
mov byte [ebp - 4], 0x15
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0590
mov dword [ebp - 4], 0x16
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
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.00489ed0
mov dword [ebp - 4], 0x19
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], 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.00407c60
mov byte [ebp - 4], 0x1a
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004e0590
mov dword [ebp - 4], 0x1b
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
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.005255bb
mov esp, ebp
pop ebp
ret 8