Function at 0x40869c
Capabilities:
Check if file exists

Disassembly:
push 0x58
mov eax, 0x41c76d
call fcn.00417909
lea ecx, [ebp - 0x48]
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_]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
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 eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.004078fe
mov ebx, eax
test ebx, ebx
jne 0x4086f7
call fcn.0041ab80
test al, al
je 0x408803
push str._ExistFontZHCN__GetBootDrive_return_failed
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerQMOperateSystemOpt.cpp
call fcn.0041ad40
add esp, 0xc
jmp 0x408803
mov edi, 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 str.Bootzh_CN_bootmgr.exe.mui
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
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 - 0x64]
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_]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x408736
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x408778
call fcn.0041ab80
test al, al
je 0x408803
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40875e
lea eax, [ebp - 0x28]
push eax
push str._ExistFontZHCN__file__s_not_exist
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerQMOperateSystemOpt.cpp
call fcn.0041ad40
add esp, 0x10
jmp 0x408803
push str.Bootzh_CNmemtest.exe.mui
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
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 - 0x64]
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_]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4087b1
lea eax, [ebp - 0x28]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x408745
push str.BootFontschs_boot.ttf
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
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 - 0x64]
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_]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4087f3
lea eax, [ebp - 0x28]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x408745
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x2c]
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 - 0x48]
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, ebx
call fcn.00417953
ret