Function at 0x41109c
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4021c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401510
xor edi, edi
push 0x40471c
push 0x404734
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
call fcn.0040acae
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0040acc0
push eax
push 0x95
call fcn.0040ac2a
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0040acc0
push eax
call fcn.0040acae
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0040acc0
push eax
push 0x404744
call fcn.0040acae
push 8
mov dword [ebp - 0x38], eax
pop ebx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x40], ebx
call fcn.0040abe2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040ac24
push eax
call fcn.0040ac8a
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.0040acc0
lea eax, [ebp - 0x20]
push eax
call 0x4175e5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 4
call fcn.0040aca8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
push 3
call fcn.0040ac4e
add esp, 0x24
push 0x404758
push dword [0x412020]
call fcn.0040acae
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0040acc0
lea eax, [ebp - 0x14]
push eax
call 0x4175e5
lea ecx, [ebp - 0x14]
call fcn.0040ac96
mov edx, 0x40476c
lea ecx, [ebp - 0x14]
call fcn.0040acb4
lea eax, [ebp - 0x14]
push eax
call 0x4175e5
lea ecx, [ebp - 0x14]
call fcn.0040ac96
push dword [0x41201c]
mov esi, 0x4047b4
push esi
call fcn.0040acae
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push edi
push eax
mov dword [ebp - 0x30], ebx
call fcn.0040ac9c
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0040acc0
push eax
call fcn.0040acba
xor ebx, ebx
cmp eax, 3
setg bl
lea ecx, [ebp - 0x14]
neg ebx
call fcn.0040ac96
lea ecx, [ebp - 0x30]
call fcn.0040ac90
cmp bx, di
je 0x41136f
push 0x4047d4
push dword [0x41201c]
call fcn.0040acae
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0040acc0
push eax
push esi
call fcn.0040acae
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0040acc0
lea eax, [ebp - 0x18]
push eax
call 0x4175e5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 2
call fcn.0040aca8
add esp, 0xc
mov edx, 0x4047e4
lea ecx, [ebp - 0x14]
call fcn.0040acb4
lea eax, [ebp - 0x14]
push eax
call 0x4175e5
lea ecx, [ebp - 0x14]
call fcn.0040ac96
mov edx, 0x40482c
lea ecx, [ebp - 0x1c]
call fcn.0040acb4
mov edx, 0x404294
lea ecx, [ebp - 0x18]
call fcn.0040acb4
push dword [0x41201c]
push esi
call fcn.0040acae
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0040acc0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call 0x414c72
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.0040acc0
push eax
push 0x40484c
push 1
call fcn.0040abdc
mov si, ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
neg si
push eax
lea eax, [ebp - 0x14]
sbb esi, esi
push eax
inc esi
push 4
neg esi
call fcn.0040aca8
add esp, 0x14
cmp si, di
je 0x4113fa
mov edx, 0x404870
lea ecx, [ebp - 0x14]
call fcn.0040acb4
lea eax, [ebp - 0x14]
push eax
call 0x4175e5
lea ecx, [ebp - 0x14]
call fcn.0040ac96
lea eax, [ebp - 0x30]
push eax
call fcn.0040abe2
lea eax, [ebp - 0x30]
push eax
call fcn.0040abd6
fstp qword [0x412030]
lea ecx, [ebp - 0x30]
call fcn.0040ac90
mov edx, 0x4048c0
mov ecx, 0x41202c
call fcn.0040acb4
wait
push 0x408cb6
jmp 0x4114b5
mov edx, 0x4045f4
lea ecx, [ebp - 0x14]
call fcn.0040acb4
lea eax, [ebp - 0x14]
push eax
call 0x4175e5
lea ecx, [ebp - 0x14]
call fcn.0040ac96
mov edx, 0x404628
lea ecx, [ebp - 0x18]
call fcn.0040acb4
mov edx, 0x404418
lea ecx, [ebp - 0x14]
call fcn.0040acb4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x54], 0x3e7
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call 0x413397
xor ebx, ebx
cmp eax, 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
setl bl
push eax
push 2
neg ebx
call fcn.0040aca8
add esp, 0xc
cmp bx, di
je 0x411291
call fcn.0040ac00
push 0x3a98
call fcn.0040bc18
call fcn.0040ac78
jmp 0x41138d
mov edx, 0x404894
lea ecx, [ebp - 0x14]
call fcn.0040acb4
lea eax, [ebp - 0x14]
push eax
call 0x4175e5
lea ecx, [ebp - 0x14]
call fcn.0040ac96
mov edx, 0x404628
lea ecx, [ebp - 0x18]
call fcn.0040acb4
mov edx, 0x404418
lea ecx, [ebp - 0x14]
call fcn.0040acb4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x54], 0x3e7
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call 0x413397
xor ecx, ecx
cmp eax, 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
setl cl
neg ecx
push eax
push 2
mov esi, ecx
call fcn.0040aca8
add esp, 0xc
cmp si, di
je 0x411335
call fcn.0040ac00
push 0x3a98
call fcn.0040bc18
call fcn.0040ac78
jmp 0x411418
ret