Function at 0x14001b9d0
Capabilities:
Create pipe
Create process on windows
Manipulate boot configuration
Read file on windows

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 - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x490], rax
xor ebx, ebx
mov dword [rsp + 0x78], 0x18
mov dword [rbp - 0x78], 1
mov qword [rbp - 0x80], rbx
lea rcx, [rbp + 0x48]
call fcn.14001c1d0
nop
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14001baa1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.CreatePipe_failed___Services::IsMachineAllowingSelfSignedDrivers:__d_n
mov edx, 2
call fcn.140016d70
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x14001bdbd
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bdb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bf58
jmp 0x14001bdb8
xorps xmm0, xmm0
xor eax, eax
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
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x100
mov rax, qword [rsp + 0x70]
mov qword [rbp + 8], rax
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], rbx
mov r8d, 0x1c
lea rdx, str.WindowsSystem32_bcdedit.exe
lea rcx, [rbp + 0x68]
call fcn.1400135b0
nop
movabs r8, 0x7fffffffffffffff
mov rax, r8
mov rdx, qword [rbp + 0x58]
sub rax, rdx
mov rcx, qword [rbp + 0x78]
cmp rax, rcx
jb 0x14001bf6e
lea r9, [rbp + 0x48]
mov rsi, qword [rbp + 0x48]
mov r15, qword [rbp + 0x60]
cmp r15, 0xf
cmova r9, rsi
mov qword [rsp + 0x58], r9
lea rax, [rbp + 0x68]
mov r14, qword [rbp + 0x68]
mov r13, qword [rbp + 0x80]
cmp r13, 0xf
cmova rax, r14
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
lea rax, [rdx + rcx]
mov qword [rsp + 0x50], rax
mov edi, send
lea r12, [rbp + 0x28]
cmp rax, rdi
jbe 0x14001bbdf
mov rdi, rax
or rdi, 0xf
cmp rdi, r8
jbe 0x14001bb9b
mov rdi, r8
movabs rcx, 0x8000000000000000
call fcn.140014010
jmp 0x14001bbca
mov ecx, 0x16
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14001bbb5
mov r12, rbx
jmp 0x14001bbdb
cmp rcx, 0x1000
jb 0x14001bbc5
call fcn.140014010
jmp 0x14001bbca
call fcn.14001edf8
mov r12, rax
mov r9, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rbp + 0x58]
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rdi
mov r8, rdx
mov rdx, r9
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x58]
add rcx, r12
mov r8, qword [rbp + 0x78]
mov rdx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
mov byte [r12 + rax], 0
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rcx, qword [rbp + 0x28]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov r12d, 1
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14001bc8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.CreateProcess_failed___Services::IsDebugModeEnabled:__d_n
mov edx, 2
call fcn.140016d70
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
jmp 0x14001bcfb
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x20]
mov r8d, 0x3ff
lea rdx, [rbp + 0x90]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001bdef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.ReadFile_failed___Services::IsDebugModeEnabled:__d_n
mov edx, 2
call fcn.140016d70
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14001bd3d
inc rdx
mov rcx, qword [rbp + 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001bd38
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bed5
call fcn.14001edf0
movdqa xmm0, xmmword [0x1400335f0]
mov byte [rbp + 0x28], 0
movdqu xmmword [rbp + 0x38], xmm0
cmp r13, 0xf
jbe 0x14001bd86
lea rdx, [r13 + 1]
cmp rdx, 0x1000
mov rax, r14
jb 0x14001bd7d
mov r14, qword [r14 - 8]
sub rax, r14
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bf1d
mov rcx, r14
call fcn.14001edf0
nop
cmp r15, 0xf
jbe 0x14001bdbd
lea rdx, [r15 + 1]
cmp rdx, 0x1000
mov rax, rsi
jb 0x14001bdb5
mov rsi, qword [rsi - 8]
sub rax, rsi
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bf58
mov rcx, rsi
call fcn.14001edf0
xor eax, eax
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.14001edd0
lea r11, [rsp + 0x5a0]
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 + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x20]
cmp rax, 0x400
jae 0x14001bf74
mov byte [rbp + rax + 0x90], 0
lea rdx, str.The_boot_configuration_data_store_could_not_be_opened
lea rcx, [rbp + 0x90]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14001be3b
lea r8, str.Failed_to_run_bcdedit___IsMachineAllowingSelfSignedDrivers._Please_make_sure_program_is_run_as_administrator_n
mov edx, 2
call fcn.140016ae0
lea rdx, [0x140032670]
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rdi, rax
test rax, rax
je 0x14001bea3
nop word [rax + rax]
lea rdx, str.debug
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14001be8c
lea rdx, [0x140032684]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
cmovne ebx, r12d
lea rdx, [0x140032670]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rdi, rax
test rax, rax
jne 0x14001be60
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14001bee1
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bedc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bedc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001edf0
movdqa xmm0, xmmword [0x1400335f0]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
cmp r13, 0xf
jbe 0x14001bf2d
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001bf24
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bf24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14001edf0
nop
cmp r15, 0xf
jbe 0x14001bf67
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001bf5f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bf5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14001edf0
mov eax, ebx
jmp 0x14001bdbf
call fcn.1400104c0
nop
call fcn.14001f1b0
int3