joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003f3f
Capabilities:
Print debug messages

Disassembly:
jmp 0x14006ccec
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.140002ccf
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14006cd3f
test rbx, rbx
je 0x14006cd30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14006cd3f
mov edi, 4
jmp 0x14006cde8
call fcn.140001519
test al, al
jne 0x14006cd5c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14006cde8
test bpl, bpl
je 0x14006cdbf
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14006caa4]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006cde8
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14006cdb9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006cde8
mov edi, dword [rsp + 0x44]
jmp 0x14006cdb1
call fcn.140003e13
test al, al
jne 0x14006cdd0
bts esi, 0x15
xor ecx, ecx
jmp 0x14006cdd8
call fcn.140001f46
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.140003341
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140003f4e
Capabilities:
Set registry value

Disassembly:
jmp 0x14001d5f0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x3a0
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov r8d, dword [rcx]
xor edi, edi
cmp dword [0x1400b81fc], edi
lea rcx, [rsp + 0x170]
mov rbx, r9
mov dword [rsp + 0x50], edi
je 0x14001d683
lea rdx, str..DEFAULTControl_PanelPowerCfgPowerPolicies_d
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x170]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14001d699
xor al, al
jmp 0x14001d726
lea rdx, str.Control_PanelPowerCfgPowerPolicies_d
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d63f
lea rdx, str.Policies
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
movups xmm0, xmmword [rbx]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
movups xmm1, xmmword [rbx + 0x10]
lea rdx, [rsp + 0x280]
mov dword [rsp + 0x28], 0x50
movaps xmmword [rsp + 0x60], xmm0
mov r9d, 3
movups xmm0, xmmword [rbx + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
movaps xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14001d67c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x3a0
pop rdi
ret

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

Disassembly:
jmp 0x14001c410
cmp ecx, 1
jb 0x14001c4fc
push rbx
sub rsp, 0x30
mov ebx, ecx
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCParametersNotification
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001c4f7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Type2
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001c4ec
mov eax, dword [rsp + 0x40]
lea ecx, [rbx - 1]
mov edx, 1
shl edx, cl
test eax, edx
je 0x14001c4a9
not edx
and eax, edx
jmp 0x14001c4ab
or eax, edx
mov rcx, qword [rsp + 0x58]
lea rdx, str.Type2
mov dword [rsp + 0x40], eax
mov r9d, 4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x14000400c
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140020f00
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
mov dword [rsp + 0x30], 0x80
xor ebx, ebx
mov dword [rsp + 0x34], 1
lea rcx, str.Enter_SystemTransformationCreateReg___n
mov qword [rsp + 0x38], rbx
call fcn.1400045d9
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140020f86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_SystemTransformationCreateReg_RegCreateKeyEx_error____d_n
call fcn.1400045d9
jmp 0x140020ff0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.CurrentBuildNumber
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140020fce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_SystemTransformationCreateReg_RegQueryValueEx_error____d_n
call fcn.1400045d9
jmp 0x140020ff0
lea rdx, [rsp + 0x40]
lea rcx, str.SystemTransformationCreateReg___already_have_than_read_the_dwCurrentSetting_read_value:__s_n
call fcn.1400045d9
lea rcx, [rsp + 0x40]
call fcn.1400025d6
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140021000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SystemTransformationCreateReg___n
call fcn.1400045d9
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x14000418d
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14001d1c0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x380], rax
cmp dword [0x1400b81fc], 0
mov rbx, rdx
mov edi, ecx
mov dword [rsp + 0x34], 0
je 0x14001d257
lea rcx, [rbp + 0x160]
call fcn.140002ebe
mov r9d, edi
lea r8, [rbp + 0x160]
lea rdx, str._sControl_PanelPowerCfgPowerPolicies_d
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001d274
xor al, al
jmp 0x14001d31d
mov r8d, edi
lea rdx, str.Control_PanelPowerCfgPowerPolicies_d
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d22f
lea rdx, str.Policies
lea rcx, [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x270]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001d250
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm0, xmmword [rsp + 0x40]
mov al, 1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x30], xmm1
movaps xmm1, xmmword [rbp - 0x70]
movups xmmword [rbx + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x50], xmm1
movaps xmm1, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x60], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x70], xmm1
movups xmmword [rbx + 0x80], xmm0
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140003e09
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140004278
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x14001e0b0
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCConfigurationsScreenRotation
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001e117
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov ebx, 1
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.TNSPMode
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001e127
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400045d4
Capabilities:
Check if file exists
Get common file path

