Function at 0x14001c100
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov edi, 1
mov dword [rsp + 0x60], 0x18
xor ebx, ebx
mov dword [rsp + 0x70], edi
xor r9d, r9d
mov qword [rsp + 0x68], rbx
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14001c17e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreatePipe_failed___Services::IsSecureBootEnabled:__d_n
mov edx, 2
mov r9d, eax
call fcn.140012580
jmp 0x14001c228
xorps xmm0, xmm0
lea rdx, str.powershell__c__Confirm_SecureBootUEFI_
xor eax, eax
xor r9d, r9d
mov qword [rbp - 0x10], rax
xor r8d, r8d
mov rax, qword [rsp + 0x58]
xor ecx, ecx
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x28], 0x8000000
movups xmmword [rbp - 0x40], xmm0
mov dword [rsp + 0x20], edi
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x34], 0x100
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14001c24e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateProcess_failed___Services::IsSecureBootEnabled:__d_n
mov edx, 2
mov r9d, eax
call fcn.140012580
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001f050
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rsp + 0x78]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
lea r9, [rbp]
mov r8d, 0x3ff
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001c2b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.ReadFile_failed___Services::IsSecureBootEnabled:__d_n
mov edx, 2
mov r9d, eax
call fcn.140012580
mov rcx, qword [rsp + 0x50]
jmp 0x14001c222
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp]
cmp rax, 0x400
jae 0x14001c343
lea rdx, str.Cmdlet_not_supported_on_this_platform
mov byte [rbp + rax + 0x10], bl
lea rcx, [rbp + 0x10]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14001c2fa
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, str.False
lea rcx, [rbp + 0x10]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14001c33c
mov rcx, rbx
lea rax, [rbp + 0x10]
lea r8, str.True
nop
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x14001c339
cmp rcx, 5
jne 0x14001c320
cmp dl, byte [r8 + rcx - 1]
cmovne ebx, edi
mov eax, ebx
jmp 0x14001c22a
call fcn.14001f430
int3