Function at 0x4a24b4
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe0c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x4a274c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4a2764
call fcn.0040add4
mov dword [ebp - 8], eax
mov eax, 0x4a2764
xor edx, edx
call fcn.0040ade8
mov dword [ebp - 0x10], 0xffffffff
mov dl, 1
mov eax, dword [0x415a5c]
call fcn.00403d38
mov ebx, eax
mov edx, 0x4a2778
lea eax, [ebp - 0x1e0]
call fcn.00403160
lea eax, [ebp - 0x1e0]
call fcn.00402ef0
call fcn.00402bc0
xor esi, esi
jmp 0x4a2583
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1e0]
call fcn.0040354c
lea eax, [ebp - 0x1e0]
call fcn.004035b8
call fcn.00402bc0
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
mov edx, dword [ebp - 0xc]
mov eax, 0x4a278c
call fcn.0040522c
test eax, eax
jle 0x4a2583
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x1e0]
call fcn.004033cc
call fcn.00402bc0
test al, al
je 0x4a2546
lea eax, [ebp - 0x1e0]
call fcn.00403228
call fcn.00402bc0
cmp byte [ebp - 1], 0
jne 0x4a2668
cmp dword [ebp - 0x10], 0
jl 0x4a2719
mov al, byte [0x4a27a0]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x1e8]
mov esi, dword [ebp - 0x10]
dec esi
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1e8]
xor ecx, ecx
mov edx, 0x4a278c
call fcn.0040ecc0
mov ecx, dword [ebp - 0x1e4]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x20]
lea eax, [ebp - 0x1e0]
call fcn.00402efc
call fcn.00402bc0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4a2653
inc esi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1ec]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1e0]
call fcn.00405304
call fcn.00403834
call fcn.00402bc0
inc dword [ebp - 0x14]
dec esi
jne 0x4a2622
lea eax, [ebp - 0x1e0]
call fcn.00403228
call fcn.00402bc0
jmp 0x4a2719
cmp dword [ebp - 0x10], 0
jge 0x4a2719
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x1f0]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x1f0]
mov edx, 0x4a27ac
call fcn.00404ef8
mov eax, dword [ebp - 0x1f0]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 0x20]
lea eax, [ebp - 0x1e0]
call fcn.00402efc
call fcn.00402bc0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4a2709
inc esi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1f4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x1e0]
call fcn.00405304
call fcn.00403834
call fcn.00402bc0
inc dword [ebp - 0x14]
dec esi
jne 0x4a26d8
lea eax, [ebp - 0x1e0]
call fcn.00403228
call fcn.00402bc0
mov eax, 0x4a2764
mov edx, dword [ebp - 8]
call fcn.0040ade8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2753
lea eax, [ebp - 0x1f4]
mov edx, 5
call fcn.00404c40
lea eax, [ebp - 0xc]
call fcn.00404c1c
ret