joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053870
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbx
sub rsp, 0x90
lea rax, str.ModeManager::UpdateEcoButton
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea r9, [0x1402a214c]
lea rax, str.__ModeManager::UpdateEcoButton_
mov r8d, 0x1ee
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 + 0x60]
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov r8, qword [rsp + 0x58]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
cmp dword [rbx + 0xe4], 0
lea rcx, str.C:Program_FilesApoint2KApEcoLed.exe
jne 0x14005393b
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140053934
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]
jmp 0x14005398d
mov ecx, 1
jmp 0x1400539b2
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400539b0
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
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]
jmp 0x1400539b7
xor ecx, ecx
call fcn.14001e050
mov r8, qword [rsp + 0x58]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
mov eax, 1
add rsp, 0x90
pop rbx
ret
Function at 0x140053e90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x90
lea rax, str.ModeManager::UpdateNotifyFlag
mov r8d, 0x542
lea rsi, str.__ModeManager::UpdateNotifyFlag_
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]
xor edi, edi
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0xb0], rdi
lea rdx, [0x14022b3f8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140053f72
mov r8d, 0x545
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 + 0x30]
mov ebx, 0x80004005
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
call fcn.140008d50
jmp 0x140053fb3
mov rcx, qword [rsp + 0xb0]
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x28], 4
lea rdx, str.ReportUpdated
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140053fb1
mov r8d, 0x547
jmp 0x140053f38
mov ebx, edi
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140053fce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0xb0], rdi
mov r8, qword [rsp + 0x58]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x60]
call fcn.140008d50
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400543b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x80
mov rdx, qword [rcx + 8]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rdx, qword [rcx]
xor ebx, ebx
imul rdx
mov rdi, rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [r11 + 8], edx
lea eax, [rdx + rdx*2]
shl eax, 2
mov dword [r11 + 0x10], eax
cmp edx, 0xe42
jbe 0x140054451
lea rax, str.__WriteEcoReportData_
mov r8d, 0xd2
mov qword [r11 - 0x60], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoserviceincludeecohistoryreg.h
mov dword [rsp + 0x20], ebx
lea rcx, [r11 - 0x38]
call fcn.140008c40
mov r8d, dword [rsp + 0x90]
lea rdx, str.WriteEcoReportData_Invalid_data_count:_count__d
mov rcx, rax
call fcn.140008d50
xor al, al
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
lea rdx, [0x14022b548]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14005443e
mov rcx, qword [rsp + 0xa0]
lea rax, [rsp + 0x90]
mov dword [rsp + 0x28], 4
lea rdx, [0x14022b5f8]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0xa0]
test eax, eax
jne 0x14005454c
lea rax, [rsp + 0x98]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14022b5d8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140054544
xor r8d, r8d
lea r9d, [rax + 3]
lea rdx, [0x14022b618]
cmp dword [rsp + 0x90], ebx
jbe 0x140054565
mov rcx, qword [rdi]
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140054570
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
jmp 0x140054532
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0xa8]
mov al, 1
add rsp, 0x80
pop rdi
ret
Function at 0x140056340
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [0x14023e410]
xor eax, eax
mov dword [rsp + 0x30], SafeArrayUnaccessData
mov dword [rsp + 0x34], eax
lea rdx, [0x140230f70]
mov qword [rsp + 0x38], rax
mov rdi, rcx
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140056434
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140056434
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x140230fb0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x78]
jne 0x140056434
mov rax, qword [rsp + 0x40]
cmp rax, qword [0x14023e410]
jne 0x140056414
mov rax, qword [rsp + 0x48]
cmp rax, qword [0x14023e418]
je 0x140056434
movups xmm0, xmmword [rsp + 0x40]
mov eax, 1
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140072680
add rsp, 0x60
pop rdi
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140072680
add rsp, 0x60
pop rdi
ret

