Function at 0x14005cb40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r13, rdx
mov qword [rbp - 0x30], rdx
mov r12, rcx
mov qword [rsp + 0x70], rcx
lea rax, str.QueryPowerPipeHandler::SaveHistory
mov r8d, 0x2f0
lea rbx, str.__QueryPowerPipeHandler::SaveHistory_
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x28], rbx
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x18]
call fcn.140008c40
mov r8, qword [rbp - 0x20]
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x18]
call fcn.140008d50
lea rax, [r12 + 0xc8]
mov rcx, rax
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], rbx
mov r8d, 0x2f4
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rbp + 0x38]
call fcn.140008c40
movsd xmm3, qword [r12 + 0x88]
lea rdx, str.SaveHistory_used__f__saved__f
movsd xmm2, qword [r12 + 0x80]
movq r9, xmm3
movq r8, xmm2
mov rcx, rax
call fcn.140008d50
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.14020593c
test eax, eax
jne 0x14005ddd7
mov eax, dword [rbp + 0x24]
add eax, 0x76c
cmp eax, 0x7b2
jle 0x14005ddd7
mov rdx, r13
lea rcx, [rbp + 0xb0]
call fcn.14020593c
xor r15d, r15d
lea rcx, [rbp + 0xd8]
test eax, eax
mov ebx, r15d
mov rdx, r13
cmove ebx, dword [rbp + 0xbc]
call fcn.14020593c
test eax, eax
jne 0x14005cc9d
mov edi, dword [rbp + 0xe8]
inc edi
jmp 0x14005cca0
mov edi, r15d
mov rdx, r13
lea rcx, [rbp + 0x60]
call fcn.14020593c
test eax, eax
jne 0x14005deb7
mov ecx, dword [rbp + 0x74]
add ecx, 0x76c
cmp ecx, 0x7b2
jl 0x14005deb7
dec edi
cmp edi, 0xb
ja 0x14005deb7
lea eax, [rbx - 1]
cmp eax, 0x1e
ja 0x14005deb7
lea eax, [rcx - 0x76c]
mov qword [rbp + 0x10], r15
mov rsi, 0xffffffffffffffff
mov dword [rbp + 0x24], eax
lea rcx, [rbp + 0x10]
mov dword [rbp + 0x30], esi
mov dword [rbp + 0x18], r15d
mov dword [rbp + 0x1c], ebx
mov dword [rbp + 0x20], edi
call fcn.1402055c8
mov qword [rbp - 0x78], rax
cmp rax, rsi
je 0x14005dec2
mov r8, qword [r12 + 0x68]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rcx, qword [r12 + 0x70]
mov r14, r15
sub rcx, r8
mov qword [rbp - 0x60], rsi
imul rcx
mov qword [rbp - 0x68], rsi
sar rdx, 2
mov rax, rdx
mov byte [rsp + 0x68], r15b
shr rax, 0x3f
add rdx, rax
je 0x14005d3fb
mov rbx, r15
nop dword [rax + rax]
movsx r9d, word [r8 + rbx]
movzx ecx, byte [r8 + rbx + 3]
movzx edx, byte [r8 + rbx + 2]
cmp r9d, 0x7b2
jl 0x14005ded8
lea eax, [rdx - 1]
cmp eax, 0xb
ja 0x14005ded8
lea eax, [rcx - 1]
cmp eax, 0x1e
ja 0x14005ded8
lea eax, [rdx - 1]
mov dword [rbp + 0x1c], ecx
mov dword [rbp + 0x20], eax
lea rcx, [rbp + 0x10]
lea eax, [r9 - 0x76c]
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x18], r15d
mov dword [rbp + 0x30], esi
call fcn.1402055c8
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x14005decd
cmp rax, qword [rbp - 0x78]
je 0x14005d081
jle 0x14005cf11
lea rdx, [rbp - 0x78]
mov qword [rbp - 0x68], r14
lea rcx, [rbp + 0x60]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x78]
mov ecx, r15d
cmove ecx, dword [rbp + 0x6c]
mov dword [rsp + 0x60], ecx
lea rcx, [rbp + 0xd8]
call fcn.14020593c
test eax, eax
jne 0x14005ce1b
mov edi, dword [rbp + 0xe8]
inc edi
mov dword [rsp + 0x64], edi
jmp 0x14005ce20
mov dword [rsp + 0x64], r15d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xb0]
call fcn.14020593c
test eax, eax
jne 0x14005ce45
mov esi, dword [rbp + 0xc4]
add esi, 0x76c
mov dword [rbp - 0x80], esi
jmp 0x14005ce49
mov dword [rbp - 0x80], r15d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x70]
mov edi, r15d
lea rcx, [rbp + 0x88]
cmove edi, dword [rbp + 0x1c]
call fcn.14020593c
test eax, eax
jne 0x14005ce81
mov esi, dword [rbp + 0x98]
inc esi
mov dword [rsp + 0x78], esi
jmp 0x14005ce86
mov dword [rsp + 0x78], r15d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
jne 0x14005cea2
mov esi, dword [rbp + 0x4c]
add esi, 0x76c
jmp 0x14005cea5
mov esi, r15d
lea rax, str.__QueryPowerPipeHandler::SaveHistory_
mov r8d, 0x319
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_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov r9d, dword [rsp + 0x78]
lea rdx, str.Include_future_data__d__02d__02d_today__d__02d__02d
mov rcx, rax
mov r8d, esi
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
call fcn.140008d50
mov rsi, 0xffffffffffffffff
jmp 0x14005cf13
jl 0x14005cf50
mov r8, qword [r12 + 0x68]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rcx, qword [r12 + 0x70]
inc r14
sub rcx, r8
add rbx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r14, rdx
jb 0x14005cd60
jmp 0x14005d1b6
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x78]
mov edi, r15d
lea rcx, [rbp + 0x88]
cmove edi, dword [rbp + 0x44]
call fcn.14020593c
test eax, eax
jne 0x14005cf88
mov ebx, dword [rbp + 0x98]
inc ebx
mov dword [rsp + 0x78], ebx
jmp 0x14005cf8d
mov dword [rsp + 0x78], r15d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x60]
call fcn.14020593c
test eax, eax
jne 0x14005cfab
mov eax, dword [rbp + 0x74]
add eax, 0x76c
mov dword [rbp - 0x80], eax
jmp 0x14005cfaf
mov dword [rbp - 0x80], r15d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x70]
mov ebx, r15d
lea rcx, [rbp + 0xb0]
cmove ebx, dword [rbp + 0xe4]
call fcn.14020593c
test eax, eax
jne 0x14005cfed
mov eax, dword [rbp + 0xc0]
inc eax
mov dword [rsp + 0x64], eax
jmp 0x14005cff2
mov dword [rsp + 0x64], r15d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.14020593c
test eax, eax
jne 0x14005d011
mov eax, dword [rbp + 0x24]
add eax, 0x76c
mov dword [rsp + 0x60], eax
jmp 0x14005d016
mov dword [rsp + 0x60], r15d
lea rax, str.__QueryPowerPipeHandler::SaveHistory_
mov r8d, 0x31f
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_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov r9d, dword [rsp + 0x64]
lea rdx, str.Find_past_data__d__02d__02d_today__d__02d__02d__index__d
mov r8d, dword [rsp + 0x60]
mov rcx, rax
mov eax, dword [rsp + 0x78]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.140008d50
jmp 0x14005d1b6
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x78]
mov edi, r15d
lea rcx, [rbp + 0x88]
cmove edi, dword [rbp + 0x44]
call fcn.14020593c
test eax, eax
jne 0x14005d0b9
mov ebx, dword [rbp + 0x98]
inc ebx
mov dword [rsp + 0x60], ebx
jmp 0x14005d0be
mov dword [rsp + 0x60], r15d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x60]
call fcn.14020593c
test eax, eax
jne 0x14005d0dd
mov eax, dword [rbp + 0x74]
add eax, 0x76c
mov dword [rsp + 0x78], eax
jmp 0x14005d0e2
mov dword [rsp + 0x78], r15d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x70]
mov ebx, r15d
lea rcx, [rbp + 0xb0]
cmove ebx, dword [rbp + 0xe4]
call fcn.14020593c
test eax, eax
jne 0x14005d11f
mov eax, dword [rbp + 0xc0]
inc eax
mov dword [rbp - 0x80], eax
jmp 0x14005d123
mov dword [rbp - 0x80], r15d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.14020593c
test eax, eax
jne 0x14005d142
mov eax, dword [rbp + 0x24]
add eax, 0x76c
mov dword [rsp + 0x64], eax
jmp 0x14005d147
mov dword [rsp + 0x64], r15d
lea rax, str.__QueryPowerPipeHandler::SaveHistory_
mov r8d, 0x30e
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_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov r9d, dword [rbp - 0x80]
lea rdx, str.Find_todays_data__d__02d__02d_today__d__02d__02d__index__d
mov r8d, dword [rsp + 0x64]
mov rcx, rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.140008d50
mov qword [rbp - 0x60], r14
mov byte [rsp + 0x68], 1
mov rdi, qword [rbp - 0x68]
lea r14, str.__QueryPowerPipeHandler::SaveHistory_
cmp rdi, 0xffffffffffffffff
je 0x14005d23c
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
mov r8d, 0x327
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Erace_future_data._begin_to__d
mov r8, rdi
call fcn.140008d50
mov rbx, qword [r12 + 0x68]
lea rax, [rdi + 1]
lea rax, [rax + rax*2]
lea rdx, [rbx + rax*8]
cmp rbx, rdx
je 0x14005d23c
mov rdi, qword [r12 + 0x70]
mov rcx, rbx
sub rdi, rdx
mov r8, rdi
call fcn.1401f58d0
lea rax, [rdi + rbx]
mov qword [r12 + 0x70], rax
lea r14, str.__QueryPowerPipeHandler::SaveHistory_
cmp byte [rsp + 0x68], r15b
je 0x14005d3fb
mov r8, qword [r12 + 0x70]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rdi, qword [rbp - 0x60]
mov rcx, r8
sub rcx, qword [r12 + 0x68]
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jb 0x14005d2ff
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
mov r8d, 0x32d
mov dword [rsp + 0x20], r15d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea r8, str.0___todayIndex__todayIndex___m_historyList.size__
lea rdx, str.ASSERT___s__
call fcn.140008d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], r14
mov r8d, 0x32d
mov dword [rsp + 0x20], r15d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov ebx, eax
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea rdx, str._GetLastError__08X
mov r8d, ebx
call fcn.140008d50
mov r8, qword [r12 + 0x70]
mov rcx, qword [r12 + 0x68]
movabs rax, 0x2aaaaaaaaaaaaaab
sub r8, rcx
imul r8
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x14005d6bd
lea rax, [rdi + rdi*2]
lea rdi, [rcx + rax*8]
lea rcx, [rbp + 0x38]
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x78]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x78]
mov ebx, r15d
lea rcx, [rbp + 0x88]
cmove ebx, dword [rbp + 0x44]
call fcn.14020593c
test eax, eax
jne 0x14005d372
mov r14d, dword [rbp + 0x98]
inc r14d
mov dword [rsp + 0x60], r14d
jmp 0x14005d377
mov dword [rsp + 0x60], r15d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x60]
call fcn.14020593c
test eax, eax
jne 0x14005d395
mov r14d, dword [rbp + 0x74]
add r14d, 0x76c
jmp 0x14005d398
mov r14d, r15d
lea rax, str.__QueryPowerPipeHandler::SaveHistory_
mov r8d, 0x330
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_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x58]
call fcn.140008c40
movups xmm0, xmmword [rdi + 8]
mov r9d, dword [rsp + 0x60]
lea rdx, str.use_existing_data__d__02d__02d__used__f__saved__f_index__d
mov rcx, rax
mov r8d, r14d
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], ebx
call fcn.140008d50
jmp 0x14005d6b4
mov rcx, qword [r12 + 0x70]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [r12 + 0x68]
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rbx, 0x190
jb 0x14005d52d
lea r14, str.__QueryPowerPipeHandler::SaveHistory_
mov r8d, 0x338
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Delete_old_data._current_size__d
mov r8, rbx
call fcn.140008d50
mov rbx, qword [r12 + 0x68]
mov rdx, qword [r12 + 0x70]
add rbx, 0x2568
cmp rbx, rdx
je 0x14005d499
xor r8d, r8d
mov rcx, rbx
call fcn.1401f58d0
mov qword [r12 + 0x70], rbx
mov rax, qword [r12 + 0x70]
sub rax, qword [r12 + 0x68]
sub rax, 0x2568
cmp rax, 0x18
jb 0x14005d52d
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
mov r8d, 0x33a
mov dword [rsp + 0x20], r15d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea r8, str.m_historyList.size_____MAX_DAILY_HISTORY_COUNT___1_
lea rdx, str.ASSERT___s__
call fcn.140008d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], r14
mov r8d, 0x33a
mov dword [rsp + 0x20], r15d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov ebx, eax
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea rdx, str._GetLastError__08X
mov r8d, ebx
call fcn.140008d50
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
lea rdx, [rbp - 0x78]
mov ebx, r15d
lea rcx, [rbp + 0x88]
cmove ebx, dword [rbp + 0x44]
call fcn.14020593c
test eax, eax
jne 0x14005d563
mov r14d, dword [rbp + 0x98]
inc r14d
jmp 0x14005d566
mov r14d, r15d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x60]
call fcn.14020593c
test eax, eax
jne 0x14005d582
mov edi, dword [rbp + 0x74]
add edi, 0x76c
jmp 0x14005d585
mov edi, r15d
lea rax, str.__QueryPowerPipeHandler::SaveHistory_
mov r8d, 0x33c
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_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
mov dword [rsp + 0x20], ebx
mov r9d, r14d
lea rdx, str.Add_new_date__d__02d__02d
mov r8d, edi
call fcn.140008d50
mov rdx, r13
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
jne 0x14005d5e9
mov eax, dword [rbp + 0x4c]
add eax, 0x76c
jmp 0x14005d5ec
mov eax, r15d
mov rdx, r13
mov word [rbp + 0x10], ax
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
jne 0x14005d607
mov eax, dword [rbp + 0x48]
inc eax
jmp 0x14005d60a
mov eax, r15d
mov rdx, r13
mov byte [rbp + 0x12], al
lea rcx, [rbp + 0x38]
call fcn.14020593c
mov rbx, qword [r12 + 0x68]
test eax, eax
mov ecx, r15d
xorps xmm0, xmm0
cmove ecx, dword [rbp + 0x44]
mov byte [rbp + 0x13], cl
mov rcx, qword [r12 + 0x70]
movups xmmword [rbp + 0x18], xmm0
cmp qword [r12 + 0x78], rcx
je 0x14005d69a
cmp rbx, rcx
jne 0x14005d65b
movups xmm0, xmmword [rbp + 0x10]
movsd xmm1, qword [rbp + 0x20]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
add qword [r12 + 0x70], 0x18
jmp 0x14005d6ab
movups xmm0, xmmword [rcx - 0x18]
mov r8, rcx
mov rdx, rbx
movsd xmm1, qword [rcx - 8]
sub r8, rbx
movups xmmword [rcx], xmm0
sub r8, 0x18
movsd qword [rcx + 0x10], xmm1
sub rcx, r8
add qword [r12 + 0x70], 0x18
call fcn.1401f58d0
movups xmm0, xmmword [rbp + 0x10]
movsd xmm1, qword [rbp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x14005d6ab
lea r8, [rbp + 0x10]
mov rdx, rbx
lea rcx, [r12 + 0x68]
call fcn.140059810
mov rdi, qword [r12 + 0x68]
mov qword [rbp - 0x68], rdi
test rdi, rdi
jne 0x14005d812
lea rdi, str.__QueryPowerPipeHandler::SaveHistory_
mov r8d, 0x347
mov qword [rsp + 0x28], rdi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], r15d
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea r8, str.todaysHistory
lea rdx, str.ASSERT___s__
call fcn.140008d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], rdi
mov r8d, 0x347
mov dword [rsp + 0x20], r15d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov ebx, eax
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea rdx, str._GetLastError__08X
mov r8d, ebx
call fcn.140008d50
mov rdx, qword [r12 + 0x100]
cmp dword [rdx - 0x10], r15d
je 0x14005de6a
lea r8, [0x1402336d4]
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.140202eb4
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14005de65
mov rdx, r13
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0x88]
mov ebx, esi
mov rdx, r13
cmove ebx, dword [rbp + 0x3c]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0x60]
mov rdx, r13
cmove esi, dword [rbp + 0x90]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0xd8]
mov edi, r15d
mov rdx, r13
cmove edi, dword [rbp + 0x6c]
call fcn.14020593c
test eax, eax
jne 0x14005d7d8
mov r14d, dword [rbp + 0xe8]
inc r14d
jmp 0x14005d7db
mov r14d, r15d
mov rdx, r13
lea rcx, [rbp + 0xb0]
call fcn.14020593c
test eax, eax
jne 0x14005d7fc
mov r15d, dword [rbp + 0xc4]
add r15d, 0x76c
mov dword [rsp + 0x30], ebx
lea rdx, str._04d__02d__02d__02d:_02d__Today_not_found_____________n
mov r9d, r14d
mov r8d, r15d
jmp 0x14005de4e
movzx ebx, byte [rdi + 3]
lea r9, [0x1402a214c]
movaps xmmword [rsp + 0x220], xmm6
movabs rax, 0x2aaaaaaaaaaaaaab
movaps xmmword [rsp + 0x210], xmm7
mov r8d, 0x35b
movsd xmm7, qword [r12 + 0x88]
divsd xmm7, qword [0x140235368]
addsd xmm7, qword [rdi + 0x10]
movsd qword [rdi + 0x10], xmm7
movsd xmm6, qword [r12 + 0x80]
divsd xmm6, qword [0x140235368]
addsd xmm6, qword [rdi + 8]
movsd qword [rdi + 8], xmm6
mov rcx, qword [r12 + 0x70]
sub rcx, qword [r12 + 0x68]
movzx edi, byte [rdi + 2]
imul rcx
lea rcx, [rbp - 0x58]
mov r14, rdx
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
sar r14, 2
mov rax, r14
shr rax, 0x3f
add r14, rax
mov rax, qword [rbp - 0x68]
movsx esi, word [rax]
lea rax, str.__QueryPowerPipeHandler::SaveHistory_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov qword [rsp + 0x38], r14
lea rdx, str.Add_history__d__02d__02d__used__f__saved__f_count__d
movsd qword [rsp + 0x30], xmm7
mov rcx, rax
movsd qword [rsp + 0x28], xmm6
mov r9d, edi
mov r8d, esi
mov dword [rsp + 0x20], ebx
call fcn.140008d50
mov qword [r12 + 0x80], r15
lea rsi, str.__QueryPowerPipeHandler::SaveHistory_
mov qword [r12 + 0x88], r15
lea r9, [0x1402a214c]
mov rcx, qword [r12 + 0x70]
movabs r14, 0x2aaaaaaaaaaaaaab
sub rcx, qword [r12 + 0x68]
mov rax, r14
imul rcx
mov qword [rsp + 0x28], rsi
lea rcx, [rbp - 0x58]
mov rbx, rdx
mov dword [rsp + 0x20], 3
sar rbx, 2
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov rax, rbx
mov r8d, 0x364
shr rax, 0x3f
add rbx, rax
call fcn.140008c40
mov rcx, rax
lea rdx, str.SaveHistory_data__d
mov r8, rbx
call fcn.140008d50
mov rcx, qword [r12 + 0x70]
mov rax, r14
sub rcx, qword [r12 + 0x68]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm6, xmmword [rsp + 0x220]
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsp + 0x64], edx
lea eax, [rdx + rdx*2]
shl eax, 3
mov dword [rsp + 0x60], eax
cmp edx, 0x3e8
jbe 0x14005d9f5
lea rax, str.__WriteEcoHistory_
mov r8d, 0x55
mov qword [rsp + 0x28], 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], r15d
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov r8d, dword [rsp + 0x64]
lea rdx, str.Invalid_data_count:_count__d
mov rcx, rax
call fcn.140008d50
jmp 0x14005daaa
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rdx, [0x140232670]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x78], r15
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14005daaa
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x64]
mov dword [rsp + 0x28], 4
lea rdx, [0x1402326c8]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x14005daa4
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1402326b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14005db8d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x28], rsi
lea r9, [0x1402a214c]
mov r8d, 0x366
mov dword [rsp + 0x20], r15d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rbp - 0x58]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Failed_to_write_history
call fcn.140008d50
mov rdx, qword [r12 + 0x100]
cmp dword [rdx - 0x10], r15d
je 0x14005de6a
lea r8, [0x1402336d4]
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.140202eb4
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14005de65
mov rdx, r13
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0x88]
mov rsi, 0xffffffffffffffff
mov rdx, r13
mov edi, esi
cmove edi, dword [rbp + 0x3c]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0x60]
mov rdx, r13
cmove esi, dword [rbp + 0x90]
call fcn.14020593c
test eax, eax
mov rcx, r13
cmove r15d, dword [rbp + 0x6c]
call fcn.14002c070
mov rcx, r13
mov ebx, eax
call fcn.14002c010
mov dword [rsp + 0x30], edi
lea rdx, str._04d__02d__02d__02d:_02d__Failed_to_write_history_____________n
mov dword [rsp + 0x28], esi
mov r8d, eax
mov dword [rsp + 0x20], r15d
mov r9d, ebx
jmp 0x14005de56
xor r8d, r8d
lea rdx, [0x1402326e8]
mov r9d, 3
cmp dword [rsp + 0x64], r15d
jbe 0x14005ddc8
mov rcx, qword [r12 + 0x68]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x14005daa4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [r12 + 0x100]
cmp dword [rdx - 0x10], r15d
je 0x14005ddc1
lea r8, [0x1402336d4]
mov qword [rbp - 0x70], r15
lea rcx, [rbp - 0x70]
call fcn.140202eb4
cmp qword [rbp - 0x70], r15
je 0x14005ddb8
lea rbx, [r12 + 0x18]
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.14020593c
test eax, eax
mov rsi, 0xffffffffffffffff
mov ecx, esi
mov rdx, rbx
cmove ecx, dword [rbp + 0x3c]
mov dword [rsp + 0x60], ecx
lea rcx, [rbp + 0x88]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0x60]
mov r13d, esi
mov rdx, rbx
cmove r13d, dword [rbp + 0x90]
call fcn.14020593c
mov rdi, qword [rbp - 0x30]
lea rcx, [rbp + 0xd8]
test eax, eax
mov r12d, r15d
mov rdx, rdi
cmove r12d, dword [rbp + 0x6c]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0xb0]
mov r15d, esi
mov rdx, rdi
cmove r15d, dword [rbp + 0xdc]
call fcn.14020593c
test eax, eax
lea rcx, [rbp + 0x10]
mov rdx, rdi
cmove esi, dword [rbp + 0xb8]
mov qword [rbp - 0x68], rsi
call fcn.14020593c
xor ecx, ecx
mov r14d, ecx
test eax, eax
mov rcx, rbx
cmove r14d, dword [rbp + 0x1c]
call fcn.14002c070
mov rcx, rbx
mov esi, eax
call fcn.14002c010
mov rcx, rdi
mov ebx, eax
call fcn.14002c070
mov rcx, qword [rbp - 0x30]
mov edi, eax
call fcn.14002c010
mov rcx, qword [rbp - 0x70]
lea rdx, str._04d__02d__02d__02d:_02d___04d__02d__02d__02d:_02d_____________n
mov r8d, eax
mov r9d, edi
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], esi
mov rsi, qword [rbp - 0x68]
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
call fcn.14005edf0
mov rsi, qword [rsp + 0x70]
movabs r14, 0x2aaaaaaaaaaaaaab
mov rax, r14
mov rcx, qword [rsi + 0x70]
sub rcx, qword [rsi + 0x68]
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005ddb8
xor ebx, ebx
mov edi, ebx
nop dword [rax]
mov rax, qword [rsi + 0x68]
lea rdx, str.___d__d__d___f___f_n
movzx ecx, byte [rdi + rax + 3]
movsd xmm0, qword [rdi + rax + 8]
movsd xmm1, qword [rdi + rax + 0x10]
movzx r9d, byte [rdi + rax + 2]
movsx r8d, word [rdi + rax]
movsd qword [rsp + 0x30], xmm0
movsd qword [rsp + 0x28], xmm1
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 0x70]
call fcn.14005edf0
mov rcx, qword [rsi + 0x70]
lea rdi, [rdi + 0x18]
sub rcx, qword [rsi + 0x68]
mov rax, r14
imul rcx
inc rbx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jb 0x14005dd50
mov rcx, qword [rbp - 0x70]
call fcn.140202fe8
mov bl, 1
jmp 0x14005de6c
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
jmp 0x14005dbba
mov rdx, qword [r12 + 0x100]
cmp dword [rdx - 0x10], 0
je 0x14005de6a
xor ecx, ecx
lea r8, [0x1402336d4]
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
call fcn.140202eb4
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14005de65
mov rcx, r13
call fcn.14002c140
mov rcx, r13
mov r14d, eax
call fcn.14002c100
mov rcx, r13
mov esi, eax
call fcn.14002c0c0
mov rcx, r13
mov edi, eax
call fcn.14002c070
mov rcx, r13
mov ebx, eax
call fcn.14002c010
mov r8d, eax
mov dword [rsp + 0x30], r14d
mov r9d, ebx
lea rdx, str._04d__02d__02d__02d:_02d__Invalid_year_____________n
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov rcx, qword [rsp + 0x70]
call fcn.14005edf0
mov rcx, qword [rsp + 0x70]
call fcn.140202fe8
xor bl, bl
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8, qword [rbp - 0x20]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x18]
call fcn.140008d50
movzx eax, bl
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140072680
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002ad0
int3
mov ecx, 0x80070057
call fcn.140002ad0
int3
mov ecx, 0x80070057
call fcn.140002ad0
int3
mov ecx, 0x80004005
call fcn.140002ad0
int3