Function at 0x10014520
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x24e4
call fcn.1003dcd0
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x24e0], eax
push ebx
mov ebx, 1
test byte [0x10065ac4], bl
push esi
push edi
jne 0x10014566
or dword [0x10065ac4], ebx
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
lea ecx, [esp + 0x60]
mov dword [0x10065f08], 0x3f
call fcn.10028af0
lea ecx, [esp + 0x34]
call fcn.1002f490
lea eax, [esp + 0x100]
push eax
call fcn.100038f0
lea ecx, [esp + 0x18f0]
push ecx
call fcn.100038f0
lea edx, [esp + 0xcf8]
push edx
call fcn.100038f0
xor esi, esi
test byte [0x10065ac4], bl
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], 6
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x1770
mov dword [esp + 0x30], esi
jne 0x100145ef
or dword [0x10065ac4], ebx
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
mov edi, dword [ebp + 8]
push edi
push str.Repair_Boot_files__Boot.ini_BCD__on_disk__u
mov eax, 0x10065ac8
call fcn.1001e660
add esp, 8
push edi
lea ecx, [esp + 0x64]
mov dword [esp + 0xd4], esi
call fcn.10028740
test eax, eax
jne 0x100146f3
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x38]
call fcn.1002f660
mov eax, dword [esp + 0x5c]
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test byte [0x10065ac4], bl
jne 0x1001465e
or dword [0x10065ac4], ebx
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
push edi
push str.CSTDisk::Open__u_.
mov ebx, 0x10065ac8
call fcn.1001e430
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
je 0x10014695
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push ecx
push eax
call fcn.1000ad60
mov edx, dword [esp + 0x1c]
push edx
call fcn.1003c1aa
add esp, 0xc
lea eax, [esp + 0xcf8]
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.10005e40
lea ecx, [esp + 0x18f0]
push ecx
call fcn.10005e40
lea edx, [esp + 0x100]
push edx
call fcn.10005e40
lea ecx, [esp + 0x34]
call fcn.1002f500
lea ecx, [esp + 0x60]
call fcn.100286b0
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24e0]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x60]
call fcn.10029870
test eax, eax
jne 0x100147ba
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x38]
call fcn.1002f660
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], edi
call fcn.10027fb0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test byte [0x10065ac4], bl
jne 0x1001474d
or dword [0x10065ac4], ebx
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
push str.CSTDisk::Enumerate__.
mov ebx, 0x10065ac8
call fcn.1001e430
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, esi
je 0x10014787
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push ecx
push eax
call fcn.1000ad60
mov edx, dword [esp + 0x1c]
push edx
call fcn.1003c1aa
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0xcf8]
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.10005e40
lea ecx, [esp + 0x18f0]
push ecx
call fcn.10005e40
lea edx, [esp + 0x100]
push edx
jmp 0x10014a3f
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.1000c020
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.1000c590
add esp, 0x10
test eax, eax
jne 0x10014875
lea ecx, [esp + 0x10]
call fcn.1000c270
lea ecx, [esp + 0x60]
call fcn.10027fb0
push 0x801e0007
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.No_windows_partition.
push ecx
call fcn.100020c0
add esp, 4
call fcn.1001e660
add esp, 4
lea esi, [esp + 0x10]
call fcn.1000a630
lea ecx, [esp + 0xcf8]
push ecx
call fcn.10005e40
lea edx, [esp + 0x18f0]
push edx
call fcn.10005e40
lea eax, [esp + 0x100]
push eax
call fcn.10005e40
lea ecx, [esp + 0x34]
call fcn.1002f500
lea ecx, [esp + 0x60]
call fcn.100286b0
mov eax, 0x801e0007
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24e0]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x24]
lea edx, [esp + 0xce8]
call fcn.1000db90
test eax, eax
jge 0x10014907
push str.For_versions_lower_than_Vista:_repair_boot.ini.
push ecx
call fcn.100020c0
add esp, 4
call fcn.1001e660
mov edx, dword [esp + 0xca8]
add esp, 4
lea ecx, [esp + 0x104]
push ecx
push edx
lea eax, [esp + 0x68]
push eax
call fcn.10017c80
add esp, 0xc
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.1000c270
lea ecx, [esp + 0x60]
call fcn.10027fb0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [esp + 0x10]
call fcn.1000a630
lea ecx, [esp + 0xcf8]
push ecx
call fcn.10005e40
lea edx, [esp + 0x18f0]
push edx
call fcn.10005e40
lea eax, [esp + 0x100]
push eax
jmp 0x10014a3f
lea ecx, [esp + 0xcf8]
push ecx
lea eax, [esp + 0x14]
call fcn.1000c4b0
add esp, 4
test eax, eax
lea ecx, [esp + 0x10]
jne 0x100149b2
call fcn.1000c270
lea ecx, [esp + 0x60]
call fcn.10027fb0
push 0x801e0006
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.No_active_partition.
push ecx
call fcn.100020c0
add esp, 4
call fcn.1001e660
add esp, 4
lea esi, [esp + 0x10]
call fcn.1000a630
lea edx, [esp + 0xcf8]
push edx
call fcn.10005e40
lea eax, [esp + 0x18f0]
push eax
call fcn.10005e40
lea ecx, [esp + 0x100]
push ecx
call fcn.10005e40
lea ecx, [esp + 0x34]
call fcn.1002f500
lea ecx, [esp + 0x60]
call fcn.100286b0
mov eax, 0x801e0006
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24e0]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x18f0]
push edx
call fcn.1000c8f0
add esp, 4
test eax, eax
jne 0x100149d1
mov dword [esp + 0x1afc], 0xffffffff
push ebx
push ebx
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xd08]
push ecx
lea ecx, [esp + 0x1900]
lea edx, [esp + 0xd08]
call fcn.100184f0
add esp, 0x10
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.1000c270
lea ecx, [esp + 0x60]
call fcn.10027fb0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [esp + 0x10]
call fcn.1000a630
lea edx, [esp + 0xcf8]
push edx
call fcn.10005e40
lea eax, [esp + 0x18f0]
push eax
call fcn.10005e40
lea ecx, [esp + 0x100]
push ecx
call fcn.10005e40
lea ecx, [esp + 0x34]
call fcn.1002f500
lea ecx, [esp + 0x60]
call fcn.100286b0
mov ecx, dword [esp + 0x24ec]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret