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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rsi, rcx
xor r15d, r15d
cmp edx, 2
jae 0x140015b31
xor eax, eax
jmp 0x14001617b
mov ecx, 4
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, dword [rcx + r14]
cmp dword [0x1400d01a8], eax
jle 0x140015b7b
lea rcx, [0x1400d01a8]
call fcn.14006c758
cmp dword [0x1400d01a8], 0xffffffff
jne 0x140015b7b
lea rcx, [0x14009f400]
call fcn.14006caa0
lea rcx, [0x1400d01a8]
call fcn.14006c6f8
call fcn.140014848
call fcn.1400147cc
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r8d, r8d
lea rdx, [0x1400af30c]
lea rcx, [rbp - 0x10]
call fcn.140009374
nop
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140028ea0
mov edi, eax
mov r12d, 0x1000
mov rdx, qword [rbp + 8]
mov r13d, 8
cmp rdx, r13
jb 0x140015c00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, r12
jb 0x140015bfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161b1
call fcn.14006c550
test edi, edi
jns 0x140016179
mov edx, edi
lea rcx, [rbp + 0x90]
call fcn.140028a30
nop
mov r8, rax
lea rdx, str.Failed_to_load_BlackBone_driver:_n_n
lea rcx, [rbp + 0x70]
call fcn.140017a58
nop
lea rcx, [rbp + 0x90]
call fcn.140007668
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 5
lea rdx, [0x1400afdb8]
lea rcx, [rbp - 0x10]
call fcn.140009374
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x70]
mov rcx, qword [rsi + 8]
call fcn.140014754
nop
mov rdx, qword [rbp + 8]
cmp rdx, r13
jb 0x140015caa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, r12
jb 0x140015ca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161b7
call fcn.14006c550
cmp edi, 0xc0000428
jne 0x140016119
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8, r13
lea rdx, str.Question
lea rcx, [rbp + 0x30]
call fcn.140009374
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x41
lea rdx, str.Would_you_like_to_enable_Driver_Test_signing_mode_to_load_driver_
lea rcx, [rbp - 0x30]
call fcn.140009374
nop
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], r13
cmovae r8, qword [rbp + 0x30]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], r13
cmovae rdx, qword [rbp - 0x30]
mov r9d, 0x24
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete bl
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jb 0x140015d6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x140015d65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161bd
call fcn.14006c550
movdqa xmm0, xmmword [0x1400ba940]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
mov rdx, qword [rbp + 0x48]
cmp rdx, r13
jb 0x140015db7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x140015db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161c3
call fcn.14006c550
test bl, bl
je 0x140016119
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14006f000
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
mov ebx, 0x1fe
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0xb0]
call fcn.14006f000
mov qword [rsp + 0x50], r15
mov edx, ebx
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
lea rax, [rbp + 0xb0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140015e20
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x50]
call fcn.140009374
nop
mov r8d, 0x11
lea rdx, [0x1400afe58]
lea rcx, [rbp + 0x50]
call fcn.140009ff0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r15
mov ebx, 7
mov qword [rax + 0x18], rbx
mov word [rax], r15w
mov rdx, qword [rbp + 0x68]
cmp rdx, r13
jb 0x140015ebb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x140015eb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161c9
call fcn.14006c550
movdqa xmm0, xmmword [0x1400ba940]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r15w
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], r13
cmovae rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
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]
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rbp + 0x10]
movups xmmword [rbp + 0x10], xmm0
movdqu xmmword [rbp + 0x20], xmm1
test eax, eax
je 0x140016065
mov r8, rbx
lea rdx, [0x1400afec8]
call fcn.140009374
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x3c
lea rdx, str.You_must_reboot_your_computer_for_the_changes_to_take_effect
lea rcx, [rbp - 0x30]
call fcn.140009374
nop
mov rbx, qword [rsi + 8]
call fcn.1400144ec
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], r13
cmovae r9, qword [rbp - 0x30]
lea r8, [0x1400b8c7c]
mov edx, 3
mov rcx, rax
call fcn.1400145fc
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], r13
cmovae r8, qword [rbp + 0x10]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], r13
cmovae rdx, qword [rbp - 0x30]
mov r9d, 0x30
mov rcx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jb 0x140015fff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x140015ffa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161cf
call fcn.14006c550
movdqa xmm0, xmmword [0x1400ba940]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
mov rdx, qword [rbp + 0x28]
cmp rdx, r13
jb 0x14001604c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r12
jb 0x140016047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161d5
call fcn.14006c550
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140016104
mov r8d, 5
lea rdx, [0x1400aff60]
call fcn.140009374
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x34
lea rdx, str.Failed_to_enable_Test_signing._Please_do_it_manually
lea rcx, [rbp - 0x30]
call fcn.140009374
nop
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x30]
mov rcx, qword [rsi + 8]
call fcn.140014754
nop
lea rcx, [rbp - 0x30]
call fcn.140007668
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, r13
jb 0x1400160f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r12
jb 0x1400160f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161ab
call fcn.14006c550
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
nop
lea rcx, [rbp - 0x10]
call fcn.140007668
mov eax, 4
mov eax, dword [rax + r14]
cmp dword [0x1400d01a8], eax
jle 0x140016157
lea rcx, [0x1400d01a8]
call fcn.14006c758
cmp dword [0x1400d01a8], 0xffffffff
jne 0x140016157
lea rcx, [0x14009f400]
call fcn.14006caa0
lea rcx, [0x1400d01a8]
call fcn.14006c6f8
call fcn.140014ae0
lea rcx, [rsi + 0xb0]
mov rax, qword [rcx]
mov edx, dword [rsi + 0xa8]
call qword [rax + 0x50]
nop
lea rcx, [rbp + 0x70]
call fcn.140007668
mov eax, edi
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007d788
nop
call fcn.14007d788
nop
call fcn.14007d788
nop
call fcn.14007d788
nop
call fcn.14007d788
nop
call fcn.14007d788
nop
call fcn.14007d788
nop
call fcn.14007d788
int3