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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441811
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
mov dword [ebp - 0x1c4], ecx
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x168]
call fcn.00410380
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x158]
push ecx
push 0x455804
mov edx, dword [ebp - 0x1c4]
add edx, 4
push edx
lea eax, [ebp - 0x1a4]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1cc]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40f74a
mov byte [ebp - 0x1a8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.004103c0
mov al, byte [ebp - 0x1a8]
jmp 0x40f8a4
push 0x24
push 0
lea edx, [ebp - 0x190]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x188]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x180]
push ecx
lea edx, [ebp - 0x17c]
push edx
push str._s__d__d__d__d__d__d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x20
mov ecx, dword [ebp - 0x17c]
sub ecx, 0x76c
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x180]
sub edx, 1
mov dword [ebp - 0x180], edx
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.MSVCRT.dll_mktime]
add esp, 4
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
sub ecx, dword [ebp - 0x14]
cmp ecx, 0x2a300
jle 0x40f824
lea edx, [ebp - 0x1bc]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b8]
push ecx
lea ecx, [ebp - 0x168]
call fcn.00410460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40f74a
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x168]
call fcn.00410420
mov dword [ebp - 0x10], eax
jmp 0x40f860
mov edx, dword [ebp - 0x10]
add edx, 0x10
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x168]
call fcn.00410440
cmp eax, dword [ebp - 0x10]
je 0x40f885
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
jmp 0x40f857
mov byte [ebp - 0x1c0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.004103c0
mov al, byte [ebp - 0x1c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret