Function at 0x41bed0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bc88
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x486850]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov byte [ebp - 0x75], bl
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 1
call fcn.004181e0
test bl, bl
jne 0x41bf7a
cmp dword [ebp + 0x1c], 0
ja 0x41bf7a
call fcn.00417ff0
test eax, eax
jne 0x41bf6f
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
push 0x487b20
mov word [ecx], ax
call fcn.004024b0
mov ecx, 2
call fcn.004390c0
add esp, 0x18
cmp eax, 6
je 0x41c08a
lea ecx, [ebp + 0xc]
call fcn.004023c0
lea ecx, [ebp + 0x24]
call fcn.004023c0
jmp 0x41c283
cmp eax, 2
jne 0x41c08a
jmp 0x41bf5a
cmp byte [0x4893d6], 0
je 0x41bfcc
cmp byte [ebp + 8], 0
je 0x41bfcc
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x487b20
mov word [ecx], ax
call fcn.004024b0
mov ecx, 3
call fcn.004390c0
add esp, 0x18
cmp eax, 6
je 0x41bfcc
call fcn.00418700
xor ecx, ecx
call fcn.004187d0
push 0x15
xor eax, eax
push str.SoftwareTuneUpSetup
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00402900
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.0042beb0
cmp dword [eax + 0x14], 8
jb 0x41c006
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
sete bl
cmp dword [ebp - 0x60], 8
jb 0x41c03b
push dword [ebp - 0x74]
call fcn.0043d3af
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x41c064
push dword [ebp - 0x5c]
call fcn.0043d3af
add esp, 4
test bl, bl
je 0x41c08a
push 4
push 0x4692ac
push 1
push 0
push str.AutoUninst
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041bb40
call fcn.00417bc0
call fcn.00417ab0
call fcn.004183d0
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
push 5
push str.de_DE
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00402900
cmp dword [0x4893d8], 0
je 0x41c0f5
xor esi, esi
mov ecx, dword [esi + 0x4879d8]
lea eax, [ebp - 0x44]
push eax
push str.UILanguage
xor edx, edx
call fcn.0042c630
add esp, 8
test al, al
jne 0x41c0f5
add esi, 4
cmp esi, 8
jb 0x41c0d0
mov edi, dword [sym.imp.msi.dll_MsiSetPropertyW]
push 0
push 3
call edi
cmp dword [ebp + 0x1c], 0
ja 0x41c113
cmp dword [ebp + 0x34], 0
ja 0x41c113
push 0
push 3
jmp 0x41c117
push 0
push 2
call edi
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
cmp byte [0x4893d7], al
je 0x41c153
push 0xe
push str.MAJORUPGRADE1
lea ecx, [ebp - 0x2c]
call fcn.00401b20
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x41c156
lea ecx, [ebp - 0x2c]
cmp dword [0x487b34], 8
mov eax, dword [0x487b20]
jae 0x41c169
mov eax, 0x487b20
push ecx
push 2
push 0
push eax
call dword [sym.imp.msi.dll_MsiGetFileVersionA]
mov esi, eax
test esi, esi
je 0x41c1d7
cmp esi, 0x669
je 0x41c1d7
cmp esi, 0xbc2
je 0x41c1d7
cmp byte [ebp - 0x75], 0
je 0x41c1d0
cmp dword [ebp - 0x84], 3
jne 0x41c1d0
cmp esi, 0x642
jne 0x41c1d0
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x44]
push eax
call fcn.004024b0
xor cl, cl
call fcn.0041a7f0
add esp, 0x18
call fcn.00417b60
jmp 0x41c1f2
cmp dword [ebp + 0x1c], 0
ja 0x41c1e8
cmp dword [ebp + 0x34], 0
mov edx, 3
jbe 0x41c1ed
mov edx, 2
call fcn.0041b4d0
call fcn.0041bc90
mov ecx, esi
call fcn.0041aad0
push 0
push ebx
call edi
cmp dword [ebp - 0x18], 8
jb 0x41c214
push dword [ebp - 0x2c]
call fcn.0043d3af
add esp, 4
xor eax, eax
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x41c239
push dword [ebp - 0x44]
call fcn.0043d3af
add esp, 4
xor eax, eax
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x41c25e
push dword [ebp + 0xc]
call fcn.0043d3af
add esp, 4
xor eax, eax
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
jb 0x41c283
push dword [ebp + 0x24]
call fcn.0043d3af
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043d3b4
mov esp, ebp
pop ebp
ret