Function at 0x14004fda0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp], rax
movzx r14d, r8b
lea rax, str.ModeManager::ModeChanged
mov edi, edx
mov qword [rbp - 0x68], rax
mov rbx, rcx
lea r12, str.__ModeManager::ModeChanged_
mov qword [rsp + 0x28], r12
lea r9, [0x1402a214c]
mov r8d, 0x1a7
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, [rbp - 0x60]
call fcn.140008c40
mov r8, qword [rbp - 0x68]
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x60]
call fcn.140008d50
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], r12
mov r8d, 0x1a8
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 r9d, dword [rbx + 0xe4]
lea rdx, str.The_mode_is__d__the_m_mode_is__d
mov rcx, rax
mov r8d, edi
call fcn.140008d50
mov esi, dword [rbx + 0xe4]
xor r15d, r15d
cmp esi, edi
je 0x140050130
mov dword [rbx + 0xe4], edi
cmp esi, 1
jne 0x14004fe99
cmp edi, 2
je 0x14004ffb2
cmp edi, 3
je 0x14004ffb2
jmp 0x14004fec3
cmp esi, 2
jne 0x14004feb2
cmp edi, 1
je 0x14004ffb2
cmp edi, 3
je 0x14004ffb2
jmp 0x14004fec3
cmp esi, 3
jne 0x14004fec3
lea eax, [rdi - 1]
cmp eax, 1
jbe 0x14004ffb2
lea rax, str.ModeManager::SendToastForsEcoModeChange
mov r8d, 0x1f9
mov qword [rsp + 0x40], rax
lea r9, [0x1402a214c]
lea rax, str.__ModeManager::SendToastForsEcoModeChange_
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 + 0x48]
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov r8, qword [rsp + 0x40]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
cmp dword [rbx + 0x140], r15d
je 0x14004ff64
lea rcx, [rsp + 0x30]
cmp dword [rbx + 0xe4], r15d
jne 0x14004ff3a
call fcn.14002bcf0
mov qword [rsp + 0x30], r15
jmp 0x14004ff48
call fcn.14002bcf0
mov qword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14002be30
lea rcx, [0x1416ba680]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
mov r8, qword [rsp + 0x40]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
mov rax, qword gs:[0x58]
mov ecx, dword [0x1416b2c20]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1416ba0e8], eax
jg 0x1400502c0
mov r8d, edi
lea rcx, [0x1416ba0b8]
mov edx, esi
call fcn.140044af0
test r14b, r14b
je 0x14004fffa
mov rcx, rbx
call fcn.1400524c0
test eax, eax
jne 0x14004fffa
mov qword [rsp + 0x28], r12
lea r9, [0x1402a214c]
mov r8d, 0x1bc
mov dword [rsp + 0x20], r15d
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 rcx, rax
lea rdx, str.SendNotify_failed
call fcn.140008d50
lea rcx, [rbp - 0x10]
call fcn.140023dd0
mov esi, eax
test eax, eax
je 0x140050043
mov qword [rsp + 0x28], r12
lea r9, [0x1402a214c]
mov r8d, 0x1c6
mov dword [rsp + 0x20], r15d
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 rcx, rax
lea rdx, str.TecoPower::GetPowerPlan_failed__d
mov r8d, esi
call fcn.140008d50
mov rax, qword [rbp - 0x10]
sub rax, qword [rbx + 0x108]
jne 0x14005005b
mov rax, qword [rbp - 8]
sub rax, qword [rbx + 0x110]
test rax, rax
mov qword [rsp + 0x28], r12
mov esi, r15d
mov dword [rsp + 0x20], 3
lea r9, [0x1402a214c]
mov r8d, 0x1ca
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
sete sil
lea rcx, [rsp + 0x70]
call fcn.140008c40
mov rcx, rax
lea rdx, str.current_mode_mode_change
call fcn.140008d50
cmp edi, 1
jne 0x140050130
test esi, esi
jne 0x140050130
mov qword [rsp + 0x28], r12
lea r9, [0x1402a214c]
mov r8d, 0x1ce
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 rcx, rax
lea rdx, str.current_mode_is_not_ECO
call fcn.140008d50
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 4
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], r15d
mov rcx, rbx
call fcn.14004c340
cmp dword [rbx + 0xc0], r15d
jne 0x14005011b
mov ecx, dword [rsp + 0x38]
call fcn.140040000
cmp dword [rbx + 0xbc], r15d
jne 0x140050130
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call fcn.140053020
lea rax, str.ModeManager::UpdateEcoButton
mov r8d, 0x1ee
mov qword [rsp + 0x40], rax
lea r9, [0x1402a214c]
lea rax, str.__ModeManager::UpdateEcoButton_
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 + 0x48]
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov r8, qword [rsp + 0x40]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
lea rcx, str.C:Program_FilesApoint2KApEcoLed.exe
cmp dword [rbx + 0xe4], r15d
jne 0x1400501ef
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400501e8
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 + 0x70]
call fcn.140008c40
mov rcx, rax
lea rdx, str.ApEcoLED.exe_set_on
call fcn.140008d50
lea r9, [0x14022dd98]
jmp 0x140050240
mov ecx, 1
jmp 0x140050264
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140050262
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, [rbp - 0x38]
call fcn.140008c40
mov rcx, rax
lea rdx, str.ApEcoLED.exe_set_off
call fcn.140008d50
lea r9, str._off
mov dword [rsp + 0x28], r15d
lea r8, str.C:Program_FilesApoint2KApEcoLed.exe
lea rdx, str.open
mov qword [rsp + 0x20], r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x140050269
xor ecx, ecx
call fcn.14001e050
mov r8, qword [rsp + 0x40]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
mov r8, qword [rbp - 0x68]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x60]
call fcn.140008d50
mov eax, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [0x1416ba0e8]
call fcn.1400728bc
cmp dword [0x1416ba0e8], 0xffffffff
jne 0x14004ffa1
lea rcx, [0x1416ba0b8]
call fcn.1400429c0
lea rcx, [0x140225160]
call fcn.140072cc4
lea rcx, [0x1416ba0e8]
call fcn.14007285c
jmp 0x14004ffa1