Function at 0x14000154b
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140014040
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov dword [rbp + 0x30], 4
mov rdi, rcx
mov qword [rbp - 8], rbx
lea rcx, str.Enter_SetIntelligentCoolingCreateReg___n
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x10], ebx
mov dword [rbp + 0x38], ebx
mov dword [rbp + 0x28], 1
call fcn.140003224
cmp dword [0x1400d4158], ebx
je 0x1400141f7
lea rax, [rbp - 0xc]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCICTParameters
lea rax, [rbp - 8]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400140d5
lea rcx, str.Error_InitIntelligentCooling_RegCreateKeyEx_error____n
call fcn.140003224
jmp 0x1400141fc
mov eax, 0x2001
cmp dword [0x1400d4158], eax
je 0x1400140e8
mov edx, ebx
mov eax, ebx
jmp 0x1400140ed
mov edx, 1
mov dword [rbp - 0x10], eax
mov dword [rbp + 0x38], edx
test eax, eax
je 0x140014221
mov eax, dword [rbp + 0x30]
lea rdx, str.Version
mov rcx, qword [rbp - 8]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rbp + 0x30]
lea rdx, str.Capability
mov rcx, qword [rbp - 8]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp - 0xc], 2
lea rdx, str.CurrentSetting
mov rcx, qword [rbp - 8]
jne 0x1400141c4
lea rax, [rbp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400141bb
mov eax, dword [rbp + 0x30]
lea rdx, str.CurrentSetting
mov rcx, qword [rbp - 8]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [rbp + 0x28]
lea rcx, str.SetIntelligentCoolingCreateReg___Crelate_and_set_value_read_value:__x_n
call fcn.140003224
lea rcx, str.SetIntelligentCoolingCreateReg___already_have_than_read_the_value:__x_n
jmp 0x1400141ea
mov eax, dword [rbp + 0x30]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, str.SetIntelligentCoolingCreateReg___Crelate_and_set_value_read_value:__x_n
mov edx, dword [rbp + 0x28]
call fcn.140003224
mov eax, dword [rbp + 0x28]
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14001420b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SetIntelligentCoolingCreateReg___n
call fcn.140003224
mov eax, ebx
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
lea rcx, str.SetIntelligentCoolingCreateReg___Error_unexpected_Method_DYTC__interface_version_set_capabiltu__x____n
call fcn.140003224
mov eax, dword [rbp + 0x30]
lea rdx, str.Capability
mov rcx, qword [rbp - 8]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1400141fc