Function at 0x407135
Capabilities:
Get common file path
Manipulate boot configuration

Disassembly:
push 0x2f0
mov eax, 0x41c298
call fcn.00417909
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x21a]
push ebx
push eax
xor esi, esi
mov word [ebp - 0x21c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov edi, 0x104
push edi
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x40749f
cmp eax, edi
jae 0x40749f
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str._bcdedit.exe
lea ecx, [ebp - 0x254]
call dword [0x41d224]
lea eax, [ebp - 0x254]
push eax
mov esi, 0x424174
lea eax, [ebp - 0x2c4]
push esi
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push esi
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 5
mov esi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push eax
call esi
push str.__enum_active
push eax
lea eax, [ebp - 0x2e0]
push eax
mov byte [ebp - 4], 6
call esi
add esp, 0x24
push eax
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x28c]
call fcn.004075ae
mov esi, eax
cmp esi, ebx
jne 0x4072d4
call fcn.0041ab80
test al, al
je 0x4074bc
cmp dword [ebp - 0x274], 8
mov eax, dword [ebp - 0x288]
jae 0x4072ba
lea eax, [ebp - 0x288]
push eax
push str._SetStartOptionForNT6__ExeCmdForCallBack_return_failed_cmd_s
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerQMOperateSystemOpt.cpp
call fcn.0041ad40
add esp, 0x10
jmp 0x4074bc
push str.33300001
push str.custom:_s
lea eax, [ebp - 0x21c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf]
add esp, 0x10
push ebx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp eax, dword [ecx]
jne 0x407348
call fcn.0041ab80
test al, al
je 0x407340
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x40732b
lea eax, [ebp - 0x234]
push eax
push str._SetStartOptionForNT6__cannot_find_custom:33300001_item_restring_s
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerQMOperateSystemOpt.cpp
call fcn.0041ad40
add esp, 0x10
xor esi, esi
inc esi
jmp 0x4074bc
push dword [ecx]
xor esi, esi
push eax
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x238]
inc esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push ebx
push 0x424178
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ebx, eax
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp ebx, dword [eax]
je 0x4074bc
push 0
push 0x42417c
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp eax, dword [ecx]
je 0x4074bc
sub eax, ebx
cmp eax, 0x25
jne 0x4074bc
push 0x26
push ebx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [ebp - 0x25c], 0
je 0x4074bc
cmp dword [ebp - 0x258], 8
mov ecx, dword [ebp - 0x26c]
jae 0x407428
lea ecx, [ebp - 0x26c]
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x40743d
lea eax, [ebp - 0x250]
push ecx
push eax
push str.__s___delete__s__cleanup
lea eax, [ebp - 0x21c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2e0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x2e0]
call fcn.00407514
lea ecx, [ebp - 0x2e0]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test esi, esi
jne 0x4074bc
call fcn.0041ab80
test al, al
je 0x4074bc
lea eax, [ebp - 0x21c]
push eax
push str._SetStartOptionForNT6__ExeCmd_return_failed_cmd_s
jmp 0x4072c0
call fcn.0041ab80
test al, al
je 0x4074bc
push str._SetStartOptionForNT6__GetSystemDirectory_return_failed
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerQMOperateSystemOpt.cpp
call fcn.0041ad40
add esp, 0xc
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
call fcn.00417953
ret