Function at 0x140056620
Capabilities:
Check mutex on windows
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
mov rbx, rcx
lea r8, str.GlobalTecoPower_mutex
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
test rax, rax
je 0x14005667a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140056687
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140056687
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x58], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x140056701
lea rax, [rsp + 0x30]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140230f70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140056701
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140056701
mov dword [rsp + 0x28], SafeArrayUnaccessData
lea r9d, [rdi + 3]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [0x140230fb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x140056730
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x40], 0
mov rdi, r9
mov ebp, r8d
mov rsi, rdx
test rcx, rcx
je 0x1400567cc
test rdx, rdx
je 0x1400567cc
test r9, r9
je 0x1400567cc
mov ebx, dword [rsp + 0x60]
test ebx, ebx
je 0x1400567cc
lea rax, [rsp + 0x40]
mov rdx, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400567cc
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400567cc
mov dword [rsp + 0x28], ebx
mov r9d, ebp
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400567cc
lea eax, [rbx + 1]
jmp 0x1400567ce
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400571f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x2c0
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbp, r9
lea rax, str.MessageWnd::OnDockStatusChanged
mov rsi, r8
mov qword [rsp + 0x40], rax
mov rdi, rcx
lea rbx, str.__MessageWnd::OnDockStatusChanged_
mov qword [rsp + 0x28], rbx
lea r9, [0x1402a214c]
mov r8d, 0x422
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermessagewnd.cpp
lea rcx, [rsp + 0x48]
call fcn.140008c40
mov r8, qword [rsp + 0x40]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], rbx
mov r8d, 0x425
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermessagewnd.cpp
lea rcx, [rsp + 0x70]
call fcn.140008c40
mov rcx, rax
lea r8, str.dwDockStatus
mov r9d, esi
lea rdx, str._s___d
call fcn.140008d50
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x208
call fcn.1401f5d40
lea rax, [rsp + 0x38]
xor r14d, r14d
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x38], r14
lea rdx, [0x140231188]
mov rcx, 0xffffffff80000002
mov ebx, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400573bf
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140231208]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400573bf
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400573bf
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140057367
test al, 1
jne 0x1400573bf
shr rax, 1
cmp word [rsp + rax*2 + 0x9e], r14w
je 0x140057370
jmp 0x1400573bf
mov word [rsp + 0xa0], r14w
lea rdx, [rsp + 0xa0]
mov rax, 0xffffffffffffffff
lea r8, str.KT1KGF.dll
nop word [rax + rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r8 + rax*2 + 2]
jne 0x1400573bf
add rax, 2
cmp rax, 0xb
je 0x1400573b4
movzx ecx, word [rdx + rax*2]
cmp cx, word [r8 + rax*2]
je 0x140057390
jmp 0x1400573bf
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400431e0
mov rcx, rax
mov edx, esi
call fcn.140050310
mov rcx, qword [0x1416b2000]
call fcn.14005e790
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x148]
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8d, 0x4ca
call fcn.14002d750
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x1c0]
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8d, 0x4ca
call fcn.14006c880
test rbx, rbx
je 0x140057424
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x40]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140072680
add rsp, 0x2c0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005e740
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x121], 0
mov rbx, rcx
mov byte [rcx + 0x120], 1
je 0x14005e784
mov rcx, qword [rcx + 0x108]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_KillTimer]
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.14005cb40
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14005def0
add rsp, 0x20
pop rbx
ret
Function at 0x140061b30
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x60
lea rax, str.ModePipeHandler::Stop
mov rbx, rcx
mov qword [rsp + 0x30], rax
lea r9, [0x1402a214c]
lea rax, str.__ModePipeHandler::Stop_
mov r8d, 0x54
mov qword [rsp + 0x28], rax
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodepipehandler.cpp
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov r8, qword [rsp + 0x30]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x38]
call fcn.140008d50
mov rcx, qword [rbx + 8]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_KillTimer]
call fcn.1400431e0
mov rcx, rax
xor edx, edx
call fcn.140052800
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140061bbc
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.1400431e0
mov rcx, rax
call fcn.140053760
mov r8, qword [rsp + 0x30]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x38]
call fcn.140008d50
add rsp, 0x60
pop rbx
ret

