Function at 0x1400147d8
Capabilities:
Create process on windows
Get common file path
Manipulate boot configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400ee020]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rdi, rcx
cmp edx, 2
jae 0x140014819
xor eax, eax
jmp 0x140014cfa
mov ecx, 4
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, dword [rcx + r14]
cmp dword [0x1400f37e8], eax
jle 0x140014863
lea rcx, [0x1400f37e8]
call fcn.14006a99c
cmp dword [0x1400f37e8], 0xffffffff
jne 0x140014863
lea rcx, [0x1400b8a10]
call fcn.14006ace4
lea rcx, [0x1400f37e8]
call fcn.14006a93c
call fcn.140013644
call fcn.140013488
mov rbx, rax
xor r15d, r15d
mov qword [rbp - 0x20], r15
lea r13d, [r15 + 7]
mov qword [rbp - 0x18], r13
mov word [rbp - 0x30], r15w
lea rdx, [0x1400ccedc]
lea rcx, [rbp - 0x30]
call fcn.1400068b8
nop
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140025750
mov ebx, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400148be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.140008edc
test ebx, ebx
jns 0x140014cf8
mov edx, ebx
lea rcx, [rbp + 0x50]
call fcn.1400252f0
nop
mov r8, rax
lea rdx, str.Failed_to_load_BlackBone_driver:_n_n
lea rcx, [rbp + 0x90]
call fcn.140016310
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x140014904
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
call fcn.140008edc
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r13
mov word [rbp + 0x50], r15w
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x30], r15w
lea rdx, [0x1400cdb68]
lea rcx, [rbp - 0x30]
call fcn.1400068b8
nop
mov r9, qword [rdi + 8]
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x90]
call fcn.140013378
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140014962
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.140008edc
cmp ebx, 0xc0000428
jne 0x140014c80
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x30], r15w
lea rdx, str.Question
lea rcx, [rbp - 0x30]
call fcn.1400068b8
nop
mov qword [rbp], r15
mov qword [rbp + 8], r13
mov word [rbp - 0x10], r15w
lea rdx, str.Would_you_like_to_enable_Driver_Test_signing_mode_to_load_driver_
lea rcx, [rbp - 0x10]
call fcn.1400068b8
nop
mov r9, qword [rdi + 8]
mov r8d, 3
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.140013378
cmp eax, 6
sete sil
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400149e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
call fcn.140008edc
mov qword [rbp], r15
mov qword [rbp + 8], r13
mov word [rbp - 0x10], r15w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140014a0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.140008edc
test sil, sil
je 0x140014c80
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x60]
call fcn.140089760
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov esi, 0x1fe
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0xb0]
call fcn.140089760
mov qword [rsp + 0x50], r15
mov edx, esi
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r13
mov word [rbp + 0x30], r15w
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x30]
call fcn.1400068b8
nop
lea r8, str._system32cmd.exe
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.14000811c
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x140014aa9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
call fcn.140008edc
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r13
mov word [rbp + 0x30], r15w
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rcx, qword [rbp + 0x70]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str._C_Bcdedit.exe__set_TESTSIGNING_ON
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r13
mov word [rbp + 0x10], r15w
lea rcx, [rbp + 0x10]
test eax, eax
je 0x140014bc4
lea rdx, [0x1400cdc78]
call fcn.1400068b8
nop
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x30], r15w
lea rdx, str.You_must_reboot_your_computer_for_the_changes_to_take_effect
lea rcx, [rbp - 0x30]
call fcn.1400068b8
nop
mov r9, qword [rdi + 8]
mov r8d, 1
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140013378
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140014b83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.140008edc
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x30], r15w
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140014bab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
call fcn.140008edc
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140014c56
lea rdx, [0x1400cdd10]
call fcn.1400068b8
nop
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x30], r15w
lea rdx, str.Failed_to_enable_Test_signing._Please_do_it_manually
lea rcx, [rbp - 0x30]
call fcn.1400068b8
nop
mov r9, qword [rdi + 8]
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140013378
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140014c1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.140008edc
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x30], r15w
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140014c47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
call fcn.140008edc
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140014c80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
call fcn.140008edc
mov eax, 4
mov eax, dword [rax + r14]
cmp dword [0x1400f37e8], eax
jle 0x140014cbe
lea rcx, [0x1400f37e8]
call fcn.14006a99c
cmp dword [0x1400f37e8], 0xffffffff
jne 0x140014cbe
lea rcx, [0x1400b8a10]
call fcn.14006ace4
lea rcx, [0x1400f37e8]
call fcn.14006a93c
call fcn.140013854
lea rcx, [rdi + 0xb0]
mov rax, qword [rcx]
mov edx, dword [rdi + 0xa8]
call qword [rax + 0x50]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140014cf8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
call fcn.140008edc
mov eax, ebx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14006a770
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret