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

Disassembly:
jmp 0x14000f360
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.1400030c1
cmp dword [0x1400c22e0], ebx
je 0x14000f517
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 0x14000f3f5
lea rcx, str.Error_InitIntelligentCooling_RegCreateKeyEx_error____n
call fcn.1400030c1
jmp 0x14000f51c
mov eax, 0x2001
cmp dword [0x1400c22e0], eax
je 0x14000f408
mov edx, ebx
mov eax, ebx
jmp 0x14000f40d
mov edx, 1
mov dword [rbp - 0x10], eax
mov dword [rbp + 0x38], edx
test eax, eax
je 0x14000f541
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 0x14000f4e4
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 0x14000f4db
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.1400030c1
lea rcx, str.SetIntelligentCoolingCreateReg___already_have_than_read_the_value:__x_n
jmp 0x14000f50a
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.1400030c1
mov eax, dword [rbp + 0x28]
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000f52b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SetIntelligentCoolingCreateReg___n
call fcn.1400030c1
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.1400030c1
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 0x14000f51c