Function at 0x51589e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x522db80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x1c4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x1dc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1ec]
mov ebx, dword [esp + 0x1f0]
mov ebp, dword [esp + 0x1f4]
push esi
mov ecx, 0x53f4cc8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
call fcn.050674e0
test al, al
jne 0x5158aa8
push str._ERROR:
push 0xff
push 0x107f
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x1e4], 0
mov ecx, dword [0x56bc0f0]
push 0x52998f4
push esi
push str.__d___s__:_invalid_handle_
push ecx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xd
jmp 0x5159cec
test ebp, ebp
je 0x5159c7d
test ebx, ebx
je 0x5159c7d
mov eax, dword [ebx + 4]
test eax, eax
je 0x5159c7d
cmp byte [eax], 0
je 0x5159c7d
mov eax, dword [ebx]
test eax, eax
je 0x5159c7d
cmp byte [eax], 0
je 0x5159c7d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x5158b3f
push str._ERROR:
push 0xff
push 0x1091
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x1e4], 2
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [ebx]
mov eax, dword [eax + 8]
push edx
push 0x52998f4
push esi
push str.__d___s__:_Ini_File___s__does_not_exist
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
jmp 0x5159cd3
mov eax, dword [ebx + 4]
push eax
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3b8
call dword [0x523a2ec]
mov ecx, 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 [ecx]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push 1
add eax, 0xd3b8
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, 0xd3b8
mov eax, dword [eax + 0x14]
dec eax
cmp edi, eax
je 0x5158bbc
push 0x529230c
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3b8
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__]
mov edx, dword [ebx + 4]
push edx
push esi
call fcn.05194ec0
add esp, 8
mov ebp, eax
push 0x52c722a
test ebp, ebp
je 0x5158c61
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3b8
call dword [0x523a2ec]
push str._ERROR:
push 0xff
push 0x10a5
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x1e4], 3
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 8]
push ebp
push ecx
push 0x52998f4
push esi
push str.__d___s__:_The_folder_path__s_is_not_an_empty_folder__ret_code__d_
push eax
push edi
call fcn.051ae2d0
add esp, 0x1c
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x3d
jmp 0x5159cec
mov ebp, dword [esp + 0x30]
push 1
push 0x10b1
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
mov dword [ebp], 0
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x1e4], 4
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
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 + 0x1e4], 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 0x5158ce8
lea edx, [esp + 0x30]
push edx
push 0x1388
push esi
call sym.META_DLL.dll_META_Util_QueryTargetLimitedStateIndicator_r
lea eax, [esp + 0x34]
push eax
push 0x1388
push esi
call sym.META_DLL.dll_META_MISC_GetIMEILocation_r
test eax, eax
jne 0x5158d63
push str._ERROR:
push 0xff
push 0x10c7
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 5
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4a
jmp 0x5159cec
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
je 0x5158d7b
mov eax, 0x3b
jmp 0x5159cec
push 0x52c722a
push 1
push 0x10d1
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 6
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
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 + 0x1e4], 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 0x5159113
push str._ERROR:
push 0xff
push 0x10e8
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 7
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push str._ERROR:
lea ecx, [esp + 0x18]
push 0xff
cmp ebx, 0xfffffffe
jne 0x5158ec0
push 0x10eb
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 8
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4c
jmp 0x5159cec
cmp ebx, 0xfffffffd
jne 0x5158f25
push 0x10f1
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 9
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4d
jmp 0x5159cec
cmp ebx, 0xfffffffc
jne 0x5158f8a
push 0x10f7
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0xa
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4e
jmp 0x5159cec
cmp ebx, 0xfffffff5
jne 0x5158fef
push 0x10fd
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0xb
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x68
jmp 0x5159cec
cmp ebx, 0xfffffff8
jne 0x5159054
push 0x1103
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0xc
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x52
jmp 0x5159cec
cmp ebx, 0xfffffff7
jne 0x51590b9
push 0x1109
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0xd
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x53
jmp 0x5159cec
push 0x1111
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0xe
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push ebx
push 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x35
jmp 0x5159cec
push 0x52c722a
push 1
push 0x1117
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0xf
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_Step_2:_Parse_INI_settings_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 1
push esi
call fcn.051a5450
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x51591c0
push str._ERROR:
push 0xff
push 0x1123
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0x10
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push ebx
push 0x52998f4
push esi
push str.__d___s__:_Collect_entire_file_information_in_NVRAM_folder_fail._err_code__d_
jmp 0x51590ec
mov ebp, dword [esp + 0x2c]
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
jne 0x5158d71
push 0x52c722a
push 1
push 0x112e
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x11
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_Step_3:_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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 1
push 0
push esi
call fcn.05198460
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5159532
push str._ERROR:
push 0xff
push 0x113d
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0x12
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push str._ERROR:
lea ecx, [esp + 0x18]
push 0xff
cmp ebx, 0xfffffffe
jne 0x5159318
push 0x1140
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x13
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4c
jmp 0x5159cec
cmp ebx, 0xfffffffd
jne 0x515937d
push 0x1146
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x14
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4d
jmp 0x5159cec
cmp ebx, 0xfffffffc
jne 0x51593e2
push 0x114c
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x15
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4e
jmp 0x5159cec
cmp ebx, 0xfffffff5
jne 0x5159447
push 0x1152
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x16
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x68
jmp 0x5159cec
cmp ebx, 0xfffffff8
jne 0x51594ac
push 0x1158
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x17
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x52
jmp 0x5159cec
cmp ebx, 0xfffffff7
jne 0x5159511
push 0x115e
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x18
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 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x53
jmp 0x5159cec
push 0x1166
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0x19
jmp 0x51590d5
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
jne 0x5158d71
push 0x52c722a
push 1
push 0x1172
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x1a
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_Step_4:_Check_INI_settings_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push esi
call fcn.051a0450
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5159615
push str._ERROR:
push 0xff
push 0x117d
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0x1b
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4b
jmp 0x5159cec
push ebp
push esi
call fcn.05194b30
add esp, 8
test al, al
jne 0x5158d71
push 0x52c722a
push 1
push 0x1187
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x1c
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_Step_5:_Query_Target_Capability_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 1
push esi
call fcn.0519cae0
mov ebx, eax
add esp, 8
lea ecx, [esp + 0x14]
test ebx, ebx
je 0x51596d8
push str._ERROR:
push 0xff
push 0x1190
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0x1d
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push ebx
push 0x52998f4
push esi
push str.__d___s__:_Check_INI_file_fail__please_check_why._err_code__d_
jmp 0x51590ec
push 0x52c722a
push 1
push 0x1197
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x1e
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_Step_6:_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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0
push esi
call fcn.05196fb0
mov ebx, eax
add esp, 8
lea ecx, [esp + 0x14]
test ebx, ebx
jg 0x51597a6
push str._ERROR:
push 0xff
push 0x11a1
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1e4], 0x1f
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
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 + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 1
jmp 0x5159cec
push 0x52c722a
push 1
push 0x11a6
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0x20
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push 0x52998f4
push esi
push str.__d___s__:__d_files_need_to_be_backup_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x11aa
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x1e4], 0x21
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_Step_7:_Calculate_Number_of_Need_Backup_Files_pass_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x1e4], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push esi
lea edx, [esp + 0x74]
push str._meta_backup_res__d.txt
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xd3b8
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 + 0x1e4], 0x22
lea eax, [esp + 0x70]
push eax
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 0x51598af
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 0x5159938
push str._ERROR:
push 0xff
push 0x11ba
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x1e4], 0x23
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_Error__can_not_open__meta_backup_result.txt_for_writing_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x1e4], 0x22
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov dword [esp + 0x1e4], 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 + 0x38]
jmp 0x5159cec
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xd3b8
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 + 0x1e4], 0x24
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 0x5159988
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 0x168
lea ecx, [esp + 0x80]
push 0
push ecx
call sub.MSVCR90.dll_memset
add esp, 0x18
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [eax + 0x334]
push edx
lea eax, [esp + 0x74]
push 0x52987cc
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea ecx, [esp + 0x7c]
push ebp
push ecx
call dword [sym.imp.MSVCR90.dll_fputs]
push ebp
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 0x18
push 0x52c722a
push 1
push 0x11d8
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], eax
mov byte [esp + 0x1e4], 0x25
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x30]
push ebx
push 0x52998f4
push esi
push str.__d___s:___Start_to_Download__Goal:__d_files___
push eax
push edx
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x1e4], 0x24
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebp
push eax
push ecx
push ebx
push 0
push esi
call fcn.05154710
mov ebx, eax
lea ecx, [esp + 0x14]
test ebx, ebx
je 0x5159b16
push str._ERROR:
push 0xff
push 0x11de
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov dword [esp + 0x28], eax
mov byte [esp + 0x1e4], 0x26
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x28]
push 0x52998f4
push esi
push str.__d___s__:_META_BackupCalibrationData_EX_Fail_
push eax
push edx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x1e4], 0x24
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 + 0x1e4], 0x22
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 + 0x1e4], 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 0x5159cec
push 0x52c722a
push 1
push 0x11e2
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x1e4], 0x27
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:___Step_Final_:_Display_Result_File___
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x1e4], 0x24
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, dword [esp + 0x3c]
mov ebp, 0x10
cmp dword [esp + 0x50], ebp
jae 0x5159b7d
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.051951a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x5159bfe
push str._ERROR:
push 0xff
push 0x11e8
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x28], eax
mov byte [esp + 0x1e4], 0x28
cmp dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x3c]
jae 0x5159bc4
lea ebp, [esp + 0x3c]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push ebp
push 0x52998f4
push esi
push str.__d___s__:_can_not_display_file_content_of__s__ret_code:_d_
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x1e4], 0x24
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x11ec
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x1e4], 0x29
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52998f4
push esi
push str.__d___s__:_OK
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x1e4], 0x24
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov byte [esp + 0x1e4], 0x22
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 + 0x1e4], 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 0x5159cec
push str._ERROR:
push 0xff
push 0x1087
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x1e4], 1
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [eax + 8]
push ecx
push edx
push ebp
push ebx
push 0x52998f4
push esi
push str.__d___s__:_invalid_arguments____req_0x_08X___p_backupstop_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 + 0x1e4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xa
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c4]
xor ecx, esp
call fcn.0520b902
add esp, 0x1d4
ret 0xc