Disassembly:
jmp 0x1400146d0
push rbx
sub rsp, 0x260
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
lea rcx, str.ENTER_IsINFFileExits__
call fcn.1400045d9
cmp byte [rbx], 0
je 0x1400147a8
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140002adb
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8024
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1400147cf
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.140002adb
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
lea r8, str._sINF_s
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.1400016a9
lea rcx, [rsp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400147cf
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140014790
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x140014703
lea rcx, str.EXIT_IsINFFileExists__
call fcn.1400045d9
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x260
pop rbx
ret
mov al, 1
jmp 0x1400147b6

Function at 0x14000462e
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001e540
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
lea rcx, [0x14009a4e0]
mov esi, ebx
mov byte [rsp + 0x50], bl
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x14001e5d8
mov rdx, rax
lea rcx, str.ToggleConversionIndicator:_DevicePath____ws__n
call fcn.1400045d9
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001e5d8
xor r9d, r9d
mov byte [rsp + 0x50], bl
lea r8d, [rbx + 1]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14001e5d8
lea edi, [rbx + 1]
jmp 0x14001e5e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14001e5f6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400046bf
Capabilities:
Create service
Get common file path
Persist via windows service

Disassembly:
jmp 0x140016380
sub rsp, 0x398
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov r8d, 0x200
lea rdx, [rsp + 0x180]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400164a4
mov qword [rsp + 0x3a0], rbx
lea rcx, [rsp + 0x70]
mov edx, 0x104
mov qword [rsp + 0x390], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rax, [rsp + 0x70]
mov edx, 0x104
lea rdi, [0x140088268]
mov r8d, 0x200
mov qword [rsp + 0x28], rdi
lea r9, str._s_system32_s.exe
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x20], rax
call fcn.140002df1
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x140016494
xor eax, eax
lea r8, str.IBM_PM_Service
mov qword [rsp + 0x60], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov qword [rsp + 0x50], rax
mov rcx, rbx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
test rax, rax
je 0x14001648b
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x3a0]
mov rdi, qword [rsp + 0x390]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x398
ret

Function at 0x140004700
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x140021100
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rcx, str.Enter_SystemTransformationSetCurrentStatusToReg___n
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x68], ebx
call fcn.1400045d9
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCTransformCurrentStatus
lea rax, [rsp + 0x70]
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 0x140021171
lea rcx, str.Error_SystemTransformationSetCurrentStatusToReg_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x1400211c7
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x60]
call fcn.140003b25
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rdx, [0x14009f60c]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400211be
lea rcx, str.Error_SystemTransformationSetCurrentStatusToReg_RegSetValueEx_error____n
call fcn.1400045d9
jmp 0x1400211c7
mov ecx, dword [rsp + 0x60]
call fcn.140002e0f
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400211d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.SystemTransformationSetCurrentStatusToReg___n
call fcn.1400045d9
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x140004719
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000aa70
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
mov dword [rsp + 0x70], 4
xor ebx, ebx
lea rcx, str.Enter_GetIntelligentCoolingGetCurrentSettingsStatusFromReg___n
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x68], ebx
call fcn.1400045d9
cmp dword [0x1400b81f8], ebx
jne 0x14000aab5
lea rcx, str.GetIntelligentCoolingCurrentStatus___does_not_support_n
call fcn.1400045d9
jmp 0x14000ab40
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCICTParameters
lea rax, [rsp + 0x78]
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 0x14000ab06
lea rcx, str.Error_SetIntelligentCoolingCurrentStatus_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x14000ab40
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.CurrentSetting
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [rdi]
lea rcx, str.SetIntelligentCoolingCurrentStatus__:_0x_08x____n
call fcn.1400045d9
mov ebx, 1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000ab50
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.GetIntelligentCoolingCurrentStatus___n
call fcn.1400045d9
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140004732
Capabilities:
Set registry value

Disassembly:
jmp 0x140016950
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x60
mov rsi, rcx
xor ebx, ebx
lea rcx, str.Enter_IntelligentCoolingSetRegKeyDwordValue___n
mov qword [rax - 0x18], rbx
mov dword [rax + 0x20], ebx
mov rdi, rdx
call fcn.1400045d9
lea rax, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rsi
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 0x1400169d1
mov edx, eax
lea rcx, str.Error_IntelligentCoolingSetRegKeyDwordValue_RegCreateKeyEx_error___d__n
call fcn.1400045d9
jmp 0x140016a30
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x80]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140016a11
mov edx, eax
lea rcx, str.Error_IntelligentCoolingSetRegKeyDwordValue_RegSetValueEx_error___d__n
call fcn.1400045d9
jmp 0x140016a30
mov r9d, dword [rsp + 0x80]
lea rcx, str.IntelligentCoolingSetRegKeyDwordValue___Set_the_value:_s_s___x__n
mov r8, rdi
mov rdx, rsi
call fcn.1400045d9
mov ebx, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140016a40
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_IntelligentCoolingSetRegKeyDwordValue___n
call fcn.1400045d9
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140009700
Capabilities:
Create thread
Terminate thread

