Function at 0x4d7760
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x51260c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov dword [esp + 0x164], 0
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esp + 0x16c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x168], 1
call fcn.004c8322
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x542a7c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4d77f5
push 0x542a7c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0xc]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jne 0x4d79d8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call esi
test eax, eax
je 0x4d7997
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x170]
mov ebx, 2
test eax, eax
mov byte [esp + 0x164], bl
je 0x4d7841
push eax
jmp 0x4d7846
push 0x543088
lea ecx, [esp + 0x18]
call fcn.004c8322
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4d79c0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 3
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], bl
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x20]
test al, 0x10
je 0x4d7941
mov esi, 0x543090
lea eax, [esp + 0x4c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4d78de
test cl, cl
je 0x4d78da
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4d78de
add eax, ebx
add esi, ebx
test cl, cl
jne 0x4d78bc
xor eax, eax
jmp 0x4d78e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4d7959
mov esi, 0x54a254
lea eax, [esp + 0x4c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4d7912
test cl, cl
je 0x4d790e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4d7912
add eax, ebx
add esi, ebx
test cl, cl
jne 0x4d78f0
xor eax, eax
jmp 0x4d7917
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4d7959
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004d7760
add esp, 8
test eax, eax
je 0x4d7959
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4d7959
test al, 1
je 0x4d794e
mov eax, dword [esp + 0x14]
push 0
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x20]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4d7871
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x54a254
call esi
test eax, eax
pop ebp
jne 0x4d79c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x164], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4d7a02
push 0x54a254
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x164], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x15c
ret