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

Disassembly:
mov eax, 0x485243
call fcn.004847e4
sub esp, 0x37c
cmp dword [ebp + 8], 2
push ebx
push esi
push edi
mov edi, ecx
jae 0x405427
xor eax, eax
jmp 0x405717
call fcn.00404ac0
call fcn.00404b04
push 0x494ae4
lea ecx, [ebp - 0x50]
call fcn.00406124
lea eax, [ebp - 0x50]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00404983
mov ecx, eax
call fcn.00417870
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
push esi
mov ebx, eax
push 1
mov dword [ebp - 0x10], ebx
call fcn.00402c21
test ebx, ebx
jns 0x405715
mov edx, ebx
lea ecx, [ebp - 0x128]
call fcn.00416de0
push eax
mov edx, str.Failed_to_load_BlackBone_driver:_n_n
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00406b2e
pop ecx
push esi
push 1
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.00402c21
push 0x494b30
lea ecx, [ebp - 0x68]
call fcn.00406124
mov byte [ebp - 4], 4
lea edx, [ebp - 0x68]
push dword [edi + 4]
lea ecx, [ebp - 0x110]
push esi
call fcn.0040490e
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00402c21
cmp ebx, 0xc0000428
jne 0x4056f2
push str.Question
lea ecx, [ebp - 0x98]
call fcn.00406124
push str.Would_you_like_to_enable_Driver_Test_signing_mode_to_load_driver_
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.00406124
mov byte [ebp - 4], 6
lea edx, [ebp - 0x98]
push dword [edi + 4]
lea ecx, [ebp - 0x80]
push 3
call fcn.0040490e
pop ecx
pop ecx
cmp eax, 6
lea ecx, [ebp - 0x80]
push esi
push 1
sete bl
call fcn.00402c21
push esi
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00402c21
test bl, bl
je 0x4056ef
push 0x44
lea eax, [ebp - 0x188]
push esi
push eax
call fcn.004663d0
add esp, 0xc
lea eax, [ebp - 0x388]
mov esi, 0x1fe
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
push esi
push 0
push eax
call fcn.004663d0
and dword [ebp + 8], 0
lea eax, [ebp - 0x388]
add esp, 0xc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x140]
call fcn.00406124
push str._system32cmd.exe
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.00406af8
pop ecx
xor esi, esi
mov byte [ebp - 4], 9
xor ebx, ebx
lea ecx, [ebp - 0x140]
push esi
inc ebx
push ebx
call fcn.00402c21
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x188]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push str._C_Bcdedit.exe__set_TESTSIGNING_ON
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405670
push 0x494c40
lea ecx, [ebp - 0xc8]
call fcn.00406124
push str.You_must_reboot_your_computer_for_the_changes_to_take_effect
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
call fcn.00406124
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0xc8]
push dword [edi + 4]
lea ecx, [ebp - 0xb0]
push ebx
call fcn.0040490e
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0xb0]
call fcn.00402c21
push esi
push ebx
lea ecx, [ebp - 0xc8]
call fcn.00402c21
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov ebx, dword [ebp - 0x10]
xor esi, esi
jmp 0x4056d5
push 0x494ccc
lea ecx, [ebp - 0xf8]
call fcn.00406124
push str.Failed_to_enable_Test_signing._Please_do_it_manually
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xc
call fcn.00406124
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0xf8]
push dword [edi + 4]
lea ecx, [ebp - 0xe0]
push esi
call fcn.0040490e
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0xe0]
call fcn.00402c21
push esi
push ebx
lea ecx, [ebp - 0xf8]
call fcn.00402c21
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0xbf4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
push esi
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00402c21
jmp 0x4056f2
mov ebx, dword [ebp - 0x10]
call fcn.00404ac0
call fcn.00404c40
push dword [edi + 0x5c]
lea ecx, [edi + 0x60]
mov eax, dword [ecx]
call dword [eax + 0x28]
push esi
push 1
lea ecx, [ebp - 0x110]
call fcn.00402c21
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4