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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x25c], ebx
cmp edi, ebx
jne 0x44d6fa
or eax, 0xffffffff
jmp 0x44d8ef
push edi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
test eax, eax
jne 0x44d70e
push 0xfffffffffffffffe
pop eax
jmp 0x44d8ef
cmp esi, ebx
jne 0x44d75c
xor ecx, ecx
push 2
pop edx
mov eax, pe_nt_image_headers32
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc100u.dll_new
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x44d741
mov dword [ebp - 0x25c], 0xfffffffd
jmp 0x44d8e9
push 0x200
push ebx
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x264], 1
jmp 0x44d762
mov dword [ebp - 0x264], ebx
push edi
mov edi, dword [sym.imp.MSVCR100.dll_wcscpy]
push esi
call edi
push esi
call fcn.0044cda5
mov ebx, dword [sym.imp.MSVCR100.dll_wcscat]
push 0x460f70
push esi
call ebx
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
jne 0x44d7ab
mov dword [ebp - 0x25c], 0xfffffff9
jmp 0x44d8d5
lea eax, [ebp - 0x228]
push 0x460ed8
push eax
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
je 0x44d886
lea eax, [ebp - 0x228]
push 0x461018
push eax
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
je 0x44d886
test byte [ebp - 0x254], 0x10
je 0x44d84d
cmp dword [ebp + 0xc], 0
je 0x44d886
push dword [ebp - 0x260]
push esi
call edi
push esi
call fcn.0044cda5
lea eax, [ebp - 0x228]
push eax
push esi
call ebx
push 0
push 0
push dword [ebp - 0x268]
push dword [ebp + 0xc]
push esi
call fcn.0044d6bb
add esp, 0x28
mov dword [ebp - 0x25c], eax
test eax, eax
je 0x44d886
cmp dword [ebp - 0x258], 0
je 0x44d8d5
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44d8d5
push dword [ebp - 0x260]
push esi
call edi
push esi
call fcn.0044cda5
lea eax, [ebp - 0x228]
push eax
push esi
call ebx
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44d886
push esi
call fcn.0044d0cc
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44d8fe
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44d7ab
cmp dword [ebp - 0x258], eax
je 0x44d8b5
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44d8d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x25c], 0xfffffff7
test esi, esi
je 0x44d8e9
cmp dword [ebp - 0x264], 0
je 0x44d8e9
push esi
call sub.mfc100u.dll_delete
pop ecx
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004534b8
leave
ret
cmp dword [ebp - 0x258], 0
je 0x44d913
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x268]
mov dword [ecx], eax
mov dword [ebp - 0x25c], 0xfffffff8
jmp 0x44d8d5