Function at 0x4139e0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527b38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x587730]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.Compsetupstarter
lea ecx, [ebp - 0x10]
call fcn.00406480
mov dword [ebp - 4], 0
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413a38
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040f2c0
cmp byte [edi + 0x14c], 0
je 0x4144e0
mov ecx, edi
call fcn.004138f0
call fcn.0041a2c9
xor ecx, ecx
cmp dword [ebp + 8], ecx
je 0x413fdc
test eax, eax
setne cl
test ecx, ecx
jne 0x413a89
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.msi.dll
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x413b85
push str.Comp_Inst_
lea ecx, [ebp - 0x24]
call fcn.00406540
mov eax, dword [edi + 0x6c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00406170
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x413aee
push 0
lea ecx, [ebp - 0x24]
call fcn.00406f10
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + 0x6c]
push ebx
push str._____Will_start_Custom_Action__s_...
push edx
lea esi, [edi + 0x24]
push 0xa
push esi
call eax
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
push str.MsiDoActionW
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebx - 8]
mov dword [ebp - 0x20], eax
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x413b37
push 0
lea ecx, [ebp - 0x24]
call fcn.00406f10
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push ebx
push edx
call dword [ebp - 0x20]
mov ecx, dword [ebx - 8]
mov dword [ebp - 0x20], eax
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x413b5e
push 0
lea ecx, [ebp - 0x24]
call fcn.00406f10
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x6c]
push ecx
push ebx
push str.__Custom_Action__s_return__d
push edx
push 0xa
push esi
call eax
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x413b8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413ba8
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413bd5
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
lea ecx, [edi + 0x18c]
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00406ac0
mov eax, dword [edi + 0x80]
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.004046d0
push eax
lea eax, [ebp + 8]
push 0x536ec8
mov bl, 5
push eax
mov byte [ebp - 4], bl
call fcn.00405d20
add esp, 0x14
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00406170
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x1c]
mov edx, dword [edi + 0x188]
lea ecx, [ebp - 0x28]
push ecx
push str.Transforms
push ebx
push edx
call fcn.004042d0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 0xc]
add esp, 0x10
test ecx, ecx
jle 0x413f8e
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x413cbc
push 0
lea ecx, [ebp - 0x28]
call fcn.00406f10
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x24]
push eax
mov eax, dword [ecx + 0x6c]
push str.____Transformfile_read_from_registry:__s
push edx
lea esi, [edi + 0x24]
push 0xa
push esi
call eax
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
add esp, 0x14
or ecx, eax
jge 0x413cf3
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406f10
mov ebx, dword [ebp - 0x1c]
mov edx, dword [edi + 0x188]
lea ecx, [ebp - 0x14]
push ecx
push 0x30007
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413d6c
mov eax, dword [ebp - 0x14]
push str.Transforms
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebx - 8]
mov dword [ebp - 0x20], eax
test eax, eax
mov eax, 1
je 0x413d4a
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x413d42
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406f10
mov ebx, dword [ebp - 0x1c]
push ebx
push str._Couldn
jmp 0x413d8e
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x413d5e
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406f10
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
push ebx
push str.__Transform_deleted_successfully__in:__s_
push edx
push 0xa
jmp 0x413d94
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x413d88
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406f10
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x53e4d8
mov edx, dword [ebp - 0x10]
push edx
push 0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x6c]
push esi
call eax
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413dc3
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
mov byte [ebp - 4], 7
call fcn.004017a0
add esp, 8
cmp eax, 1
jne 0x413e90
mov edx, dword [ebp - 0x28]
push 6
push edx
lea eax, [ebp + 8]
push eax
call section..text
add esp, 0xc
push 0x536ec8
lea ecx, [ebp + 8]
call fcn.00405a00
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x413e2b
push 0
lea ecx, [ebp + 8]
call fcn.00406f10
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x6c]
push edx
mov edx, dword [ebp - 0x10]
push str.____Path_to_delete:__s
push edx
push 0xa
push esi
call eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004048d0
mov edx, dword [ebp - 0x28]
push edx
push 0
call fcn.004017a0
add esp, 0x20
test eax, eax
je 0x413e90
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x413e79
push 0
lea ecx, [ebp + 8]
call fcn.00406f10
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi]
push edx
mov edx, dword [eax + 0x6c]
push str._Path_could_not_be_deleted:__s
push ecx
push 2
push esi
call edx
add esp, 0x14
push str.Installer
lea eax, [edi + 0x154]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00405c70
lea ecx, [edi + 0x80]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 8
call fcn.00405bc0
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00406ac0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413eed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004048d0
mov edx, dword [ebp + 8]
push edx
push 3
call fcn.004017a0
add esp, 0xc
test eax, eax
je 0x413f61
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x413f4a
push 0
lea ecx, [ebp + 8]
call fcn.00406f10
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi]
push edx
mov edx, dword [eax + 0x6c]
push str._Path_could_not_be_deleted:__s
push ecx
push 2
push esi
call edx
add esp, 0x14
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413fb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fd4
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x24]
jmp 0x4146de
test eax, eax
setne cl
test ecx, ecx
jne 0x413fef
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x130]
mov ecx, dword [eax - 8]
lea esi, [edi + 0x130]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x414027
push ecx
push eax
call fcn.0050cf35
add esp, 8
test eax, eax
js 0x4144d6
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4144d6
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov ecx, esi
call fcn.00405920
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
js 0x414084
push str.REINSTALLALL
push eax
call fcn.0050cc5c
add esp, 8
test eax, eax
je 0x414084
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
jle 0x414084
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x24]
push str.__Component_will_be_installed_using_REINSTALL_mode.
push edx
lea eax, [edi + 0x24]
push 9
push eax
mov eax, dword [ecx + 0x6c]
call eax
add esp, 0x10
jmp 0x414090
push str._ALLUSERS1
mov ecx, esi
call fcn.00405600
lea ecx, [edi + 0x134]
push ecx
lea edx, [ebp - 0x1c]
push str.msiexec.exe__i__
push edx
call fcn.00405d20
lea ecx, [edi + 0x64]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xb
call fcn.00405bc0
push 0x53cf18
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xc
call fcn.00405c70
lea ecx, [edi + 0x5c]
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0xd
call fcn.00405bc0
push 0x539624
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xe
call fcn.00405c70
push esi
push eax
lea ecx, [ebp - 0x34]
mov bl, 0xf
push ecx
mov byte [ebp - 4], bl
call fcn.00405bc0
add esp, 0x48
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.00406ac0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414131
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41419a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4141bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4141e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x15c]
cmp dword [ecx - 0xc], 0
lea esi, [edi + 0x15c]
je 0x414269
push str._TIMEOUT
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00405c70
push esi
push eax
lea ecx, [ebp - 0x34]
mov bl, 0x11
push ecx
mov byte [ebp - 4], bl
call fcn.00405bc0
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x12
call fcn.00406ac0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414246
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414269
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0050cf35
xor ebx, ebx
add esp, 8
cmp eax, ebx
jl 0x4144d6
cmp eax, dword [esi - 8]
jg 0x4144d6
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x16
mov word [esi + eax*2], cx
push str._ADS_CALLED_EXTERNAL1
lea ecx, [ebp + 8]
call fcn.00406170
cmp dword [edi + 0x50], 1
jne 0x4142c4
push str._OVERINSTALLYES
lea ecx, [ebp + 8]
call fcn.00405600
push str._UPDATEMODE1
lea ecx, [ebp + 8]
call fcn.00405600
cmp byte [edi + 0x144], bl
je 0x4142d9
push str._LOGGINGMAX1
lea ecx, [ebp + 8]
call fcn.00405600
cmp byte [edi + 0x164], bl
je 0x4142ee
push str._DEBUG_MESSAGES1
lea ecx, [ebp + 8]
call fcn.00405600
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call fcn.0041a2c9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41430e
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push ebx
mov byte [ebp - 4], 0x13
call fcn.0050d775
add esp, 4
push str._H:_M:_S
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.00409a30
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
call fcn.00406ac0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x13
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + 0x6c]
push str.__Launch_installation:__Call_msiexec
push edx
lea esi, [edi + 0x24]
push 9
push esi
call eax
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00401eb0
mov edx, dword [esi]
mov ecx, dword [edx + 0x6c]
mov ebx, eax
mov eax, dword [ebp - 0x10]
push 0x53a478
push eax
push 9
push esi
mov dword [ebp - 0x20], ebx
call ecx
add esp, 0x28
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4143ca
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
push ebx
lea ecx, [ebp - 0x28]
push 0x53907c
push ecx
mov byte [ebp - 4], 0x15
call fcn.00407220
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
push 0x2001f
push 0
push str.SOFTWARESIEMENSShared_ToolsCompSetup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [ebp - 0x28]
test eax, eax
jne 0x414470
mov eax, dword [ebx - 0xc]
mov ecx, dword [ebx - 8]
mov dword [ebp - 0x34], eax
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x414433
push 0
lea ecx, [ebp - 0x28]
call fcn.00406f10
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
push ebx
push 1
push 0
push str.MsiReturn
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x6c]
push ebx
push str._MSI_returncode__s____0__OK_
push edx
push 9
push esi
call eax
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
push 4
push 0x537450
push 1
push 0
push str.Restart
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4144aa
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4146db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4146db
push 0x80070057
call fcn.00405680
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414505
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
lea ecx, [edi + 0x64]
push ecx
lea edx, [edi + 0x134]
push edx
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x16
call fcn.00405bc0
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x17
call fcn.00406ac0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41455f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0050cf35
add esp, 8
test eax, eax
js 0x4144d6
cmp eax, dword [esi - 8]
jg 0x4144d6
mov ebx, esi
mov dword [ebx - 0xc], eax
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x24]
mov ecx, dword [edx + 0x6c]
push str.__Launch_Exe:__s
push eax
lea esi, [edi + 0x24]
push 9
push esi
call ecx
mov eax, dword [edi + 0x60]
push eax
push ebx
call fcn.00402210
mov edx, dword [esi]
mov ecx, dword [edx + 0x6c]
push eax
mov eax, dword [ebp - 0x10]
push str.__Launch_returncode:__d
push eax
push 9
push esi
call ecx
add esp, 0x30
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x28], 0
je 0x4146d5
cmp ebx, 0x927c0
jb 0x41467b
mov eax, dword [ebp - 0x10]
mov edx, dword [esi]
mov ecx, dword [edx + 0x6c]
push str._Timeout_while_waiting_on_componentsetup_..._
push eax
push 2
push esi
xor ebx, ebx
call ecx
add esp, 0x10
push str.5018
lea edx, [ebp - 0x24]
push edx
mov ecx, edi
call fcn.0040c9f0
mov eax, dword [ebp - 0x24]
push 0x12034
push str.Setup
push eax
push ebx
mov byte [ebp - 4], 0x18
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x414658
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x6c]
push 0x53edd0
push edx
push 1
push esi
call eax
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x20], 0x4e85
mov dword [ebp - 0x28], ebx
call fcn.0040cb20
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41467b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x14]
push ecx
push str.SOFTWARESIEMENSShared_ToolsCompSetup
push reloc.OLEAUT32.dll_SysReAllocString
add ebx, 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4146cb
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
push 0
push str.Client
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], 2
jne 0x4145d5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4146fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414718
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x19
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414745
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x1a
call fcn.0041a2c9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414772
push 0x80004005
call fcn.00405680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x1b
call fcn.004101a0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
call fcn.00406ac0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1b
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4147c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x24]
push 0x537450
push esi
call fcn.0050cbd1
add esp, 8
test eax, eax
je 0x414814
push 0x53edcc
push esi
call fcn.0050cbd1
add esp, 8
test eax, eax
je 0x414814
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x414803
push 0
lea ecx, [ebp - 0x24]
call fcn.00406f10
mov esi, dword [ebp - 0x24]
push esi
call fcn.0050d469
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x414965
cmp dword [ebx - 0xc], 0
je 0x4148f9
push 0x537450
push ebx
call fcn.0050cbd1
add esp, 8
test eax, eax
je 0x4148f9
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + 0x6c]
push ebx
push str._Setup_finished_but_a_problem_was_encountered_in_a_called_related_process._ReturnCode:__s
push edx
lea esi, [edi + 0x24]
push 1
push esi
mov dword [ebp - 0x20], 0xfffffff6
call eax
add esp, 0x14
push 3
push 0x53ed0c
lea ecx, [ebp - 0x24]
call fcn.00406dd0
push 0x27
push str.SOFTWARESIEMENSShared_ToolsCompSetup
lea ecx, [ebp + 8]
call fcn.00406dd0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x414893
push 0
lea ecx, [ebp + 8]
call fcn.00406f10
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414944
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi - 8]
mov ebx, dword [esi - 0xc]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x4148d4
push 0
lea ecx, [ebp - 0x24]
call fcn.00406f10
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
lea edx, [ebx + ebx + 2]
push edx
push esi
push 1
push 0
push str.SetupSucceeded
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414965
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41493b
cmp eax, 0xbc2
je 0x41493b
cmp eax, 0x669
je 0x41493b
cmp eax, 0xbc3
je 0x41493b
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + 0x6c]
push str._Setup_finished_but_an_unknown_problem_was_encountered_while_waiting.
push edx
lea esi, [edi + 0x24]
push 1
push esi
mov dword [ebp - 0x20], 0xfffffff6
call eax
add esp, 0x10
jmp 0x414856
mov dword [ebp - 0x20], 0
jmp 0x414965
mov edx, dword [esi]
mov ecx, dword [edx + 0x6c]
push eax
mov eax, dword [ebp - 0x10]
push str._Setup_finished_but_an_unknown_problem_encountered:__CompSetup_is_empty___Ret.code:__d_
push eax
push 1
push esi
call ecx
mov esi, dword [ebp - 0x24]
add esp, 0x14
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x24]
mov ecx, dword [edx + 0x6c]
push esi
push str._SetupSucceeded__s____1_or_2_would_be_OK_
push eax
lea ebx, [edi + 0x24]
push 9
push ebx
call ecx
add esp, 0x14
cmp byte [edi + 0x14c], 0
je 0x414bbe
push 0x27
push str.SOFTWARESIEMENSShared_ToolsCompSetup
lea ecx, [ebp + 8]
call fcn.00406dd0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x4149bb
push 0
lea ecx, [ebp + 8]
call fcn.00406f10
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414ba0
lea ecx, [ebp - 0x18]
call fcn.00406d10
mov esi, dword [ebp - 0x18]
mov edi, 0x800
mov dword [ebp - 0x2c], edi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x414a0a
push edi
lea ecx, [ebp - 0x18]
call fcn.00406f10
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], edi
jl 0x4144d6
lea edx, [ebp - 0x2c]
push edx
push esi
xor ecx, ecx
lea eax, [ebp - 0x34]
push eax
push ecx
mov dword [esi - 0xc], edi
mov word [esi + 0x1000], cx
mov ecx, dword [ebp - 0x14]
push str.Client
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0050cf35
add esp, 8
test eax, eax
js 0x4144d6
cmp eax, dword [esi - 8]
jg 0x4144d6
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
test edi, edi
jne 0x414b76
cmp dword [esi - 0xc], edx
jle 0x414b76
lea eax, [ebp - 0x2c]
push eax
push 0x800
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], 0x800
call fcn.004065b0
mov edx, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
push edi
push str.MSIProperties
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0050cf35
add esp, 8
test eax, eax
js 0x4144d6
cmp eax, dword [esi - 8]
jg 0x4144d6
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x414b36
cmp dword [esi - 0xc], ecx
jle 0x414b36
push 0x536e60
lea ecx, [ebp - 0x18]
call fcn.00406540
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 8]
mov edi, dword [esi - 0xc]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x414b03
push 0
lea ecx, [ebp - 0x18]
call fcn.00406f10
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
lea edx, [edi + edi + 2]
push edx
push esi
push 1
push 0
push str.MSIProperties
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x6c]
push edx
push str._Delete_value_MSIProperties__at_HKLM_s
push eax
push 9
push ebx
call ecx
add esp, 0x14
mov edx, dword [ebp - 0x14]
push 2
push 0x536e60
push 1
push 0
push str.Client
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov eax, dword [eax + 0x6c]
push ecx
push str._Delete_value_Client__at_HKLM_s____compsetup_finished
push edx
push 9
push ebx
call eax
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414bc1
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x6c]
push edi
push str._Setup_finished_but_an_unknown_problem_encountered:__CompSetupClient_is_empty___Ret.code:__d_
push edx
push 1
push ebx
call eax
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
mov dword [ebp - 0x20], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414bc1
mov edx, dword [ebx]
mov ecx, dword [edx + 0x6c]
push eax
mov eax, dword [ebp - 0x10]
push str.Setup_finished_but_an_unknown_problem_encountered:__CompSetup_is_empty___Ret.code:__d_
push eax
push 1
push ebx
call ecx
add esp, 0x14
mov dword [ebp - 0x20], 0xffffffff
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414be4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c4a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4