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

Disassembly:
jmp 0x1400117b0
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.1400045d9
cmp dword [0x1400b81f8], ebx
je 0x1400119a1
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_RegCreateKeyExA]
test eax, eax
je 0x140011845
lea rcx, str.Error_InitIntelligentCooling_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x1400119a6
cmp dword [0x1400b81f8], 0x2001
je 0x140011897
xor edx, edx
mov dword [rbp - 0x10], ebx
lea rcx, str.SetIntelligentCoolingCreateReg___Error_unexpected_Method_DYTC__interface_version_set_capabiltu__x____n
mov dword [rbp + 0x38], ebx
call fcn.1400045d9
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_RegSetValueExA]
jmp 0x1400119a6
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 dword [rbp - 0x10], 0x2001
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x38], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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_RegSetValueExA]
cmp dword [rbp - 0xc], 2
lea rdx, str.CurrentSetting
mov rcx, qword [rbp - 8]
jne 0x14001196e
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_RegQueryValueExA]
test eax, eax
je 0x140011965
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_RegSetValueExA]
mov edx, dword [rbp + 0x28]
lea rcx, str.SetIntelligentCoolingCreateReg___Crelate_and_set_value_read_value:__x_n
call fcn.1400045d9
lea rcx, str.SetIntelligentCoolingCreateReg___already_have_than_read_the_value:__x_n
jmp 0x140011994
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_RegSetValueExA]
lea rcx, str.SetIntelligentCoolingCreateReg___Crelate_and_set_value_read_value:__x_n
mov edx, dword [rbp + 0x28]
call fcn.1400045d9
mov eax, dword [rbp + 0x28]
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400119b5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SetIntelligentCoolingCreateReg___n
call fcn.1400045d9
mov eax, ebx
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret