Function at 0x5154710
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0xc90]
sub esp, 0xc90
push 0xffffffffffffffff
push 0x522d5c6
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x53f3c3c]
xor eax, ebp
mov dword [ebp + 0xc8c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xca4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xca8]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0xcac]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], str.META_BackupCalibrationData_EX
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
mov esi, dword [ebp + 0xc98]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd420
call fcn.051c0e10
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov edi, 0x10
lea eax, [ebp - 0x30]
push eax
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd420
call fcn.051c0e40
push eax
lea ecx, [ebp - 0x28]
call fcn.05067840
test al, al
je 0x5155077
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp byte [eax + 0x20], 0
je 0x5155064
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp byte [eax + 0x40], 1
je 0x5154806
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp byte [eax + 0x40], 2
jne 0x5154833
cmp byte [ebp + 0xc9c], 0
je 0x5154833
push 0x1388
push esi
call fcn.051546f0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x5154833
mov dword [ebp - 0x18], 1
push 1
push esi
call fcn.051953e0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.05150960
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x515484a
mov eax, dword [eax + 4]
jmp 0x515484d
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
push eax
push esi
call sym.META_DLL.dll_META_FAT_Open_r
mov dword [ebp - 0x18], eax
test eax, eax
je 0x51548f0
push str._ERROR:
push 0xff
push 0x7ca
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x9c]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp dword [eax + 0x18], edi
jb 0x51548a0
mov edi, dword [eax + 4]
jmp 0x51548a3
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx ecx, word [ebp - 0x14]
push ecx
push esi
push str.__d___token_d_:_open_file__s_to_read_fail
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.051ae2c0
mov dword [ebp - 0x18], 0x37
push 0x37
push esi
call fcn.051953e0
add esp, 8
mov edi, dword [ebp - 0x20]
jmp 0x5154fa1
lea ecx, [ebp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.05150960
push eax
lea ecx, [ebp + 0x70]
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 [ebp - 4], 3
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push 1
push eax
push 0x529230c
lea ecx, [ebp + 0x70]
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]
mov ecx, dword [ebp + 0x84]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea edx, [ebp]
push edx
lea ecx, [ebp + 0x70]
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__::substr_unsigned_int__unsigned_int_]
mov byte [ebp - 4], 4
push 1
push 0
push 0x529230c
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ebx, eax
lea eax, [ebx - 1]
push eax
push 0
lea ecx, [ebp - 0xfc]
push ecx
lea ecx, [ebp + 0x70]
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__::substr_unsigned_int__unsigned_int_]
mov byte [ebp - 4], 5
push eax
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xd3b8
push eax
lea edx, [ebp + 0x1c]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp + 0x34], edi
mov eax, dword [ebp + 0x20]
jae 0x51549b1
lea eax, [ebp + 0x20]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x51549f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x51549f1
mov dword [ebp - 0x18], 0x5b
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov dword [eax + 0xd530], edi
push 0x5b
push esi
call fcn.051953e0
add esp, 8
mov edi, 0x10
push 0x529230c
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp + 0x54]
call dword [0x523a2b0]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
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, [ebx + 1]
push 1
push eax
push 0x529230c
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x5154b42
mov edx, eax
sub edx, ebx
dec edx
push edx
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 0x70]
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__::substr_unsigned_int__unsigned_int_]
mov edi, eax
mov byte [ebp - 4], 9
push 0x529230c
lea ecx, [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x16c]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
mov byte [ebp - 4], 0xa
push edi
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0x18
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp + 0x54]
call dword [0x523a2b0]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x134]
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 byte [ebp - 4], 9
lea ecx, [ebp - 0x16c]
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 byte [ebp - 4], 7
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp + 0x6c], 0x10
mov eax, dword [ebp + 0x58]
jae 0x5154ae3
lea eax, [ebp + 0x58]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x5154b23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x5154b23
mov dword [ebp - 0x18], 0x5b
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov dword [eax + 0xd530], edi
push 0x5b
push esi
call fcn.051953e0
add esp, 8
push 1
mov ecx, dword [ebp - 0x1c]
inc ecx
push ecx
push 0x529230c
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edi, 0x10
jmp 0x5154a41
lea edx, [ebp]
push edx
push 0x529230c
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp + 0x54]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp + 0x6c], edi
mov eax, dword [ebp + 0x58]
jae 0x5154b84
lea eax, [ebp + 0x58]
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push eax
mov eax, dword [ebp - 0x34]
push eax
push esi
call sym.META_DLL.dll_META_FAT_Read_To_File_Ex_r
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x5154c26
inc dword [ebp - 0x20]
push 0x52c722a
push 1
push 0x7fd
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x74]
call fcn.051ae270
mov edi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp dword [eax + 0x18], 0x10
jb 0x5154bde
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
jmp 0x5154be4
add eax, 4
mov dword [ebp - 0x1c], eax
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ebx, dword [eax + 8]
lea ecx, [ebp - 0x28]
call fcn.05150960
mov edx, dword [eax + 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push str.download_file__d:__s__size:_d__successfully
push ebx
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.051ae2c0
jmp 0x5154d14
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x34]
push eax
push esi
call sym.META_DLL.dll_META_FAT_Close_r
mov dword [ebp - 0x18], eax
push str._ERROR:
push 0xff
test eax, eax
je 0x5154c9f
push 0x806
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x60]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp dword [eax + 0x18], edi
jb 0x5154c6f
mov edi, dword [eax + 4]
jmp 0x5154c72
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx ecx, word [ebp - 0x14]
push ecx
push esi
push str.__d___token_d_:_close_targets_reading_file_handle___s_fail__because_user_wants_to_stop_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
jmp 0x5154cfd
push 0x80b
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0xb0]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp dword [eax + 0x18], edi
jb 0x5154ccc
mov edi, dword [eax + 4]
jmp 0x5154ccf
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx edx, word [ebp - 0x14]
push edx
push esi
push str.__d___token_d_:_META_FAT_Read_To_File_Ex_r_fail.
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb0]
call fcn.051ae2c0
mov dword [ebp - 0x18], 0x37
push 0x37
push esi
call fcn.051953e0
add esp, 8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
push esi
call sym.META_DLL.dll_META_FAT_Close_r
mov dword [ebp - 0x18], eax
test eax, eax
je 0x5154dad
push str._ERROR:
push 0xff
push 0x815
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0xd8]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp dword [eax + 0x18], 0x10
jb 0x5154d65
mov edi, dword [eax + 4]
jmp 0x5154d68
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx edx, word [ebp - 0x14]
push edx
push esi
push str.__d___token_d_:_close_targets_reading_file_handle___s_fail
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd8]
call fcn.051ae2c0
mov dword [ebp - 0x18], 0x37
push 0x37
push esi
call fcn.051953e0
add esp, 8
push 0x52c722a
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x11
push 0xc00
push 0
lea eax, [ebp + 0x8c]
push eax
call sub.MSVCR90.dll_memset
push 0x529080c
push 1
push str._d_s
lea ecx, [ebp + 0x8c]
push ecx
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
call ebx
add esp, 0x1c
lea edx, [ebp + 0x8c]
push edx
lea ecx, [ebp + 0x38]
call dword [0x523a2ec]
lea ecx, [ebp - 0x28]
call fcn.05150960
push eax
lea ecx, [ebp + 0x38]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0xc00
push 0
lea eax, [ebp + 0x8c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edi, 0x10
cmp dword [ebp + 0x6c], edi
jb 0x5154e3a
mov ecx, dword [ebp + 0x58]
mov dword [ebp - 0x1c], ecx
jmp 0x5154e40
lea edx, [ebp + 0x58]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x28]
call fcn.05150960
add eax, 0x24
cmp dword [eax + 0x18], edi
jb 0x5154e55
mov edi, dword [eax + 4]
jmp 0x5154e58
lea edi, [eax + 4]
push 0x529080c
mov eax, dword [ebp - 0x1c]
push eax
push 0x529080c
lea ecx, [ebp - 0x28]
call fcn.05150960
movzx ecx, byte [eax + 0x40]
push ecx
push 0x529080c
push edi
push 0x529080c
lea ecx, [ebp - 0x28]
call fcn.05150960
mov edx, dword [eax + 0x1c]
push edx
push 0x529080c
push str._s_d_s_s_s_d_s_s_s_n
lea eax, [ebp + 0x8c]
push eax
call ebx
add esp, 0x2c
lea ecx, [ebp + 0x8c]
push ecx
lea ecx, [ebp + 0x38]
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 [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x5154ebc
lea eax, [ebp + 0x3c]
mov edi, dword [ebp - 0x3c]
push edi
push eax
call dword [sym.imp.MSVCR90.dll_fputs]
add esp, 8
test eax, eax
jge 0x5154ee0
mov dword [ebp - 0x18], 0x38
push 0x38
push esi
call fcn.051953e0
add esp, 8
push edi
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
push 0x52c722a
push 1
push 0x82f
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x88]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x12
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov edi, dword [ebp - 0x20]
push edi
mov edx, dword [ebp + 0xca0]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
push esi
push str.__d___s:_call_the_progress_callback_in_backup_phase__d___d_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x88]
call fcn.051ae2c0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 8]
test eax, eax
je 0x5154f60
mov edx, dword [ecx + 0xc]
push edx
push edi
mov ecx, dword [ebp + 0xca0]
push ecx
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp + 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 byte [ebp - 4], 4
lea ecx, [ebp + 0x1c]
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 byte [ebp - 4], 3
lea ecx, [ebp]
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 byte [ebp - 4], 2
lea ecx, [ebp + 0x70]
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 byte [ebp - 4], 0
lea ecx, [ebp + 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_]
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp byte [eax + 0x40], 1
je 0x5154fbd
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp byte [eax + 0x40], 2
jne 0x5154fea
cmp byte [ebp + 0xc9c], 0
je 0x5154fea
push 0x1388
push esi
call fcn.051546d0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x5154fea
mov dword [ebp - 0x18], 1
push 1
push esi
call fcn.051953e0
add esp, 8
mov edx, dword [ebp - 0x44]
push edx
push esi
call fcn.05194b30
add esp, 8
test al, al
je 0x5155064
mov dword [ebp - 0x18], 0x3b
push str._ERROR:
push 0xff
push 0x847
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0xc4]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x13
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
mov ecx, dword [ebp - 0x38]
push ecx
push esi
push str.__d___s__:_already_backup__d_files__but_user_ask_to_stop_the_procedure_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.051ae2c0
push 0x3b
push esi
call fcn.051953e0
add esp, 8
push 0
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.05150910
jmp 0x51547a6
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x4c]
push eax
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3f0
call fcn.051c0e10
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x4c]
push eax
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd3f0
call fcn.051c0e40
push eax
lea ecx, [ebp - 0x30]
call fcn.05067840
test al, al
je 0x515576f
lea ecx, [ebp - 0x30]
call fcn.05150960
cmp byte [eax], 2
jne 0x5155759
lea ecx, [ebp - 0x30]
call fcn.05150960
add eax, 4
cmp dword [eax + 0x18], edi
jb 0x51550f8
mov eax, dword [eax + 4]
jmp 0x51550fb
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
push eax
push esi
call sym.META_DLL.dll_META_FAT_Open_r
mov dword [ebp - 0x18], eax
test eax, eax
je 0x515519e
push str._ERROR:
push 0xff
push 0x857
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0xc4]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x30]
call fcn.05150960
add eax, 4
cmp dword [eax + 0x18], edi
jb 0x5155151
mov edi, dword [eax + 4]
jmp 0x5155154
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx ecx, word [ebp - 0x14]
push ecx
push esi
push str.__d___token_d_:_Unit_Test:_open_file__s_to_read_fail
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.051ae2c0
mov dword [ebp - 0x18], 0x37
push 0x37
push esi
call fcn.051953e0
add esp, 8
mov edi, 0x10
lea ecx, [ebp - 0x30]
call fcn.05150960
add eax, 4
cmp dword [eax + 0x18], edi
jb 0x51551b3
mov ebx, dword [eax + 4]
jmp 0x51551b6
lea ebx, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xd3b8
cmp dword [eax + 0x18], edi
jb 0x51551d0
mov eax, dword [eax + 4]
jmp 0x51551d3
add eax, 4
push ebx
push eax
push esi
lea edx, [ebp + 0x70]
push edx
call fcn.05195070
add esp, 0x10
mov byte [ebp - 4], 0x15
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 eax, dword [eax]
push 1
push eax
push 0x529230c
lea ecx, [ebp + 0x70]
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 eax
push 0
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp + 0x70]
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__::substr_unsigned_int__unsigned_int_]
mov byte [ebp - 4], 0x16
cmp dword [ebp + 0x34], edi
mov eax, dword [ebp + 0x20]
jae 0x515521d
lea eax, [ebp + 0x20]
push eax
call fcn.051af4b0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x51552b1
push str._ERROR:
push 0xff
push 0x862
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x88]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x17
cmp dword [ebp + 0x88], edi
mov edi, dword [ebp + 0x74]
jae 0x5155264
lea edi, [ebp + 0x74]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
push edx
push edi
mov ecx, dword [ebp - 0x38]
push ecx
push esi
push str.__d___s__:CreateFullDirectory___s__fail__ret_code__d_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x88]
call fcn.051ae2c0
mov dword [ebp - 0x18], 0x37
push 0x37
push esi
call fcn.051953e0
add esp, 8
mov edi, 0x10
cmp dword [ebp + 0x88], edi
mov eax, dword [ebp + 0x74]
jae 0x51552bf
lea eax, [ebp + 0x74]
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push eax
mov edx, dword [ebp - 0x34]
push edx
push esi
call sym.META_DLL.dll_META_FAT_Read_To_File_Ex_r
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x5155367
inc dword [ebp - 0x20]
push 0x52c722a
push 1
push 0x86c
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0xd8]
call fcn.051ae270
mov edi, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x30]
call fcn.05150960
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x515531c
mov eax, dword [eax + 4]
jmp 0x515531f
add eax, 4
mov dword [ebp - 0x1c], eax
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ebx, dword [eax + 8]
lea ecx, [ebp - 0x30]
call fcn.05150960
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push str.download_file__d:__s__size:_d__successfully
push ebx
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd8]
call fcn.051ae2c0
jmp 0x5155455
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x34]
push edx
push esi
call sym.META_DLL.dll_META_FAT_Close_r
mov dword [ebp - 0x18], eax
push str._ERROR:
push 0xff
test eax, eax
je 0x51553e6
push 0x876
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0xb0]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp dword [eax + 0x18], edi
jb 0x51553b3
mov edi, dword [eax + 4]
jmp 0x51553b6
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx ecx, word [ebp - 0x14]
push ecx
push esi
push str.__d___token_d_:_close_targets_reading_file_handle___s_fail__because_user_wants_to_stop_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xb0]
jmp 0x515543e
push 0x87b
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x60]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x28]
call fcn.05150960
cmp dword [eax + 0x18], edi
jb 0x5155410
mov edi, dword [eax + 4]
jmp 0x5155413
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx edx, word [ebp - 0x14]
push edx
push esi
push str.__d___token_d_:_META_FAT_Read_To_File_Ex_r_fail.
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x60]
call fcn.051ae2c0
mov dword [ebp - 0x18], 0x37
push 0x37
push esi
call fcn.051953e0
add esp, 8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
push esi
call sym.META_DLL.dll_META_FAT_Close_r
mov dword [ebp - 0x18], eax
test eax, eax
je 0x51554e7
push str._ERROR:
push 0xff
push 0x885
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x74]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x30]
call fcn.05150960
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x51554a2
mov edi, dword [eax + 4]
jmp 0x51554a5
lea edi, [eax + 4]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
movsx edx, word [ebp - 0x14]
push edx
push esi
push str.__d___token_d_:_close_targets_reading_file_handle___s_fail
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.051ae2c0
mov dword [ebp - 0x18], 0x37
push 0x37
push esi
call fcn.051953e0
add esp, 8
push 0x52c722a
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x1c
push 0xc00
push 0
lea eax, [ebp + 0x8c]
push eax
call sub.MSVCR90.dll_memset
push 0x529080c
push 2
push str._d_s
lea ecx, [ebp + 0x8c]
push ecx
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
call edi
add esp, 0x1c
lea edx, [ebp + 0x8c]
push edx
lea ecx, [ebp + 0x38]
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__]
lea ecx, [ebp - 0x30]
call fcn.05150960
add eax, 4
push eax
lea ecx, [ebp + 0x38]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0xc00
push 0
lea eax, [ebp + 0x8c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ebx, 0x10
cmp dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x74]
jae 0x5155578
lea eax, [ebp + 0x74]
push eax
push 0x529080c
lea ecx, [ebp - 0x30]
call fcn.05150960
mov ecx, dword [eax + 0x3c]
push ecx
push 0x529080c
push str._s_d_s_s
lea edx, [ebp + 0x8c]
push edx
call edi
add esp, 0x18
lea eax, [ebp + 0x8c]
push eax
lea ecx, [ebp + 0x38]
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 0xc00
push 0
lea ecx, [ebp + 0x8c]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.05150960
add eax, 0x20
cmp dword [eax + 0x18], ebx
jb 0x51555db
mov eax, dword [eax + 4]
jmp 0x51555de
add eax, 4
push 0x529080c
push eax
push 0x529080c
push str._s_s_s_n
lea edx, [ebp + 0x8c]
push edx
call edi
add esp, 0x14
lea eax, [ebp + 0x8c]
push eax
lea ecx, [ebp + 0x38]
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 [ebp + 0x50], ebx
mov eax, dword [ebp + 0x3c]
jae 0x5155615
lea eax, [ebp + 0x3c]
mov edi, dword [ebp - 0x3c]
push edi
push eax
call dword [sym.imp.MSVCR90.dll_fputs]
add esp, 8
test eax, eax
jge 0x5155639
mov dword [ebp - 0x18], 0x38
push 0x38
push esi
call fcn.051953e0
add esp, 8
push edi
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
push 0x52c722a
push 1
push 0x8a0
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp - 0x9c]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x1d
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov edi, dword [ebp - 0x20]
push edi
mov ecx, dword [ebp + 0xca0]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push esi
push str.__d___s:_call_the_progress_callback_in_backup_phase__d___d_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x9c]
call fcn.051ae2c0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 8]
test eax, eax
je 0x51556b9
mov ecx, dword [ecx + 0xc]
push ecx
push edi
mov edx, dword [ebp + 0xca0]
push edx
call eax
mov eax, dword [ebp - 0x44]
push eax
push esi
call fcn.05194b30
add esp, 8
test al, al
je 0x515572d
mov dword [ebp - 0x18], 0x3b
push str._ERROR:
push 0xff
push 0x8ab
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp + 0x5c]
call fcn.051ae270
mov ebx, eax
mov byte [ebp - 4], 0x1e
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
mov ecx, dword [ebp - 0x38]
push ecx
push esi
push str.__d___s__:_already_backup__d_files__but_user_ask_to_stop_the_procedure_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0x1c
lea ecx, [ebp + 0x5c]
call fcn.051ae2c0
push 0x3b
push esi
call fcn.051953e0
add esp, 8
mov byte [ebp - 4], 0x16
lea ecx, [ebp + 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 byte [ebp - 4], 0x15
lea ecx, [ebp + 0x1c]
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 byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
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 edi, 0x10
push 0
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x30]
call fcn.051509a0
jmp 0x51550a5
push 0xc00
push 0
lea eax, [ebp + 0x8c]
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [ebp - 0x20]
push ecx
push 0x52987cc
lea edx, [ebp + 0x8c]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edi, dword [ebp - 0x3c]
push edi
lea eax, [ebp + 0x8c]
push eax
call dword [sym.imp.MSVCR90.dll_fputs]
push edi
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 0x24
test edi, edi
je 0x51557c1
push edi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov dword [ebp - 0x3c], 0
push 0x52c722a
push 1
push 0x8bf
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [ebp + 0x5c]
call fcn.051ae270
mov edi, eax
mov byte [ebp - 4], 0x1f
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 0xca0]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
push esi
push str.__d___s__:_Backup__d_Files_succcessfully__Goal:_d__
push eax
push edi
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x5c]
call fcn.051ae2c0
xor eax, eax
jmp 0x51558e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8c]
xor ecx, ebp
call fcn.0520b902
add ebp, 0xc90
mov esp, ebp
pop ebp
ret 0x18