Function at 0x401780
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x1e4
lea eax, [ebp - 0x41]
mov ecx, eax
call fcn.00402b74
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x41]
mov dword [esp + 4], edx
mov dword [esp], str.C:WindowsPrefetch
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x41]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x40]
mov dword [esp + 8], 0x407065
lea edx, [ebp - 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea eax, [ebp - 0x40]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov edx, eax
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._FindFirstFileA_8
sub esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x40]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401811
mov ebx, 0
jmp 0x401954
lea eax, [ebp - 0x25]
mov ecx, eax
call fcn.00402b74
lea eax, [ebp - 0x1b4]
lea edx, [ebp - 0x25]
mov dword [esp + 4], edx
lea edx, [ebp - 0x19c]
add edx, 0x2c
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x25]
mov ecx, eax
call sym.std::allocator_char_::allocator__
mov dword [esp + 4], str.ReadyBoot
lea eax, [ebp - 0x1b4]
mov dword [esp], eax
call method.bool_std::operator__char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
je 0x401876
mov eax, dword [ebp - 0x19c]
and eax, 0x10
test eax, eax
jne 0x401876
mov eax, 1
jmp 0x40187b
mov eax, 0
test al, al
je 0x4018e9
lea eax, [ebp - 0x24]
mov dword [esp + 8], 0x407068
lea edx, [ebp - 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea eax, [ebp - 0x1cc]
lea edx, [ebp - 0x1b4]
mov dword [esp + 8], edx
lea edx, [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea eax, [ebp - 0x24]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x1cc]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp], eax
call sym._DeleteFileA_4
sub esp, 4
test eax, eax
lea eax, [ebp - 0x1cc]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x1b4]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindNextFileA_8
sub esp, 8
test eax, eax
setne al
test al, al
je 0x40191c
jmp 0x401811
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindClose_4
sub esp, 4
mov dword [esp + 4], str.Prefetch_directory_cleared_successfully.
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov ebx, 1
lea eax, [ebp - 0x5c]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jmp 0x4019db
mov ebx, dword [ebp - 4]
leave
ret