Function at 0x68789c
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x6878a4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x687ca5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jne 0x687c4a
mov eax, dword [0x7ba710]
mov eax, dword [eax]
call fcn.00608bb8
test al, al
je 0x687b1f
xor eax, eax
push ebp
push 0x687b10
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xa4]
mov eax, 0x687cc0
call fcn.004a21c0
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x20]
call fcn.0041af54
push 0x687ce4
push 0x687cf8
push 0x687cfc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00416714
add esp, 0x14
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0x30]
call fcn.0041b03c
push 3
push 0x687d10
push 0x687d28
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00416714
add esp, 0xc
lea eax, [ebp - 0xc4]
push eax
push 0
call fcn.00416714
add esp, 0x10
push 0x687d40
push 0x687d4c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00416714
add esp, 0x10
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0x40]
call fcn.0041b03c
lea eax, [ebp - 0x50]
push eax
push 0
push 0x687d54
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.00416714
add esp, 0x14
lea eax, [ebp - 0x60]
push eax
push 0x687d6c
push 0x687d94
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.00416714
add esp, 0x14
lea eax, [ebp - 0x70]
push eax
push 0x24000001
push 0x687da4
lea eax, [ebp - 0x60]
push eax
push 0
call fcn.00416714
add esp, 0x14
push 0x687db4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00416714
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebp - 0x80]
call fcn.0041b03c
lea eax, [ebp - 0x80]
call fcn.0041d098
test al, al
je 0x687b03
lea eax, [ebp - 0x80]
mov edx, 1
call fcn.0041d018
push eax
lea eax, [ebp - 0x80]
mov edx, 1
call fcn.0041d03c
mov esi, eax
pop eax
sub esi, eax
jl 0x687b03
inc esi
mov dword [ebp - 8], eax
mov edx, dword [0x686104]
mov eax, 8
call fcn.004066c4
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0041d124
add esp, 0x10
lea edx, [ebp - 0xf4]
lea eax, [ebx + 4]
call fcn.00419da8
lea eax, [ebp - 0x90]
push eax
lea eax, [ebx + 4]
push eax
push 0x687dbc
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.00416714
add esp, 0x14
lea eax, [ebp - 0xa0]
push eax
push 0x12000004
push 0x687da4
lea eax, [ebp - 0x90]
push eax
push 0
call fcn.00416714
add esp, 0x14
push 0x687dcc
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00416714
add esp, 0xc
lea edx, [ebp - 0x104]
mov eax, ebx
call fcn.00419da8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.00424460
inc dword [ebp - 8]
dec esi
jne 0x687a4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x687c4a
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x687b5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x421f34]
call fcn.0040459c
mov dword [ebp - 0x10], eax
mov ecx, 0x687de0
mov dl, 1
mov eax, dword [0x447b24]
call fcn.00447bd4
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x687b69
cmp dword [ebp - 0xc], 0
je 0x687c42
xor eax, eax
push ebp
push 0x687b9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, 0x687df4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x687ba5
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x687c3a
inc esi
mov dword [ebp - 8], 0
mov edx, dword [0x686104]
mov eax, 8
call fcn.004066c4
mov ebx, eax
lea ecx, [ebp - 0x108]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x108]
lea eax, [ebx + 4]
call fcn.0040556c
push 0
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebx + 4]
mov edx, 0x687df4
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.006877d4
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.0040556c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.00424460
inc dword [ebp - 8]
dec esi
jne 0x687bc0
mov eax, dword [ebp - 0xc]
call fcn.004045cc
mov eax, dword [ebp - 0x10]
call fcn.004045cc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x687cac
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.0040553c
lea eax, [ebp - 0x104]
mov edx, dword [0x401188]
mov ecx, 6
call fcn.0040629c
lea eax, [ebp - 0xa4]
call fcn.00407674
lea eax, [ebp - 0xa0]
mov edx, dword [0x401198]
mov ecx, 9
call fcn.0040629c
ret