Function at 0x42ceb3
Capabilities:
Check if file exists
Get file attributes
Get number of processors
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e289
mov eax, dword fs:[0]
push eax
sub esp, 0x4f8
mov eax, dword [0x498d50]
xor eax, esp
mov dword [esp + 0x4f0], eax
push ebx
push esi
push edi
mov eax, dword [0x498d50]
xor eax, esp
push eax
lea eax, [esp + 0x508]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push str.InitProduct...
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], esi
mov dword [esp + 0xd4], eax
mov dword [esp + 0x3c], ebx
call fcn.00402060
push ebx
lea eax, [esp + 0x30]
push eax
push 2
mov dword [esp + 0x51c], ebx
call fcn.00411fb7
or dword [esp + 0x51c], 0xffffffff
mov ecx, dword [esp + 0x38]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [esp + 0xac]
push eax
push 8
push ebx
push dword [0x49d464]
mov dword [esp + 0x3c], ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42dd7b
lea edi, [esp + 0xe8]
push 0x206
mov dword [esp + 0xe8], ebx
stosd dword es:[edi], eax
mov word [esp + 0x2f8], ax
lea eax, [esp + 0x2fa]
push ebx
push eax
call fcn.004462a0
add esp, 0xc
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x54], ebx
jmp 0x42cfa9
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0xe4]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x308]
push eax
push dword [esp + 0x6c]
push dword [esp + 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42dd6c
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.004022b1
lea ecx, [esi + 0x68]
mov dword [esp + 0x44], ecx
call fcn.004022b1
lea ecx, [esi + 0x60]
mov dword [esp + 0x20], ecx
call fcn.004022b1
lea ecx, [esi + 0x64]
call fcn.004022b1
lea ecx, [esi + 0x44]
call fcn.004022b1
lea eax, [esp + 0x2f4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402060
push str.Started_Product:
lea ecx, [esp + 0x64]
mov dword [esp + 0x514], 1
call fcn.00402060
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x68]
push eax
push 2
mov byte [esp + 0x520], 2
call fcn.00411b31
mov byte [esp + 0x520], 1
mov ecx, dword [esp + 0x70]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [esp + 0x18]
push eax
call fcn.0042ce48
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0x26
je 0x42d0bc
push str.Invalid_Product_GUID:
lea ecx, [esp + 0xac]
call fcn.00402060
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xb0]
push eax
push 2
mov byte [esp + 0x520], 3
call fcn.00411b31
mov ecx, dword [esp + 0xb8]
add esp, 0x10
jmp 0x42dd42
mov esi, dword [esp + 0xd0]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebx
je 0x42d10e
push eax
mov ecx, esi
call fcn.00409001
test eax, eax
je 0x42d10e
push str.Found_Product_does_not_match_requested_Product
lea ecx, [esp + 0xbc]
call fcn.00402060
push ebx
lea eax, [esp + 0xbc]
push eax
push 2
mov byte [esp + 0x51c], 4
call fcn.00411fb7
mov ecx, dword [esp + 0xc4]
add esp, 0xc
jmp 0x42dd42
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x42d153
cmp dword [esp + 0x28], ebx
je 0x42d159
push str.Skipping_previously_checked_Product
lea ecx, [esp + 0xa8]
call fcn.00402060
push ebx
lea eax, [esp + 0xa8]
push eax
push 2
mov byte [esp + 0x51c], 5
call fcn.00411fb7
mov ecx, dword [esp + 0xb0]
add esp, 0xc
jmp 0x42dd42
cmp dword [esp + 0x28], ebx
jne 0x42d170
mov esi, dword [esp + 0x4c]
lea ecx, [esi + 0x30]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00436a0c
jmp 0x42d174
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00409162
push 0x46aefc
lea eax, [esp + 0xdc]
push 0x49d464
push eax
call fcn.00408f8a
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x51c], 6
call fcn.00401d7a
add esp, 0xc
mov byte [esp + 0x510], 8
mov ecx, dword [esp + 0xd8]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [esp + 0x44]
mov edi, 0x80000002
push 0x487840
push dword [esp + 0x1c]
push edi
call fcn.0042e34e
add esp, 0x10
test eax, eax
jne 0x42dd0c
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x42dd0c
push dword [esp + 0x20]
push str.ProductCode
push dword [esp + 0x1c]
push edi
call fcn.0042e34e
add esp, 0x10
test eax, eax
jne 0x42dcda
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x42dcda
call fcn.00434892
push eax
lea ecx, [esp + 0x54]
call fcn.0040210b
lea eax, [esp + 0x50]
push eax
push str.InstalledValidate
mov byte [esp + 0x518], 0xb
push dword [esp + 0x1c]
push edi
call fcn.0042e34e
mov edi, dword [esp + 0x60]
add esp, 0x10
test eax, eax
jne 0x42dca5
cmp dword [edi - 0xc], ebx
je 0x42dca5
push ebx
lea eax, [esp + 0x54]
push eax
push 2
call fcn.00411fb7
add esp, 0xc
push 0x47eae0
push edi
call fcn.004474d0
pop ecx
pop ecx
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [esp + 0x44], ecx
cmp dword [0x49d550], ebx
je 0x42d302
lea eax, [esi + 0x64]
push eax
push 0x487904
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e34e
add esp, 0x10
test eax, eax
jne 0x42d2c8
mov eax, dword [esi + 0x64]
cmp dword [eax - 0xc], ebx
jne 0x42d428
push str.Invalid_ProductVersion
lea ecx, [esp + 0x6c]
call fcn.00402060
push ebx
lea eax, [esp + 0x6c]
push eax
push 1
mov byte [esp + 0x51c], 0xd
call fcn.00411fb7
mov ecx, dword [esp + 0x74]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [edi - 0x10]
jmp 0x42dd39
cmp dword [esp + 0x44], ebx
je 0x42d3c5
xor eax, eax
push 0x206
mov word [esp + 0xf0], ax
lea eax, [esp + 0xf2]
push ebx
push eax
mov dword [esp + 0x48], 0x104
call fcn.004462a0
mov eax, dword [esi + 0x60]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0xf0]
push ecx
push str.VersionString
push eax
call sub.msi.dll_MsiGetPropertyW
mov dword [esp + 0x20], eax
lea eax, [esp + 0xec]
push eax
lea ecx, [esi + 0x64]
call fcn.004020d4
cmp dword [esp + 0x20], ebx
jne 0x42d375
mov eax, dword [esi + 0x64]
cmp dword [eax - 0xc], ebx
jne 0x42d428
lea ecx, [esi + 0x64]
call fcn.004022b1
push str.Could_not_collect_Version
lea ecx, [esp + 0xc8]
call fcn.00402060
mov byte [esp + 0x510], 0xe
push dword [esp + 0x20]
lea eax, [esp + 0xc8]
push eax
push 1
call fcn.00411fb7
mov ecx, dword [esp + 0xd0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
add edi, 0xfffffff0
mov ecx, edi
jmp 0x42dd39
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42d3fa
push str.product_installed_state_is_not_confirmed
lea ecx, [esp + 0x74]
call fcn.00402060
push ebx
lea eax, [esp + 0x74]
push eax
push 1
mov byte [esp + 0x51c], 0xf
call fcn.00411fb7
mov ecx, dword [esp + 0x7c]
jmp 0x42d3b0
lea eax, [esi + 0x64]
push eax
push 0x487904
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e34e
add esp, 0x10
test eax, eax
jne 0x42dc70
mov eax, dword [esi + 0x64]
cmp dword [eax - 0xc], ebx
je 0x42dc70
lea eax, [esi + 0x44]
push eax
push str.ManifestURL
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e34e
add esp, 0x10
test eax, eax
jne 0x42dc3b
mov eax, dword [esi + 0x44]
cmp dword [eax - 0xc], ebx
je 0x42dc3b
lea eax, [esi + 0x48]
push eax
push 0x486db0
push dword [esp + 0x1c]
mov dword [eax], ebx
push 0x80000002
call fcn.0042e400
add esp, 0x10
test eax, eax
jne 0x42dc06
cmp dword [esi + 0x48], 1
jb 0x42dc06
lea eax, [esi + 0x4c]
push eax
push str.Mode
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e400
add esp, 0x10
test eax, eax
jne 0x42dbd7
mov eax, dword [esi + 0x4c]
cmp eax, 1
jb 0x42dbd7
cmp eax, 4
ja 0x42dbd7
cmp dword [0x49d550], ebx
jne 0x42d64b
call fcn.00434892
push eax
lea ecx, [esp + 0x44]
call fcn.0040210b
lea eax, [esp + 0x40]
push eax
push str.EULA
mov byte [esp + 0x518], 0x14
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e34e
mov esi, dword [esp + 0x50]
add esp, 0x10
cmp dword [esi - 0xc], ebx
je 0x42d637
push ebx
push 0x3b
lea ecx, [esp + 0x48]
call fcn.0041a279
mov dword [esp + 0x28], eax
call fcn.00434892
push eax
lea ecx, [esp + 0x28]
call fcn.0040210b
mov byte [esp + 0x510], 0x15
call fcn.00434892
push eax
lea ecx, [esp + 0x38]
call fcn.0040210b
cmp dword [esp + 0x28], 0xffffffff
mov byte [esp + 0x510], 0x16
je 0x42d780
push dword [esp + 0x28]
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x48]
call fcn.0040a57d
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x514], 0x17
call fcn.00409162
mov byte [esp + 0x510], 0x16
mov ecx, dword [esp + 0xe0]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [esi - 0xc]
sub eax, dword [esp + 0x28]
lea ecx, [esp + 0x40]
dec eax
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0040a536
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x514], 0x18
call fcn.00409162
mov byte [esp + 0x510], 0x16
mov ecx, dword [esp + 0xdc]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], ebx
je 0x42d74e
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 0xc], ebx
je 0x42d74e
or dword [esp + 0xb0], 0xffffffff
lea edx, [esp + 0xb0]
push edx
push ecx
push eax
push 0x80000001
call fcn.0042e400
add esp, 0x10
test eax, eax
jne 0x42d6f9
cmp dword [esp + 0xb0], 1
jb 0x42d6f9
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [esi - 0x10]
mov byte [esp + 0x510], 0xb
call fcn.0040253e
mov esi, dword [esp + 0x4c]
call fcn.00434892
push eax
lea ecx, [esp + 0x34]
call fcn.0040210b
lea eax, [esp + 0x30]
push eax
push str.PolicyDisableUpdater
mov byte [esp + 0x518], 0x1c
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e34e
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp dword [eax - 0xc], ebx
je 0x42d7b5
or dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x20]
push ecx
push str.bUpdater
push eax
push 0x80000002
call fcn.0042e400
add esp, 0x10
test eax, eax
jne 0x42d7b5
cmp dword [esp + 0x20], ebx
jne 0x42d7b5
push str.bUpdater_policy_set_to_disable_Updater_in
lea ecx, [esp + 0x5c]
call fcn.00402060
push ebx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x60]
push eax
push 1
mov byte [esp + 0x520], 0x1d
call fcn.00411b31
mov ecx, dword [esp + 0x68]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x30]
jmp 0x42d3b3
push str.EULA_is_not_accepted
lea ecx, [esp + 0x7c]
call fcn.00402060
push ebx
lea eax, [esp + 0x7c]
push eax
push 1
mov byte [esp + 0x51c], 0x1a
call fcn.00411fb7
mov ecx, dword [esp + 0x84]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [esi - 0x10]
jmp 0x42d2f5
push str.Invalid_registered_EULA_value
lea ecx, [esp + 0xd0]
call fcn.00402060
push ebx
lea eax, [esp + 0xd0]
push eax
push 1
mov byte [esp + 0x51c], 0x19
call fcn.00411fb7
mov ecx, dword [esp + 0xd8]
jmp 0x42d723
push str.Invalid_registered_EULA_value
lea ecx, [esp + 0x84]
call fcn.00402060
push ebx
lea eax, [esp + 0x84]
push eax
push 1
mov byte [esp + 0x51c], 0x1b
call fcn.00411fb7
mov ecx, dword [esp + 0x8c]
jmp 0x42d723
lea eax, [esi + 0x70]
push eax
push str.INSTALLDIR
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e34e
lea eax, [esi + 0x7c]
push eax
push str.DataModulePath
push dword [esp + 0x2c]
push 0x80000002
call fcn.0042e34e
lea eax, [esi + 0x80]
push eax
push str.DataModuleUsage
push dword [esp + 0x3c]
push 0x80000002
call fcn.0042e34e
lea eax, [esi + 0x74]
push eax
push 0x46a314
push dword [esp + 0x4c]
push 0x80000002
call fcn.0042e34e
mov eax, dword [esi + 0x74]
add esp, 0x40
cmp dword [eax - 0xc], ebx
jne 0x42d825
push esi
call fcn.0042c89b
lea eax, [esp + 0x88]
push eax
push str.DisableAnyUI
push dword [esp + 0x1c]
mov dword [esp + 0x94], ebx
push 0x80000002
call fcn.0042e400
add esp, 0x10
test eax, eax
jne 0x42d8ea
cmp dword [esp + 0x88], ebx
jbe 0x42d8ea
push str.DisableAnyUI_is_registered
lea ecx, [esp + 0xcc]
call fcn.00402060
push ebx
lea eax, [esp + 0xcc]
push eax
push 2
mov byte [esp + 0x51c], 0x1e
call fcn.00411fb7
mov byte [esp + 0x51c], 0x1c
mov ecx, dword [esp + 0xd4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [esi + 0x4c], 3
je 0x42d8e0
push str.Skipping_product___not_Full_Auto_mode
lea ecx, [esp + 0x94]
call fcn.00402060
push ebx
lea eax, [esp + 0x94]
push eax
push 2
mov byte [esp + 0x51c], 0x1f
call fcn.00411fb7
mov ecx, dword [esp + 0x9c]
add esp, 0xc
jmp 0x42d6e8
mov dword [esi + 0xf0], 1
cmp dword [esp + 0x44], ebx
je 0x42d9ad
xor eax, eax
push 0x206
mov word [esp + 0xf0], ax
lea eax, [esp + 0xf2]
push ebx
push eax
call fcn.004462a0
mov eax, dword [esi + 0x60]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0xf0]
push ecx
push str.AuthorizedLUAApp
push eax
mov dword [esp + 0x4c], 0x104
call sub.msi.dll_MsiGetPropertyW
cmp eax, ebx
jne 0x42d971
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xd8]
call fcn.00402060
mov byte [esp + 0x510], 0x20
or dword [esp + 0x38], 1
push 0x468f88
mov ecx, eax
call fcn.00409001
mov byte [esp + 0x1f], 1
test eax, eax
je 0x42d975
mov byte [esp + 0x1f], bl
mov dword [esp + 0x510], 0x1c
test byte [esp + 0x38], 1
je 0x42d99b
mov ecx, dword [esp + 0xd4]
and dword [esp + 0x38], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0040253e
cmp byte [esp + 0x1f], bl
je 0x42d9ad
mov dword [esi + 0xa0], 1
jmp 0x42d9b3
mov dword [esi + 0xa0], ebx
lea eax, [esi + 0x68]
push eax
mov ecx, 0x49d558
call fcn.00409162
push str.ProductCode:
lea ecx, [esp + 0xc4]
call fcn.00402060
push ebx
lea eax, [esi + 0x60]
push eax
lea eax, [esp + 0xc8]
push eax
push 2
mov byte [esp + 0x520], 0x21
call fcn.00411b31
mov byte [esp + 0x520], 0x1c
mov ecx, dword [esp + 0xd0]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
push str.ProductName:
lea ecx, [esp + 0x9c]
call fcn.00402060
push ebx
lea eax, [esi + 0x68]
push eax
lea eax, [esp + 0xa0]
push eax
push 2
mov byte [esp + 0x520], 0x22
call fcn.00411b31
mov byte [esp + 0x520], 0x1c
mov ecx, dword [esp + 0xa8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
push str.ProductVersion:
lea ecx, [esp + 0xb8]
call fcn.00402060
push ebx
lea eax, [esi + 0x64]
push eax
lea eax, [esp + 0xbc]
push eax
push 2
mov byte [esp + 0x520], 0x23
call fcn.00411b31
mov byte [esp + 0x520], 0x1c
mov ecx, dword [esp + 0xc4]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
push str.Product_UI_Language:
lea ecx, [esp + 0xa4]
call fcn.00402060
push ebx
lea eax, [esi + 0x74]
push eax
lea eax, [esp + 0xa8]
push eax
push 2
mov byte [esp + 0x520], 0x24
call fcn.00411b31
mov byte [esp + 0x520], 0x1c
mov ecx, dword [esp + 0xb0]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
push str.ProductInstallDir:
lea ecx, [esp + 0xc0]
call fcn.00402060
lea eax, [esi + 0x70]
push ebx
push eax
mov byte [esp + 0x518], 0x25
lea eax, [esp + 0xc4]
push eax
push 2
call fcn.00411b31
mov byte [esp + 0x520], 0x1c
mov ecx, dword [esp + 0xcc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, str.enabled
cmp dword [esi + 0xa0], ebx
jne 0x42db36
mov eax, str.disabled
push eax
lea ecx, [esp + 0x68]
call fcn.00402060
push str.ProductUACPatching:
lea ecx, [esp + 0x60]
mov byte [esp + 0x514], 0x26
call fcn.00402060
push ebx
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x64]
push eax
push 2
mov byte [esp + 0x520], 0x27
call fcn.00411b31
mov ecx, dword [esp + 0x6c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [esp + 0x510], 0x1c
mov ecx, dword [esp + 0x64]
add ecx, 0xfffffff0
call fcn.0040253e
push str.Product_initialized:
lea ecx, [esp + 0x70]
call fcn.00402060
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x74]
push eax
push 2
mov byte [esp + 0x520], 0x28
call fcn.00411b31
mov ecx, dword [esp + 0x7c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [esp + 0x2c], 1
jmp 0x42d6f0
push str.Invalid_Mode
lea ecx, [esp + 0x78]
call fcn.00402060
push ebx
lea eax, [esp + 0x78]
push eax
push 1
mov byte [esp + 0x51c], 0x13
call fcn.00411fb7
mov ecx, dword [esp + 0x80]
jmp 0x42d3b0
push str.Invalid_Check
lea ecx, [esp + 0x80]
call fcn.00402060
push ebx
lea eax, [esp + 0x80]
push eax
push 1
mov byte [esp + 0x51c], 0x12
call fcn.00411fb7
mov ecx, dword [esp + 0x88]
jmp 0x42d3b0
push str.Invalid_ManifestURL
lea ecx, [esp + 0x88]
call fcn.00402060
push ebx
lea eax, [esp + 0x88]
push eax
push 1
mov byte [esp + 0x51c], 0x11
call fcn.00411fb7
mov ecx, dword [esp + 0x90]
jmp 0x42d3b0
push str.Invalid_ProductVersion
lea ecx, [esp + 0x90]
call fcn.00402060
push ebx
lea eax, [esp + 0x90]
push eax
push 1
mov byte [esp + 0x51c], 0x10
call fcn.00411fb7
mov ecx, dword [esp + 0x98]
jmp 0x42d3b0
push str.InstalledValidate_not_found
lea ecx, [esp + 0x98]
call fcn.00402060
push ebx
lea eax, [esp + 0x98]
push eax
push 1
mov byte [esp + 0x51c], 0xc
call fcn.00411fb7
mov ecx, dword [esp + 0xa0]
jmp 0x42d2ef
push str.Invalid_ProductCode
lea ecx, [esp + 0xa0]
call fcn.00402060
push ebx
lea eax, [esp + 0xa0]
push eax
push 1
mov byte [esp + 0x51c], 0xa
call fcn.00411fb7
mov ecx, dword [esp + 0xa8]
jmp 0x42dd33
push str.Invalid_ProductName
lea ecx, [esp + 0x4c]
call fcn.00402060
push ebx
lea eax, [esp + 0x4c]
push eax
push 1
mov byte [esp + 0x51c], 9
call fcn.00411fb7
mov ecx, dword [esp + 0x54]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
or dword [esp + 0x510], 0xffffffff
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
inc dword [esp + 0x54]
cmp dword [esp + 0x2c], ebx
je 0x42cfa5
push dword [esp + 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42ddb0
push str.Unable_to_query_Products
lea ecx, [esp + 0x4c]
call fcn.00402060
push ebx
lea eax, [esp + 0x4c]
push eax
push 2
mov dword [esp + 0x51c], 0x29
call fcn.00411fb7
mov ecx, dword [esp + 0x54]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x508]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0044546a
mov esp, ebp
pop ebp
ret 4