Function at 0x1402b93c0
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.0154
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 0x1402b943f
call fcn.140049500
mov rdi, qword [rax]
lea rdx, str.1055
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 0x1402b9787
mov rcx, qword [rsi + 0xe8]
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 + 0xe8]
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 0x1402b94e9
cmp ax, 0x2a
je 0x1402b94e9
movzx r8d, ax
lea rdx, str.autocheck_autoconv____c:__FS:NTFS
lea rcx, [rsp + 0x70]
call fcn.140002b60
jmp 0x1402b9582
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 0x1402b9550
lea r8, [rsp + 0x470]
lea rdx, str.autocheck_autoconv___Volume_s__FS:NTFS
lea rcx, [rsp + 0x70]
call fcn.140002b60
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0xb90]
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 0x1402b95a0
mov edx, 1
mov rcx, rsi
call fcn.1402b8060
test eax, eax
jne 0x1402b96ca
call fcn.140049470
mov rsi, rax
xor edx, edx
mov r8d, 0x80
lea rbp, [0x140c49250]
mov rcx, rbp
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str..ConvertDlg.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rbx, rax
test rax, rax
je 0x1402b9673
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, reloc.MFC80U.DLL_Ordinal_401
lea rdx, [0x14037d484]
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 0x1402b9640
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 0x1402b9660
mov rdi, rbp
mov rax, qword [rsi]
mov r8, rdi
lea rdx, str._s:_Failed_to_write_registry_for_convert_to_NTFS.
mov rcx, rsi
call qword [rax + 0x10]
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14037d3e8]
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 0x1402b9794
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 0x1402b9743
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 0x1402b9743
xor edx, edx
lea ecx, [rax + 6]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1402b9775
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14037d3f8]
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 0x1402b9794
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
xor eax, eax
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