Function at 0x5159d40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x522ddb7
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov esi, dword [esp + 0x484]
mov ebx, dword [esp + 0x488]
mov ebp, dword [esp + 0x48c]
push esi
mov ecx, 0x53f4cc8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
call fcn.050674e0
test al, al
jne 0x5159e08
push str._ERROR:
push 0xff
push 0x1211
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x47c], 0
mov ecx, dword [0x56bc0f0]
push 0x5299d48
push esi
push str.__d___s__:_invalid_handle_
push ecx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xd
jmp 0x515b256
test ebp, ebp
je 0x515b1e7
test ebx, ebx
je 0x515b1e7
mov eax, dword [ebx + 4]
test eax, eax
je 0x515b1e7
cmp byte [eax], 0
je 0x515b1e7
mov eax, dword [ebx]
test eax, eax
je 0x515b1e7
cmp byte [eax], 0
je 0x515b1e7
push ebp
push 0
push 0
push esi
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
call fcn.0506f0a0
mov edx, dword [ebx]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x5159eb9
push str._ERROR:
push 0xff
push 0x1222
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x47c], 2
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebx]
mov eax, dword [eax + 8]
push ecx
push 0x5299d48
push esi
push str.__d___s__:_Ini_File___s__does_not_exist
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
jmp 0x515b23d
mov dword [ebp], 0
mov edx, dword [ebx + 4]
push edx
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3d4
call dword [0x523a2ec]
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, dword [eax]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push 1
add eax, 0xd3d4
push edi
push 0x529230c
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
push esi
mov ecx, 0x53f4cc8
mov edi, eax
call fcn.05065960
add eax, 0xd3d4
mov eax, dword [eax + 0x14]
dec eax
cmp edi, eax
je 0x5159f3c
push 0x529230c
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3d4
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x52c722a
push 1
push 0x1233
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x47c], 3
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_0:_Check_Basic_Arguments_pass_
push eax
push edi
call fcn.051ae2d0
or edi, 0xffffffff
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0x5272ee4
push 0x1388
push esi
call sym.META_DLL.dll_META_QueryIfFunctionSupportedByTarget_r
test eax, eax
jne 0x5159fbd
lea ecx, [esp + 0x30]
push ecx
push 0x1388
push esi
call sym.META_DLL.dll_META_Util_QueryTargetLimitedStateIndicator_r
lea edx, [esp + 0x34]
push edx
push 0x1388
push esi
call sym.META_DLL.dll_META_MISC_GetIMEILocation_r
test eax, eax
jne 0x515a038
push str._ERROR:
push 0xff
push 0x1245
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 4
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Using_Wrong_API_for_this_Phone
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4a
jmp 0x515b256
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
je 0x515a050
mov eax, 0x3b
jmp 0x515b256
push 0x52c722a
push 1
push 0x124f
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 5
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_1:_Check_Load_New_Old_pass_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xd3d4
cmp dword [eax + 0x18], 0x10
jb 0x515a0c5
mov eax, dword [eax + 4]
jmp 0x515a0c8
add eax, 4
push eax
push esi
call fcn.051a27a0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x515a1ee
push str._ERROR:
lea ecx, [esp + 0x18]
push 0xff
cmp ebp, edi
jne 0x515a142
push 0x125e
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 6
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__:_can_not_find_the_backup_result_file_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x43
jmp 0x515b256
cmp ebp, 0xfffffffe
jne 0x515a199
push 0x1264
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 7
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__:_more_than_one_backup_result_files_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
lea eax, [ebp + 0x40]
jmp 0x515b256
push 0x1269
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 8
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebp
push esi
push str.__d__:_ParseBackupResultFile___fail__ret_code__d_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x44
jmp 0x515b256
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.05194b30
add esp, 8
test al, al
jne 0x515a046
push 0x52c722a
push 1
push 0x1275
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 9
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_2:_Parse__meta_backup_res_.txt_pass_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov ecx, dword [ebx]
push 0
push 0
push ecx
push esi
call fcn.051a7bc0
mov ebx, eax
add esp, 0x10
lea ecx, [esp + 0x14]
test ebx, ebx
je 0x515a59c
push str._ERROR:
push 0xff
push 0x128a
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0xa
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x5299d48
push esi
push str.__d___s__:_Parse_INI_file_fail__please_check_why._err_code__d_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push str._ERROR:
lea ecx, [esp + 0x18]
push 0xff
cmp ebx, 0xfffffffe
jne 0x515a349
push 0x128d
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0xb
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [str.Target_NVRAM_Backup_and_Restore_List]
mov eax, dword [eax + 8]
push edx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4c
jmp 0x515b256
cmp ebx, 0xfffffffd
jne 0x515a3ae
push 0x1293
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0xc
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [str.Target_Backup_and_Restore_List]
mov eax, dword [eax + 8]
push ecx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4d
jmp 0x515b256
cmp ebx, 0xfffffffc
jne 0x515a413
push 0x1299
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0xd
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [str.Upload_PC_files_to_Target_List]
mov eax, dword [eax + 8]
push edx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4e
jmp 0x515b256
cmp ebx, 0xfffffff5
jne 0x515a478
push 0x129f
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0xe
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [str.Upload_PC_folder_to_Target_List]
mov eax, dword [eax + 8]
push ecx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x68
jmp 0x515b256
cmp ebx, 0xfffffff8
jne 0x515a4dd
push 0x12a5
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0xf
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [str.Backup_Restore_File_Prefix_MORE]
mov eax, dword [eax + 8]
push edx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x52
jmp 0x515b256
cmp ebx, 0xfffffff7
jne 0x515a542
push 0x12ab
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x10
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [str.Backup_Restore_File_Prefix_DELETE]
mov eax, dword [eax + 8]
push ecx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x53
jmp 0x515b256
push 0x12b3
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x11
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push ebx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_settings:_others_code__d_
mov eax, dword [eax + 8]
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x35
jmp 0x515b256
push 0x52c722a
push 1
push 0x12b9
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x12
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_3:_Parse_INI_settings_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0
push esi
call fcn.051a5450
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x515a649
push str._ERROR:
push 0xff
push 0x12ca
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x13
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push ebx
push 0x5299d48
push esi
push str.__d___s__:_Collect_entire_file_information_in_NVRAM_folder_fail._err_code__d_
jmp 0x515a575
mov ebp, dword [esp + 0x2c]
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
jne 0x515a046
push 0x52c722a
push 1
push 0x12d4
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x14
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_4:_Collect_All_NVRAM_Files_in_Target_NVRAM_folder_based_on_INI_settings_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0
push 0
push esi
call fcn.05198460
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x515a9bb
push str._ERROR:
push 0xff
push 0x12e2
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x15
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x5299d48
push esi
push str.__d___s__:_Check_INI_file_fail__please_check_why._err_code__d_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push str._ERROR:
lea ecx, [esp + 0x18]
push 0xff
cmp ebx, 0xfffffffe
jne 0x515a7a1
push 0x12e5
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x16
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [str.Target_NVRAM_Backup_and_Restore_List]
mov eax, dword [eax + 8]
push edx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4c
jmp 0x515b256
cmp ebx, 0xfffffffd
jne 0x515a806
push 0x12eb
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x17
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [str.Target_Backup_and_Restore_List]
mov eax, dword [eax + 8]
push ecx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4d
jmp 0x515b256
cmp ebx, 0xfffffffc
jne 0x515a86b
push 0x12f1
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x18
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [str.Upload_PC_files_to_Target_List]
mov eax, dword [eax + 8]
push edx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4e
jmp 0x515b256
cmp ebx, 0xfffffff5
jne 0x515a8d0
push 0x12f7
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x19
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [str.Upload_PC_folder_to_Target_List]
mov eax, dword [eax + 8]
push ecx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x68
jmp 0x515b256
cmp ebx, 0xfffffff8
jne 0x515a935
push 0x12fd
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x1a
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [str.Backup_Restore_File_Prefix_MORE]
mov eax, dword [eax + 8]
push edx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x52
jmp 0x515b256
cmp ebx, 0xfffffff7
jne 0x515a99a
push 0x1303
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x1b
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [str.Backup_Restore_File_Prefix_DELETE]
mov eax, dword [eax + 8]
push ecx
push 0x5299d48
push esi
push str.__d___s__:_Error_occurred_in_INI_section___s_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x53
jmp 0x515b256
push 0x130b
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x1c
jmp 0x515a55e
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
jne 0x515a046
push 0x52c722a
push 1
push 0x1316
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x1d
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_5:_Check_INI_settings_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push esi
call fcn.051a0450
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x515aa9e
push str._ERROR:
push 0xff
push 0x1320
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x1e
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x5299d48
push esi
push str.__d___s__:_Query_Target_Capability_fail._err_code__d_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4b
jmp 0x515b256
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
jne 0x515a046
push 0x52c722a
push 1
push 0x132a
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x1f
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_6:_Query_Target_Capability_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0
push esi
call fcn.0519cae0
mov ebx, eax
add esp, 8
lea ecx, [esp + 0x14]
test ebx, ebx
je 0x515ab61
push str._ERROR:
push 0xff
push 0x1334
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x20
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push ebx
push 0x5299d48
push esi
push str.__d___s__:_Check_INI_file_fail__please_check_why._err_code__d_
jmp 0x515a575
push 0x52c722a
push 1
push 0x1339
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x21
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_7:_Check_INI_with_Internal_Super_Set_and_Entire_Target_NVRAM_Files_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0
push esi
call fcn.0519aa60
mov ebx, eax
add esp, 8
lea ecx, [esp + 0x14]
test ebx, ebx
je 0x515ac30
push str._ERROR:
push 0xff
push 0x1346
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x22
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x5299d48
push esi
push str.__d___s__:_VerifyBackupNVRAMResultForRestorePhase_fail__ret_code__d_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x47
jmp 0x515b256
push 0x52c722a
push 1
push 0x134c
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x23
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Step_8:_Verfify_Backup_Result_about_NVRAM_files_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 1
push esi
call fcn.05197280
mov ebx, eax
add esp, 8
lea ecx, [esp + 0x14]
test ebx, ebx
jne 0x515acfe
push str._ERROR:
push 0xff
push 0x1353
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x47c], 0x24
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Error__it_is_impossible_that_no_files_need_to_be_backup_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 1
jmp 0x515b256
push 0x52c722a
push 1
push 0x1358
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x25
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x5299d48
push esi
push str.__d___s__:__d_files_need_to_be_restore_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x135b
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x47c], 0x26
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x5299d48
push esi
push str.__d___s__:_Step_9:_GetNumberOfNeedRestoreFiles__d__pass_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0x400
lea edx, [esp + 0x74]
push 0
push edx
call sub.MSVCR90.dll_memset
push esi
lea eax, [esp + 0x80]
push str._meta_restore_res__d.txt
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xd3d4
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esp + 0x47c], 0x27
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x515ae1c
lea eax, [esp + 0x3c]
push 0x529954c
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x515aea5
push str._ERROR:
push 0xff
push 0x1370
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x47c], 0x28
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_Error__can_not_open_restore_result.txt_for_writing_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x47c], 0x27
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp + 1]
jmp 0x515b256
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xd3d4
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x47c], 0x29
push 0x529080c
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x5299500
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x515aef5
lea eax, [esp + 0x58]
push ebp
push eax
call dword [sym.imp.MSVCR90.dll_fputs]
push ebp
call dword [sym.imp.MSVCR90.dll_fflush]
push 0x400
lea edx, [esp + 0x80]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0x18
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 0x334]
push eax
lea ecx, [esp + 0x74]
push 0x52987cc
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea edx, [esp + 0x7c]
push ebp
push edx
call dword [sym.imp.MSVCR90.dll_fputs]
push ebp
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 0x18
push 0x52c722a
push 1
push 0x1384
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], eax
mov byte [esp + 0x47c], 0x2a
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push esi
push str.__d__:__Start_to_Restore__Goal:__d_files__
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x47c], 0x29
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebp
push ecx
push edx
push ebx
push 1
push 0
push esi
call fcn.05156d70
mov ebx, eax
lea ecx, [esp + 0x14]
test ebx, ebx
je 0x515b080
push str._ERROR:
push 0xff
push 0x1389
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov dword [esp + 0x28], eax
mov byte [esp + 0x47c], 0x2b
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_META_RestoreCalibrationData_EX_Fail_
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x47c], 0x29
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push ebp
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
push 0x52c722a
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3b8
call dword [0x523a2ec]
mov byte [esp + 0x47c], 0x27
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, ebx
jmp 0x515b256
push 0x52c722a
push 1
push 0x138d
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x47c], 0x2c
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:___Step_Final_:_Display_Result_File___
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x47c], 0x29
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, dword [esp + 0x3c]
mov ebp, 0x10
cmp dword [esp + 0x50], ebp
jae 0x515b0e7
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.051951a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x515b168
push str._ERROR:
push 0xff
push 0x1393
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x28], eax
mov byte [esp + 0x47c], 0x2d
cmp dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x3c]
jae 0x515b12e
lea ebp, [esp + 0x3c]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x28]
push ebx
push ebp
push 0x5299d48
push esi
push str.__d___s__:_can_not_display_file_content_of__s__ret_code:_d_
push eax
push ecx
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x47c], 0x29
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x1398
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x47c], 0x2e
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5299d48
push esi
push str.__d___s__:_OK
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x47c], 0x29
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov byte [esp + 0x47c], 0x27
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x47c], edi
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
jmp 0x515b256
push str._ERROR:
push 0xff
push 0x1218
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x47c], 1
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 8]
push edx
push ecx
push ebp
push ebx
push 0x5299d48
push esi
push str.__d___s__:_invalid_arguments____req_0x_08X___p_restorestop_0x_08X___req__m_pBackupFolderPath_0x_08X__req__m_pIniFilePath_0x_08X_
push eax
push edi
call fcn.051ae2d0
add esp, 0x24
mov dword [esp + 0x47c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xa
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.0520b902
add esp, 0x46c
ret 0xc