Function at 0x1400c71b0
Capabilities:
Manipulate boot configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x6d0
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
xor esi, esi
mov rbp, rdx
mov rbx, rcx
mov dword [rdx], esi
call fcn.140049400
lea rcx, [rsp + 0xc2]
xor edx, edx
mov r8d, 0xfe
mov word [rsp + 0xc0], si
mov rdi, rax
call sub.ntdll.dll_memset
mov rax, qword [rdi]
lea rdx, [rsp + 0xc0]
mov r8d, 0x80
mov rcx, rdi
call qword [rax + 0x48]
mov rdx, qword [rbx + 0x58]
test rdx, rdx
mov edi, eax
je 0x1400c7251
lea rax, [rsp + 0xc0]
sub rax, rdx
nop
nop
nop
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
mov word [rax + rdx - 2], cx
jne 0x1400c7240
test edi, edi
jne 0x1400c733d
call fcn.140049470
lea rbp, [0x1404343d0]
xor edx, edx
mov rcx, rbp
mov r8d, 0x80
mov rbx, rax
call sub.ntdll.dll_memset
lea edx, [rdi + 0x5c]
lea rcx, str..._boot.cpp
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
je 0x1400c7323
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xb0]
lea r8d, [rax + 0x78]
mov byte [rsp + 0xb0], sil
mov qword [rsp + 0xb1], rax
mov word [rsp + 0xb9], ax
mov byte [rsp + 0xbb], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbp
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x1400c72e0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0xb0]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x1400c7310
mov rsi, rbp
mov rax, qword [rbx]
lea rdx, str._s:_Failed_to_IVol.GetSystemVolumeDevice_in_IsExistBootIni.
mov r8, rsi
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x1400c7577
lea rcx, [rsp + 0x1c2]
xor edx, edx
mov r8d, 0xfe
mov word [rsp + 0x1c0], si
call sub.ntdll.dll_memset
lea r8, [rsp + 0xc0]
lea rcx, [rsp + 0x1c0]
mov edx, 0x80
call qword [sym.imp.MSVCR80.dll_wcscpy_s]
lea rcx, [rsp + 0x2c2]
xor edx, edx
mov r8d, Ordinal_512
mov word [rsp + 0x2c0], si
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x4c2]
xor edx, edx
mov r8d, Ordinal_512
mov word [rsp + reloc.MFC80U.DLL_Ordinal_1216], si
call sub.ntdll.dll_memset
lea r8, [rsp + 0x1c0]
lea rdx, [0x1402dfd70]
lea rcx, [rsp + 0x2c0]
call fcn.140002b60
lea r8, [rsp + 0x1c0]
lea rdx, str._s_ntldr
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_1216]
call fcn.140002b60
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x90]
mov dword [rsp + 0x30], 3
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
mov edx, 0x80100000
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x78], 0x40
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0xb0], rsi
call qword [sym.imp.ntdll.dll_ZwCreateFile]
test eax, eax
js 0x1400c7499
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x1400c74ab
cmp eax, 0xc0000043
je 0x1400c74ab
cmp eax, 0xc0000022
jne 0x1400c7572
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_1216]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x90]
mov dword [rsp + 0x30], 3
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
mov edx, 0x80100000
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x78], 0x40
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0xb0], rsi
call qword [sym.imp.ntdll.dll_ZwCreateFile]
test eax, eax
js 0x1400c755d
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x1400c756b
cmp eax, 0xc0000043
je 0x1400c756b
cmp eax, 0xc0000022
jne 0x1400c7572
mov dword [rbp], 1
mov eax, 1
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret