Function at 0x51a41e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5232cfa
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov eax, dword [esp + 0x838]
push eax
lea ecx, [esp + 0x1c0]
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__]
xor ebp, ebp
mov dword [esp + 0x82c], ebp
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, [esp + 0x1c8]
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 [esp + 0x1d0]
dec ecx
cmp eax, ecx
je 0x51a4273
push 0x529230c
lea ecx, [esp + 0x1c0]
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 edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x1dc]
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 + 0x82c], 1
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, [esp + 0x1e4]
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 [esp + 0x1ec]
dec ecx
cmp eax, ecx
je 0x51a42ca
push 0x529230c
lea ecx, [esp + 0x1dc]
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 str._meta_restore_res_.txt
lea ecx, [esp + 0x1dc]
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 + 0x1f0], 0x10
mov eax, dword [esp + 0x1dc]
jae 0x51a42f4
lea eax, [esp + 0x1dc]
lea edx, [esp + 0x2e0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 0x52c722a
lea ecx, [esp + 0x1f8]
mov edi, eax
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 [esp + 0x82c], 2
mov ebx, dword [esp + 0x834]
cmp edi, 0xffffffff
je 0x51a4422
jmp 0x51a4338
mov ebx, dword [esp + 0x834]
test byte [esp + 0x2e0], 0x10
je 0x51a4364
lea eax, [esp + 0x2e0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x51a4338
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x51a4422
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0x1f8]
inc ebp
call dword [0x523a2ec]
push 0x52c722a
push 1
push 0xba5
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x82c], 3
cmp dword [esp + 0x20c], 0x10
mov ebx, dword [esp + 0x1f8]
jae 0x51a43b6
lea ebx, [esp + 0x1f8]
mov edx, dword [esp + 0x834]
push edx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x834]
mov eax, dword [eax + 8]
push ebx
push ebp
push ecx
push str.__d__:__d_find_result_file__s_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x82c], 2
lea ecx, [esp + 0x20]
call fcn.051ae2c0
lea edx, [esp + 0x2e0]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x51a4331
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x51a4331
mov ebx, dword [esp + 0x834]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
cmp ebp, edi
jne 0x51a4479
mov byte [esp + 0x82c], 1
lea ecx, [esp + 0x1f4]
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 [esp + 0x82c], 0
lea ecx, [esp + 0x1d8]
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 + 0x82c], 0xffffffff
lea ecx, [esp + 0x1bc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or eax, 0xffffffff
jmp 0x51a541e
cmp ebp, 1
jle 0x51a44ca
mov byte [esp + 0x82c], 1
lea ecx, [esp + 0x1f4]
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 [esp + 0x82c], 0
lea ecx, [esp + 0x1d8]
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 + 0x82c], 0xffffffff
lea ecx, [esp + 0x1bc]
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, 0xfffffffe
jmp 0x51a541e
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x214]
mov dword [esp + 0x18], edi
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 + 0x82c], 4
mov eax, dword [esp + 0x1f8]
mov ebp, 0x10
cmp dword [esp + 0x20c], ebp
jae 0x51a4507
lea eax, [esp + 0x1f8]
push eax
lea ecx, [esp + 0x214]
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 eax, dword [esp + 0x214]
cmp dword [esp + 0x228], ebp
jae 0x51a452c
lea eax, [esp + 0x214]
push 0x52ab1d4
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
cmp esi, edi
jne 0x51a4618
push str._ERROR:
push 0xff
push 0xbcd
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x82c], 5
mov esi, dword [esp + 0x214]
cmp dword [esp + 0x228], ebp
jae 0x51a4587
lea esi, [esp + 0x214]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push ebx
push str.__d__:_Error__can_not_open_backup_result__s_for_reading_
push eax
push edi
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x82c], 4
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov byte [esp + 0x82c], 2
lea ecx, [esp + 0x210]
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 [esp + 0x82c], 1
lea ecx, [esp + 0x1f4]
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 [esp + 0x82c], 0
lea ecx, [esp + 0x1d8]
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 + 0x82c], 0xffffffff
lea ecx, [esp + 0x1bc]
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, 0xfffffffd
jmp 0x51a541e
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd4b4
call fcn.0506f340
push 0x400
lea ecx, [esp + 0x424]
push edi
push ecx
mov dword [esp + 0x28], edi
call sub.MSVCR90.dll_memset
push esi
lea edx, [esp + 0x430]
push 0x400
push edx
call dword [sym.imp.MSVCR90.dll_fgets]
add esp, 0x18
test eax, eax
je 0x51a509b
jmp 0x51a4670
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x420]
inc esi
push eax
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x20], esi
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 [esp + 0x82c], 6
cmp esi, 1
jne 0x51a4812
push esi
push 0
push 0x529080c
lea ecx, [esp + 0x1ac]
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 ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, eax
mov eax, dword [ecx]
push 1
push eax
push 0x529080c
lea ecx, [esp + 0x1ac]
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]
test esi, esi
jl 0x51a527e
cmp esi, eax
jne 0x51a527e
push esi
push 0
lea edx, [esp + 0x234]
push edx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 7
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x2c8]
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 + 0x82c], 8
lea ecx, [esp + 0x2c4]
push ecx
lea edx, [esp + 0x230]
push edx
call dword [sym.imp.MSVCP90.dll_bool___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, 8
test al, al
jne 0x51a5146
lea eax, [esp + 0x22c]
push eax
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd4b4
call dword [0x523a2b0]
mov ecx, dword [esp + 0x1b4]
sub ecx, esi
dec ecx
push ecx
inc esi
push esi
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0xa
push eax
lea ecx, [esp + 0x230]
call dword [0x523a2b0]
mov byte [esp + 0x82c], 8
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 1
push 0
push 0x52acbf0
lea ecx, [esp + 0x238]
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]
push ebx
mov ecx, 0x53f4cc8
test eax, eax
jne 0x51a47dd
call fcn.05065960
mov byte [eax + 0xd4d0], 1
jmp 0x51a47e9
call fcn.05065960
mov byte [eax + 0xd4d0], 0
mov byte [esp + 0x82c], 7
lea ecx, [esp + 0x2c4]
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 [esp + 0x82c], 6
lea ecx, [esp + 0x22c]
jmp 0x51a4f8a
cmp esi, 2
jne 0x51a486f
push 1
push 0
push 0x529080c
lea ecx, [esp + 0x1ac]
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]
test eax, eax
je 0x51a5288
cmp dword [esp + 0x1b8], 0x10
mov eax, dword [esp + 0x1a4]
jae 0x51a484d
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
push ebx
mov ecx, 0x53f4cc8
mov esi, eax
call fcn.05065960
mov dword [eax + 0xd4e4], esi
jmp 0x51a4f90
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
cmp byte [eax + 0xd4d0], 1
jne 0x51a4a6b
cmp esi, 3
jne 0x51a4a6b
push ebx
mov ecx, 0x53f4cc8
xor ebp, ebp
xor esi, esi
call fcn.05065960
add eax, 0xd4d8
push 1
xor edi, edi
mov dword [eax], esi
push edi
mov dword [eax + 4], esi
push 0x529080c
lea ecx, [esp + 0x1ac]
mov word [eax + 8], si
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 esi, eax
test esi, esi
jl 0x51a52e8
cmp ebp, 0xa
jge 0x51a4962
mov eax, esi
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x51a4902
mov eax, dword [eax + 4]
jmp 0x51a4905
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov edx, dword [esp + 0x838]
add esp, 4
push edx
mov ecx, 0x53f4cc8
mov ebx, eax
call fcn.05065960
mov byte [eax + ebp + 0xd4d8], bl
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 1
lea edi, [esi + 1]
push edi
push 0x529080c
lea ecx, [esp + 0x1ac]
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 esi, eax
inc ebp
test esi, esi
jge 0x51a48ce
cmp ebp, 0xa
jne 0x51a52e8
mov eax, dword [esp + 0x1b4]
sub eax, edi
push eax
push edi
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0xd
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x51a499f
mov eax, dword [eax + 4]
jmp 0x51a49a2
add eax, 4
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
push eax
call esi
add esp, 4
cmp eax, 3
setl bl
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0xdc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x51a4a43
mov edx, dword [esp + 0x1b4]
sub edx, edi
push edx
push edi
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0xe
cmp dword [eax + 0x18], ebp
jb 0x51a49ff
mov eax, dword [eax + 4]
jmp 0x51a4a02
add eax, 4
push eax
call esi
mov ecx, dword [esp + 0x838]
add esp, 4
push ecx
mov ecx, 0x53f4cc8
mov esi, eax
call fcn.05065960
mov dword [eax + 0xd4d4], esi
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x14c]
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 ebx, dword [esp + 0x834]
jmp 0x51a4f90
mov edx, dword [esp + 0x834]
push edx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ebx, dword [esp + 0x834]
mov dword [eax + 0xd4d4], 0
jmp 0x51a4f90
push 1
push 0
push 0x529080c
lea ecx, [esp + 0x1ac]
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]
test eax, eax
jge 0x51a4b48
cmp dword [esp + 0x1b8], 0x10
mov eax, dword [esp + 0x1a4]
jae 0x51a4aa1
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov ebp, eax
push ebx
mov ecx, 0x53f4cc8
mov dword [esp + 0x18], ebp
call fcn.05065960
mov ecx, dword [eax + 0xd4f8]
sub ecx, dword [eax + 0xd4f4]
add eax, 0xd4e8
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ebp, esi
je 0x51a4f90
push str._ERROR:
push 0xff
push 0xc45
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x82c], 0xf
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebp
push esi
push ebx
push str.__d__:_Error__backup_history_is_not_complete__d___d_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov esi, 0xfffffff8
jmp 0x51a51fd
push 1
xor ebp, ebp
push ebp
push 0x529080c
lea ecx, [esp + 0x1ac]
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 esi, eax
push esi
push ebp
lea eax, [esp + 0x250]
push eax
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x10
cmp dword [esp + 0x260], 0x10
mov eax, dword [esp + 0x24c]
jae 0x51a4b98
lea eax, [esp + 0x24c]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
lea ecx, [esp + 0x264]
mov edi, eax
call fcn.050675d0
mov byte [esp + 0x82c], 0x11
cmp edi, 1
jne 0x51a4dd8
push edi
inc esi
push esi
push 0x529080c
lea ecx, [esp + 0x1ac]
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, eax
mov byte [esp + 0x2a0], 1
test edi, edi
jl 0x51a4dcb
jmp 0x51a4bf0
cmp ebp, 5
jge 0x51a4dcb
test ebp, ebp
jne 0x51a4c4a
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x12
cmp dword [eax + 0x18], 0x10
jb 0x51a4c28
mov eax, dword [eax + 4]
jmp 0x51a4c2b
add eax, 4
push eax
lea ecx, [esp + 0x268]
call dword [0x523a2ec]
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0x50]
jmp 0x51a4da2
cmp ebp, 1
jne 0x51a4c9c
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x13
cmp dword [eax + 0x18], 0x10
jb 0x51a4c7a
mov eax, dword [eax + 4]
jmp 0x51a4c7d
add eax, 4
push eax
lea ecx, [esp + 0x284]
call dword [0x523a2ec]
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0x6c]
jmp 0x51a4da2
cmp ebp, 2
jne 0x51a4cf7
mov edx, edi
sub edx, esi
push edx
push esi
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x14
cmp dword [eax + 0x18], 0x10
jb 0x51a4ccf
mov eax, dword [eax + 4]
jmp 0x51a4cd2
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esp + 0x29c], eax
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0x88]
jmp 0x51a4da2
cmp ebp, 3
jne 0x51a4d4f
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x15
cmp dword [eax + 0x18], 0x10
jb 0x51a4d2a
mov eax, dword [eax + 4]
jmp 0x51a4d2d
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov byte [esp + 0x2c0], al
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0xc0]
jmp 0x51a4da2
cmp ebp, 4
jne 0x51a4da8
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x16
cmp dword [eax + 0x18], 0x10
jb 0x51a4d82
mov eax, dword [eax + 4]
jmp 0x51a4d85
add eax, 4
push eax
lea ecx, [esp + 0x2a8]
call dword [0x523a2ec]
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 1
lea esi, [edi + 1]
push esi
push 0x529080c
lea ecx, [esp + 0x1ac]
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, eax
inc ebp
test edi, edi
jge 0x51a4bf0
lea edx, [esp + 0x264]
push edx
jmp 0x51a4f4f
cmp edi, 2
je 0x51a4deb
cmp edi, 3
je 0x51a4deb
cmp edi, 8
jne 0x51a52f2
push 1
inc esi
push esi
push 0x529080c
lea ecx, [esp + 0x1ac]
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, eax
mov byte [esp + 0x2a0], 0
test edi, edi
jl 0x51a4f47
cmp ebp, 3
jge 0x51a4f47
test ebp, ebp
jne 0x51a4e73
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x17
cmp dword [eax + 0x18], 0x10
jb 0x51a4e4e
mov eax, dword [eax + 4]
jmp 0x51a4e51
add eax, 4
push eax
lea ecx, [esp + 0x268]
call dword [0x523a2ec]
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0x130]
jmp 0x51a4f1e
cmp ebp, 1
jne 0x51a4ec8
mov edx, edi
sub edx, esi
push edx
push esi
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x51a4ea6
mov eax, dword [eax + 4]
jmp 0x51a4ea9
add eax, 4
push eax
lea ecx, [esp + 0x284]
call dword [0x523a2ec]
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0x168]
jmp 0x51a4f1e
cmp ebp, 2
jne 0x51a4f24
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x18c]
push edx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x19
cmp dword [eax + 0x18], 0x10
jb 0x51a4efb
mov eax, dword [eax + 4]
jmp 0x51a4efe
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esp + 0x29c], eax
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0x184]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 1
lea esi, [edi + 1]
push esi
push 0x529080c
lea ecx, [esp + 0x1ac]
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, eax
inc ebp
test edi, edi
jge 0x51a4e13
lea eax, [esp + 0x264]
push eax
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xd4e8
call fcn.051a1f20
mov byte [esp + 0x82c], 0x10
lea ecx, [esp + 0x264]
call fcn.05065ed0
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x248]
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 ecx, dword [esp + 0x1b4]
dec ecx
push ecx
push 0
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x1ac]
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 [esp + 0x82c], 0x1b
push eax
lea ecx, [esp + 0x1a4]
call dword [0x523a2b0]
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x114]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x52c722a
push 1
push 0xca0
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x82c], 0x1c
cmp dword [esp + 0x1b8], 0x10
mov edi, dword [esp + 0x1a4]
jae 0x51a5017
lea edi, [esp + 0x1a4]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 8]
push edi
push ecx
push ebx
push str.__2d_:_Line__2d_:__s
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x20]
call fcn.051ae2c0
push 0x400
lea edx, [esp + 0x424]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [esp + 0x82c], 4
lea ecx, [esp + 0x1a0]
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, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x424]
push 0x400
push ecx
call dword [sym.imp.MSVCR90.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x51a4670
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [eax + 0xd4f8]
sub ecx, dword [eax + 0xd4f4]
add eax, 0xd4e8
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [esp + 0x20]
cmp dword [esp + 0x14], esi
je 0x51a5376
push str._ERROR:
push 0xff
push 0xcac
push str..MetaUtilityMETA_misc_utils.cpp
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x82c], 0x1d
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push ecx
push esi
push ebx
push str.__d__:_Error__backup_history_is_not_complete__d___d_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x82c], 4
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov esi, 0xfffffff6
jmp 0x51a5220
push str._ERROR:
push 0xff
push 0xbed
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov ebp, eax
mov byte [esp + 0x82c], 9
cmp dword [esp + 0x1d4], 0x10
mov edi, dword [esp + 0x1c0]
jae 0x51a5185
lea edi, [esp + 0x1c0]
cmp dword [esp + 0x244], 0x10
mov esi, dword [esp + 0x230]
jae 0x51a519d
lea esi, [esp + 0x230]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push esi
push ebx
push str.__d__:_Error__Original_backup_folder__s__is_not_the_same_as_user_said___s___so_can_not_restore_it_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x82c], 8
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov esi, 0xfffffffc
mov byte [esp + 0x82c], 7
lea ecx, [esp + 0x2c4]
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 [esp + 0x82c], 6
lea ecx, [esp + 0x22c]
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 [esp + 0x82c], 4
lea ecx, [esp + 0x1a0]
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 edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov byte [esp + 0x82c], 2
lea ecx, [esp + 0x210]
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 [esp + 0x82c], 1
lea ecx, [esp + 0x1f4]
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 [esp + 0x82c], 0
lea ecx, [esp + 0x1d8]
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 + 0x82c], 0xffffffff
lea ecx, [esp + 0x1bc]
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, esi
jmp 0x51a541e
mov esi, 0xfffffffb
jmp 0x51a51fd
push str._ERROR:
push 0xff
push 0xc0f
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x82c], 0xb
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push str.__d__:_Error__can_not_find_com_port_settings
push eax
push esi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov esi, 0xfffffffa
jmp 0x51a51fd
mov esi, 0xfffffff9
jmp 0x51a51fd
push str._ERROR:
push 0xff
push 0xc98
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x82c], 0x1a
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push ebx
push str.__d__:_Error__Weird_File_Type____d_
push eax
push esi
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x82c], 0x11
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov esi, 0xfffffff7
mov byte [esp + 0x82c], 0x10
lea ecx, [esp + 0x264]
call fcn.05065ed0
mov byte [esp + 0x82c], 6
lea ecx, [esp + 0x248]
jmp 0x51a51f7
push 0x52c722a
push 1
push 0xcb1
push str..MetaUtilityMETA_misc_utils.cpp
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x82c], 0x1e
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push str.__d_:_OK_
push eax
push esi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x82c], 4
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov byte [esp + 0x82c], 2
lea ecx, [esp + 0x210]
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 [esp + 0x82c], 1
lea ecx, [esp + 0x1f4]
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 [esp + 0x82c], 0
lea ecx, [esp + 0x1d8]
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 + 0x82c], 0xffffffff
lea ecx, [esp + 0x1bc]
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
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0520b902
add esp, 0x81c
ret