Function at 0x417580
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x44402f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4553d4]
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x24], eax
mov byte [esp + 0x58], 1
call fcn.0040af20
mov edi, dword [esp + 0x64]
test al, al
jne 0x4175e5
mov eax, dword [edi]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0040b7d0
add esp, 8
mov dword [esp + 0x34], 1
mov byte [esp + 0x58], 2
jmp 0x4175e7
mov eax, edi
push eax
lea ecx, [esp + 0x20]
call fcn.00435da1
mov al, byte [esp + 0x34]
mov dword [esp + 0x58], 4
test al, 1
je 0x41760a
lea ecx, [esp + 0x48]
call fcn.0043602c
push str.ProductCode
lea ecx, [esp + 0x38]
call fcn.0043609a
lea ecx, [esp + 0x34]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x64], 5
call fcn.0040d6a0
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 7
call fcn.0043602c
push 0x454e78
lea ecx, [esp + 0x3c]
call fcn.0043609a
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x64], 8
call fcn.0040d8c0
add esp, 0xc
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
push str.EDITION
lea ecx, [esp + 0x40]
call fcn.0043609a
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x2c]
push ecx
push edi
push edx
mov byte [esp + 0x64], 0xb
call fcn.0040d6a0
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
push str.EDITION
lea ecx, [esp + 0x44]
call fcn.0043609a
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x64], 0xe
call fcn.0040da40
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
mov eax, dword [esp + 0x2c]
push str.Lite
push eax
call fcn.00424d86
mov ecx, dword [esp + 0x30]
push str.Lite
test eax, eax
push ecx
sete byte [esp + 0x1f]
call fcn.00424d86
test eax, eax
push edi
sete byte [esp + 0x21]
call fcn.0040d7e0
mov edx, dword [0x4553d4]
add esp, 0x14
cmp eax, 5
mov dword [esp + 0x10], edx
sete byte [esp + 0xe]
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov byte [esp + 0x5c], 0x11
mov dword [esp + 0x48], ebx
call dword [eax + 0x18]
or edi, 0xffffffff
cmp al, 1
mov byte [esp + 0x64], bl
jne 0x4178f9
cmp byte [esp + 0xe], 1
jne 0x4178f9
mov al, byte [esp + 0xf]
cmp al, bl
jne 0x417819
cmp byte [esp + 0xd], bl
je 0x4178f9
push 1
push 0x144
lea edx, [esp + 0x54]
push str.IDS_MSG_UPGRADE_LITE_TO_FULL
push edx
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x13
call fcn.00436165
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0x453150
call fcn.00434765
mov ecx, dword [esp + 0x10]
push ebx
push 0x24
push ecx
call fcn.0043d882
cmp eax, 7
je 0x41788b
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.__s___x__qb__s___s_
push ecx
call fcn.00434dec
push ebx
push ebx
push ebx
push esi
push 0x417290
push ebx
push ebx
lea edx, [esp + 0x50]
push edi
lea eax, [esp + 0x44]
push edx
push eax
call fcn.0040bf90
add esp, 0x38
cmp eax, ebx
je 0x417a41
mov byte [esp + 0x64], 1
jmp 0x417a41
mov cl, byte [esp + 0xd]
cmp al, cl
je 0x4178f9
cmp al, 1
jne 0x417772
cmp cl, bl
jne 0x417772
push 1
push 0x143
lea edx, [esp + 0x74]
push str.IDS_MSG_FULL_EDITION_INSTALLED
push edx
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0x12
call fcn.00436165
lea ecx, [esp + 0x6c]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0x453150
call fcn.00434765
mov ecx, dword [esp + 0x10]
push ebx
push 0x40
push ecx
call fcn.0043d882
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 7
call fcn.0043602c
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0043602c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0043602c
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call fcn.0043602c
mov dword [esp + 0x58], 0xffffffff
jmp 0x417d0e
mov eax, dword [esp + 0x44]
cmp eax, 7
jne 0x41795c
push 1
push 0x141
lea ecx, [esp + 0x6c]
push str.IDS_MSG_ASK_REINSTALL
push ecx
call fcn.00410a70
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push ecx
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x68], 0x14
call fcn.00434dec
add esp, 0x10
lea ecx, [esp + 0x64]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
mov eax, dword [esp + 0x10]
push ebx
push 0x24
push eax
call fcn.0043d882
cmp eax, 7
jne 0x41780f
jmp 0x4179b6
cmp eax, 8
jne 0x417a41
push 1
push 0x142
lea ecx, [esp + 0x74]
push str.IDS_MSG_NEW_VERSION_FOUND
push ecx
call fcn.00410a70
add esp, 0x10
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x60], 0x15
push eax
call fcn.00434dec
add esp, 0xc
lea ecx, [esp + 0x6c]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
mov ecx, dword [esp + 0x10]
push ebx
push 0x140
push ecx
call fcn.0043d882
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 7
call fcn.0043602c
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0043602c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0043602c
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call fcn.0043602c
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call fcn.0043602c
pop edi
pop esi
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10
mov edx, dword [esp + 0x68]
lea eax, [esi + 0x28]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00416b60
add esp, 0xc
mov al, byte [esp + 0x64]
mov byte [esp + 0x58], 0x16
cmp al, bl
mov eax, 0x454dec
jne 0x417a6e
mov eax, 0x459560
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
push edx
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push eax
push ecx
push str.__s___s__s_s___s_
push edx
call fcn.00434dec
mov al, byte [esp + 0x84]
add esp, 0x18
cmp al, bl
jne 0x417aa8
push str.__o_ARPSYSTEMCOMPONENT1
lea ecx, [esp + 0x18]
call fcn.00436408
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [ecx]
push edx
push str._Task:_s__Command:__s_n
call fcn.00401040
push ebx
push ebx
push ebx
push esi
push 0x417290
push ebx
push ebx
lea eax, [esp + 0x4c]
push edi
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0040bf90
add esp, 0x34
cmp eax, 0x642
jg 0x417d30
je 0x417c9b
sub eax, ebx
je 0x417de3
dec eax
je 0x417bcf
dec eax
jne 0x417d46
push 1
push 0x136
lea edx, [esp + 0x6c]
push str.IDS_MSG_NO_MSI
push edx
call fcn.00410a70
add esp, 0x10
mov eax, dword [eax]
push ebx
push 0x10
push eax
mov byte [esp + 0x64], 0x17
call fcn.0043d882
lea ecx, [esp + 0x64]
mov byte [esp + 0x58], 0x16
call fcn.0043602c
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 7
call fcn.0043602c
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0043602c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0043602c
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call fcn.0043602c
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], edi
call fcn.0043602c
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10
push 1
push 0x135
lea eax, [esp + 0x70]
push str.IDS_MSG_INSTALL_ERROR
push eax
call fcn.00410a70
add esp, 0x10
mov eax, dword [eax]
push ebx
push 0x10
push eax
mov byte [esp + 0x64], 0x18
call fcn.0043d882
lea ecx, [esp + 0x68]
mov byte [esp + 0x58], 0x16
call fcn.0043602c
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 7
call fcn.0043602c
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0043602c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0043602c
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call fcn.0043602c
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], edi
call fcn.0043602c
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 7
call fcn.0043602c
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0043602c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0043602c
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call fcn.0043602c
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x14]
call fcn.0043602c
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10
cmp eax, 0x669
je 0x417ddb
cmp eax, 0xbc2
je 0x417ddb
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 7
call fcn.0043602c
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0043602c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0043602c
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call fcn.0043602c
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], edi
call fcn.0043602c
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10
mov eax, dword [esi + 0x14]
or al, 1
mov dword [esi + 0x14], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0x11
call fcn.0043602c
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0x10
call fcn.0043602c
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xa
call fcn.0043602c
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 7
call fcn.0043602c
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0043602c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0043602c
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call fcn.0043602c
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], edi
call fcn.0043602c
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10