Function at 0x409b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526a10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x587730]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
push str.Compsetupstarter
lea ecx, [ebp - 0x1c]
call fcn.00406480
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xfffffc19
lea ecx, [ebp - 0x18]
call fcn.00406440
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00406440
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00406440
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0xe8], 1
jne 0x409b86
push 0x53ac64
mov ecx, dword [ebp - 0x48]
add ecx, 0x290
call fcn.00406540
lea ecx, [ebp - 0x14]
push ecx
call fcn.00403010
add esp, 4
movzx edx, al
test edx, edx
jne 0x409bb1
push 0x53ac5c
mov ecx, dword [ebp - 0x48]
add ecx, 0x2f4
call fcn.00406540
jmp 0x409c3e
push str.msiexec.exe
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00405c70
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00406580
push eax
lea edx, [ebp - 0x3c]
push edx
call fcn.00403360
add esp, 8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x2f4
call fcn.00406520
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00406500
mov ecx, dword [ebp - 0x48]
add ecx, 0x2f4
call fcn.00405e50
movzx edx, al
test edx, edx
je 0x409c32
push 0x53ac5c
mov ecx, dword [ebp - 0x48]
add ecx, 0x2f4
call fcn.00406540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00406500
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x2f4]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x290]
push eax
push str.__MSI_Version_required:__s__installed:__s
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 9
push 0x588f50
call fcn.00416d20
add esp, 0x18
push 0x53abfc
mov ecx, dword [ebp - 0x48]
add ecx, 0x2f4
push ecx
call fcn.0040b520
add esp, 8
movzx edx, al
test edx, edx
jne 0x409cae
push 0x53abfc
mov eax, dword [ebp - 0x48]
add eax, 0x290
push eax
call fcn.0040b520
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x409ec9
mov dword [ebp - 0x28], 4
push 0x536e60
lea ecx, [ebp - 0x18]
call fcn.00406540
push 0x536e60
lea ecx, [ebp - 0x20]
call fcn.00406540
lea edx, [ebp - 0x2c]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftOle
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409d8a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
push str.LegacyAuthenticationLevel
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409d39
cmp dword [ebp - 0x28], 0
jbe 0x409d39
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 1
jne 0x409d39
push 0x537450
lea ecx, [ebp - 0x18]
call fcn.00406540
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push str.LegacyImpersonationLevel
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409d80
cmp dword [ebp - 0x28], 0
jbe 0x409d80
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x409d80
push 0x537450
lea ecx, [ebp - 0x20]
call fcn.00406540
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x537450
lea edx, [ebp - 0x18]
push edx
call fcn.0040b4a0
add esp, 8
movzx eax, al
test eax, eax
jne 0x409dbe
push 0x537450
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040b4a0
add esp, 8
movzx edx, al
test edx, edx
je 0x409ea3
push str.Windows_compatibility_problem:__nSettings_are_not_compatible_to_MSI_due_to_Microsoft_article_http:__support.microsoft.com_default.aspx_scidkb_en_us_Q319624
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0
push 0x588f50
call fcn.00416d20
add esp, 0x10
push str.____Please_change_DCOM_AuthenticationLevel_to_a_value_other_than_none_and_DCOM_ImpersonationLevel_to_a_value_other_than_anonymous___
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 9
push 0x588f50
call fcn.00416d20
add esp, 0x10
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x140], 0
push 0x53abfc
mov ecx, dword [ebp - 0x48]
add ecx, 0x2f4
push ecx
call fcn.0040b4e0
add esp, 8
movzx edx, al
test edx, edx
je 0x409e84
push 0x53abfc
mov eax, dword [ebp - 0x48]
add eax, 0x290
push eax
call fcn.0040b520
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x409e84
mov dword [ebp - 0x40], 0xfffffffc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00406500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00406500
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406500
mov eax, dword [ebp - 0x40]
jmp 0x409f0c
push str.Setup_continued_but_maybe_an_error_will_occur_later__
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 1
push 0x588f50
call fcn.00416d20
add esp, 0x10
jmp 0x409ec7
mov dword [ebp - 0x10], 0
push 0x53a86c
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0xb
push 0x588f50
call fcn.00416d20
add esp, 0x10
jmp 0x409ed0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00406500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00406500
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406500
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret