Function at 0x446040
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb103
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x638
push ebx
push esi
push edi
lea eax, [ebp - 0x144]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.00401350
mov edi, str.c:_boot.ini
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x544]
mov eax, ecx
mov esi, edi
mov edi, edx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [ebp - 0x14], ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x7c]
xor esi, esi
call fcn.004f0653
push 1
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.004f0653
mov ecx, dword [0x4fe4e8]
lea edx, [ebp - 0x544]
push ecx
push 1
push edx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.004f0727
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0xc4]
push eax
push 8
push str.c:endpcacheprocess_log.txt
call fcn.004f0727
mov edi, dword [ebp - 0x78]
push 0xa
lea ecx, [ebp - 0x444]
push 0x100
inc edi
push ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x78], edi
call fcn.004f0ae9
lea edi, [ebp - 0x444]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x4461f4
cmp esi, 1
jne 0x4461ba
lea edx, [ebp - 0x444]
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x144]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x644]
push eax
push 0x51ec4c
push edx
call fcn.004f175f
add esp, 0x14
lea eax, [ebp - 0x644]
lea ecx, [ebp - 0xb8]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov ecx, dword [ebp - 0x14]
push 0x51ec48
inc ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x444]
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4461ba
inc ebx
lea edx, [ebp - 0x444]
push edx
push str._operating_systems_
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4461d7
mov esi, 1
lea eax, [ebp - 0x444]
push str.operating_systems
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4461f4
mov esi, 1
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
test byte [ebp + edx - 0x74], 1
je 0x446100
lea ecx, [ebp - 0x7c]
call fcn.004f076e
mov esi, dword [ebp - 0x14]
cmp esi, 2
jge 0x4462f3
test esi, esi
jne 0x446250
lea eax, [ebp - 0x34]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x144]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x244]
push eax
push 0x51ebdc
push edx
call fcn.004f175f
add esp, 0x10
jmp 0x446287
cmp esi, 1
jne 0x446287
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x144]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x244]
push eax
push 0x51ebb0
push edx
call fcn.004f175f
add esp, 0x14
mov eax, dword [0xe56db0]
test eax, eax
jne 0x4462e7
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x244]
push eax
push ecx
push edx
jne 0x4462c7
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4462de
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
mov esi, dword [ebp - 0x14]
add esp, 0x1b4
lea eax, [ebp - 0x244]
push eax
jmp 0x4463d2
test ebx, ebx
jle 0x44632c
push ebx
lea ecx, [ebp - 0x34]
push esi
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x144]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x244]
push 0x51eb44
push eax
call fcn.004f175f
add esp, 0x18
jmp 0x44635e
lea ecx, [ebp - 0x34]
push esi
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x144]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x244]
push 0x51eaec
push eax
call fcn.004f175f
add esp, 0x14
mov ecx, dword [0xe56d24]
mov eax, dword [0xe56db0]
inc ecx
test eax, eax
mov dword [0xe56d24], ecx
jne 0x4463cb
mov eax, dword [0xe56dbc]
mov edx, dword [ebp + 0x1b4]
lea ecx, [ebp - 0x244]
test eax, eax
mov eax, dword [ebp + 0x1b0]
push ecx
push edx
push eax
jne 0x4463ab
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4463c2
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
mov esi, dword [ebp - 0x14]
add esp, 0x1b4
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea edx, [ebp - 0x34]
push esi
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x244]
push eax
push 0x51eaa0
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x446481
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x244]
push edx
push eax
push ecx
jne 0x446464
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x44647b
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0xb8]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0xc4]
call fcn.004f076e
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004f0714
lea ecx, [ebp - 0xb0]
call fcn.004f05fb
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x68]
call fcn.004f05fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov ax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret