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

Disassembly:
push 0xffffffffffffffff
push 0x100980c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, dword [esp + 0x194]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000bdc9
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18c], ebx
lea esi, [eax - 1]
cmp eax, esi
ja 0x1000bde1
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x18]
cmp byte [eax + esi], 0x5c
je 0x1000be03
push 0x5c
push 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.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__::append_unsigned_int__char_]
lea ecx, [esp + 0x14]
push 0x100fa620
lea edx, [esp + 0x28]
push ecx
push edx
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__
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x1000be26
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 1
lea ecx, [esp + 0x28]
mov esi, eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp esi, 0xffffffff
jne 0x1000be5f
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x190], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor al, al
jmp 0x1000bfc4
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test byte [esp + 0x44], 0x10
je 0x1000bf1e
lea edx, [esp + 0x70]
push 0x100fa66c
push edx
call edi
add esp, 8
test eax, eax
je 0x1000bf75
lea eax, [esp + 0x70]
push 0x100fa668
push eax
call edi
add esp, 8
test eax, eax
je 0x1000bf75
lea ecx, [esp + 0x70]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x38]
push edx
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 eax, dword [eax + 4]
mov byte [esp + 0x18c], 1
cmp eax, ebx
jne 0x1000becf
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call fcn.1000bd50
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x18c], bl
je 0x1000bf10
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1000bf07
cmp al, 0xff
je 0x1000bf07
dec al
mov byte [ecx], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jmp 0x1000bf75
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jmp 0x1000bf75
lea ecx, [esp + 0x70]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x28]
push edx
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__
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x1000bf41
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call ebp
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1000bf69
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1000bf60
cmp al, 0xff
je 0x1000bf60
dec al
mov byte [ecx], al
jmp 0x1000bf69
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x44]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000be6b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x194]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x1000bfc2
mov al, byte [ecx - 1]
cmp al, bl
je 0x1000bfb8
cmp al, 0xff
je 0x1000bfb8
dec al
mov byte [ecx - 1], al
jmp 0x1000bfc2
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x180
ret