Function at 0x409cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eedb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x456ea4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0xfffffc19
lea ecx, [ebp - 0x18]
call fcn.00406900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00406900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00406900
mov byte [ebp - 4], 2
push str.Test_and_install_MSI:
push 8
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xcc], 1
jne 0x409d4f
push 0x446624
mov ecx, dword [ebp - 0x10]
add ecx, 0x258
call fcn.00406a30
lea eax, [ebp - 0x20]
push eax
call fcn.00403270
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x409d7a
push 0x44661c
mov ecx, dword [ebp - 0x10]
add ecx, 0x2b8
call fcn.00406a30
jmp 0x409e31
mov eax, dword [ebp - 0x20]
push eax
push str.____Found_MSI_folder:__s
push 8
push 0x45858c
call fcn.00416150
add esp, 0x10
push str.msiexec.exe
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00405f60
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00406a90
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004035e0
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2b8
call fcn.00406a00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.004069e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2b8
call fcn.00406170
movzx eax, al
test eax, eax
je 0x409e25
push 0x44661c
mov ecx, dword [ebp - 0x10]
add ecx, 0x2b8
call fcn.00406a30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004069e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2b8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x258]
push eax
push str.____MSI_Version_required:__s_____MSI_Version_installed:__s
push 8
push 0x45858c
call fcn.00416150
add esp, 0x14
push 0x446564
mov eax, dword [ebp - 0x10]
add eax, 0x2b8
push eax
call fcn.0040b560
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x409e97
push 0x446564
mov eax, dword [ebp - 0x10]
add eax, 0x258
push eax
call fcn.0040b560
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40a0c5
push str.DCOM_verification.
push 0xa
push 0x45858c
call fcn.00416150
add esp, 0xc
mov dword [ebp - 0x34], 4
push 0x442630
lea ecx, [ebp - 0x18]
call fcn.00406a30
push 0x442630
lea ecx, [ebp - 0x1c]
call fcn.00406a30
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftOle
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409fb7
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0
push 0x4464d8
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409f4e
cmp dword [ebp - 0x34], 0
jbe 0x409f4e
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jne 0x409f36
push 0x4464d4
lea ecx, [ebp - 0x18]
call fcn.00406a30
mov eax, dword [ebp - 0x2c]
push eax
push str.____LegacyAuthenticationLevel:__d
push 8
push 0x45858c
call fcn.00416150
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0
push str.LegacyImpersonationLevel
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409fad
cmp dword [ebp - 0x34], 0
jbe 0x409fad
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jne 0x409f95
push 0x4464d4
lea ecx, [ebp - 0x1c]
call fcn.00406a30
mov eax, dword [ebp - 0x2c]
push eax
push str.____LegacyImpersonationLevel:__d
push 8
push 0x45858c
call fcn.00416150
add esp, 0x10
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4464d4
lea eax, [ebp - 0x18]
push eax
call fcn.0040b4a0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x409feb
push 0x4464d4
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b4a0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40a0a8
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
push 0
push 0x45858c
call fcn.00416150
add esp, 0xc
push str.____Please_change_DCOM_AuthenticationLevel_to_a_value_other_than_none_and_DCOM_ImpersonationLevel_to_a_value_other_than_anonymous___
push 8
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x124], 0
push 0x446564
mov eax, dword [ebp - 0x10]
add eax, 0x2b8
push eax
call fcn.0040b500
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40a092
push 0x446564
mov eax, dword [ebp - 0x10]
add eax, 0x258
push eax
call fcn.0040b560
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40a092
mov dword [ebp - 0x80], 0xfffffffc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004069e0
mov eax, dword [ebp - 0x80]
jmp 0x40a110
push str._Setup_continued_but_maybe_an_error_will_occur_later__
push 1
push 0x45858c
call fcn.00416150
add esp, 0xc
jmp 0x40a0c3
mov dword [ebp - 0x14], 0
push str.DCOM_settings_O.K.
push 0xa
push 0x45858c
call fcn.00416150
add esp, 0xc
jmp 0x40a0cc
mov dword [ebp - 0x14], 0
push 0x446104
push 8
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004069e0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret