Function at 0x14001bb50
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.14001c350
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 0x14001bc21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.CreatePipe_failed___Services::IsMachineAllowingSelfSignedDrivers:__d_n
mov edx, 2
call fcn.140012580
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x14001bf3d
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bf38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c0d8
jmp 0x14001bf38
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.140012910
nop
movabs r8, 0x7fffffffffffffff
mov rax, r8
mov rdx, qword [rbp + 0x58]
sub rax, rdx
mov rcx, qword [rbp + 0x78]
cmp rax, rcx
jb 0x14001c0ee
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 0x14001bd5f
mov rdi, rax
or rdi, 0xf
cmp rdi, r8
jbe 0x14001bd1b
mov rdi, r8
movabs rcx, 0x8000000000000000
call fcn.140012d50
jmp 0x14001bd4a
mov ecx, 0x16
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14001bd35
mov r12, rbx
jmp 0x14001bd5b
cmp rcx, 0x1000
jb 0x14001bd45
call fcn.140012d50
jmp 0x14001bd4a
call fcn.14001f070
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 0x14001be0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.CreateProcess_failed___Services::IsDebugModeEnabled:__d_n
mov edx, 2
call fcn.140012580
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
jmp 0x14001be7b
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 0x14001bf6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.ReadFile_failed___Services::IsDebugModeEnabled:__d_n
mov edx, 2
call fcn.140012580
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14001bebd
inc rdx
mov rcx, qword [rbp + 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001beb8
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c055
call fcn.14001f0ac
movdqa xmm0, xmmword [0x140033750]
mov byte [rbp + 0x28], 0
movdqu xmmword [rbp + 0x38], xmm0
cmp r13, 0xf
jbe 0x14001bf06
lea rdx, [r13 + 1]
cmp rdx, 0x1000
mov rax, r14
jb 0x14001befd
mov r14, qword [r14 - 8]
sub rax, r14
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c09d
mov rcx, r14
call fcn.14001f0ac
nop
cmp r15, 0xf
jbe 0x14001bf3d
lea rdx, [r15 + 1]
cmp rdx, 0x1000
mov rax, rsi
jb 0x14001bf35
mov rsi, qword [rsi - 8]
sub rax, rsi
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c0d8
mov rcx, rsi
call fcn.14001f0ac
xor eax, eax
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.14001f050
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 0x14001c0f4
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 0x14001bfbb
lea r8, str.Failed_to_run_bcdedit___IsMachineAllowingSelfSignedDrivers._Please_make_sure_program_is_run_as_administrator_n
mov edx, 2
call fcn.1400122f0
lea rdx, [0x140032750]
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 0x14001c023
nop word [rax + rax]
lea rdx, str.debug
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14001c00c
lea rdx, [0x140032764]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
cmovne ebx, r12d
lea rdx, [0x140032750]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rdi, rax
test rax, rax
jne 0x14001bfe0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14001c061
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c05c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c05c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0ac
movdqa xmm0, xmmword [0x140033750]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
cmp r13, 0xf
jbe 0x14001c0ad
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001c0a4
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c0a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14001f0ac
nop
cmp r15, 0xf
jbe 0x14001c0e7
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001c0df
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c0df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14001f0ac
mov eax, ebx
jmp 0x14001bf3f
call fcn.1400104c0
nop
call fcn.14001f430
int3