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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558175
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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 - 0x58], 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 - 0x70], esp
mov eax, dword [edi]
push edx
mov dword [ebp - 0x68], edx
mov esi, dword [eax + 8]
call fcn.00406c50
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], 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 - 0x54]
call fcn.004e0590
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00407f30
mov esi, dword [ebp - 0x58]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [esi]
push dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [ebp - 0x74]
cmp edx, 0xffffffff
mov edi, dword [esi + 4]
cmove edx, dword [ebp - 0x78]
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.00489ed0
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.00407c60
mov byte [ebp - 4], 6
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004e0590
mov dword [ebp - 4], 7
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00407f30
mov edi, dword [ebp - 0x58]
push ebx
add edi, 0xffffffa4
mov dword [ebp - 0x60], 0
push 4
push 0x110a
mov dword [ebp - 0x5c], 0
push dword [edi]
mov dword [ebp - 0x70], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x465786
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
nop dword [eax + eax]
push esi
mov ecx, edi
call fcn.004530d0
mov edi, eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x18]
mov eax, dword [ebp - 0x64]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
cmp eax, 3
je 0x465759
cmp eax, 1
je 0x465759
cmp eax, 4
jne 0x46576c
mov eax, dword [ebp - 0x58]
inc dword [ebp - 0x60]
push 0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
add dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x70]
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 0x465720
mov eax, dword [ebp - 0x58]
sub esp, 0x18
mov edx, ebx
mov dword [ebp - 0x70], 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 - 0x6c], 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 - 0x54]
call fcn.004e0590
mov dword [ebp - 4], 0xc
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00407f30
mov ebx, dword [ebp - 0x58]
sub esp, 0x18
mov edx, dword [ebp - 0x60]
mov ecx, esp
mov dword [ebp - 0x64], 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 - 0x60], 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 - 0x54]
call fcn.004e0590
mov dword [ebp - 4], 0x11
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x38]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00407f30
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebx + 4]
lea edx, [eax + eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], 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 - 0x58], 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 - 0x54]
call fcn.004e0590
mov dword [ebp - 4], 0x16
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x38]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00407f30
mov ecx, dword [ebx]
push 0
push dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, dword [ebx + 4]
sub esp, 0x18
xor edx, edx
mov dword [ebp - 0x68], 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 - 0x80], 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 - 0x54]
call fcn.004e0590
mov dword [ebp - 4], 0x1b
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x38]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
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