Function at 0x41edf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bcf49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x4f5b3c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc8]
xor ebx, ebx
test ah, 4
mov dword [esp + 0x150], ebx
jne 0x41f11b
mov ecx, dword [esi + 0x520]
mov edx, dword [str.Installed_Applications]
mov eax, dword [str.SoftwareIntelLANDeskLDWMDistribution]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_s_s
push ecx
call fcn.004a768f
mov eax, dword [esp + 0x24]
add esp, 0x14
lea edx, [esp + 0x28]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x41f11b
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [str.InstallTo]
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x30]
push eax
push ebx
push ecx
push edx
mov dword [esp + 0x50], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x38]
call fcn.004a9c8d
push str.Autoheal
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x15c], 1
call fcn.004a9e68
lea ecx, [esi + 0x4cc]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x15c], 2
call fcn.004a9e02
push str..cfg
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x158], 3
push eax
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x154], 4
call fcn.004a9c8d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x150], 9
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x150], 8
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 7
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0x150], 6
call fcn.004a9c1f
push ebx
lea ecx, [esp + 0x18]
call fcn.00434b80
test eax, eax
je 0x41f10b
mov eax, dword [esi + 0xc8]
test ah, 1
jne 0x41f07b
test byte [0x4feef8], 8
jne 0x41f07b
test ah, 8
jne 0x41f02f
or edi, 0xffffffff
push edi
push 0x40023
push 0x8ca
call fcn.004b1ffe
cmp eax, 7
jne 0x41efc5
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], bl
call fcn.004a9c1f
mov dword [esp + 0x150], edi
jmp 0x41f126
cmp eax, 2
jne 0x41f02f
push str.SetupAutoHeal:_User_cancelled_because_a_previous_installation_was_detected.
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc0], 0x65
call fcn.004a9c8d
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0xa
push ecx
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 6
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], bl
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x150], edi
call fcn.004a9c1f
xor eax, eax
jmp 0x41f134
mov edi, dword [esi + 0xc8]
push str.SetupAutoHeal:_automatically_switching_to_autoheal_mode_because_a_previous_installation_was_found.
or edi, 0x100
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xbf0], ebx
call fcn.004a9c8d
lea edx, [esp + 0x18]
mov byte [esp + 0x150], 0xb
push edx
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 6
call fcn.004a9c1f
lea edi, [esi + 0x4e8]
lea ecx, [esp + 0x20]
push edi
call fcn.004a9994
lea ebp, [esi + 0x4c8]
lea ecx, [esp + 0x1c]
push ebp
mov byte [esp + 0x154], 0xc
call fcn.004a9994
lea eax, [esp + 0x44]
mov ecx, edi
push eax
mov byte [esp + 0x154], 0xd
call fcn.004a9d5c
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.004a9d0c
mov edx, dword [esi + 0xc8]
mov dword [esi + 0xbf0], ebx
or dh, 1
mov dword [esi + 0xc8], edx
add esi, 0x1f8
mov ecx, esi
call fcn.0044ce20
test eax, eax
je 0x41f14d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0xc
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 6
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], bl
call fcn.004a9c1f
mov dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004a9c1f
mov eax, 1
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret
push str.SetupAutoHeal:_WARNING__m_Script.Read___of_Autoheal.cfg_returned_FALSE.__Bouncing_back_to_normal_install_without_backing_up_or_creating_an_uninstall_log.
lea ecx, [esp + 0x28]
call fcn.004a9c8d
lea edx, [esp + 0x24]
mov byte [esp + 0x150], 0xe
push edx
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 0xd
call fcn.004a9c1f
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.004a9d5c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.004a9d0c
mov ecx, esi
call fcn.0044ce20
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x150], 0xc
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 6
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], bl
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x150], 0xffffffff
call fcn.004a9c1f
mov eax, esi
jmp 0x41f134