Function at 0x401460
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x1c4
lea eax, [ebp - 0x40]
mov dword [esp + 8], 0x406065
mov edx, dword [ebp + 8]
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 - 0x180]
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
je 0x401667
lea eax, [ebp - 0x25]
mov ecx, eax
call fcn.0040180c
lea eax, [ebp - 0x198]
lea edx, [ebp - 0x25]
mov dword [esp + 4], edx
lea edx, [ebp - 0x180]
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], 0x406068
lea eax, [ebp - 0x198]
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 0x40152e
mov dword [esp + 4], 0x40606a
lea eax, [ebp - 0x198]
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 0x40152e
mov eax, 1
jmp 0x401533
mov eax, 0
test al, al
je 0x4015c0
lea eax, [ebp - 0x24]
mov dword [esp + 8], 0x40606d
mov edx, dword [ebp + 8]
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 - 0x1b0]
lea edx, [ebp - 0x198]
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__
mov eax, dword [ebp - 0x180]
and eax, 0x10
test eax, eax
je 0x40159b
lea eax, [ebp - 0x1b0]
mov dword [esp], eax
call sym.deleteFilesInDirectory_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
jmp 0x4015b3
lea eax, [ebp - 0x1b0]
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
lea eax, [ebp - 0x1b0]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x198]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x180]
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 0x4015f3
jmp 0x4014bc
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindClose_4
sub esp, 4
jmp 0x401667
nop
mov ebx, dword [ebp - 4]
leave
ret