Function at 0x140015398
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 r12
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rdi, rcx
xor r14d, r14d
cmp edx, 2
jae 0x1400153dc
xor eax, eax
jmp 0x1400159e2
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1400cb148], eax
jle 0x140015425
lea rcx, [0x1400cb148]
call fcn.14006c7b8
cmp dword [0x1400cb148], 0xffffffff
jne 0x140015425
lea rcx, [0x14009d910]
call fcn.14006ca58
lea rcx, [0x1400cb148]
call fcn.14006c74c
call fcn.1400140f4
call fcn.140014078
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
xor r8d, r8d
lea rdx, [0x1400aabd0]
lea rcx, [rbp - 0x30]
call fcn.140008f40
nop
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140028990
mov ebx, eax
mov r15d, 0x1000
mov rdx, qword [rbp - 0x18]
mov r12d, 7
cmp rdx, r12
jbe 0x1400154aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x1400154a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a13
call fcn.14006c690
test ebx, ebx
jns 0x1400159e0
mov edx, ebx
lea rcx, [rbp + 0x90]
call fcn.140028520
nop
mov r8, rax
lea rdx, str.Failed_to_load_BlackBone_driver:_n_n
lea rcx, [rbp + 0x70]
call fcn.140017324
nop
lea rcx, [rbp + 0x90]
call fcn.140007620
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 5
lea rdx, [0x1400aac28]
lea rcx, [rbp - 0x30]
call fcn.140008f40
nop
mov r9, qword [rdi + 8]
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x70]
call fcn.140013f68
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r12
jbe 0x140015557
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x140015552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a19
call fcn.14006c690
cmp ebx, 0xc0000428
jne 0x140015975
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 8
lea rdx, str.Question
lea rcx, [rbp - 0x30]
call fcn.140008f40
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0x41
lea rdx, str.Would_you_like_to_enable_Driver_Test_signing_mode_to_load_driver_
lea rcx, [rbp - 0x10]
call fcn.140008f40
nop
mov r9, qword [rdi + 8]
mov r8d, 3
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.140013f68
mov esi, eax
mov rdx, qword [rbp + 8]
cmp rdx, r12
jbe 0x140015603
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, r15
jb 0x1400155fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a1f
call fcn.14006c690
movdqa xmm0, xmmword [0x1400b61d0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, r12
jbe 0x140015650
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x14001564b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a25
call fcn.14006c690
cmp esi, 6
jne 0x140015975
xor edx, edx
lea r8d, [rsi + 0x62]
lea rcx, [rsp + 0x60]
call fcn.140098980
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.140098980
mov qword [rsp + 0x50], r14
mov edx, esi
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], r14w
jne 0x1400156ba
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x50]
call fcn.140008f40
nop
mov r8d, 0x11
lea rdx, str._system32cmd.exe
lea rcx, [rbp + 0x50]
call fcn.140009be4
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r12
mov word [rax], r14w
mov rdx, qword [rbp + 0x68]
cmp rdx, r12
jbe 0x140015750
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x14001574b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a2b
call fcn.14006c690
movdqa xmm0, xmmword [0x1400b61d0]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r14w
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], r12
cmova rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
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 + 0x30]
movups xmmword [rbp + 0x30], xmm0
movdqu xmmword [rbp + 0x40], xmm1
test eax, eax
je 0x1400158be
mov r8, r12
lea rdx, [0x1400aad48]
call fcn.140008f40
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], 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 + 0x10]
call fcn.140008f40
nop
mov r9, qword [rdi + 8]
mov r8d, 1
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140013f68
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, r12
jbe 0x140015858
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r15
jb 0x140015853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a31
call fcn.14006c690
movdqa xmm0, xmmword [0x1400b61d0]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r14w
mov rdx, qword [rbp + 0x48]
cmp rdx, r12
jbe 0x1400158a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x1400158a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a37
call fcn.14006c690
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 0x140015960
mov r8d, 5
lea rdx, [0x1400aade0]
call fcn.140008f40
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], 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 + 0x10]
call fcn.140008f40
nop
mov r9, qword [rdi + 8]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140013f68
nop
lea rcx, [rbp + 0x10]
call fcn.140007620
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, r12
jbe 0x140015951
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x14001594c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a0d
call fcn.14006c690
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
nop
lea rcx, [rbp - 0x30]
call fcn.140007620
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, 4
mov eax, dword [rax + rdx]
cmp dword [0x1400cb148], eax
jle 0x1400159be
lea rcx, [0x1400cb148]
call fcn.14006c7b8
cmp dword [0x1400cb148], 0xffffffff
jne 0x1400159be
lea rcx, [0x14009d910]
call fcn.14006ca58
lea rcx, [0x1400cb148]
call fcn.14006c74c
call fcn.140014390
lea rcx, [rdi + 0xb0]
mov rax, qword [rcx]
mov edx, dword [rdi + 0xa8]
call qword [rax + 0x50]
nop
lea rcx, [rbp + 0x70]
call fcn.140007620
mov eax, ebx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14007da9c
nop
call fcn.14007da9c
nop
call fcn.14007da9c
nop
call fcn.14007da9c
nop
call fcn.14007da9c
nop
call fcn.14007da9c
nop
call fcn.14007da9c
nop
call fcn.14007da9c
int3