Function at 0x1401ccfb0
Capabilities:
Shutdown system

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x680
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_1652], rax
mov ebx, edx
mov rsi, rcx
call fcn.140049500
mov rdi, qword [rax]
lea rdx, str.1050
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
test ebx, ebx
je 0x1401cd02f
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14036cb58]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, qword [rsp + 0x38]
call sub.MFC80U.DLL_Ordinal_1134
cmp eax, 6
jne 0x1401cd377
mov rcx, qword [rsi + 0xf0]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov ebp, eax
mov rcx, qword [rsi + 0xf0]
mov rdx, qword [rcx]
call qword [rdx + 0x38]
mov r12, rax
call fcn.140049400
mov rbx, rax
mov word [rsp + 0x30], 0
mov rax, qword [rax]
mov r9, r12
mov r8d, ebp
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x50]
mov word [rsp + 0x70], 0
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0x72]
call sub.ntdll.dll_memset
xor edi, edi
movzx eax, word [rsp + 0x30]
test ax, ax
je 0x1401cd0d9
cmp ax, 0x2a
je 0x1401cd0d9
movzx r8d, ax
lea rdx, [0x14036cbb8]
lea rcx, [rsp + 0x70]
call fcn.140002b60
jmp 0x1401cd172
mov word [rsp + Ordinal_1137], di
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0x472]
call sub.ntdll.dll_memset
mov word [rsp + 0x270], di
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0x272]
call sub.ntdll.dll_memset
mov rax, qword [rbx]
mov qword [rsp + 0x20], r12
mov r9d, ebp
mov r8d, 0x100
lea rdx, [rsp + 0x270]
mov rcx, rbx
call qword [rax + 0x58]
mov rdx, rdi
nop
nop
nop
movzx eax, word [rsp + rdx + 0x270]
mov word [rsp + rdx + Ordinal_1137], ax
add rdx, 2
test ax, ax
jne 0x1401cd140
lea r8, [rsp + 0x470]
lea rdx, str.autocheck_autochk__p___Volume_s
lea rcx, [rsp + 0x70]
call fcn.140002b60
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x6f0]
lea rax, [rsp + 0x70]
sub rcx, rax
nop
nop
nop
movzx eax, word [rdx]
mov word [rcx + rdx], ax
add rdx, 2
test ax, ax
jne 0x1401cd190
mov edx, 1
mov rcx, rsi
call fcn.1401cbec0
test eax, eax
jne 0x1401cd2ba
call fcn.140049470
mov rsi, rax
xor edx, edx
mov r8d, 0x80
lea rbp, [0x140c48470]
mov rcx, rbp
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, [0x14036cbf8]
call qword [sym.imp.ntdll.dll_strrchr]
mov rbx, rax
test rax, rax
je 0x1401cd263
mov byte [rsp + 0x58], dil
xor eax, eax
mov qword [rsp + 0x59], rax
mov word [rsp + 0x61], ax
mov byte [rsp + 0x63], al
mov r8d, Ordinal_632
lea rdx, [0x14036cdbc]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rbx + 1]
mov rcx, rbp
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x1401cd230
mov rdi, rbp
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x58]
xor ecx, ecx
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1401cd250
mov rdi, rbp
mov rax, qword [rsi]
mov r8, rdi
lea rdx, [0x14036cc10]
mov rcx, rsi
call qword [rax + 0x10]
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14036cc48]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.MFC80U.DLL_Ordinal_1134
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
xor eax, eax
jmp 0x1401cd38e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x58]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1401cd333
lea r8, [rsp + 0x44]
lea rdx, [0x140371ae0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401cd333
xor edx, edx
lea ecx, [rax + 6]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1401cd365
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14036cc58]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.MFC80U.DLL_Ordinal_1134
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
mov eax, 1
jmp 0x1401cd38e
mov rcx, rsi
call fcn.1401cb980
mov edi, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
mov eax, edi
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret