Function at 0x514e1d0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x522ccfa
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3a8]
mov esi, dword [esp + 0x3ac]
push ebp
mov ecx, 0x53f4cc8
call fcn.050674e0
test al, al
jne 0x514e289
push str._ERROR:
push 0xff
push 0x13ba
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x3a0], 0
mov ecx, dword [0x56bc0f0]
push 0x52972ac
push ebp
push str.__d___s__:_invalid_handle_
push ecx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x3a0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xd
jmp 0x514e68d
test esi, esi
jne 0x514e2fa
push str._ERROR:
push 0xff
push 0x13c0
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x3a0], 1
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0
push 0x52972ac
push ebp
push str.__d___s__:_invalid_arguments____pBackupFolderPath_0x_08X__
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x3a0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xa
jmp 0x514e68d
push esi
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__::constructor_char_const__]
mov dword [esp + 0x3a0], 2
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, [esp + 0x3c]
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 + 0x44]
dec ecx
cmp eax, ecx
jne 0x514e36a
push ecx
push 0
lea eax, [esp + 0x1c]
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__::substr_unsigned_int__unsigned_int_]
mov byte [esp + 0x3a0], 3
push eax
lea ecx, [esp + 0x34]
call dword [0x523a2b0]
mov byte [esp + 0x3a0], 2
lea ecx, [esp + 0x14]
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, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edx, ecx
cmp edi, 0x10
jae 0x514e37d
lea edx, [esp + 0x34]
lea esi, [esp + 0x290]
mov al, byte [edx]
mov byte [esi], al
inc edx
inc esi
test al, al
jne 0x514e384
lea eax, [esp + 0x290]
dec eax
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x514e396
mov dx, word [0x529726c]
mov word [eax], dx
mov dl, byte [0x529726e]
mov byte [eax + 2], dl
cmp edi, 0x10
jae 0x514e3ba
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x514e3c1
lea edi, [esp + 0x18c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x514e3d3
mov ax, word [0x529230c]
push 0x52c722a
push 1
push 0x13d5
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
mov word [edi], ax
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x3a0], 4
cmp dword [esp + 0x48], 0x10
mov edi, dword [esp + 0x34]
jae 0x514e417
lea edi, [esp + 0x34]
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push 0x52972ac
push ebp
push str.__d___s:_Start_to_delete_all_in__s
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x3a0], 2
lea ecx, [esp + 0x14]
call fcn.051ae2c0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x514e4e0
push str._ERROR:
push 0xff
push 0x13db
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x3a0], 5
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x52972ac
push ebp
push str.__d___s:_Can_not_find_this_folder
push eax
push esi
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x3a0], 2
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov dword [esp + 0x3a0], 0xffffffff
lea ecx, [esp + 0x30]
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, 0x42
jmp 0x514e68d
xor eax, eax
jmp 0x514e4f0
mov cl, byte [esp + eax + 0x18c]
mov byte [esp + eax + 0x290], cl
inc eax
test cl, cl
jne 0x514e4f0
lea eax, [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x514e5f8
lea ecx, [esp + 0x78]
push ecx
call fcn.05194e80
add esp, 4
test al, al
jne 0x514e503
lea eax, [esp + 0x78]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x514e530
lea edi, [esp + 0x18c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x514e541
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x4c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, 0x10
je 0x514e5a8
lea edx, [esp + 0x18c]
push edx
push ebp
call sym.META_DLL.dll_META_DeleteAllFilesInBackupFolder_r
test eax, eax
jne 0x514e6b7
lea eax, [esp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
jmp 0x514e590
mov cl, byte [esp + eax + 0x290]
mov byte [esp + eax + 0x18c], cl
inc eax
test cl, cl
jne 0x514e590
jmp 0x514e503
test al, 1
je 0x514e5c2
lea ecx, [esp + 0x18c]
push 0x80
push ecx
call dword [sym.imp.MSVCR90.dll__chmod]
add esp, 8
lea edx, [esp + 0x18c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x514e71a
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x290]
mov byte [esp + eax + 0x18c], cl
inc eax
test cl, cl
jne 0x514e5e0
jmp 0x514e503
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x514e71a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x52c722a
push 1
push 0x141b
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x3a0], 7
cmp dword [esp + 0x48], 0x10
mov edi, dword [esp + 0x34]
jae 0x514e641
lea edi, [esp + 0x34]
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push 0x52972ac
push ebp
push str.__d___s:_delete_all_in__s_successfully_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x3a0], 2
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov dword [esp + 0x3a0], 0xffffffff
lea ecx, [esp + 0x30]
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 + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.0520b902
add esp, 0x390
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x52c722a
push 1
push 0x13f1
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x3a0], 6
cmp dword [esp + 0x48], 0x10
mov edi, dword [esp + 0x34]
jae 0x514e6f1
lea edi, [esp + 0x34]
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push 0x52972ac
push ebp
push str.__d___s:_delete_subfolder_fail_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
jmp 0x514e4b0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x514e4c1