Function at 0x42cbd1
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 0x45dfa2
mov eax, dword fs:[0]
push eax
sub esp, 0x4f8
mov eax, dword [0x497d50]
xor eax, esp
mov dword [esp + 0x4f0], eax
push ebx
push esi
push edi
mov eax, dword [0x497d50]
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.00411fad
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 [0x49c464]
mov dword [esp + 0x3c], ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42da99
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.00445f90
add esp, 0xc
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x54], ebx
jmp 0x42ccc7
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 0x42da8a
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.004022d0
lea ecx, [esi + 0x68]
mov dword [esp + 0x44], ecx
call fcn.004022d0
lea ecx, [esi + 0x60]
mov dword [esp + 0x20], ecx
call fcn.004022d0
lea ecx, [esi + 0x64]
call fcn.004022d0
lea ecx, [esi + 0x44]
call fcn.004022d0
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.00411b27
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.0042cb66
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0x26
je 0x42cdda
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.00411b27
mov ecx, dword [esp + 0xb8]
add esp, 0x10
jmp 0x42da60
mov esi, dword [esp + 0xd0]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebx
je 0x42ce2c
push eax
mov ecx, esi
call fcn.00408ff7
test eax, eax
je 0x42ce2c
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.00411fad
mov ecx, dword [esp + 0xc4]
add esp, 0xc
jmp 0x42da60
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x42ce71
cmp dword [esp + 0x28], ebx
je 0x42ce77
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.00411fad
mov ecx, dword [esp + 0xb0]
add esp, 0xc
jmp 0x42da60
cmp dword [esp + 0x28], ebx
jne 0x42ce8e
mov esi, dword [esp + 0x4c]
lea ecx, [esi + 0x30]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.004366fc
jmp 0x42ce92
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00409158
push 0x469efc
lea eax, [esp + 0xdc]
push 0x49c464
push eax
call fcn.00408f80
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 0x486850
push dword [esp + 0x1c]
push edi
call fcn.0042e0e5
add esp, 0x10
test eax, eax
jne 0x42da2a
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x42da2a
push dword [esp + 0x20]
push str.ProductCode
push dword [esp + 0x1c]
push edi
call fcn.0042e0e5
add esp, 0x10
test eax, eax
jne 0x42d9f8
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x42d9f8
call fcn.00434582
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.0042e0e5
mov edi, dword [esp + 0x60]
add esp, 0x10
test eax, eax
jne 0x42d9c3
cmp dword [edi - 0xc], ebx
je 0x42d9c3
push ebx
lea eax, [esp + 0x54]
push eax
push 2
call fcn.00411fad
add esp, 0xc
push 0x47dac8
push edi
call fcn.004471c0
pop ecx
pop ecx
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [esp + 0x44], ecx
cmp dword [0x49c550], ebx
je 0x42d020
lea eax, [esi + 0x64]
push eax
push 0x486914
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e0e5
add esp, 0x10
test eax, eax
jne 0x42cfe6
mov eax, dword [esi + 0x64]
cmp dword [eax - 0xc], ebx
jne 0x42d146
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.00411fad
mov ecx, dword [esp + 0x74]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [edi - 0x10]
jmp 0x42da57
cmp dword [esp + 0x44], ebx
je 0x42d0e3
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.00445f90
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 0x42d093
mov eax, dword [esi + 0x64]
cmp dword [eax - 0xc], ebx
jne 0x42d146
lea ecx, [esi + 0x64]
call fcn.004022d0
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.00411fad
mov ecx, dword [esp + 0xd0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
add edi, 0xfffffff0
mov ecx, edi
jmp 0x42da57
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42d118
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.00411fad
mov ecx, dword [esp + 0x7c]
jmp 0x42d0ce
lea eax, [esi + 0x64]
push eax
push 0x486914
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e0e5
add esp, 0x10
test eax, eax
jne 0x42d98e
mov eax, dword [esi + 0x64]
cmp dword [eax - 0xc], ebx
je 0x42d98e
lea eax, [esi + 0x44]
push eax
push str.ManifestURL
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e0e5
add esp, 0x10
test eax, eax
jne 0x42d959
mov eax, dword [esi + 0x44]
cmp dword [eax - 0xc], ebx
je 0x42d959
lea eax, [esi + 0x48]
push eax
push 0x485dc0
push dword [esp + 0x1c]
mov dword [eax], ebx
push 0x80000002
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x42d924
cmp dword [esi + 0x48], 1
jb 0x42d924
lea eax, [esi + 0x4c]
push eax
push str.Mode
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x42d8f5
mov eax, dword [esi + 0x4c]
cmp eax, 1
jb 0x42d8f5
cmp eax, 4
ja 0x42d8f5
cmp dword [0x49c550], ebx
jne 0x42d369
call fcn.00434582
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.0042e0e5
mov esi, dword [esp + 0x50]
add esp, 0x10
cmp dword [esi - 0xc], ebx
je 0x42d355
push ebx
push 0x3b
lea ecx, [esp + 0x48]
call fcn.0041a279
mov dword [esp + 0x28], eax
call fcn.00434582
push eax
lea ecx, [esp + 0x28]
call fcn.0040210b
mov byte [esp + 0x510], 0x15
call fcn.00434582
push eax
lea ecx, [esp + 0x38]
call fcn.0040210b
cmp dword [esp + 0x28], 0xffffffff
mov byte [esp + 0x510], 0x16
je 0x42d49e
push dword [esp + 0x28]
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x48]
call fcn.0040a573
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x514], 0x17
call fcn.00409158
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.0040a52c
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x514], 0x18
call fcn.00409158
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 0x42d46c
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 0xc], ebx
je 0x42d46c
or dword [esp + 0xb0], 0xffffffff
lea edx, [esp + 0xb0]
push edx
push ecx
push eax
push 0x80000001
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x42d417
cmp dword [esp + 0xb0], 1
jb 0x42d417
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.00434582
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.0042e0e5
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp dword [eax - 0xc], ebx
je 0x42d4d3
or dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x20]
push ecx
push str.bUpdater
push eax
push 0x80000002
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x42d4d3
cmp dword [esp + 0x20], ebx
jne 0x42d4d3
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.00411b27
mov ecx, dword [esp + 0x68]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x30]
jmp 0x42d0d1
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.00411fad
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 0x42d013
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.00411fad
mov ecx, dword [esp + 0xd8]
jmp 0x42d441
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.00411fad
mov ecx, dword [esp + 0x8c]
jmp 0x42d441
lea eax, [esi + 0x70]
push eax
push str.INSTALLDIR
push dword [esp + 0x1c]
push 0x80000002
call fcn.0042e0e5
lea eax, [esi + 0x7c]
push eax
push str.DataModulePath
push dword [esp + 0x2c]
push 0x80000002
call fcn.0042e0e5
lea eax, [esi + 0x80]
push eax
push str.DataModuleUsage
push dword [esp + 0x3c]
push 0x80000002
call fcn.0042e0e5
lea eax, [esi + 0x74]
push eax
push 0x469314
push dword [esp + 0x4c]
push 0x80000002
call fcn.0042e0e5
mov eax, dword [esi + 0x74]
add esp, 0x40
cmp dword [eax - 0xc], ebx
jne 0x42d543
push esi
call fcn.0042c5b9
lea eax, [esp + 0x88]
push eax
push str.DisableAnyUI
push dword [esp + 0x1c]
mov dword [esp + 0x94], ebx
push 0x80000002
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x42d608
cmp dword [esp + 0x88], ebx
jbe 0x42d608
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.00411fad
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 0x42d5fe
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.00411fad
mov ecx, dword [esp + 0x9c]
add esp, 0xc
jmp 0x42d406
mov dword [esi + 0xf0], 1
cmp dword [esp + 0x44], ebx
je 0x42d6cb
xor eax, eax
push 0x206
mov word [esp + 0xf0], ax
lea eax, [esp + 0xf2]
push ebx
push eax
call fcn.00445f90
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 0x42d68f
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xd8]
call fcn.00402060
mov byte [esp + 0x510], 0x20
or dword [esp + 0x38], 1
push 0x467f88
mov ecx, eax
call fcn.00408ff7
mov byte [esp + 0x1f], 1
test eax, eax
je 0x42d693
mov byte [esp + 0x1f], bl
mov dword [esp + 0x510], 0x1c
test byte [esp + 0x38], 1
je 0x42d6b9
mov ecx, dword [esp + 0xd4]
and dword [esp + 0x38], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0040253e
cmp byte [esp + 0x1f], bl
je 0x42d6cb
mov dword [esi + 0xa0], 1
jmp 0x42d6d1
mov dword [esi + 0xa0], ebx
lea eax, [esi + 0x68]
push eax
mov ecx, 0x49c558
call fcn.00409158
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.00411b27
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.00411b27
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.00411b27
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.00411b27
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.00411b27
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 0x42d854
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.00411b27
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.00411b27
mov ecx, dword [esp + 0x7c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [esp + 0x2c], 1
jmp 0x42d40e
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.00411fad
mov ecx, dword [esp + 0x80]
jmp 0x42d0ce
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.00411fad
mov ecx, dword [esp + 0x88]
jmp 0x42d0ce
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.00411fad
mov ecx, dword [esp + 0x90]
jmp 0x42d0ce
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.00411fad
mov ecx, dword [esp + 0x98]
jmp 0x42d0ce
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.00411fad
mov ecx, dword [esp + 0xa0]
jmp 0x42d00d
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.00411fad
mov ecx, dword [esp + 0xa8]
jmp 0x42da51
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.00411fad
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 0x42ccc3
push dword [esp + 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42dace
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.00411fad
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.00445157
mov esp, ebp
pop ebp
ret 4