Function at 0x140062c40
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x68
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140062c9a
lea rax, str.__RegConfigAccess::SetValue_
mov r8d, 0x15f
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
mov dword [rsp + 0x20], ecx
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, 0x80070006
call fcn.140008d50
mov eax, 0x80070006
add rsp, 0x68
ret
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
mov qword [rsp + 0x60], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x140062d38
mov qword [rsp + 0x70], rbx
movzx ebx, di
or ebx, 0x80070000
mov qword [rsp + 0x78], rsi
mov esi, eax
test eax, eax
jle 0x140062cd9
mov esi, ebx
lea rax, str.__RegConfigAccess::SetValue_
mov r8d, 0x163
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, esi
call fcn.140008d50
mov rsi, qword [rsp + 0x78]
test edi, edi
cmovle ebx, edi
mov rdi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
mov rdi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x68
ret
Function at 0x140064800
Capabilities:
Read .ini file

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rdi, rdx
call fcn.1400045e0
mov rcx, rax
test rax, rax
je 0x14006490f
mov rax, qword [rax]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r15
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r15, qword [rsp + 0x88]
mov ebx, 0x100
mov r12, qword [rsp + 0x80]
add rax, 0x18
mov qword [rdi], rax
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi]
mov ecx, 1
mov eax, dword [r9 - 0xc]
sub ecx, dword [r9 - 8]
sub eax, ebx
or ecx, eax
jge 0x140064893
mov edx, ebx
mov rcx, rdi
call fcn.140004670
mov r9, qword [rdi]
mov qword [rsp + 0x28], r15
mov r8, r12
mov rdx, rbp
mov dword [rsp + 0x20], ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, qword [rdi]
mov esi, eax
test rcx, rcx
jne 0x1400648ba
mov eax, r13d
jmp 0x1400648c7
movsxd rdx, dword [rcx - 0xc]
call fcn.140205c60
test eax, eax
js 0x14006491a
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14006491a
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r13w
lea eax, [rbx - 2]
cmp esi, eax
jb 0x1400648ea
add ebx, ebx
js 0x14006491a
jmp 0x140064870
mov r13, qword [rsp + 0x38]
mov rax, rdi
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002ad0
int3
mov ecx, 0x80070057
call fcn.140002ad0
int3
Function at 0x1400670c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x2d0
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, str.TosInitSet::_writeKBBDllPath
mov r8d, 0x1ce
lea rbp, str.__TosInitSet::_writeKBBDllPath_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbp
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospower_tosinit.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x58]
call fcn.140008c40
mov r8, qword [rsp + 0x50]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x58]
call fcn.140008d50
xor esi, esi
lea rcx, [rsp + 0xb0]
xor edx, edx
mov dword [rsp + 0x34], esi
mov r8d, 0x208
mov dword [rsp + 0x30], esi
call fcn.1401f5d40
mov r8, qword [str.SOFTWAREDynabookeco_Utility]
lea rcx, [rsp + 0x38]
mov r9d, 0x20006
mov qword [rsp + 0x38], rsi
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rsi
call fcn.140026300
test eax, eax
je 0x140067192
mov r8d, 0x1d9
jmp 0x140067278
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x34]
call fcn.14001fc60
mov ebx, eax
test eax, eax
jns 0x1400671e8
mov qword [rsp + 0x28], rbp
lea r9, [0x1402a214c]
mov r8d, 0x1dc
mov dword [rsp + 0x20], esi
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospower_tosinit.cpp
lea rcx, [rsp + 0x80]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
call fcn.140008d50
jmp 0x1400672b7
mov eax, dword [rsp + 0x30]
sub eax, 0x92
je 0x1400671ff
lea r8, str.U66G_DLL.dll
cmp eax, 7
jne 0x140067206
lea r8, [0x140238a08]
lea rdx, [0x1402a85d4]
lea rcx, [rsp + 0xb0]
call fcn.14003ec20
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x140067230
mov rdx, qword [0x1402f8150]
lea eax, [rax*2 + 2]
mov rcx, qword [rsp + 0x38]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400672b5
mov r8d, 0x1ea
mov qword [rsp + 0x28], rbp
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospower_tosinit.cpp
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x80]
call fcn.140008c40
mov ebx, 0x80004005
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
mov rcx, rax
call fcn.140008d50
jmp 0x1400672b7
mov ebx, esi
cmp qword [rsp + 0x38], rsi
je 0x1400672c9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x50]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x58]
call fcn.140008d50
mov eax, ebx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rsi
ret
Function at 0x140068e50
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
xor r9d, r9d
mov rbx, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea r8, [0x1400697b0]
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.140207ae0
xor ecx, ecx
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x30]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
Function at 0x140069140
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rax, str.CPowerConsumptionInf::get_FileLogFlag
mov r8d, 0x250
mov qword [rsp + 0x38], rax
lea r9, [0x1402a214c]
lea rax, str.__CPowerConsumptionInf::get_FileLogFlag_
mov qword [rsp + 0x28], rax
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerconsumptioninf.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
xor edi, edi
lea rax, [rsp + 0x30]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x88], edi
lea rdx, [0x14023aa10]
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006922e
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x98]
lea rax, [rsp + 0x88]
mov dword [rsp + 0x90], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.logPowerLog
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x14006922e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
mov edi, dword [rsp + 0x88]
test rbx, rbx
je 0x140069243
mov rcx, rbx
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]
mov eax, edi
add rsp, 0x70
pop rdi
ret