Disassembly:
jmp 0x140009700
sub rsp, 0x38
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1400b8220], rax
test rax, rax
je 0x140009833
call fcn.1400024fa
test eax, eax
je 0x140009815
lea rcx, str.Got_driver_handle
call fcn.1400045d9
mov rcx, qword [0x1400b81f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Close_driver_handle
call fcn.1400045d9
lea rcx, str.calling_connect
call fcn.1400045d9
mov ecx, 1
call fcn.1400020d6
call fcn.140003017
call fcn.140002fc7
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x1400010af]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400b8228], rax
test rax, rax
je 0x1400097f2
mov rcx, qword [0x1400b8220]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400b8228]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor ecx, ecx
call fcn.1400020d6
mov rcx, qword [0x1400b8228]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14000426e
mov rcx, qword [0x1400b8220]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
lea rcx, str.Fail_to_create_Thread
call fcn.1400045d9
call fcn.14000426e
mov rcx, qword [0x1400b8220]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
lea rcx, str.Fail_to_connect_to_Driver
call fcn.1400045d9
mov rcx, qword [0x1400b8220]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
lea rcx, str.Fail_to_create_event
call fcn.1400045d9
add rsp, 0x38
ret
Function at 0x14000a610
Capabilities:
Check mutex on windows
Check os version

Disassembly:
jmp 0x14000a610
push rbx
sub rsp, 0xf0
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, r8
mov qword [0x1400b8248], rcx
mov r8d, 0x94
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.140002adb
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000a7bb
mov edx, dword [rsp + 0x50]
xor eax, eax
mov ecx, dword [rsp + 0x44]
cmp edx, 2
mov dword [0x1400b8200], 0
mov r8d, 1
sete al
mov dword [0x1400b81fc], eax
test eax, eax
je 0x14000a69b
xor eax, eax
cmp ecx, 5
cmova eax, r8d
mov dword [0x1400b8200], eax
cmp edx, r8d
jne 0x14000a6ba
cmp ecx, 4
jne 0x14000a6ba
mov eax, dword [0x1400b8204]
cmp dword [rsp + 0x48], 0xa
cmove eax, r8d
mov dword [0x1400b8204], eax
call fcn.1400028e7
test eax, eax
jne 0x14000a6d4
lea rcx, str.Does_not_have_PM_Driver_Device_node._n
call fcn.1400045d9
jmp 0x14000a7bb
cmp byte [rbx], 0
je 0x14000a786
mov rdx, rbx
lea rcx, str.Cmd_Line__s_n
call fcn.1400045d9
lea rdx, str._install
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000a70a
call fcn.1400046bf
jmp 0x14000a7bb
lea rdx, str._remove
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000a728
call fcn.14000300d
jmp 0x14000a7bb
lea rdx, str._helper
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000a786
lea r8, str.HELPERMUTEX
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000a77b
cmp dword [0x1400b81fc], 0
je 0x14000a776
call fcn.140001db6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a7bb
call fcn.140003d96
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a7bb
lea rax, [0x140088268]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
lea rax, [0x140001dcf]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140003e09
add rsp, 0xf0
pop rbx
ret
Function at 0x14000a890
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14000a890
sub rsp, 0x38
mov dword [rsp + 0x40], 1
call fcn.1400031e3
xor ecx, ecx
mov dword [rsp + 0x48], 4
test eax, eax
mov qword [rsp + 0x50], 0
setne cl
mov dword [rsp + 0x40], ecx
lea rcx, str.Start_RegDelForProgramAndFeature___n
call fcn.1400045d9
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPower_Management_Driver
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000a902
lea rcx, str.Error_RegDelForProgramAndFeature___RegOpenKeyEx_error____n
call fcn.1400045d9
jmp 0x14000a978
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.SystemComponent
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000a968
mov eax, dword [rsp + 0x48]
lea rdx, str.SystemComponent
mov rcx, qword [rsp + 0x50]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.RegDelForProgramAndFeature___Create_and_set_value_read_value:__x_n
jmp 0x14000a96f
lea rcx, str.RegDelForProgramAndFeature___Already_have_the_value_:__x_n
mov edx, dword [rsp + 0x40]
call fcn.1400045d9
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000a988
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, str.Exit_RegDelForProgramAndFeature___d___n
call fcn.1400045d9
xor eax, eax
add rsp, 0x38
ret