Function at 0x14000e410
Capabilities:
Get common file path
Shutdown system

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x9f8]
sub rsp, 0xae0
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
cmp dword [0x140069244], 0
mov esi, r8d
mov edi, ecx
je 0x14000e88a
cmp ecx, 1
ja 0x14000e883
cmp dword [0x140067940], ecx
je 0x14000e883
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r14
xor r14d, r14d
test edx, edx
je 0x14000e785
call fcn.140022360
test eax, eax
jne 0x14000e785
mov ecx, dword [0x7ffe02d8]
cmp ecx, 0xffffffff
je 0x14000e785
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r14
call fcn.140031380
test eax, eax
je 0x14000e785
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x208
call fcn.140034ac0
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x14000e4e5
lea r8, str.C:Windows
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.140036978
xor edx, edx
lea rcx, [rbp + 0x3c0]
mov r8d, 0x208
call fcn.140034ac0
movzx r9d, word [rbp + 0x1b0]
lea r8, str.powershell__Command__Suspend_BitLocker___C:___RebootCount_1_
mov edx, 0x104
lea rcx, [rbp + 0x3c0]
call fcn.140009eb0
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x7c]
mov dword [rsp + 0x38], 0x1388
lea r9, [rbp + 0x3c0]
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x7c], r14d
call fcn.140030000
mov edx, eax
lea rcx, str.Suspend_BitLocker
mov ebx, eax
call fcn.1400325e0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test ebx, ebx
je 0x14000e785
mov dword [rsp + 0x78], r14d
mov ecx, dword [0x7ffe02d8]
cmp ecx, 0xffffffff
je 0x14000e738
mov rax, qword [0x14006a9a0]
mov ebx, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
test rax, rax
je 0x14000e738
lea rdx, [rsp + 0x68]
call rax
test eax, eax
je 0x14000e5dd
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x2000000
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateTokenEx]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000e5ed
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test ebx, ebx
je 0x14000e738
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x50], r14
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove rcx, r14
mov qword [rsp + 0x50], rcx
call fcn.140031510
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x208
call fcn.140034ac0
lea rax, str.AsusHotkey.exe
mov edx, 0x104
lea r9, [0x14006a9e0]
mov qword [rsp + 0x20], rax
lea r8, str.__s_s___BitLocker
lea rcx, [rbp - 0x60]
call fcn.140009eb0
xor edx, edx
lea rcx, [rbp + 0x5d0]
mov r8d, 0x400
call fcn.140034ac0
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.14003fee4
mov qword [rsp + 0x38], r14
lea rcx, [rbp + 0x5d0]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x60]
mov dword [rsp + 0x28], 0x400
mov r9d, eax
mov qword [rsp + 0x20], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
mov rcx, qword [0x140067b00]
lea rax, [0x140067b00]
cmp rcx, rax
je 0x14000e6eb
test byte [rcx + 0x1c], 4
je 0x14000e6eb
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x28], rax
mov edx, 0x10
lea rax, str.LaunchBitLocker
mov qword [rsp + 0x20], rax
call fcn.140032310
mov rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
lea r9, [rbp - 0x60]
mov dword [rsp + 0x38], 0xffffffff
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
call fcn.140030000
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000e72d
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov edx, dword [rsp + 0x78]
lea rcx, str.LaunchBitLocker_result
call fcn.1400325e0
test esi, esi
je 0x14000e785
cmp dword [rsp + 0x78], 0x140
jne 0x14000e785
mov eax, 2
mov rbx, qword [rsp + 0xb08]
mov r14, qword [rsp + 0xb10]
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.140032e60
add rsp, 0xae0
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [0x14006aee0]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000e7d5
mov eax, r14d
mov dword [rsp + 0x48], 0x90026
cmp edi, 1
mov dword [rsp + 0x40], 4
lea r9, [rbp - 0x80]
mov r8d, 8
sete al
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x4c], eax
mov ecx, 0x53564544
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400064c0
mov edx, r14d
cmp edi, 1
sete dl
xor ecx, ecx
call fcn.14000e8a0
mov qword [rsp + 0x70], r14
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
je 0x14000e879
lea r8, [rbp - 0x74]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x70]
lea r8, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x6c], 2
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
mov r9d, 1
mov dword [rsp + 0x28], 0x80030000
xor r8d, r8d
mov dword [rsp + 0x20], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_shutdown_l1_1_0.dll_InitiateSystemShutdownExW]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000e879
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
jmp 0x14000e75b
xor eax, eax
jmp 0x14000e76b
mov eax, 0xffffffff
jmp 0x14000e76b