Function at 0x14001c540
Capabilities:
Manipulate boot configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x470], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x18
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x70], rbx
lea rcx, [rbp + 0x30]
call fcn.14001d2a0
nop
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [0x1400300d8]
test eax, eax
jne 0x14001c613
call qword [0x140030040]
mov r9d, eax
lea r8, str.CreatePipe_failed___Services::IsMachineAllowingSelfSignedDrivers:__d_n
mov edx, 2
call fcn.140012b70
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14001c936
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c931
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ca9b
jmp 0x14001c931
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], 0x100
mov rax, qword [rsp + 0x60]
mov qword [rbp - 8], rax
movups xmmword [rbp + 0x50], xmm0
mov ecx, 0x20
call fcn.140021280
mov rcx, rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x60], 0x1c
mov qword [rbp + 0x68], 0x1f
movups xmm0, xmmword [str.WindowsSystem32_bcdedit.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140032d68]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x140032d70]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0
lea r12, [rbp + 0x30]
mov rsi, qword [rbp + 0x30]
mov r13, qword [rbp + 0x48]
cmp r13, 0xf
cmova r12, rsi
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [r12 + rdi], 0
jne 0x14001c6b0
movabs rax, 0x7fffffffffffffe3
cmp rdi, rax
ja 0x14001cab1
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rdx, [rdi + 0x1c]
mov r15d, send
lea r14, [rbp + 0x10]
cmp rdx, r15
jbe 0x14001c77a
mov rax, rdx
or rax, r15
movabs r15, 0x7fffffffffffffff
cmp rax, r15
jbe 0x14001c735
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140021280
test rax, rax
je 0x14001ca45
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14001c772
mov r15, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r15, rcx
lea rcx, [r15 + 1]
test rcx, rcx
jne 0x14001c752
mov r14, rbx
jmp 0x14001c776
cmp rcx, 0x1000
jb 0x14001c76a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001cab7
jmp 0x14001c716
call fcn.140021280
mov r14, rax
lea rdx, [rdi + 0x1c]
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r15
mov r8, rdi
mov rdx, r12
mov rcx, r14
call fcn.1400223be
mov r15, qword [rbp + 0x50]
movups xmm0, xmmword [r15]
movups xmmword [r14 + rdi], xmm0
movsd xmm1, qword [r15 + 0x10]
movsd qword [r14 + rdi + 0x10], xmm1
mov eax, dword [r15 + 0x18]
mov dword [r14 + rdi + 0x18], eax
mov byte [r14 + rdi + 0x1c], 0
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov r14d, 1
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [0x1400300f0]
test eax, eax
jne 0x14001c834
call qword [0x140030040]
mov r9d, eax
lea r8, str.CreateProcess_failed___Services::IsMachineAllowingSelfSignedDrivers:__d_n
mov edx, 2
call fcn.140012b70
mov rcx, qword [rsp + 0x58]
call qword [0x140030048]
mov rcx, qword [rsp + 0x60]
jmp 0x14001c89e
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [0x1400300b8]
mov rcx, qword [rsp + 0x60]
call qword [0x140030048]
mov rcx, qword [rbp - 0x78]
call qword [0x140030048]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
mov r8d, 0x3ff
lea rdx, [rbp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [0x1400300d0]
test eax, eax
jne 0x14001c968
call qword [0x140030040]
mov r9d, eax
lea r8, str.ReadFile_failed___Services::IsMachineAllowingSelfSignedDrivers:__d_n
mov edx, 2
call fcn.140012b70
mov rcx, qword [rsp + 0x58]
call qword [0x140030048]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14001c8e0
inc rdx
mov rcx, qword [rbp + 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001c8db
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ca45
call fcn.1400212bc
movdqa xmm0, xmmword [0x140034790]
mov byte [rbp + 0x10], 0
movdqu xmmword [rbp + 0x20], xmm0
mov edx, 0x20
mov rcx, r15
call fcn.1400212bc
nop
cmp r13, 0xf
jbe 0x14001c936
lea rdx, [r13 + 1]
cmp rdx, 0x1000
mov rax, rsi
jb 0x14001c92e
mov rsi, qword [rsi - 8]
sub rax, rsi
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ca9b
mov rcx, rsi
call fcn.1400212bc
xor eax, eax
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140021260
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x58]
call qword [0x140030048]
mov eax, dword [rsp + 0x50]
cmp rax, 0x400
jae 0x14001cabd
mov byte [rbp + rax + 0x70], 0
lea rdx, str.The_boot_configuration_data_store_could_not_be_opened
lea rcx, [rbp + 0x70]
call qword [0x140030518]
test rax, rax
je 0x14001c9af
lea r8, str.Failed_to_run_bcdedit___IsMachineAllowingSelfSignedDrivers._Please_make_sure_program_is_run_as_administrator_n
mov edx, 2
call fcn.1400129c0
lea rdx, [0x140032ec0]
lea rcx, [rbp + 0x70]
call qword [0x140030770]
mov rdi, rax
test rax, rax
je 0x14001ca13
nop dword [rax + rax]
lea rdx, str.testsigning
mov rcx, rdi
call qword [0x140030518]
test rax, rax
je 0x14001c9fc
lea rdx, [0x140032ed4]
mov rcx, rdi
call qword [0x140030518]
test rax, rax
cmovne ebx, r14d
lea rdx, [0x140032ec0]
xor ecx, ecx
call qword [0x140030770]
mov rdi, rax
test rax, rax
jne 0x14001c9d0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14001ca51
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ca4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ca4c
call qword [0x140030690]
int3
call fcn.1400212bc
movdqa xmm0, xmmword [0x140034790]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov edx, 0x20
mov rcx, r15
call fcn.1400212bc
nop
cmp r13, 0xf
jbe 0x14001caaa
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001caa2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001caa2
call qword [0x140030690]
int3
mov rcx, rsi
call fcn.1400212bc
mov eax, ebx
jmp 0x14001c938
call fcn.140010480
int3
call fcn.1400103e0
nop
call fcn.140021640
int3