joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c940
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x70
mov qword [r11 - 0x10], rbp
lea rax, [r11 + 8]
xor ebp, ebp
mov qword [r11 - 0x38], rax
test rdx, rdx
mov qword [r11 - 0x18], rsi
lea rax, [r11 + 0x10]
mov qword [r11 - 0x20], rdi
cmove rdx, rbp
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rbp
xor r9d, r9d
mov qword [r11 - 0x28], r14
mov rcx, 0xffffffff80000002
mov qword [r11 + 0x20], rdx
mov r14, r8
lea rdx, [0x1402a4120]
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov qword [r11 + 0x10], rbp
mov ebx, ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002c9fe
mov rbx, qword [rsp + 0x88]
lea rax, [rsp + 0x98]
mov rcx, rbx
mov dword [rsp + 0x28], 8
lea r9d, [rbp + 3]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.AutoSetBatteryLast3Date
mov rsi, rbx
mov rdi, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14002ca2d
test rbx, rbx
je 0x14002c9fe
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, ebp
mov eax, ebp
mov dword [r14], eax
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
test rbx, rbx
je 0x14002ca25
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x70
pop rbx
ret
test rbx, rbx
je 0x14002ca3b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
mov rbx, rbp
mov eax, 1
cmove rbx, rsi
jmp 0x14002ca00

Function at 0x14002ccb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rsi
sub rsp, 0x40
mov rsi, rdx
test rdx, rdx
jne 0x14002ccca
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x68]
xor ebx, ebx
mov qword [rsp + 0x30], rdi
mov r9d, 0x20019
mov qword [rsp + 0x68], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1402a4120]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002cd80
mov rdi, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x50], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AutoSetResumeTimer
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002cd65
cmp dword [rsp + 0x58], 4
jne 0x14002cd65
test rdi, rdi
je 0x14002cd58
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x60]
mov edi, 1
mov dword [rsi], eax
jmp 0x14002cd82
test rdi, rdi
je 0x14002cd73
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
mov dword [rsi], 0x12c
cmove rbx, rdi
xor edi, edi
test rbx, rbx
je 0x14002cd90
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x40
pop rsi
ret
Function at 0x140038060
Capabilities:
Terminate thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov edi, edx
mov rbx, rcx
lea rax, vtable.CEventReader.0
mov qword [rcx], rax
lea r8, str.CEventReader::StopMonitorEvent
mov qword [r11 - 0x40], r8
lea rax, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tosnotifyeventreader_toseventreaderlibeventreader.cpp
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x38], 0x84
lea rax, str.__CEventReader::StopMonitorEvent_
mov qword [r11 - 0x28], rax
lea rax, [0x1402a214c]
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x50], 3
lea rdx, str.ENTER__s
lea rcx, [r11 - 0x38]
call fcn.140008d50
nop
xor edx, edx
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov qword [rbx + 0x30], 0
mov byte [rbx + 0x18], 1
mov r8, qword [rsp + 0x28]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x30]
call fcn.140008d50
nop
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140038118
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbx + 0x10], 0
lea rax, vtable.CTvalzDriver.0
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003813b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbx + 0x10], 0
test dil, 1
je 0x14003814f
mov edx, 0x40
mov rcx, rbx
call fcn.14001dee0
nop
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14003bc80
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rdx
mov rbx, rcx
lea r8, str.GetTPSRegGUIDEntryValue
mov qword [rsp + 0x68], r8
lea r14, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_fordnbk0001_dev_bcmcentennial_rs5dynabookecoservice_tpowersaverstaticlib_tpowersaver.cpp
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 0x549
lea r15, str.__GetTPSRegGUIDEntryValue_
mov qword [rbp - 0x80], r15
lea r12, [0x1402a214c]
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], 3
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x70]
call fcn.140008d50
nop
test rbx, rbx
jne 0x14003bd4f
mov dword [rsp + 0x38], 0x54e
xor ebx, ebx
mov edi, 0x80004003
mov r8d, edi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], ebx
lea rdx, str.Error_Code:_0x_x
lea rcx, [rsp + 0x30]
call fcn.140008d50
jmp 0x14003be67
test rsi, rsi
jne 0x14003bd5e
mov dword [rsp + 0x38], 0x54f
jmp 0x14003bd1c
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov word [rbp - 0x18], ax
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.14003af40
mov edi, eax
test eax, eax
jns 0x14003bdac
mov dword [rsp + 0x38], 0x554
xor ebx, ebx
mov r8d, eax
jmp 0x14003bd26
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1401f5d40
lea r9, [rbp - 0x60]
lea r8, str.SOFTWAREDynabookeco_UtilityParameter
lea rdx, str._s_s
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003be1a
mov edi, 0x80004005
mov dword [rsp + 0x38], 0x55d
jmp 0x14003bd23
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.GUIDEntry
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003be65
mov edi, 0x80004005
mov dword [rsp + 0x38], 0x561
jmp 0x14003bd23
mov edi, ebx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003be78
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rsp + 0x68]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x70]
call fcn.140008d50
mov eax, edi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140041fd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
xor esi, esi
mov dword [r9], esi
lea rax, [rsp + 0x40]
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140042045
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x140042040
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x140042058
test ecx, ecx
je 0x140042055
test cl, 1
jne 0x140042040
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140042058
mov eax, 0xd
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140042be0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x90
lea rax, str.CreatePowerPlanMonitorThread
mov r8d, 0x23a
lea rsi, str.__CreatePowerPlanMonitorThread_
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov r8, qword [rsp + 0x58]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
lea rax, [rsp + 0xa0]
xor ebx, ebx
mov qword [rsp + 0x28], rax
lea r8, [0x140045120]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
mov dword [rsp + 0xa0], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1416afd20], rax
test rax, rax
jne 0x140042cee
mov qword [rsp + 0xa8], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140042c98
movzx edi, ax
or edi, 0x80070000
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
mov r8d, 0x244
mov dword [rsp + 0x20], ebx
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, edi
call fcn.140008d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0xa8]
mov ebx, eax
test eax, eax
jle 0x140042cee
movzx ebx, ax
or ebx, 0x80070000
mov r8, qword [rsp + 0x58]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rsi
ret
Function at 0x1400436f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 8], ecx
push rsi
sub rsp, 0x90
lea rax, str.InitPowerSliderMonitor
mov r8d, 0x227
lea rsi, str.__InitPowerSliderMonitor_
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov r8, qword [rsp + 0x58]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
lea rax, [rsp + 0xa8]
xor ebx, ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0xa0]
lea r8, [0x140045170]
mov dword [rsp + 0x20], ebx
xor edx, edx
mov dword [rsp + 0xa8], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1416afd18], rax
test rax, rax
jne 0x140043807
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x1400437b1
movzx edi, ax
or edi, 0x80070000
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
mov r8d, 0x231
mov dword [rsp + 0x20], ebx
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, edi
call fcn.140008d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0xb0]
mov ebx, eax
test eax, eax
jle 0x140043807
movzx ebx, ax
or ebx, 0x80070000
mov r8, qword [rsp + 0x58]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rsi
ret
Function at 0x140046ac0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rbx, rcx
lea rax, str.EcoInitialize
lea rsi, str.__EcoInitialize_
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
mov r8d, 0x39e
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospower_tosservicemodule.cpp
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov r8, qword [rsp + 0x58]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
lea rax, [rsp + 0xa8]
xor edi, edi
mov qword [rsp + 0x28], rax
lea r8, [0x140048910]
mov r9, rbx
mov dword [rsp + 0x20], edi
xor edx, edx
mov dword [rsp + 0xa8], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1402f8008], rax
test rax, rax
jne 0x140046bc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140046b78
movzx ebx, ax
or ebx, 0x80070000
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
mov r8d, 0x3a9
mov dword [rsp + 0x20], edi
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospower_tosservicemodule.cpp
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
call fcn.140008d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140046bc6
movzx edi, ax
or edi, 0x80070000
mov r8, qword [rsp + 0x58]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004c340
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
lea rax, str.EcoCriteria::GetCurrentKBBLED
mov rbx, r8
mov qword [rsp + 0x48], rax
lea r9, [0x1402a214c]
lea rax, str.__EcoCriteria::GetCurrentKBBLED_
mov rdi, rdx
mov qword [rsp + 0x28], rax
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoserviceincludepowerutil.h
mov r8d, 0x202
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x50]
call fcn.140008c40
mov r8, qword [rsp + 0x48]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x50]
call fcn.140008d50
xor ebp, ebp
lea rax, [rsp + 0x40]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0xa8], ebp
lea rdx, [0x14022b3f8]
mov dword [rsp + 0x30], ebp
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x40], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, ebp
mov dword [rsp + 0x34], 4
test eax, eax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x34]
cmove rsi, qword [rsp + 0x40]
lea rdx, [0x14022b460]
mov qword [rsp + 0x28], rax
mov rcx, rsi
lea rax, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14022b480]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x14004c472
cmp eax, 1
lea eax, [rbp + 1]
je 0x14004c474
mov eax, ebp
mov dword [rdi], eax
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14004c4ad
sub eax, 1
je 0x14004c4a5
sub eax, 1
je 0x14004c49d
sub eax, 1
je 0x14004c495
mov dword [rbx], 4
jmp 0x14004c4af
mov dword [rbx], 3
jmp 0x14004c4af
mov dword [rbx], 2
jmp 0x14004c4af
mov dword [rbx], 1
jmp 0x14004c4af
mov dword [rbx], ebp
test rsi, rsi
je 0x14004c4bd
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x48]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x50]
call fcn.140008d50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004d0c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rax, str.ModeManager::GetLastEcoLevel
mov rbx, rdx
mov qword [rsp + 0x38], rax
lea r9, [0x1402a214c]
lea rax, str.__ModeManager::GetLastEcoLevel_
mov r8d, 0x5f9
mov qword [rsp + 0x28], rax
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov r8, qword [rsp + 0x38]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x40]
call fcn.140008d50
lea rax, [rsp + 0x30]
xor edi, edi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x88], edi
lea rdx, [0x14022b3f8]
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r9, [rsp + 0x98]
mov dword [rsp + 0x90], 4
test eax, eax
lea rdx, [0x14022b500]
lea rax, [rsp + 0x90]
cmove rdi, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x88]
mov dword [rbx], eax
test rdi, rdi
je 0x14004d1b5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x38]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x40]
call fcn.140008d50
mov rbx, qword [rsp + 0x80]
xor eax, eax
add rsp, 0x70
pop rdi
ret
Function at 0x14004d1e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa0
mov rbx, rdx
lea rax, str.ModeManager::GetNotifyModeItem
lea rsi, str.__ModeManager::GetNotifyModeItem_
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
mov r8d, 0x529
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
lea rcx, [rsp + 0x70]
call fcn.140008c40
mov r8, qword [rsp + 0x68]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x70]
call fcn.140008d50
lea rax, [rsp + 0x38]
mov dword [rsp + 0xc8], SafeArrayUnaccessData
xor edi, edi
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov dword [rsp + 0x30], 4
lea rdx, [0x14022b3f8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004d2ce
mov r8d, 0x52f
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x40]
mov ebx, 0x80004005
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
call fcn.140008d50
jmp 0x14004d323
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0xc0]
mov dword [rsp + 0xc0], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14022b4d8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14004d318
mov r8d, 0x533
jmp 0x14004d294
mov eax, dword [rsp + 0xc0]
mov dword [rbx], eax
mov ebx, edi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004d338
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], rdi
mov r8, qword [rsp + 0x68]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x70]
call fcn.140008d50
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140052800
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbx
sub rsp, 0x60
lea rcx, str.C:Program_FilesApoint2KApEcoLed.exe
movzx ebx, dl
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test bl, bl
je 0x1400528ab
test eax, eax
je 0x140052896
lea rax, str.__ModeManager::SetEcoButton_
mov r8d, 0x212
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.ApEcoLED.exe_set_on
call fcn.140008d50
lea r9, [0x14022dd98]
xor eax, eax
lea r8, str.C:Program_FilesApoint2KApEcoLed.exe
mov dword [rsp + 0x28], eax
lea rdx, str.open
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
add rsp, 0x60
pop rbx
ret
mov ecx, 1
call fcn.14001e050
mov eax, 1
add rsp, 0x60
pop rbx
ret
test eax, eax
je 0x1400528fc
lea rax, str.__ModeManager::SetEcoButton_
mov r8d, 0x21f
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.ApEcoLED.exe_set_off
call fcn.140008d50
lea r9, str._off
jmp 0x14005286a
xor ecx, ecx
call fcn.14001e050
mov eax, 1
add rsp, 0x60
pop rbx
ret
Function at 0x140053100
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rsi
sub rsp, 0x90
lea rax, str.ModeManager::SetLastEcoLevel
mov r8d, 0x5e0
lea rsi, str.__ModeManager::SetLastEcoLevel_
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov r8, qword [rsp + 0x58]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xb0], 0
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14022b3f8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400531e3
mov r8d, 0x5e6
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
mov ebx, 0x80004005
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
call fcn.140008d50
jmp 0x140053224
mov rcx, qword [rsp + 0xb0]
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x28], 4
lea rdx, [0x14022b500]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140053222
mov r8d, 0x5eb
jmp 0x1400531a5
xor ebx, ebx
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140053237
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x58]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rsi
ret