Function at 0x418f77
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, 0x42dad0
call fcn.0042d6af
add esp, 4
mov dword [ebp - 0xc], eax
push 0x9c961f
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401579
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x418fcb
push ebx
call fcn.0042d6bb
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.0040d6b6
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x418fe7
push ebx
call fcn.0042d6bb
add esp, 4
cmp dword [ebp - 0x14], 1
jne 0x41904b
push 0
mov ebx, 0x42dad0
call fcn.0042d6af
add esp, 4
mov dword [ebp - 0xc], eax
push 0x9c961f
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401579
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41902e
push ebx
call fcn.0042d6bb
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419042
push ebx
call fcn.0042d6bb
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x419166
call fcn.004099bc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x4190e4
push 0x80000301
push 0
push 9
push 1
mov eax, 1
mov ebx, 0x495870
call fcn.0042d6cd
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x9c962f
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401579
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4190ab
push ebx
call fcn.0042d6bb
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.0040b645
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4190c7
push ebx
call fcn.0042d6bb
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4190db
push ebx
call fcn.0042d6bb
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x419166
push 0x80000301
push 0
push 0xa
push 1
mov eax, 1
mov ebx, 0x495870
call fcn.0042d6cd
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x9c9646
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401579
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x419132
push ebx
call fcn.0042d6bb
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.0040b645
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41914e
push ebx
call fcn.0042d6bb
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419162
push ebx
call fcn.0042d6bb
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x9c9653
push dword [ebp - 4]
mov ecx, 2
call fcn.00401579
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040b938
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4191b3
push ebx
call fcn.0042d6bb
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4191c3
push ebx
call fcn.0042d6bb
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4191d7
push ebx
call fcn.0042d6bb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x69c43a
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x4db396
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004027f9
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41921b
push ebx
call fcn.0042d6bb
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41922b
push ebx
call fcn.0042d6bb
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41923f
push ebx
call fcn.0042d6bb
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 1
push 0
push 0
push 0
push 0x80000004
push 0
push 0x69c447
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x419274
mov eax, 0x4db396
push eax
push 4
mov ebx, 0x42e1b0
call fcn.0042d6af
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4192a3
mov eax, 1
jmp 0x4192ad
mov eax, 2
jmp 0x4192ad
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4192be
push ebx
call fcn.0042d6bb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4192ce
push ebx
call fcn.0042d6bb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret