Function at 0x1003d02
Capabilities:
Manipulate boot configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1768
call fcn.0100ba20
mov eax, dword [0x1011024]
push ebx
push esi
push edi
xor ebx, ebx
push 0x7f
pop edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1768], eax
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x2f0]
mov dword [ebp - 0x2f4], ebx
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x6f0]
push 0x31
mov dword [ebp - 0x6f4], ebx
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x4f0]
mov dword [ebp - 0x4f4], ebx
rep stosd dword es:[edi], eax
pop ecx
push 9
lea edi, [ebp - 0xf0]
mov dword [ebp - 0xf4], ebx
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
rep stosd dword es:[edi], eax
mov esi, 0x1001394
lea edi, [ebp - 0x1754]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x7c
pop ecx
lea edi, [ebp - 0x1744]
rep stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x175c]
mov dword [ebp - 0x1548], eax
inc esi
xor eax, eax
mov dword [ebp - 0x1554], 0x13003
mov dword [ebp - 0x1550], esi
mov dword [ebp - 0x154c], ebx
mov dword [ebp - 0x1544], ebx
mov ecx, edx
lea edi, [ebp - 0x1540]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1344], ebx
mov dword [ebp - 0x1340], ebx
mov dword [ebp - 0x133c], 0x73
mov ecx, edx
lea edi, [ebp - 0x1338]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x1130], eax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x1128]
mov dword [ebp - 0x113c], 0x2001
mov dword [ebp - 0x1138], esi
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x112c], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1758], ebx
mov dword [ebp - 0x175c], ebx
mov dword [ebp - 0x1760], ebx
mov dword [ebp - 0xf2c], ebx
mov dword [ebp - 0xf28], ebx
mov dword [ebp - 0xf24], 0x75
mov ecx, edx
lea edi, [ebp - 0xf20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6f4]
mov dword [ebp - 0xd18], eax
xor eax, eax
mov dword [ebp - 0xd24], 0x2001
mov dword [ebp - 0xd20], esi
mov dword [ebp - 0xd1c], ebx
mov dword [ebp - 0xd14], ebx
mov ecx, edx
lea edi, [ebp - 0xd10]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xb14], ebx
mov dword [ebp - 0xb10], ebx
mov dword [ebp - 0xb0c], 0x70
mov ecx, edx
lea edi, [ebp - 0xb08]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4f4]
mov dword [ebp - 0x900], eax
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x90c], 0x1001
mov dword [ebp - 0x908], esi
mov dword [ebp - 0x904], ebx
mov dword [ebp - 0x8fc], ebx
lea edi, [ebp - 0x8f8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2f4]
push eax
mov dword [ebp - 0x6fc], ebx
mov dword [ebp - 0x6f8], ebx
call fcn.0100269c
cmp eax, esi
je 0x1004272
mov edi, 0x1001568
lea eax, [ebp - 0x8fc]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x4f4]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
add esp, 0x10
lea eax, [ebp - 0x1754]
push eax
push 4
push dword [ebp - 0x1768]
push dword [ebp + 8]
call fcn.0100e534
test eax, eax
jne 0x1003f56
push 0x7c
call fcn.0100d783
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.0100d376
call fcn.0100c80a
jmp 0x10040bd
cmp dword [ebp - 0x1134], ebx
jne 0x1003f6d
cmp dword [ebp - 0xd1c], ebx
je 0x1003f75
push 0x30b
jmp 0x1003f82
cmp dword [ebp - 0xd1c], ebx
jne 0x1003f8f
cmp dword [ebp - 0x904], ebx
je 0x1003f8f
push 0x30c
call fcn.0100d783
push eax
call fcn.0100c82e
jmp 0x1003f4c
lea eax, [ebp - 0x4f4]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x1003fb9
lea eax, [ebp - 0x2f4]
push eax
call fcn.0100db50
test eax, eax
jne 0x1003fb9
mov dword [ebp - 0x1758], esi
cmp dword [ebp - 0x1134], ebx
je 0x100403c
cmp dword [ebp - 0x904], ebx
jne 0x100401c
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1003ff0
lea eax, [ebp - 0x2f4]
push eax
call fcn.0100db50
test eax, eax
mov dword [ebp - 0x1758], esi
je 0x1003ff6
mov dword [ebp - 0x1758], ebx
lea eax, [ebp - 0x4f4]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
je 0x100401c
lea eax, [ebp - 0x4f4]
push 0x10011f8
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
cmp dword [ebp - 0x1134], ebx
je 0x100403c
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x100403c
push 0x30e
jmp 0x10040b8
cmp dword [ebp - 0xd1c], ebx
je 0x100405c
lea eax, [ebp - 0x6f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x100405c
push 0x30f
jmp 0x10040b8
push 0x1001504
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 2
mov edi, 0x10012c4
push edi
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
jne 0x10040df
push 3
push 0x1001560
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
je 0x10040df
lea eax, [ebp - 0x2f4]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
cmp eax, ebx
pop ecx
pop ecx
jne 0x10040d1
push 0x829
call fcn.0100d783
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.0100d376
jmp 0x1004272
push eax
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x2f4]
push eax
call fcn.0100db50
cmp eax, esi
jne 0x100412d
lea eax, [ebp - 0x6f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100412d
push 0x313
call fcn.0100d783
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.0100d376
lea eax, [ebp - 0x2f4]
push 0x10012a0
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x1760]
push eax
push ebx
push dword [ebp - 0x1758]
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x4f4]
push eax
lea eax, [ebp - 0x6f4]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.01002f60
cmp eax, esi
je 0x1004260
call fcn.0100bb22
cmp eax, ebx
mov dword [ebp - 0x1764], eax
jne 0x10041b0
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0xf4]
push eax
call fcn.01001efb
push 0x7c
call fcn.0100d783
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.0100d376
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.0100d5fe
jmp 0x1004260
push eax
call fcn.0100bbcf
cmp dword [ebp - 0x175c], 0x3e7
jbe 0x10041c9
push 0x1b9
jmp 0x1004234
push 0xa
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x175c]
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1001394
push 0x1001574
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x100422f
lea eax, [ebp - 0x1764]
push eax
call fcn.0100bb96
push 0x7e
call fcn.0100d783
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.0100d376
lea eax, [ebp - 0xf4]
push eax
call fcn.01001efb
xor esi, esi
jmp 0x1004260
push 0x9a
call fcn.0100d783
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.0100d376
lea eax, [ebp - 0xf4]
push eax
call fcn.01001efb
lea eax, [ebp - 0x1764]
push eax
call fcn.0100bb96
push dword [ebp - 0x1760]
lea eax, [ebp - 0x2f4]
push eax
call fcn.010026f7
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0100b77c
leave
ret 8