Function at 0x4084b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43ff38
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f3d8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x68], 2
cmp byte [edi + 0x3e], 0
mov dword [esp + 0x1c], 0x1000
je 0x4087c7
push ebp
lea eax, [esp + 0x18]
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SoftwareIntelICCS
push 0x80000002
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebp
jne 0x4087a1
mov edx, 0x444d38
call fcn.00401e60
test eax, eax
je 0x40856b
mov ecx, 0x444d38
call fcn.00401f00
jmp 0x408576
push edi
mov ecx, 0x444d3c
call fcn.00406c30
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x408580
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x408580
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, esi
sar ecx, 1
add ecx, ecx
push ecx
push eax
push 1
push ebp
push str.InstallPath
push edx
call ebx
lea eax, [esp + 0x40]
push eax
call fcn.0041b5c0
mov edx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x58], 8
jae 0x4085c4
lea edx, [esp + 0x44]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4085d0
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push 1
push ebp
push str.Version
push edx
call ebx
cmp dword [edi + 0x34], ebp
mov edx, 0x444d7c
jne 0x408602
mov edx, 0x444d84
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x408607
mov ecx, dword [esp + 0x14]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push ebp
push str.Reboot
push ecx
call ebx
cmp dword [edi + 0x38], ebp
mov edx, str.success
je 0x408638
mov edx, str.failure
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x408640
mov ecx, dword [esp + 0x14]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push ebp
push str.Install
push ecx
call ebx
mov ecx, dword [0x451a94]
add ecx, 0xa38
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bp
jne 0x408673
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, dword [esp + 0x14]
push edx
push ecx
push 1
push ebp
push 0x444dcc
push eax
call ebx
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
lea ebp, [edi + 0x40]
mov esi, ebp
mov edi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
lea ebx, [ebx]
test esi, esi
mov edx, dword [ebp + 4]
mov dword [esp + 0x3c], edx
je 0x4086bf
cmp esi, ebp
je 0x4086c4
call fcn.004281b2
cmp edi, dword [esp + 0x3c]
je 0x408734
test esi, esi
jne 0x4086d3
call fcn.004281b2
cmp edi, dword [esi + 4]
jne 0x4086dd
call fcn.004281b2
cmp byte [edi + 0x28], 0
je 0x40871e
cmp edi, dword [esi + 4]
jne 0x4086ed
call fcn.004281b2
cmp dword [edi + 0x24], 8
lea ebx, [edi + 0xc]
jb 0x4086fb
mov eax, dword [ebx + 4]
jmp 0x4086fe
lea eax, [ebx + 4]
cmp word [eax], 0x40
je 0x408718
cmp edi, dword [esi + 4]
jne 0x40870e
call fcn.004281b2
push ebx
lea esi, [esp + 0x24]
call fcn.00414a70
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [esp + 0x30]
call fcn.004221c0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x4086b0
xor ecx, ecx
mov eax, 0x1000
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426d0b
mov esi, eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x28]
call fcn.00425760
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add esp, 8
lea edx, [ecx + ecx]
push edx
push esi
push 7
push 0
push str.InstallConfig
push eax
call ebx
push esi
call fcn.004286d5
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x408797
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
xor ebp, ebp
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4087c7
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
push ecx
call fcn.0041a700
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
jb 0x4087e7
mov eax, dword [esp + 0x44]
push eax
call fcn.004286d5
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
je 0x408807
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00426d9a
add esp, 0x58
ret