Function at 0x414ff8
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
mov ebx, 0x41a060
call fcn.00419c08
add esp, 4
mov dword [ebp - 0xc], eax
push str.Qiibcdedit.exe
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004028a6
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41504c
push ebx
call fcn.00419bfc
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.004072cd
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415068
push ebx
call fcn.00419bfc
add esp, 4
cmp dword [ebp - 0x14], 1
jne 0x4150cc
push 0
mov ebx, 0x41a060
call fcn.00419c08
add esp, 4
mov dword [ebp - 0xc], eax
push str.Qiibcdedit.exe
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004028a6
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4150af
push ebx
call fcn.00419bfc
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4150c3
push ebx
call fcn.00419bfc
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4151e7
call fcn.004068df
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x415165
push 0x80000301
push 0
push 9
push 1
mov eax, 2
mov ebx, 0x484120
call fcn.00419c20
add esp, 0x10
mov dword [ebp - 0xc], eax
push str._sysnative_bcdedit.exe
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004028a6
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41512c
push ebx
call fcn.00419bfc
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.00415337
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415148
push ebx
call fcn.00419bfc
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41515c
push ebx
call fcn.00419bfc
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4151e7
push 0x80000301
push 0
push 0xa
push 1
mov eax, 2
mov ebx, 0x484120
call fcn.00419c20
add esp, 0x10
mov dword [ebp - 0xc], eax
push str._bcdedit.exe
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004028a6
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4151b3
push ebx
call fcn.00419bfc
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.00415337
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4151cf
push ebx
call fcn.00419bfc
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4151e3
push ebx
call fcn.00419bfc
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str.___enum_current
push dword [ebp - 4]
mov ecx, 2
call fcn.004028a6
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a35b
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x415227
push ebx
call fcn.00419bfc
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41523b
push ebx
call fcn.00419bfc
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x538657
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x4c2868
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00415416
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41527f
push ebx
call fcn.00419bfc
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41528f
push ebx
call fcn.00419bfc
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4152a3
push ebx
call fcn.00419bfc
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str..EFI
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4152d8
mov eax, 0x4c2868
push eax
push 4
mov ebx, 0x41a320
call fcn.00419c08
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x415307
mov eax, 1
jmp 0x415311
mov eax, 2
jmp 0x415311
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x415322
push ebx
call fcn.00419bfc
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x415332
push ebx
call fcn.00419bfc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret