Function at 0x4a4bb1
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
lea ebp, [esp - 0x1014]
mov eax, 0x1014
call fcn.0040b570
push 0xffffffffffffffff
push 0x604005
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6e1760]
xor eax, ebp
mov dword [ebp + 0x1010], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x101c]
mov esi, dword [ebp + 0x1020]
push str.FileExcluded
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], esi
call fcn.00553ab0
push 0x64aee4
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.0040fc10
test eax, eax
pop ecx
pop ecx
jne 0x4a4ca9
push str.BOOTSECT.DOS
push esi
call fcn.0040fc10
test eax, eax
pop ecx
pop ecx
je 0x4a4c7c
push str.BOOTSECT.W95
push esi
call fcn.0040fc10
test eax, eax
pop ecx
pop ecx
je 0x4a4c7c
push str.BOOTSECT.DAT
push esi
call fcn.0040fc10
test eax, eax
pop ecx
pop ecx
je 0x4a4c7c
push str.BOOT.INI
push esi
call fcn.0040fc10
test eax, eax
pop ecx
pop ecx
je 0x4a4c7c
push str.EA_DATA._SF
push esi
call fcn.0040fc10
test eax, eax
pop ecx
pop ecx
jne 0x4a4ca9
lea ecx, [ebp - 0x18]
call fcn.00553477
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1010]
xor ecx, ebp
call fcn.0040916a
add ebp, 0x1014
leave
ret
push esi
call fcn.004cf805
test al, al
pop ecx
je 0x4a4cc2
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00553477
mov al, bl
jmp 0x4a4c86
mov eax, dword [0x71d154]
cmp eax, ebx
je 0x4a4cb6
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.00404781
sub esp, 0x18
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ecx, dword [0x71d154]
mov dword [ebp - 0x14], esp
call fcn.004a3fe4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
jmp 0x4a4e76
inc dword [ebp - 0x10]
cmp byte [ebp], 0x5b
jne 0x4a4d6e
movzx eax, byte [ebp + 1]
push eax
call fcn.0056e953
cmp eax, 0x50
pop ecx
jne 0x4a4e76
lea eax, [ebp + 2]
push 0x3a
push eax
call fcn.0041d690
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x4a4d4e
push dword [ebp - 0x10]
push 0x46ab
call fcn.0045abde
pop ecx
pop ecx
push 0x5d
push esi
call fcn.0041d690
cmp eax, ebx
pop ecx
pop ecx
je 0x4a4d5e
mov byte [eax], bl
inc esi
push esi
call fcn.004189c3
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x4a4e76
cmp dword [ebp - 0x14], ebx
je 0x4a4d82
mov eax, dword [0x72e0fc]
inc eax
cmp dword [ebp - 0x14], eax
jne 0x4a4e76
lea eax, [ebp]
push eax
call fcn.00408570
dec eax
pop ecx
lea ecx, [ebp + eax]
cmp byte [ecx], 0xa
jne 0x4a4d9a
mov byte [ecx], bl
jmp 0x4a4db0
cmp eax, 0xfff
jne 0x4a4db0
push dword [ebp - 0x10]
push 0x46bf
call fcn.0045abde
pop ecx
pop ecx
xor esi, esi
cmp byte [ebp], bl
je 0x4a4dce
movzx eax, byte [ebp + esi]
push eax
call fcn.0040c5b8
test eax, eax
pop ecx
je 0x4a4dce
inc esi
cmp byte [ebp + esi], bl
jne 0x4a4db7
lea edi, [ebp + esi]
cmp byte [edi], bl
je 0x4a4e76
lea eax, [ebp]
push 1
push eax
call fcn.004c35f2
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
pop ecx
pop ecx
je 0x4a4e07
cmp al, 0x2f
je 0x4a4e07
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push 0x46b4
call fcn.0045abde
add esp, 0xc
push esi
call fcn.00408570
cmp eax, 0xe
pop ecx
jbe 0x4a4e24
push edi
push dword [ebp - 0x10]
push 0x46bf
call fcn.0045abde
add esp, 0xc
inc esi
lea eax, [ebp + 0x1000]
push esi
push eax
call fcn.0040b3e0
push 2
lea eax, [ebp]
push 0x64fa2c
push eax
mov byte [esi], bl
call fcn.004099ef
add esp, 0x14
test eax, eax
je 0x4a4e5d
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call fcn.0041b489
test eax, eax
pop ecx
pop ecx
jne 0x4a4e76
lea eax, [ebp + 0x1000]
push eax
push dword [ebp - 0x20]
call fcn.0049c97d
test al, al
pop ecx
pop ecx
jne 0x4a4cb4
mov ecx, dword [0x71d154]
push 0x1000
lea eax, [ebp]
push eax
call fcn.00405ec4
mov eax, dword [0x71d154]
cmp dword [eax + 4], ebx
jne 0x4a4d0f
jmp 0x4a4cb6