Function at 0x438cdc
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
sub esp, 0x1b0
lea ebp, [esp - 4]
mov eax, dword [0x6d15dc]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
push 0x18c
mov eax, 0x5f603f
call fcn.0057938a
mov edi, ecx
xor esi, esi
push 0x630de4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], esi
call fcn.0057f5f9
cmp eax, esi
pop ecx
je 0x43931b
push str.Windows_NT
push eax
call fcn.0057e590
test eax, eax
pop ecx
pop ecx
jne 0x43931b
push 0x6d8ad4
lea eax, [ebp - 0x128]
push 0x6d90a0
push eax
call fcn.0042cdad
push 0x6d8c24
push eax
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 4], esi
call fcn.0042cdad
push 0x6d927c
push eax
xor ebx, ebx
lea eax, [ebp - 0xb8]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0042cdad
push 0x6d8b60
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 2
call fcn.0042cdad
push 0x6d9180
push eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 3
call fcn.0042cdad
push 0x6d8ff8
push eax
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 4
call fcn.0042cdad
add esp, 0x48
push 0x6d8f50
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 5
call fcn.0042cdad
push 0x6d92b4
push eax
lea eax, [ebp - 0x17c]
push eax
mov byte [ebp - 4], 6
call fcn.0042cdad
push 0x6d8f88
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 7
call fcn.0042cdad
push 0x6d8ea8
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 8
call fcn.0042cdad
push 0x6d8a9c
push eax
lea eax, [ebp - 0x160]
push eax
mov byte [ebp - 4], 9
call fcn.0042cdad
mov byte [ebp - 4], 0xa
push 0x6d8d20
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.0042cdad
add esp, 0x48
push 0x6d8fc0
push eax
lea eax, [ebp + 0x140]
push eax
mov byte [ebp - 4], 0xb
call fcn.0042cdad
add esp, 0xc
push esi
push ebx
lea ecx, [ebp - 0x198]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x160]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x9c]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x17c]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x144]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x10c]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.00414e93
push ebx
push esi
lea eax, [ebp + 0x140]
push eax
mov ecx, edi
call fcn.00482680
test al, al
jne 0x438f4d
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.0042cf1d
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x19
jb 0x438f1f
mov eax, dword [eax + 4]
jmp 0x438f22
add eax, 4
push eax
push 0x62ed54
push esi
call fcn.00481a0a
add esp, 0xc
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp + 0x140]
call fcn.00414e93
jmp 0x439328
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
mov edi, 0x6a6950
push edi
push 0x6d8ad4
mov dword [ebp - 0x10], esi
call fcn.0048258f
test al, al
je 0x438f75
mov dword [0x6a54b8], esi
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d8c24
call fcn.0048258f
test al, al
je 0x438f95
inc dword [ebp - 0x10]
mov dword [0x6a54b8], ebx
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d927c
call fcn.0048258f
test al, al
je 0x438fb9
inc dword [ebp - 0x10]
mov dword [0x6a54b8], 2
cmp dword [ebp - 0x10], esi
jne 0x43911a
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d8b60
call fcn.0048258f
test al, al
jne 0x439108
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d9180
call fcn.0048258f
test al, al
jne 0x439108
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d8d20
call fcn.0048258f
test al, al
jne 0x439108
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d8ff8
call fcn.0048258f
test al, al
jne 0x439108
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d8f50
call fcn.0048258f
test al, al
jne 0x439108
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d8a9c
call fcn.0048258f
test al, al
jne 0x439108
mov ecx, dword [ebp - 0x14]
push 0x6d9c28
push edi
push 0x6d8fc0
call fcn.0048258f
test al, al
jne 0x439108
mov dword [0x6a54b8], 3
push esi
lea ecx, [ebp + 0x15c]
mov dword [ebp + 0x174], 0xf
call fcn.00415967
push 0x657368
lea ecx, [ebp + 0x178]
mov byte [ebp - 4], 0x1a
call fcn.0041466e
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp + 0x15c]
push eax
push 0x6d8ea8
mov ecx, edi
mov byte [ebp - 4], 0x1b
call fcn.0048258f
test al, al
je 0x4390ea
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x15c]
push eax
lea ecx, [ebp + 0x178]
call fcn.00414d7e
cmp dword [ebp + 0x18c], esi
jne 0x439147
push str.C:_boot.ini
lea ecx, [ebp - 0x48]
call fcn.0041466e
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x2c], ebx
jmp 0x43914d
push str.Invalid_switch._Only__INIFILE_allowed_in_display_boot.ini_mode
push esi
call fcn.00481a0a
pop ecx
pop ecx
jmp 0x438f3b
cmp dword [ebp - 0x10], ebx
jle 0x439089
push str.Conflicting_switches._Specify__ADD___REMOVE_or__DEFAULT
push esi
call fcn.00481a0a
pop ecx
pop ecx
push 2
pop edi
push esi
push ebx
lea ecx, [ebp + 0x140]
call fcn.00414e93
mov eax, edi
jmp 0x43932b
lea eax, [ebp + 0x178]
push eax
lea ecx, [ebp + 0x194]
call fcn.00414690
test byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0x1e
je 0x43916f
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00414e93
cmp dword [ebp + 0x1ac], 0x10
mov eax, dword [ebp + 0x198]
jae 0x439184
lea eax, [ebp + 0x198]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4391e6
cmp dword [ebp + 0x1ac], 0x10
mov eax, dword [ebp + 0x198]
jae 0x4391a9
lea eax, [ebp + 0x198]
push eax
push str.Cannot_locate__s____use__INIFILE:__path_boot.ini__
push esi
call fcn.00481a0a
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x194]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp + 0x178]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp + 0x15c]
call fcn.00414e93
mov edi, ebx
jmp 0x439133
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x194]
mov byte [ebp - 4], 0x1f
call fcn.00438907
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], eax
call fcn.00428607
test eax, eax
jne 0x43924a
cmp dword [ebp + 0x1ac], 0x10
mov eax, dword [ebp + 0x198]
jae 0x43922e
lea eax, [ebp + 0x198]
push eax
push str.No_boot_entries_located_in__s
push esi
call fcn.00481a0a
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00433431
jmp 0x4391b8
mov eax, dword [0x6a54b8]
cmp eax, 3
jne 0x43925e
lea edi, [ebp - 0x28]
call fcn.0042a26a
jmp 0x4392a5
cmp eax, esi
jne 0x439275
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.00436a52
jmp 0x4392a2
cmp eax, ebx
jne 0x43928c
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.00437a02
jmp 0x4392a2
cmp eax, 2
jne 0x4392a8
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0043807e
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], esi
jne 0x4392da
cmp dword [0x6a54b8], 3
je 0x4392da
lea ecx, [ebp - 0x28]
call fcn.0043570d
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x194]
call fcn.00438907
test eax, eax
pop ecx
jne 0x4392da
lea edi, [ebp - 0x28]
call fcn.0042a26a
lea ecx, [ebp - 0x28]
call fcn.00433431
push esi
push ebx
lea ecx, [ebp + 0x194]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp + 0x178]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp + 0x15c]
call fcn.00414e93
push esi
push ebx
lea ecx, [ebp + 0x140]
call fcn.00414e93
mov eax, dword [ebp - 0x10]
jmp 0x43932b
push str.Modifying_boot.ini_is_supported_only_on_Windows_NT_2000_platforms
push esi
call fcn.00481a0a
pop ecx
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.0057937b
add ebp, 0x1b4
leave
ret