Function at 0x402522
Capabilities:
Read .ini file

Disassembly:
push 0x298
mov eax, 0x41c6c0
call fcn.00417909
xor esi, esi
push 0x206
lea eax, [ebp - 0x22a]
push esi
push eax
mov word [ebp - 0x22c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x248]
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_]
push 0x4221f8
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], esi
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 ecx, [ebp - 0x264]
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_]
mov byte [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x24], si
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, esi
je 0x4026a5
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x248]
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 esi
mov esi, 0x4221f4
push esi
lea ecx, [ebp - 0x248]
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]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4026a5
push ecx
inc eax
push eax
lea ecx, [ebp - 0x248]
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__::erase_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x248]
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__]
push str.QMBackup
lea ecx, [ebp - 0x248]
call dword [0x41d224]
push esi
lea ecx, [ebp - 0x248]
call dword [0x41d224]
push str.FileList.log
lea ecx, [ebp - 0x248]
call dword [0x41d224]
mov eax, dword [ebp - 0x244]
push 8
pop esi
cmp dword [ebp - 0x230], esi
jae 0x4024b6
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov dword [ebx + 0x50], eax
jne 0x4024ff
call fcn.0041ab80
test al, al
je 0x4026a5
cmp dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x244]
jae 0x4024e5
lea eax, [ebp - 0x244]
push eax
push str._GetSystemRecoverResult___s_is_not_Exist
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerDataReport.cpp
call fcn.0041ad40
add esp, 0x10
jmp 0x4026a5
call fcn.0041ab80
test al, al
je 0x402531
cmp dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x244]
jae 0x40251c
lea eax, [ebp - 0x244]
push eax
push str._GetSystemRecoverResult__user_choose_bluescreen_start_system_success__result_file__s
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerDataReport.cpp
call fcn.0041ad40
add esp, 0x10
cmp dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x244]
jae 0x402545
lea eax, [ebp - 0x244]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ItemCount
mov esi, str.RestoreFile
push esi
call edi
test eax, eax
je 0x4026a5
cmp dword [ebp - 0x230], 8
mov dword [ebx + 0x78], eax
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x244]
jae 0x402581
lea eax, [ebp - 0x244]
push eax
push 0
push str.SuccessCount
push esi
call edi
mov dword [ebx + 0xb8], eax
xor eax, eax
inc eax
cmp dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
jl 0x4026a5
push dword [ebp - 0x284]
lea eax, [ebp - 0x24]
push str._03d
push 5
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x2a4]
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___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0x1c
push eax
lea ecx, [ebp - 0x264]
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 - 0x2a4]
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_]
cmp dword [ebp - 0x230], 8
mov ecx, dword [ebp - 0x244]
jae 0x40260f
lea ecx, [ebp - 0x244]
cmp dword [ebp - 0x24c], 8
mov eax, dword [ebp - 0x260]
jae 0x402624
lea eax, [ebp - 0x260]
push ecx
push 0
push str.State
push eax
call edi
test eax, eax
je 0x40268d
push 0xa
push 5
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__itoa_s]
add esp, 0x10
lea eax, [ebp - 0x18]
lea esi, [ebx + 0x7c]
push eax
mov ecx, esi
call dword [0x41d250]
push 0x422414
mov ecx, esi
call dword [0x41d250]
call fcn.0041ab80
test al, al
je 0x40268d
cmp dword [esi + 0x18], 0x10
jb 0x402675
mov esi, dword [esi + 4]
jmp 0x402678
add esi, 4
push esi
push str._GetSystemRecoverResult__failed_file_state:__s
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerDataReport.cpp
call fcn.0041af50
add esp, 0x10
inc dword [ebp - 0x284]
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x288]
jle 0x4025a7
lea ecx, [ebp - 0x264]
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 - 0x280]
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 - 0x248]
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_]
xor eax, eax
inc eax
call fcn.00417953
ret